Use orthogonality to proof Parseval's identity for the general Fourier series written as the power spectrum












2












$begingroup$


I need to show that $$int_{-pi}^{pi}left|frac{a_0}{2}+sum_{n=1}^{infty}alpha_ncos(nx-theta_n)right|^2dx=2pileft(frac{a_0^2}{4}+frac12sum_{n=1}^{infty}alpha_n^2right)tag{1}$$



Just for reference the trigonometric Fourier series is
$$f(x)= frac{a_0}{2} + sum_{n=1}^{infty}left(a_ncos(nx)+b_nsin(nx)right)$$
and the connection between the trigonometric Fourier series and the power spectrum is given by
$$a_n=alpha_ncostheta_n$$
$$b_n=alpha_nsintheta_n$$
$$alpha_n^2=a_n^2+b_n^2$$
$$tantheta_n=frac{b_n}{a_n}$$





So I start by expanding the LHS of $(mathrm{1})$



$$int_{-pi}^{pi}left{frac{a_0^2}{4}+a_0sum_{n=1}^{infty}alpha_ncos(nx-theta_n)+left[sum_{n=1}^{infty}alpha_ncos(nx-theta_n)right]^2right}dx$$
$$=
int_{-pi}^{pi}frac{a_0^2}{4}dx+a_0int_{-pi}^{pi}sum_{n=1}^{infty}alpha_ncos(nx-theta_n)dx+int_{-pi}^{pi}left[sum_{n=1}^{infty}alpha_ncos(nx-theta_n)right]^2dx$$

$$= 2pifrac{a_0^2}{4}+a_0int_{-pi}^{pi}sum_{n=1}^{infty}alpha_ncos(nx-theta_n)dx$$
$$+int_{-pi}^{pi}sum_{n=1}^{infty}alpha_ncos(nx-theta_n)sum_{m=1}^{infty}alpha_mcos(mx-theta_m)dxtag{2}$$



I don't know how to proceed any further with this but do I know that for integer $nne m$
$$langlecos(nx)|cos(mx)rangle=0$$
but I am struggling to apply the same logic to $(mathrm{2})$ as the cosines have different phase offsets, I am also confused about how to deal with the 2 sums in the second integral.





The answer just states that:



Parseval





Does anyone have any advice on how I can complete this proof?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    You have to argue why the infinite sum can be exchanged with the integral, and then, as $cos$ is periodic, we get the same integrals for each $n$ if we drop $theta_n$..
    $endgroup$
    – Berci
    Nov 26 '18 at 17:40










  • $begingroup$
    @Berci Thanks for your reply, I'm not sure why the infinite sum can be exchanged with the integral. In fact, I don't even understand what you mean by 'exchange'. Could you please elaborate on this in an answer?
    $endgroup$
    – BLAZE
    Nov 26 '18 at 19:37
















2












$begingroup$


I need to show that $$int_{-pi}^{pi}left|frac{a_0}{2}+sum_{n=1}^{infty}alpha_ncos(nx-theta_n)right|^2dx=2pileft(frac{a_0^2}{4}+frac12sum_{n=1}^{infty}alpha_n^2right)tag{1}$$



Just for reference the trigonometric Fourier series is
$$f(x)= frac{a_0}{2} + sum_{n=1}^{infty}left(a_ncos(nx)+b_nsin(nx)right)$$
and the connection between the trigonometric Fourier series and the power spectrum is given by
$$a_n=alpha_ncostheta_n$$
$$b_n=alpha_nsintheta_n$$
$$alpha_n^2=a_n^2+b_n^2$$
$$tantheta_n=frac{b_n}{a_n}$$





So I start by expanding the LHS of $(mathrm{1})$



$$int_{-pi}^{pi}left{frac{a_0^2}{4}+a_0sum_{n=1}^{infty}alpha_ncos(nx-theta_n)+left[sum_{n=1}^{infty}alpha_ncos(nx-theta_n)right]^2right}dx$$
$$=
int_{-pi}^{pi}frac{a_0^2}{4}dx+a_0int_{-pi}^{pi}sum_{n=1}^{infty}alpha_ncos(nx-theta_n)dx+int_{-pi}^{pi}left[sum_{n=1}^{infty}alpha_ncos(nx-theta_n)right]^2dx$$

