Is there a continuous waveform that sounds the same as a square wave?












8












$begingroup$


The fourier series



$$f(t)=sum_{ninmathbb N\ntext{ odd}}frac1n,sin(nt)$$



converges to a square wave. Square waves are discontinuous functions. I'm wondering if there's a continuous function that "sounds the same as" a square wave, in the sense that it has components with the same amplitude and frequency as the series above, but with different phases.



Do there exist $a_ninmathbb R$ such that



$$sum_{ninmathbb N\ntext{ odd}}frac1n,sin(nt+a_n)$$



converges (pointwise everywhere) to a continuous function?










share|cite|improve this question











$endgroup$








  • 6




    $begingroup$
    I have no idea of the answer to the question in the body, but the question in the title is rather different, as it involves "sounds like". Because the human auditory system has a frequency roll-off ("we can't hear above 20kHz"), your first sum, truncated at, say, 50 kHz, will be continuous, but will "sound" just like a square wave.
    $endgroup$
    – John Hughes
    Dec 11 '18 at 13:06






  • 1




    $begingroup$
    I think it's an established convention to use the word "sound" in mathematics to refer to the entire spectrum, for example in the classic problem of hearing the shape of a drum.
    $endgroup$
    – Oscar Cunningham
    Dec 11 '18 at 13:19






  • 1




    $begingroup$
    Understood...but because I'm also interested in areas related to mathematics, I found the "common person's" interpretation of the question intriguing as well.
    $endgroup$
    – John Hughes
    Dec 11 '18 at 13:41






  • 1




    $begingroup$
    The last example on J.D. Tillman's page "Square Wave Variations" suggests that the answer is yes.
    $endgroup$
    – Rahul
    Dec 11 '18 at 14:01








  • 1




    $begingroup$
    I don't either. By the way, after some numerical experimentation I found another interesting function: Choose $a_n=csqrt n$ for some $c$, e.g. $c=2pi$. I don't know for sure if that's continuous either, but it looks like it might be.
    $endgroup$
    – Rahul
    Dec 11 '18 at 18:13


















8












$begingroup$


The fourier series



$$f(t)=sum_{ninmathbb N\ntext{ odd}}frac1n,sin(nt)$$



converges to a square wave. Square waves are discontinuous functions. I'm wondering if there's a continuous function that "sounds the same as" a square wave, in the sense that it has components with the same amplitude and frequency as the series above, but with different phases.



Do there exist $a_ninmathbb R$ such that



$$sum_{ninmathbb N\ntext{ odd}}frac1n,sin(nt+a_n)$$



converges (pointwise everywhere) to a continuous function?










share|cite|improve this question











$endgroup$








  • 6




    $begingroup$
    I have no idea of the answer to the question in the body, but the question in the title is rather different, as it involves "sounds like". Because the human auditory system has a frequency roll-off ("we can't hear above 20kHz"), your first sum, truncated at, say, 50 kHz, will be continuous, but will "sound" just like a square wave.
    $endgroup$
    – John Hughes
    Dec 11 '18 at 13:06






  • 1




    $begingroup$
    I think it's an established convention to use the word "sound" in mathematics to refer to the entire spectrum, for example in the classic problem of hearing the shape of a drum.
    $endgroup$
    – Oscar Cunningham
    Dec 11 '18 at 13:19






  • 1




    $begingroup$
    Understood...but because I'm also interested in areas related to mathematics, I found the "common person's" interpretation of the question intriguing as well.
    $endgroup$
    – John Hughes
    Dec 11 '18 at 13:41






  • 1




    $begingroup$
    The last example on J.D. Tillman's page "Square Wave Variations" suggests that the answer is yes.
    $endgroup$
    – Rahul
    Dec 11 '18 at 14:01








  • 1




    $begingroup$
    I don't either. By the way, after some numerical experimentation I found another interesting function: Choose $a_n=csqrt n$ for some $c$, e.g. $c=2pi$. I don't know for sure if that's continuous either, but it looks like it might be.
    $endgroup$
    – Rahul
    Dec 11 '18 at 18:13
















8












8








8


3



$begingroup$


The fourier series



$$f(t)=sum_{ninmathbb N\ntext{ odd}}frac1n,sin(nt)$$



converges to a square wave. Square waves are discontinuous functions. I'm wondering if there's a continuous function that "sounds the same as" a square wave, in the sense that it has components with the same amplitude and frequency as the series above, but with different phases.



