Find a wave function with the given zeros
$begingroup$
Let $bin(0,pi)$, and let $kinmathbb{Z}$.
Find a function $f:mathbb{R}to[0,1]$ with:
- The set of zeros $f_0={x:x=2kpipm b}$
- The set of ones $f_1={x:x=2kpi}$
- The set of negative ones $f_{-1}={x:x=(2k+1)pi}$
In other words, what I'm looking for is some kind of wave function with the zeros adjusted to be closer to one peak or the other, without changing the amplitude. Here's a visual example:

In this case, $b$ would be somewhere around $2$ or so.
Can you help me figure out what this function $f$ is?
calculus functions trigonometry roots
$endgroup$
add a comment |
$begingroup$
Let $bin(0,pi)$, and let $kinmathbb{Z}$.
Find a function $f:mathbb{R}to[0,1]$ with:
- The set of zeros $f_0={x:x=2kpipm b}$
- The set of ones $f_1={x:x=2kpi}$
- The set of negative ones $f_{-1}={x:x=(2k+1)pi}$
In other words, what I'm looking for is some kind of wave function with the zeros adjusted to be closer to one peak or the other, without changing the amplitude. Here's a visual example:

In this case, $b$ would be somewhere around $2$ or so.
Can you help me figure out what this function $f$ is?
calculus functions trigonometry roots
$endgroup$
$begingroup$
Look at $cos(x+rsin(x))$ and adjust the $r$. However, if the absolute value of $r$ exceeds $1$, one loses some of your criteria.
$endgroup$
– Torsten Schoeneberg
Dec 16 '18 at 6:30
$begingroup$
@TorstenSchoeneberg, that's definitely helpful, but it also doesn't give me the full range of control I'm looking for.
$endgroup$
– jippyjoe4
Dec 16 '18 at 6:32
add a comment |
$begingroup$
Let $bin(0,pi)$, and let $kinmathbb{Z}$.
Find a function $f:mathbb{R}to[0,1]$ with:
- The set of zeros $f_0={x:x=2kpipm b}$
- The set of ones $f_1={x:x=2kpi}$
- The set of negative ones $f_{-1}={x:x=(2k+1)pi}$
In other words, what I'm looking for is some kind of wave function with the zeros adjusted to be closer to one peak or the other, without changing the amplitude. Here's a visual example:

In this case, $b$ would be somewhere around $2$ or so.
Can you help me figure out what this function $f$ is?
calculus functions trigonometry roots
$endgroup$
Let $bin(0,pi)$, and let $kinmathbb{Z}$.
Find a function $f:mathbb{R}to[0,1]$ with:
- The set of zeros $f_0={x:x=2kpipm b}$
- The set of ones $f_1={x:x=2kpi}$
- The set of negative ones $f_{-1}={x:x=(2k+1)pi}$
In other words, what I'm looking for is some kind of wave function with the zeros adjusted to be closer to one peak or the other, without changing the amplitude. Here's a visual example:

In this case, $b$ would be somewhere around $2$ or so.
Can you help me figure out what this function $f$ is?
calculus functions trigonometry roots
calculus functions trigonometry roots
asked Dec 16 '18 at 6:12
jippyjoe4jippyjoe4
49518
49518
$begingroup$
Look at $cos(x+rsin(x))$ and adjust the $r$. However, if the absolute value of $r$ exceeds $1$, one loses some of your criteria.
$endgroup$
– Torsten Schoeneberg
Dec 16 '18 at 6:30
$begingroup$
@TorstenSchoeneberg, that's definitely helpful, but it also doesn't give me the full range of control I'm looking for.
$endgroup$
– jippyjoe4
Dec 16 '18 at 6:32
add a comment |
$begingroup$
Look at $cos(x+rsin(x))$ and adjust the $r$. However, if the absolute value of $r$ exceeds $1$, one loses some of your criteria.
$endgroup$
– Torsten Schoeneberg
Dec 16 '18 at 6:30
$begingroup$
@TorstenSchoeneberg, that's definitely helpful, but it also doesn't give me the full range of control I'm looking for.
$endgroup$
– jippyjoe4
Dec 16 '18 at 6:32
$begingroup$
Look at $cos(x+rsin(x))$ and adjust the $r$. However, if the absolute value of $r$ exceeds $1$, one loses some of your criteria.
$endgroup$
– Torsten Schoeneberg
Dec 16 '18 at 6:30
$begingroup$
Look at $cos(x+rsin(x))$ and adjust the $r$. However, if the absolute value of $r$ exceeds $1$, one loses some of your criteria.
$endgroup$
– Torsten Schoeneberg
Dec 16 '18 at 6:30
$begingroup$
@TorstenSchoeneberg, that's definitely helpful, but it also doesn't give me the full range of control I'm looking for.
$endgroup$
– jippyjoe4
Dec 16 '18 at 6:32
$begingroup$
@TorstenSchoeneberg, that's definitely helpful, but it also doesn't give me the full range of control I'm looking for.
$endgroup$
– jippyjoe4
Dec 16 '18 at 6:32
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
On the interval $[-pi, pi]$ you get such a wave by putting
$$f(x) = cos(pi cdot (|x|/pi)^{log_{b/pi}0.5}).$$
Now copy the period $[-pi,pi]$ by a piecewise definition, which one could probably hide by using the floor/remainder functions or something like that.
Note however that for $b<pi/2$, this function is not differentiable at $0$. To remedy that, one might use one of the infinitely differentiable bump functions inside there, instead of my crude powers of an absolute value, to go smoothly from $0$ to $1$ and crossing the value $1/2$ exactly at $b$.
Update: With the mollifier functions
$$h_r(x) = e^r cdot expleft(dfrac{-r}{1-(frac{x}{pi}-1)^2}right)$$
the functions
$$f_r(x) = cos(picdot h_r(|x|)$$
do the job smoothly, where you just have to compute the right $rin (0, infty)$ to match your $b$. Actually, since you want $h_r(b) = frac12$, you must set
$$r := dfrac{-log(2)cdot(frac{b^2}{pi^2}-frac{2b}{pi})}{1+frac{b^2}{pi^2}-frac{2b}{pi}}$$
$endgroup$
add a comment |
$begingroup$
Following Torsten's idea of using $cos(x+rsin x)$, you can get around the limitation $|r|leq1$ by iterating the same procedure again in the argument of sine, as in
$$
cos(x+rsin(x+sin x)),
qquad
cos(x+rsin(x+sin(x+sin x))),
$$
et cetera. Here is an image of $cos(x+sin(x+sin(x+sin(x+sin(x+sin x)))))$.

$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3042295%2ffind-a-wave-function-with-the-given-zeros%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
On the interval $[-pi, pi]$ you get such a wave by putting
$$f(x) = cos(pi cdot (|x|/pi)^{log_{b/pi}0.5}).$$
Now copy the period $[-pi,pi]$ by a piecewise definition, which one could probably hide by using the floor/remainder functions or something like that.
Note however that for $b<pi/2$, this function is not differentiable at $0$. To remedy that, one might use one of the infinitely differentiable bump functions inside there, instead of my crude powers of an absolute value, to go smoothly from $0$ to $1$ and crossing the value $1/2$ exactly at $b$.
Update: With the mollifier functions
$$h_r(x) = e^r cdot expleft(dfrac{-r}{1-(frac{x}{pi}-1)^2}right)$$
the functions
$$f_r(x) = cos(picdot h_r(|x|)$$
do the job smoothly, where you just have to compute the right $rin (0, infty)$ to match your $b$. Actually, since you want $h_r(b) = frac12$, you must set
$$r := dfrac{-log(2)cdot(frac{b^2}{pi^2}-frac{2b}{pi})}{1+frac{b^2}{pi^2}-frac{2b}{pi}}$$
$endgroup$
add a comment |
$begingroup$
On the interval $[-pi, pi]$ you get such a wave by putting
$$f(x) = cos(pi cdot (|x|/pi)^{log_{b/pi}0.5}).$$
Now copy the period $[-pi,pi]$ by a piecewise definition, which one could probably hide by using the floor/remainder functions or something like that.
Note however that for $b<pi/2$, this function is not differentiable at $0$. To remedy that, one might use one of the infinitely differentiable bump functions inside there, instead of my crude powers of an absolute value, to go smoothly from $0$ to $1$ and crossing the value $1/2$ exactly at $b$.
Update: With the mollifier functions
$$h_r(x) = e^r cdot expleft(dfrac{-r}{1-(frac{x}{pi}-1)^2}right)$$
the functions
$$f_r(x) = cos(picdot h_r(|x|)$$
do the job smoothly, where you just have to compute the right $rin (0, infty)$ to match your $b$. Actually, since you want $h_r(b) = frac12$, you must set
$$r := dfrac{-log(2)cdot(frac{b^2}{pi^2}-frac{2b}{pi})}{1+frac{b^2}{pi^2}-frac{2b}{pi}}$$
$endgroup$
add a comment |
$begingroup$
On the interval $[-pi, pi]$ you get such a wave by putting
$$f(x) = cos(pi cdot (|x|/pi)^{log_{b/pi}0.5}).$$
Now copy the period $[-pi,pi]$ by a piecewise definition, which one could probably hide by using the floor/remainder functions or something like that.
Note however that for $b<pi/2$, this function is not differentiable at $0$. To remedy that, one might use one of the infinitely differentiable bump functions inside there, instead of my crude powers of an absolute value, to go smoothly from $0$ to $1$ and crossing the value $1/2$ exactly at $b$.
Update: With the mollifier functions
$$h_r(x) = e^r cdot expleft(dfrac{-r}{1-(frac{x}{pi}-1)^2}right)$$
the functions
$$f_r(x) = cos(picdot h_r(|x|)$$
do the job smoothly, where you just have to compute the right $rin (0, infty)$ to match your $b$. Actually, since you want $h_r(b) = frac12$, you must set
$$r := dfrac{-log(2)cdot(frac{b^2}{pi^2}-frac{2b}{pi})}{1+frac{b^2}{pi^2}-frac{2b}{pi}}$$
$endgroup$
On the interval $[-pi, pi]$ you get such a wave by putting
$$f(x) = cos(pi cdot (|x|/pi)^{log_{b/pi}0.5}).$$
Now copy the period $[-pi,pi]$ by a piecewise definition, which one could probably hide by using the floor/remainder functions or something like that.
Note however that for $b<pi/2$, this function is not differentiable at $0$. To remedy that, one might use one of the infinitely differentiable bump functions inside there, instead of my crude powers of an absolute value, to go smoothly from $0$ to $1$ and crossing the value $1/2$ exactly at $b$.
Update: With the mollifier functions
$$h_r(x) = e^r cdot expleft(dfrac{-r}{1-(frac{x}{pi}-1)^2}right)$$
the functions
$$f_r(x) = cos(picdot h_r(|x|)$$
do the job smoothly, where you just have to compute the right $rin (0, infty)$ to match your $b$. Actually, since you want $h_r(b) = frac12$, you must set
$$r := dfrac{-log(2)cdot(frac{b^2}{pi^2}-frac{2b}{pi})}{1+frac{b^2}{pi^2}-frac{2b}{pi}}$$
edited Dec 18 '18 at 18:09
answered Dec 16 '18 at 23:10
Torsten SchoenebergTorsten Schoeneberg
4,3212833
4,3212833
add a comment |
add a comment |
$begingroup$
Following Torsten's idea of using $cos(x+rsin x)$, you can get around the limitation $|r|leq1$ by iterating the same procedure again in the argument of sine, as in
$$
cos(x+rsin(x+sin x)),
qquad
cos(x+rsin(x+sin(x+sin x))),
$$
et cetera. Here is an image of $cos(x+sin(x+sin(x+sin(x+sin(x+sin x)))))$.

$endgroup$
add a comment |
$begingroup$
Following Torsten's idea of using $cos(x+rsin x)$, you can get around the limitation $|r|leq1$ by iterating the same procedure again in the argument of sine, as in
$$
cos(x+rsin(x+sin x)),
qquad
cos(x+rsin(x+sin(x+sin x))),
$$
et cetera. Here is an image of $cos(x+sin(x+sin(x+sin(x+sin(x+sin x)))))$.

$endgroup$
add a comment |
$begingroup$
Following Torsten's idea of using $cos(x+rsin x)$, you can get around the limitation $|r|leq1$ by iterating the same procedure again in the argument of sine, as in
$$
cos(x+rsin(x+sin x)),
qquad
cos(x+rsin(x+sin(x+sin x))),
$$
et cetera. Here is an image of $cos(x+sin(x+sin(x+sin(x+sin(x+sin x)))))$.

$endgroup$
Following Torsten's idea of using $cos(x+rsin x)$, you can get around the limitation $|r|leq1$ by iterating the same procedure again in the argument of sine, as in
$$
cos(x+rsin(x+sin x)),
qquad
cos(x+rsin(x+sin(x+sin x))),
$$
et cetera. Here is an image of $cos(x+sin(x+sin(x+sin(x+sin(x+sin x)))))$.

answered Dec 17 '18 at 18:22
timurtimur
12.2k2144
12.2k2144
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3042295%2ffind-a-wave-function-with-the-given-zeros%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Look at $cos(x+rsin(x))$ and adjust the $r$. However, if the absolute value of $r$ exceeds $1$, one loses some of your criteria.
$endgroup$
– Torsten Schoeneberg
Dec 16 '18 at 6:30
$begingroup$
@TorstenSchoeneberg, that's definitely helpful, but it also doesn't give me the full range of control I'm looking for.
$endgroup$
– jippyjoe4
Dec 16 '18 at 6:32