$$= 2pifrac{a_0^2}{4}+a_0int_{-pi}^{pi}sum_{n=1}^{infty}alpha_ncos(nx-theta_n)dx$$
$$+int_{-pi}^{pi}sum_{n=1}^{infty}alpha_ncos(nx-theta_n)sum_{m=1}^{infty}alpha_mcos(mx-theta_m)dxtag{2}$$



I don't know how to proceed any further with this but do I know that for integer $nne m$
$$langlecos(nx)|cos(mx)rangle=0$$
but I am struggling to apply the same logic to $(mathrm{2})$ as the cosines have different phase offsets, I am also confused about how to deal with the 2 sums in the second integral.





The answer just states that:



Parseval





Does anyone have any advice on how I can complete this proof?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    You have to argue why the infinite sum can be exchanged with the integral, and then, as $cos$ is periodic, we get the same integrals for each $n$ if we drop $theta_n$..
    $endgroup$
    – Berci
    Nov 26 '18 at 17:40










  • $begingroup$
    @Berci Thanks for your reply, I'm not sure why the infinite sum can be exchanged with the integral. In fact, I don't even understand what you mean by 'exchange'. Could you please elaborate on this in an answer?
    $endgroup$
    – BLAZE
    Nov 26 '18 at 19:37














2












2








2


1



$begingroup$


I need to show that $$int_{-pi}^{pi}left|frac{a_0}{2}+sum_{n=1}^{infty}alpha_ncos(nx-theta_n)right|^2dx=2pileft(frac{a_0^2}{4}+frac12sum_{n=1}^{infty}alpha_n^2right)tag{1}$$



Just for reference the trigonometric Fourier series is
$$f(x)= frac{a_0}{2} + sum_{n=1}^{infty}left(a_ncos(nx)+b_nsin(nx)right)$$
and the connection between the trigonometric Fourier series and the power spectrum is given by
$$a_n=alpha_ncostheta_n$$
$$b_n=alpha_nsintheta_n$$
$$alpha_n^2=a_n^2+b_n^2$$
$$tantheta_n=frac{b_n}{a_n}$$





So I start by expanding the LHS of $(mathrm{1})$



$$int_{-pi}^{pi}left{frac{a_0^2}{4}+a_0sum_{n=1}^{infty}alpha_ncos(nx-theta_n)+left[sum_{n=1}^{infty}alpha_ncos(nx-theta_n)right]^2right}dx$$
$$=
int_{-pi}^{pi}frac{a_0^2}{4}dx+a_0int_{-pi}^{pi}sum_{n=1}^{infty}alpha_ncos(nx-theta_n)dx+int_{-pi}^{pi}left[sum_{n=1}^{infty}alpha_ncos(nx-theta_n)right]^2dx$$

$$= 2pifrac{a_0^2}{4}+a_0int_{-pi}^{pi}sum_{n=1}^{infty}alpha_ncos(nx-theta_n)dx$$
$$+int_{-pi}^{pi}sum_{n=1}^{infty}alpha_ncos(nx-theta_n)sum_{m=1}^{infty}alpha_mcos(mx-theta_m)dxtag{2}$$



I don't know how to proceed any further with this but do I know that for integer $nne m$
$$langlecos(nx)|cos(mx)rangle=0$$
but I am struggling to apply the same logic to $(mathrm{2})$ as the cosines have different phase offsets, I am also confused about how to deal with the 2 sums in the second integral.





The answer just states that:



Parseval





Does anyone have any advice on how I can complete this proof?










share|cite|improve this question











$endgroup$




I need to show that $$int_{-pi}^{pi}left|frac{a_0}{2}+sum_{n=1}^{infty}alpha_ncos(nx-theta_n)right|^2dx=2pileft(frac{a_0^2}{4}+frac12sum_{n=1}^{infty}alpha_n^2right)tag{1}$$