Do there exist $a_ninmathbb R$ such that



$$sum_{ninmathbb N\ntext{ odd}}frac1n,sin(nt+a_n)$$



converges (pointwise everywhere) to a continuous function?










share|cite|improve this question











$endgroup$




The fourier series



$$f(t)=sum_{ninmathbb N\ntext{ odd}}frac1n,sin(nt)$$



converges to a square wave. Square waves are discontinuous functions. I'm wondering if there's a continuous function that "sounds the same as" a square wave, in the sense that it has components with the same amplitude and frequency as the series above, but with different phases.



Do there exist $a_ninmathbb R$ such that



$$sum_{ninmathbb N\ntext{ odd}}frac1n,sin(nt+a_n)$$



converges (pointwise everywhere) to a continuous function?







real-analysis analysis fourier-analysis fourier-series






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 11 '18 at 18:03







Oscar Cunningham

















asked Dec 11 '18 at 11:37









Oscar CunninghamOscar Cunningham

10.3k23061




10.3k23061








  • 6




    $begingroup$
    I have no idea of the answer to the question in the body, but the question in the title is rather different, as it involves "sounds like". Because the human auditory system has a frequency roll-off ("we can't hear above 20kHz"), your first sum, truncated at, say, 50 kHz, will be continuous, but will "sound" just like a square wave.
    $endgroup$
    – John Hughes
    Dec 11 '18 at 13:06






  • 1




    $begingroup$
    I think it's an established convention to use the word "sound" in mathematics to refer to the entire spectrum, for example in the classic problem of hearing the shape of a drum.
    $endgroup$
    – Oscar Cunningham
    Dec 11 '18 at 13:19






  • 1




    $begingroup$
    Understood...but because I'm also interested in areas related to mathematics, I found the "common person's" interpretation of the question intriguing as well.
    $endgroup$
    – John Hughes
    Dec 11 '18 at 13:41






  • 1




    $begingroup$
    The last example on J.D. Tillman's page "Square Wave Variations" suggests that the answer is yes.
    $endgroup$
    – Rahul
    Dec 11 '18 at 14:01








  • 1




    $begingroup$
    I don't either. By the way, after some numerical experimentation I found another interesting function: Choose $a_n=csqrt n$ for some $c$, e.g. $c=2pi$. I don't know for sure if that's continuous either, but it looks like it might be.
    $endgroup$
    – Rahul
    Dec 11 '18 at 18:13
















  • 6




    $begingroup$
    I have no idea of the answer to the question in the body, but the question in the title is rather different, as it involves "sounds like". Because the human auditory system has a frequency roll-off ("we can't hear above 20kHz"), your first sum, truncated at, say, 50 kHz, will be continuous, but will "sound" just like a square wave.
    $endgroup$
    – John Hughes
    Dec 11 '18 at 13:06






  • 1




    $begingroup$
    I think it's an established convention to use the word "sound" in mathematics to refer to the entire spectrum, for example in the classic problem of hearing the shape of a drum.
    $endgroup$
    – Oscar Cunningham
    Dec 11 '18 at 13:19






  • 1




    $begingroup$
    Understood...but because I'm also interested in areas related to mathematics, I found the "common person's" interpretation of the question intriguing as well.
    $endgroup$
    – John Hughes
    Dec 11 '18 at 13:41






  • 1




    $begingroup$
    The last example on J.D. Tillman's page "Square Wave Variations" suggests that the answer is yes.
    $endgroup$
    – Rahul
    Dec 11 '18 at 14:01








  • 1




    $begingroup$
    I don't either. By the way, after some numerical experimentation I found another interesting function: Choose $a_n=csqrt n$ for some $c$, e.g. $c=2pi$. I don't know for sure if that's continuous either, but it looks like it might be.
    $endgroup$
    – Rahul
    Dec 11 '18 at 18:13










6




6




$begingroup$
I have no idea of the answer to the question in the body, but the question in the title is rather different, as it involves "sounds like". Because the human auditory system has a frequency roll-off ("we can't hear above 20kHz"), your first sum, truncated at, say, 50 kHz, will be continuous, but will "sound" just like a square wave.
$endgroup$
– John Hughes
Dec 11 '18 at 13:06