Just for reference the trigonometric Fourier series is
$$f(x)= frac{a_0}{2} + sum_{n=1}^{infty}left(a_ncos(nx)+b_nsin(nx)right)$$
and the connection between the trigonometric Fourier series and the power spectrum is given by
$$a_n=alpha_ncostheta_n$$
$$b_n=alpha_nsintheta_n$$
$$alpha_n^2=a_n^2+b_n^2$$
$$tantheta_n=frac{b_n}{a_n}$$





So I start by expanding the LHS of $(mathrm{1})$



$$int_{-pi}^{pi}left{frac{a_0^2}{4}+a_0sum_{n=1}^{infty}alpha_ncos(nx-theta_n)+left[sum_{n=1}^{infty}alpha_ncos(nx-theta_n)right]^2right}dx$$
$$=
int_{-pi}^{pi}frac{a_0^2}{4}dx+a_0int_{-pi}^{pi}sum_{n=1}^{infty}alpha_ncos(nx-theta_n)dx+int_{-pi}^{pi}left[sum_{n=1}^{infty}alpha_ncos(nx-theta_n)right]^2dx$$

$$= 2pifrac{a_0^2}{4}+a_0int_{-pi}^{pi}sum_{n=1}^{infty}alpha_ncos(nx-theta_n)dx$$
$$+int_{-pi}^{pi}sum_{n=1}^{infty}alpha_ncos(nx-theta_n)sum_{m=1}^{infty}alpha_mcos(mx-theta_m)dxtag{2}$$



I don't know how to proceed any further with this but do I know that for integer $nne m$
$$langlecos(nx)|cos(mx)rangle=0$$
but I am struggling to apply the same logic to $(mathrm{2})$ as the cosines have different phase offsets, I am also confused about how to deal with the 2 sums in the second integral.





The answer just states that:



Parseval





Does anyone have any advice on how I can complete this proof?







summation 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 Nov 26 '18 at 19:51







BLAZE

















asked Nov 26 '18 at 17:22









BLAZEBLAZE

6,076112755




6,076112755








  • 1




    $begingroup$
    You have to argue why the infinite sum can be exchanged with the integral, and then, as $cos$ is periodic, we get the same integrals for each $n$ if we drop $theta_n$..
    $endgroup$
    – Berci
    Nov 26 '18 at 17:40










  • $begingroup$
    @Berci Thanks for your reply, I'm not sure why the infinite sum can be exchanged with the integral. In fact, I don't even understand what you mean by 'exchange'. Could you please elaborate on this in an answer?
    $endgroup$
    – BLAZE
    Nov 26 '18 at 19:37














  • 1




    $begingroup$
    You have to argue why the infinite sum can be exchanged with the integral, and then, as $cos$ is periodic, we get the same integrals for each $n$ if we drop $theta_n$..
    $endgroup$
    – Berci
    Nov 26 '18 at 17:40










  • $begingroup$
    @Berci Thanks for your reply, I'm not sure why the infinite sum can be exchanged with the integral. In fact, I don't even understand what you mean by 'exchange'. Could you please elaborate on this in an answer?
    $endgroup$
    – BLAZE
    Nov 26 '18 at 19:37








1




1




$begingroup$
You have to argue why the infinite sum can be exchanged with the integral, and then, as $cos$ is periodic, we get the same integrals for each $n$ if we drop $theta_n$..
$endgroup$
– Berci
Nov 26 '18 at 17:40




$begingroup$
You have to argue why the infinite sum can be exchanged with the integral, and then, as $cos$ is periodic, we get the same integrals for each $n$ if we drop $theta_n$..
$endgroup$
– Berci
Nov 26 '18 at 17:40












$begingroup$
@Berci Thanks for your reply, I'm not sure why the infinite sum can be exchanged with the integral. In fact, I don't even understand what you mean by 'exchange'. Could you please elaborate on this in an answer?
$endgroup$
– BLAZE
Nov 26 '18 at 19:37




$begingroup$
@Berci Thanks for your reply, I'm not sure why the infinite sum can be exchanged with the integral. In fact, I don't even understand what you mean by 'exchange'. Could you please elaborate on this in an answer?
$endgroup$
– BLAZE
Nov 26 '18 at 19:37










1 Answer
1






active

oldest

votes


















2












$begingroup$

$$cos(nx-theta_n)=cos(nx)cos(theta_n)+sin(nx)sin(theta_n)$$



Therefore
$$int_{-pi}^pi cos(nx-theta_n)cos(mx-theta_m)dx={cos(theta_n)cos(theta_m)int_{-pi}^pi left(cos(nx)cos(mx)right)dx quadtext{etc.}}$$



For $nne m$, $$int_{-pi}^pi cos(nx)cos(mx)dx=0$$ and in general $$int_{-pi}^pi cos(nx)sin(mx)dx=0$$ Meanwhile $$int_{-pi}^pi cos^2(nx)dx=pi$$ This will allow you to complete $(2)$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    I don't know who edited my answer. Moreover I don't see the point of it.
    $endgroup$
    – herb steinberg
    Nov 26 '18 at 20:48










  • $begingroup$
    It was me that edited the format of your answer. Do you not agree that it is easier to read now? If not you can revert back to the original.
    $endgroup$
    – BLAZE
    Nov 27 '18 at 15:01










  • $begingroup$
    It is just more spread out. I have found from past experience that reverting to the original is too troublesome, so leave it.
    $endgroup$
    – herb steinberg
    Nov 27 '18 at 16:54











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%2f3014622%2fuse-orthogonality-to-proof-parsevals-identity-for-the-general-fourier-series-wr%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$

$$cos(nx-theta_n)=cos(nx)cos(theta_n)+sin(nx)sin(theta_n)$$



Therefore
$$int_{-pi}^pi cos(nx-theta_n)cos(mx-theta_m)dx={cos(theta_n)cos(theta_m)int_{-pi}^pi left(cos(nx)cos(mx)right)dx quadtext{etc.}}$$



For $nne m$, $$int_{-pi}^pi cos(nx)cos(mx)dx=0$$ and in general $$int_{-pi}^pi cos(nx)sin(mx)dx=0$$ Meanwhile $$int_{-pi}^pi cos^2(nx)dx=pi$$ This will allow you to complete $(2)$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    I don't know who edited my answer. Moreover I don't see the point of it.
    $endgroup$
    – herb steinberg
    Nov 26 '18 at 20:48










  • $begingroup$
    It was me that edited the format of your answer. Do you not agree that it is easier to read now? If not you can revert back to the original.
    $endgroup$
    – BLAZE
    Nov 27 '18 at 15:01










  • $begingroup$
    It is just more spread out. I have found from past experience that reverting to the original is too troublesome, so leave it.
    $endgroup$
    – herb steinberg
    Nov 27 '18 at 16:54
















2












$begingroup$

$$cos(nx-theta_n)=cos(nx)cos(theta_n)+sin(nx)sin(theta_n)$$



Therefore
$$int_{-pi}^pi cos(nx-theta_n)cos(mx-theta_m)dx={cos(theta_n)cos(theta_m)int_{-pi}^pi left(cos(nx)cos(mx)right)dx quadtext{etc.}}$$



For $nne m$, $$int_{-pi}^pi cos(nx)cos(mx)dx=0$$ and in general $$int_{-pi}^pi cos(nx)sin(mx)dx=0$$ Meanwhile $$int_{-pi}^pi cos^2(nx)dx=pi$$ This will allow you to complete $(2)$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    I don't know who edited my answer. Moreover I don't see the point of it.
    $endgroup$
    – herb steinberg
    Nov 26 '18 at 20:48










  • $begingroup$
    It was me that edited the format of your answer. Do you not agree that it is easier to read now? If not you can revert back to the original.
    $endgroup$
    – BLAZE
    Nov 27 '18 at 15:01










  • $begingroup$
    It is just more spread out. I have found from past experience that reverting to the original is too troublesome, so leave it.
    $endgroup$
    – herb steinberg
    Nov 27 '18 at 16:54