$begingroup$
I have no idea of the answer to the question in the body, but the question in the title is rather different, as it involves "sounds like". Because the human auditory system has a frequency roll-off ("we can't hear above 20kHz"), your first sum, truncated at, say, 50 kHz, will be continuous, but will "sound" just like a square wave.
$endgroup$
– John Hughes
Dec 11 '18 at 13:06




1




1




$begingroup$
I think it's an established convention to use the word "sound" in mathematics to refer to the entire spectrum, for example in the classic problem of hearing the shape of a drum.
$endgroup$
– Oscar Cunningham
Dec 11 '18 at 13:19




$begingroup$
I think it's an established convention to use the word "sound" in mathematics to refer to the entire spectrum, for example in the classic problem of hearing the shape of a drum.
$endgroup$
– Oscar Cunningham
Dec 11 '18 at 13:19




1




1




$begingroup$
Understood...but because I'm also interested in areas related to mathematics, I found the "common person's" interpretation of the question intriguing as well.
$endgroup$
– John Hughes
Dec 11 '18 at 13:41




$begingroup$
Understood...but because I'm also interested in areas related to mathematics, I found the "common person's" interpretation of the question intriguing as well.
$endgroup$
– John Hughes
Dec 11 '18 at 13:41




1




1




$begingroup$
The last example on J.D. Tillman's page "Square Wave Variations" suggests that the answer is yes.
$endgroup$
– Rahul
Dec 11 '18 at 14:01






$begingroup$
The last example on J.D. Tillman's page "Square Wave Variations" suggests that the answer is yes.
$endgroup$
– Rahul
Dec 11 '18 at 14:01






1




1




$begingroup$
I don't either. By the way, after some numerical experimentation I found another interesting function: Choose $a_n=csqrt n$ for some $c$, e.g. $c=2pi$. I don't know for sure if that's continuous either, but it looks like it might be.
$endgroup$
– Rahul
Dec 11 '18 at 18:13






$begingroup$
I don't either. By the way, after some numerical experimentation I found another interesting function: Choose $a_n=csqrt n$ for some $c$, e.g. $c=2pi$. I don't know for sure if that's continuous either, but it looks like it might be.
$endgroup$
– Rahul
Dec 11 '18 at 18:13












1 Answer
1






active

oldest

votes


















2












$begingroup$