2












2








2





$begingroup$

$$cos(nx-theta_n)=cos(nx)cos(theta_n)+sin(nx)sin(theta_n)$$



Therefore
$$int_{-pi}^pi cos(nx-theta_n)cos(mx-theta_m)dx={cos(theta_n)cos(theta_m)int_{-pi}^pi left(cos(nx)cos(mx)right)dx quadtext{etc.}}$$



For $nne m$, $$int_{-pi}^pi cos(nx)cos(mx)dx=0$$ and in general $$int_{-pi}^pi cos(nx)sin(mx)dx=0$$ Meanwhile $$int_{-pi}^pi cos^2(nx)dx=pi$$ This will allow you to complete $(2)$.






share|cite|improve this answer











$endgroup$



$$cos(nx-theta_n)=cos(nx)cos(theta_n)+sin(nx)sin(theta_n)$$



Therefore
$$int_{-pi}^pi cos(nx-theta_n)cos(mx-theta_m)dx={cos(theta_n)cos(theta_m)int_{-pi}^pi left(cos(nx)cos(mx)right)dx quadtext{etc.}}$$



For $nne m$, $$int_{-pi}^pi cos(nx)cos(mx)dx=0$$ and in general $$int_{-pi}^pi cos(nx)sin(mx)dx=0$$ Meanwhile $$int_{-pi}^pi cos^2(nx)dx=pi$$ This will allow you to complete $(2)$.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 26 '18 at 19:46









BLAZE

6,076112755




6,076112755










answered Nov 26 '18 at 17:49









herb steinbergherb steinberg

2,5582310




2,5582310












  • $begingroup$
    I don't know who edited my answer. Moreover I don't see the point of it.
    $endgroup$
    – herb steinberg
    Nov 26 '18 at 20:48










  • $begingroup$
    It was me that edited the format of your answer. Do you not agree that it is easier to read now? If not you can revert back to the original.
    $endgroup$
    – BLAZE
    Nov 27 '18 at 15:01










  • $begingroup$
    It is just more spread out. I have found from past experience that reverting to the original is too troublesome, so leave it.
    $endgroup$
    – herb steinberg
    Nov 27 '18 at 16:54


















  • $begingroup$
    I don't know who edited my answer. Moreover I don't see the point of it.
    $endgroup$
    – herb steinberg
    Nov 26 '18 at 20:48










  • $begingroup$
    It was me that edited the format of your answer. Do you not agree that it is easier to read now? If not you can revert back to the original.
    $endgroup$
    – BLAZE
    Nov 27 '18 at 15:01










  • $begingroup$
    It is just more spread out. I have found from past experience that reverting to the original is too troublesome, so leave it.
    $endgroup$
    – herb steinberg
    Nov 27 '18 at 16:54
















$begingroup$
I don't know who edited my answer. Moreover I don't see the point of it.
$endgroup$
– herb steinberg
Nov 26 '18 at 20:48




$begingroup$
I don't know who edited my answer. Moreover I don't see the point of it.
$endgroup$
– herb steinberg
Nov 26 '18 at 20:48












$begingroup$
It was me that edited the format of your answer. Do you not agree that it is easier to read now? If not you can revert back to the original.
$endgroup$
– BLAZE
Nov 27 '18 at 15:01




$begingroup$
It was me that edited the format of your answer. Do you not agree that it is easier to read now? If not you can revert back to the original.
$endgroup$
– BLAZE
Nov 27 '18 at 15:01












$begingroup$
It is just more spread out. I have found from past experience that reverting to the original is too troublesome, so leave it.
$endgroup$
– herb steinberg
Nov 27 '18 at 16:54




$begingroup$
It is just more spread out. I have found from past experience that reverting to the original is too troublesome, so leave it.
$endgroup$
– herb steinberg
Nov 27 '18 at 16:54


















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%2f3014622%2fuse-orthogonality-to-proof-parsevals-identity-for-the-general-fourier-series-wr%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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?