If we have complete freedom in picking the phase shifts $a_n$, the answer is clearly affirmative: for some sequence $S={a_n}_{ngeq 0}$,
$$ f_S(x) = sum_{ngeq 0}frac{sin((2n+1)x+a_n)}{(2n+1)} $$
is a continuous function (proof postponed). On the other hand such continuous function is differentiable at almost no point, due to the rate of decay of the coefficients of its Fourier series, so it is a sort of Weierstrass function. And such wave does not sound as the square wave: any discontinuous signal (or even differentiable, but with large values attained by its derivative) is perceived as painful by our ear, due to the rapid changes of pressure on the eardrum (try the samples of the square wave and sawtooth wave on Wikipedia. As a folklore note, I believe the sample of the triangle wave was used in the intro of Mogwai's song sine wave).



By just considering the constant sequences, $f_S(x)$ ranges between the rectangle wave
and the real part of $text{arctanh}(e^{ix})$, i.e. $logleft|tan(x/2)right|$: both functions are continous over $mathbb{R}setminus pimathbb{Z}$, the former is bounded, the latter is not. In general



$$ (mathcal{L} f_S)(s) = sum_{ngeq 0}frac{(2n+1)cos(a_n)+s sin(a_n)}{(2n+1)((2n+1)^2+s^2)}$$
so if we pick $a_n=n^2$ we may exploit the fact that $e^{in^2}$ is sufficiently randomly distributed on the unit circle. By Weyl's inequality both $sum_{n=0}^{N}sin(n^2)$ and $sum_{n=0}^{N}cos(n^2)$ are $ll sqrt{N}log^2 N$, hence by applying summation by parts in the series defining $mathcal{L} f_S$, then $mathcal{L}^{-1}$, we find that $f_{{n^2}}(x)$ is continuous.



Here it is an approximated depiction of such Weierstrass-like function:



enter image description here



Not a rectangle wave at all.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    "then $mathcal{L}^{-1}$, we find that $f_{{n^2}}(x)$ is continuous." I got lost at this step. Am I missing some famous theorem that says that $f$ is continuous when $mathcal Lf$ has some property?
    $endgroup$
    – Oscar Cunningham
    Dec 12 '18 at 0:10










  • $begingroup$
    @OscarCunningham: the Laplace transform allows to discuss the continuity of trigonometric series since $$lim_{xto 0^+}f(x)=lim_{sto +infty}scdot(mathcal{L}f)(s).$$ For instance we may recognize the discontinuity of the sawtooth wave $f(x)=sum_{ngeq 1}frac{sin(n x)}{n}$ from the fact that $f(0)=0$ but $lim_{xto 0^+} f(x)$, found through $mathcal{L}$, equals $frac{pi}{2}$.
    $endgroup$
    – Jack D'Aurizio
    Dec 12 '18 at 0:38






  • 1




    $begingroup$
    I got curious about human sensitivity to phase differences, so I looked up some research. There are some good references at the bottom of the Wikipedia article on phase distortion. Laitinen et al. (ResearchGate) did some listening tests with a sawtooth wave vs. its random-phase variant and reported interesting qualitative differences: the sawtooth is perceived to have 'a strong low pitch and “buzzy” quality' absent in the random-phase signal.
    $endgroup$
    – Rahul
    Dec 14 '18 at 8:10












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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3035207%2fis-there-a-continuous-waveform-that-sounds-the-same-as-a-square-wave%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2












$begingroup$

If we have complete freedom in picking the phase shifts $a_n$, the answer is clearly affirmative: for some sequence $S={a_n}_{ngeq 0}$,
$$ f_S(x) = sum_{ngeq 0}frac{sin((2n+1)x+a_n)}{(2n+1)} $$
is a continuous function (proof postponed). On the other hand such continuous function is differentiable at almost no point, due to the rate of decay of the coefficients of its Fourier series, so it is a sort of Weierstrass function. And such wave does not sound as the square wave: any discontinuous signal (or even differentiable, but with large values attained by its derivative) is perceived as painful by our ear, due to the rapid changes of pressure on the eardrum (try the samples of the square wave and sawtooth wave on Wikipedia. As a folklore note, I believe the sample of the triangle wave was used in the intro of Mogwai's song sine wave).



By just considering the constant sequences, $f_S(x)$ ranges between the rectangle wave
and the real part of $text{arctanh}(e^{ix})$, i.e. $logleft|tan(x/2)right|$: both functions are continous over $mathbb{R}setminus pimathbb{Z}$, the former is bounded, the latter is not. In general



$$ (mathcal{L} f_S)(s) = sum_{ngeq 0}frac{(2n+1)cos(a_n)+s sin(a_n)}{(2n+1)((2n+1)^2+s^2)}$$
so if we pick $a_n=n^2$ we may exploit the fact that $e^{in^2}$ is sufficiently randomly distributed on the unit circle. By Weyl's inequality both $sum_{n=0}^{N}sin(n^2)$ and $sum_{n=0}^{N}cos(n^2)$ are $ll sqrt{N}log^2 N$, hence by applying summation by parts in the series defining $mathcal{L} f_S$, then $mathcal{L}^{-1}$, we find that $f_{{n^2}}(x)$ is continuous.



Here it is an approximated depiction of such Weierstrass-like function:



enter image description here



Not a rectangle wave at all.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    "then $mathcal{L}^{-1}$, we find that $f_{{n^2}}(x)$ is continuous." I got lost at this step. Am I missing some famous theorem that says that $f$ is continuous when $mathcal Lf$ has some property?
    $endgroup$
    – Oscar Cunningham
    Dec 12 '18 at 0:10










  • $begingroup$
    @OscarCunningham: the Laplace transform allows to discuss the continuity of trigonometric series since $$lim_{xto 0^+}f(x)=lim_{sto +infty}scdot(mathcal{L}f)(s).$$ For instance we may recognize the discontinuity of the sawtooth wave $f(x)=sum_{ngeq 1}frac{sin(n x)}{n}$ from the fact that $f(0)=0$ but $lim_{xto 0^+} f(x)$, found through $mathcal{L}$, equals $frac{pi}{2}$.
    $endgroup$
    – Jack D'Aurizio
    Dec 12 '18 at 0:38






  • 1




    $begingroup$
    I got curious about human sensitivity to phase differences, so I looked up some research. There are some good references at the bottom of the Wikipedia article on phase distortion. Laitinen et al. (ResearchGate) did some listening tests with a sawtooth wave vs. its random-phase variant and reported interesting qualitative differences: the sawtooth is perceived to have 'a strong low pitch and “buzzy” quality' absent in the random-phase signal.
    $endgroup$
    – Rahul
    Dec 14 '18 at 8:10
















2












$begingroup$

If we have complete freedom in picking the phase shifts $a_n$, the answer is clearly affirmative: for some sequence $S={a_n}_{ngeq 0}$,
$$ f_S(x) = sum_{ngeq 0}frac{sin((2n+1)x+a_n)}{(2n+1)} $$
is a continuous function (proof postponed). On the other hand such continuous function is differentiable at almost no point, due to the rate of decay of the coefficients of its Fourier series, so it is a sort of Weierstrass function. And such wave does not sound as the square wave: any discontinuous signal (or even differentiable, but with large values attained by its derivative) is perceived as painful by our ear, due to the rapid changes of pressure on the eardrum (try the samples of the square wave and sawtooth wave on Wikipedia. As a folklore note, I believe the sample of the triangle wave was used in the intro of Mogwai's song sine wave).



By just considering the constant sequences, $f_S(x)$ ranges between the rectangle wave
and the real part of $text{arctanh}(e^{ix})$, i.e. $logleft|tan(x/2)right|$: both functions are continous over $mathbb{R}setminus pimathbb{Z}$, the former is bounded, the latter is not. In general



$$ (mathcal{L} f_S)(s) = sum_{ngeq 0}frac{(2n+1)cos(a_n)+s sin(a_n)}{(2n+1)((2n+1)^2+s^2)}$$
so if we pick $a_n=n^2$ we may exploit the fact that $e^{in^2}$ is sufficiently randomly distributed on the unit circle. By Weyl's inequality both $sum_{n=0}^{N}sin(n^2)$ and $sum_{n=0}^{N}cos(n^2)$ are $ll sqrt{N}log^2 N$, hence by applying summation by parts in the series defining $mathcal{L} f_S$, then $mathcal{L}^{-1}$, we find that $f_{{n^2}}(x)$ is continuous.



Here it is an approximated depiction of such Weierstrass-like function:



enter image description here



Not a rectangle wave at all.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    "then $mathcal{L}^{-1}$, we find that $f_{{n^2}}(x)$ is continuous." I got lost at this step. Am I missing some famous theorem that says that $f$ is continuous when $mathcal Lf$ has some property?
    $endgroup$
    – Oscar Cunningham
    Dec 12 '18 at 0:10










  • $begingroup$
    @OscarCunningham: the Laplace transform allows to discuss the continuity of trigonometric series since $$lim_{xto 0^+}f(x)=lim_{sto +infty}scdot(mathcal{L}f)(s).$$ For instance we may recognize the discontinuity of the sawtooth wave $f(x)=sum_{ngeq 1}frac{sin(n x)}{n}$ from the fact that $f(0)=0$ but $lim_{xto 0^+} f(x)$, found through $mathcal{L}$, equals $frac{pi}{2}$.
    $endgroup$
    – Jack D'Aurizio
    Dec 12 '18 at 0:38






  • 1




    $begingroup$
    I got curious about human sensitivity to phase differences, so I looked up some research. There are some good references at the bottom of the Wikipedia article on phase distortion. Laitinen et al. (ResearchGate) did some listening tests with a sawtooth wave vs. its random-phase variant and reported interesting qualitative differences: the sawtooth is perceived to have 'a strong low pitch and “buzzy” quality' absent in the random-phase signal.
    $endgroup$
    – Rahul
    Dec 14 '18 at 8:10














2












2








2





$begingroup$

If we have complete freedom in picking the phase shifts $a_n$, the answer is clearly affirmative: for some sequence $S={a_n}_{ngeq 0}$,
$$ f_S(x) = sum_{ngeq 0}frac{sin((2n+1)x+a_n)}{(2n+1)} $$
is a continuous function (proof postponed). On the other hand such continuous function is differentiable at almost no point, due to the rate of decay of the coefficients of its Fourier series, so it is a sort of Weierstrass function. And such wave does not sound as the square wave: any discontinuous signal (or even differentiable, but with large values attained by its derivative) is perceived as painful by our ear, due to the rapid changes of pressure on the eardrum (try the samples of the square wave and sawtooth wave on Wikipedia. As a folklore note, I believe the sample of the triangle wave was used in the intro of Mogwai's song sine wave).



By just considering the constant sequences, $f_S(x)$ ranges between the rectangle wave
and the real part of $text{arctanh}(e^{ix})$, i.e. $logleft|tan(x/2)right|$: both functions are continous over $mathbb{R}setminus pimathbb{Z}$, the former is bounded, the latter is not. In general



$$ (mathcal{L} f_S)(s) = sum_{ngeq 0}frac{(2n+1)cos(a_n)+s sin(a_n)}{(2n+1)((2n+1)^2+s^2)}$$
so if we pick $a_n=n^2$ we may exploit the fact that $e^{in^2}$ is sufficiently randomly distributed on the unit circle. By Weyl's inequality both $sum_{n=0}^{N}sin(n^2)$ and $sum_{n=0}^{N}cos(n^2)$ are $ll sqrt{N}log^2 N$, hence by applying summation by parts in the series defining $mathcal{L} f_S$, then $mathcal{L}^{-1}$, we find that $f_{{n^2}}(x)$ is continuous.



Here it is an approximated depiction of such Weierstrass-like function:



enter image description here



Not a rectangle wave at all.






share|cite|improve this answer











$endgroup$



If we have complete freedom in picking the phase shifts $a_n$, the answer is clearly affirmative: for some sequence $S={a_n}_{ngeq 0}$,
$$ f_S(x) = sum_{ngeq 0}frac{sin((2n+1)x+a_n)}{(2n+1)} $$
is a continuous function (proof postponed). On the other hand such continuous function is differentiable at almost no point, due to the rate of decay of the coefficients of its Fourier series, so it is a sort of Weierstrass function. And such wave does not sound as the square wave: any discontinuous signal (or even differentiable, but with large values attained by its derivative) is perceived as painful by our ear, due to the rapid changes of pressure on the eardrum (try the samples of the square wave and sawtooth wave on Wikipedia. As a folklore note, I believe the sample of the triangle wave was used in the intro of Mogwai's song sine wave).



By just considering the constant sequences, $f_S(x)$ ranges between the rectangle wave
and the real part of $text{arctanh}(e^{ix})$, i.e. $logleft|tan(x/2)right|$: both functions are continous over $mathbb{R}setminus pimathbb{Z}$, the former is bounded, the latter is not. In general



$$ (mathcal{L} f_S)(s) = sum_{ngeq 0}frac{(2n+1)cos(a_n)+s sin(a_n)}{(2n+1)((2n+1)^2+s^2)}$$
so if we pick $a_n=n^2$ we may exploit the fact that $e^{in^2}$ is sufficiently randomly distributed on the unit circle. By Weyl's inequality both $sum_{n=0}^{N}sin(n^2)$ and $sum_{n=0}^{N}cos(n^2)$ are $ll sqrt{N}log^2 N$, hence by applying summation by parts in the series defining $mathcal{L} f_S$, then $mathcal{L}^{-1}$, we find that $f_{{n^2}}(x)$ is continuous.



Here it is an approximated depiction of such Weierstrass-like function:



enter image description here



Not a rectangle wave at all.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Dec 11 '18 at 20:22

























answered Dec 11 '18 at 20:08









Jack D'AurizioJack D'Aurizio

292k33284672




292k33284672












  • $begingroup$
    "then $mathcal{L}^{-1}$, we find that $f_{{n^2}}(x)$ is continuous." I got lost at this step. Am I missing some famous theorem that says that $f$ is continuous when $mathcal Lf$ has some property?
    $endgroup$
    – Oscar Cunningham
    Dec 12 '18 at 0:10










  • $begingroup$
    @OscarCunningham: the Laplace transform allows to discuss the continuity of trigonometric series since $$lim_{xto 0^+}f(x)=lim_{sto +infty}scdot(mathcal{L}f)(s).$$ For instance we may recognize the discontinuity of the sawtooth wave $f(x)=sum_{ngeq 1}frac{sin(n x)}{n}$ from the fact that $f(0)=0$ but $lim_{xto 0^+} f(x)$, found through $mathcal{L}$, equals $frac{pi}{2}$.
    $endgroup$
    – Jack D'Aurizio
    Dec 12 '18 at 0:38






  • 1




    $begingroup$
    I got curious about human sensitivity to phase differences, so I looked up some research. There are some good references at the bottom of the Wikipedia article on phase distortion. Laitinen et al. (ResearchGate) did some listening tests with a sawtooth wave vs. its random-phase variant and reported interesting qualitative differences: the sawtooth is perceived to have 'a strong low pitch and “buzzy” quality' absent in the random-phase signal.
    $endgroup$
    – Rahul
    Dec 14 '18 at 8:10


















  • $begingroup$
    "then $mathcal{L}^{-1}$, we find that $f_{{n^2}}(x)$ is continuous." I got lost at this step. Am I missing some famous theorem that says that $f$ is continuous when $mathcal Lf$ has some property?
    $endgroup$
    – Oscar Cunningham
    Dec 12 '18 at 0:10










  • $begingroup$
    @OscarCunningham: the Laplace transform allows to discuss the continuity of trigonometric series since $$lim_{xto 0^+}f(x)=lim_{sto +infty}scdot(mathcal{L}f)(s).$$ For instance we may recognize the discontinuity of the sawtooth wave $f(x)=sum_{ngeq 1}frac{sin(n x)}{n}$ from the fact that $f(0)=0$ but $lim_{xto 0^+} f(x)$, found through $mathcal{L}$, equals $frac{pi}{2}$.
    $endgroup$
    – Jack D'Aurizio
    Dec 12 '18 at 0:38






  • 1




    $begingroup$
    I got curious about human sensitivity to phase differences, so I looked up some research. There are some good references at the bottom of the Wikipedia article on phase distortion. Laitinen et al. (ResearchGate) did some listening tests with a sawtooth wave vs. its random-phase variant and reported interesting qualitative differences: the sawtooth is perceived to have 'a strong low pitch and “buzzy” quality' absent in the random-phase signal.
    $endgroup$
    – Rahul
    Dec 14 '18 at 8:10
















$begingroup$
"then $mathcal{L}^{-1}$, we find that $f_{{n^2}}(x)$ is continuous." I got lost at this step. Am I missing some famous theorem that says that $f$ is continuous when $mathcal Lf$ has some property?
$endgroup$
– Oscar Cunningham
Dec 12 '18 at 0:10




$begingroup$
"then $mathcal{L}^{-1}$, we find that $f_{{n^2}}(x)$ is continuous." I got lost at this step. Am I missing some famous theorem that says that $f$ is continuous when $mathcal Lf$ has some property?
$endgroup$
– Oscar Cunningham
Dec 12 '18 at 0:10












$begingroup$
@OscarCunningham: the Laplace transform allows to discuss the continuity of trigonometric series since $$lim_{xto 0^+}f(x)=lim_{sto +infty}scdot(mathcal{L}f)(s).$$ For instance we may recognize the discontinuity of the sawtooth wave $f(x)=sum_{ngeq 1}frac{sin(n x)}{n}$ from the fact that $f(0)=0$ but $lim_{xto 0^+} f(x)$, found through $mathcal{L}$, equals $frac{pi}{2}$.
$endgroup$
– Jack D'Aurizio
Dec 12 '18 at 0:38




$begingroup$
@OscarCunningham: the Laplace transform allows to discuss the continuity of trigonometric series since $$lim_{xto 0^+}f(x)=lim_{sto +infty}scdot(mathcal{L}f)(s).$$ For instance we may recognize the discontinuity of the sawtooth wave $f(x)=sum_{ngeq 1}frac{sin(n x)}{n}$ from the fact that $f(0)=0$ but $lim_{xto 0^+} f(x)$, found through $mathcal{L}$, equals $frac{pi}{2}$.
$endgroup$
– Jack D'Aurizio
Dec 12 '18 at 0:38




1




1




$begingroup$
I got curious about human sensitivity to phase differences, so I looked up some research. There are some good references at the bottom of the Wikipedia article on phase distortion. Laitinen et al. (ResearchGate) did some listening tests with a sawtooth wave vs. its random-phase variant and reported interesting qualitative differences: the sawtooth is perceived to have 'a strong low pitch and “buzzy” quality' absent in the random-phase signal.
$endgroup$
– Rahul
Dec 14 '18 at 8:10




$begingroup$
I got curious about human sensitivity to phase differences, so I looked up some research. There are some good references at the bottom of the Wikipedia article on phase distortion. Laitinen et al. (ResearchGate) did some listening tests with a sawtooth wave vs. its random-phase variant and reported interesting qualitative differences: the sawtooth is perceived to have 'a strong low pitch and “buzzy” quality' absent in the random-phase signal.
$endgroup$
– Rahul
Dec 14 '18 at 8:10


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3035207%2fis-there-a-continuous-waveform-that-sounds-the-same-as-a-square-wave%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?