Writing Sine and Cosine functions as Fourier Series The Next CEO of Stack OverflowFourier...

Math-accent symbol over parentheses enclosing accented symbol (amsmath)

Domestic-to-international connection at Orlando (MCO)

Grabbing quick drinks

A small doubt about the dominated convergence theorem

The exact meaning of 'Mom made me a sandwich'

Is French Guiana a (hard) EU border?

What was the first Unix version to run on a microcomputer?

Easy to read palindrome checker

How to count occurrences of text in a file?

Can MTA send mail via a relay without being told so?

Dominated convergence theorem - what sequence?

Is there always a complete, orthogonal set of unitary matrices?

Flying from Cape Town to England and return to another province

Why isn't acceleration always zero whenever velocity is zero, such as the moment a ball bounces off a wall?

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

Should I tutor a student who I know has cheated on their homework?

Can a Bladesinger Wizard use Bladesong with a Hand Crossbow?

"misplaced omit" error when >{centering} columns

Method for adding error messages to a dictionary given a key

What steps are necessary to read a Modern SSD in Medieval Europe?

Why do remote US companies require working in the US?

Chain wire methods together in Lightning Web Components

Is it possible to use a NPN BJT as switch, from single power source?

Does increasing your ability score affect your main stat?



Writing Sine and Cosine functions as Fourier Series



The Next CEO of Stack OverflowFourier cosine series and sum helpIs it possible for cosine functions to have Fourier sine series expressions or sine functions to have Fourier cosine series expressions?Fourier Sine Series and Cosine SeriesFinding Fourier cosine series of sine functionIs Fourier transform still writing a function as a series of sines and cosines?Fourier sine and cosine series of these functions?Why is the Fourier Series of an even signal the Fourier cosine series?Even and odd functions with Fourier seriesWhy are the Fourier Series an orthogonal basis?Confusion about Fourier sine/cosine series












0












$begingroup$


What are the fourier series for: $sin(pi*x)+cos(3pi x)$ and $sin(3x)$



I was taught that the purpose of the Fourier series was to describe periodic functions in the form of an infinite sum of cosines and sines. But if the function is already in the form of sin and cos such as above, then wouldn't it be redundant to express it in the form it is already in? I can see that the functions above are not in the form of a series, but how can you put sin and cosine into a series of itself? Is the question a trick question and the answer just the function provided?










share|cite|improve this question











$endgroup$












  • $begingroup$
    If you denote $mathcal{F}(f)(x)$ the Fourier series for $f$, then simply $mathcal{F}(sin)(x) = sin(x)$, $mathcal{F}(cos)(x) = cos(x)$, the series are themselves. That's it.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 8:55










  • $begingroup$
    @Klaramun what does it mean when you say that the Fourier series is a series with 'integer weights'?
    $endgroup$
    – VanGo
    Nov 27 '15 at 8:59










  • $begingroup$
    Ok now I have seen the edit. The second function $sin(3x)$ is the fourier series itself, but not the first one. Recall the Fourier series is a serie of the form $a_n sinBig(frac{2 pi n x}{T} Big) + b_n cosBig(frac{2 pi n x}{T} Big)$ where $T$ is the period of the function. So the first you need to fins is the period of such a function, and then express this as a sum of these sines and cosines.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 9:03












  • $begingroup$
    I have now seen the 2nd edit you made. I have posted an answer if it helps, but it was more oriented on the last function you had in your question. Still, hope it helps.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 9:17
















0












$begingroup$


What are the fourier series for: $sin(pi*x)+cos(3pi x)$ and $sin(3x)$



I was taught that the purpose of the Fourier series was to describe periodic functions in the form of an infinite sum of cosines and sines. But if the function is already in the form of sin and cos such as above, then wouldn't it be redundant to express it in the form it is already in? I can see that the functions above are not in the form of a series, but how can you put sin and cosine into a series of itself? Is the question a trick question and the answer just the function provided?










share|cite|improve this question











$endgroup$












  • $begingroup$
    If you denote $mathcal{F}(f)(x)$ the Fourier series for $f$, then simply $mathcal{F}(sin)(x) = sin(x)$, $mathcal{F}(cos)(x) = cos(x)$, the series are themselves. That's it.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 8:55










  • $begingroup$
    @Klaramun what does it mean when you say that the Fourier series is a series with 'integer weights'?
    $endgroup$
    – VanGo
    Nov 27 '15 at 8:59










  • $begingroup$
    Ok now I have seen the edit. The second function $sin(3x)$ is the fourier series itself, but not the first one. Recall the Fourier series is a serie of the form $a_n sinBig(frac{2 pi n x}{T} Big) + b_n cosBig(frac{2 pi n x}{T} Big)$ where $T$ is the period of the function. So the first you need to fins is the period of such a function, and then express this as a sum of these sines and cosines.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 9:03












  • $begingroup$
    I have now seen the 2nd edit you made. I have posted an answer if it helps, but it was more oriented on the last function you had in your question. Still, hope it helps.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 9:17














0












0








0





$begingroup$


What are the fourier series for: $sin(pi*x)+cos(3pi x)$ and $sin(3x)$



I was taught that the purpose of the Fourier series was to describe periodic functions in the form of an infinite sum of cosines and sines. But if the function is already in the form of sin and cos such as above, then wouldn't it be redundant to express it in the form it is already in? I can see that the functions above are not in the form of a series, but how can you put sin and cosine into a series of itself? Is the question a trick question and the answer just the function provided?










share|cite|improve this question











$endgroup$




What are the fourier series for: $sin(pi*x)+cos(3pi x)$ and $sin(3x)$



I was taught that the purpose of the Fourier series was to describe periodic functions in the form of an infinite sum of cosines and sines. But if the function is already in the form of sin and cos such as above, then wouldn't it be redundant to express it in the form it is already in? I can see that the functions above are not in the form of a series, but how can you put sin and cosine into a series of itself? Is the question a trick question and the answer just the function provided?







fourier-series






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 27 '15 at 9:07









Nizar

2,40921123




2,40921123










asked Nov 27 '15 at 8:52









VanGoVanGo

10516




10516












  • $begingroup$
    If you denote $mathcal{F}(f)(x)$ the Fourier series for $f$, then simply $mathcal{F}(sin)(x) = sin(x)$, $mathcal{F}(cos)(x) = cos(x)$, the series are themselves. That's it.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 8:55










  • $begingroup$
    @Klaramun what does it mean when you say that the Fourier series is a series with 'integer weights'?
    $endgroup$
    – VanGo
    Nov 27 '15 at 8:59










  • $begingroup$
    Ok now I have seen the edit. The second function $sin(3x)$ is the fourier series itself, but not the first one. Recall the Fourier series is a serie of the form $a_n sinBig(frac{2 pi n x}{T} Big) + b_n cosBig(frac{2 pi n x}{T} Big)$ where $T$ is the period of the function. So the first you need to fins is the period of such a function, and then express this as a sum of these sines and cosines.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 9:03












  • $begingroup$
    I have now seen the 2nd edit you made. I have posted an answer if it helps, but it was more oriented on the last function you had in your question. Still, hope it helps.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 9:17


















  • $begingroup$
    If you denote $mathcal{F}(f)(x)$ the Fourier series for $f$, then simply $mathcal{F}(sin)(x) = sin(x)$, $mathcal{F}(cos)(x) = cos(x)$, the series are themselves. That's it.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 8:55










  • $begingroup$
    @Klaramun what does it mean when you say that the Fourier series is a series with 'integer weights'?
    $endgroup$
    – VanGo
    Nov 27 '15 at 8:59










  • $begingroup$
    Ok now I have seen the edit. The second function $sin(3x)$ is the fourier series itself, but not the first one. Recall the Fourier series is a serie of the form $a_n sinBig(frac{2 pi n x}{T} Big) + b_n cosBig(frac{2 pi n x}{T} Big)$ where $T$ is the period of the function. So the first you need to fins is the period of such a function, and then express this as a sum of these sines and cosines.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 9:03












  • $begingroup$
    I have now seen the 2nd edit you made. I have posted an answer if it helps, but it was more oriented on the last function you had in your question. Still, hope it helps.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 9:17
















$begingroup$
If you denote $mathcal{F}(f)(x)$ the Fourier series for $f$, then simply $mathcal{F}(sin)(x) = sin(x)$, $mathcal{F}(cos)(x) = cos(x)$, the series are themselves. That's it.
$endgroup$
– Klaramun
Nov 27 '15 at 8:55




$begingroup$
If you denote $mathcal{F}(f)(x)$ the Fourier series for $f$, then simply $mathcal{F}(sin)(x) = sin(x)$, $mathcal{F}(cos)(x) = cos(x)$, the series are themselves. That's it.
$endgroup$
– Klaramun
Nov 27 '15 at 8:55












$begingroup$
@Klaramun what does it mean when you say that the Fourier series is a series with 'integer weights'?
$endgroup$
– VanGo
Nov 27 '15 at 8:59




$begingroup$
@Klaramun what does it mean when you say that the Fourier series is a series with 'integer weights'?
$endgroup$
– VanGo
Nov 27 '15 at 8:59












$begingroup$
Ok now I have seen the edit. The second function $sin(3x)$ is the fourier series itself, but not the first one. Recall the Fourier series is a serie of the form $a_n sinBig(frac{2 pi n x}{T} Big) + b_n cosBig(frac{2 pi n x}{T} Big)$ where $T$ is the period of the function. So the first you need to fins is the period of such a function, and then express this as a sum of these sines and cosines.
$endgroup$
– Klaramun
Nov 27 '15 at 9:03






$begingroup$
Ok now I have seen the edit. The second function $sin(3x)$ is the fourier series itself, but not the first one. Recall the Fourier series is a serie of the form $a_n sinBig(frac{2 pi n x}{T} Big) + b_n cosBig(frac{2 pi n x}{T} Big)$ where $T$ is the period of the function. So the first you need to fins is the period of such a function, and then express this as a sum of these sines and cosines.
$endgroup$
– Klaramun
Nov 27 '15 at 9:03














$begingroup$
I have now seen the 2nd edit you made. I have posted an answer if it helps, but it was more oriented on the last function you had in your question. Still, hope it helps.
$endgroup$
– Klaramun
Nov 27 '15 at 9:17




$begingroup$
I have now seen the 2nd edit you made. I have posted an answer if it helps, but it was more oriented on the last function you had in your question. Still, hope it helps.
$endgroup$
– Klaramun
Nov 27 '15 at 9:17










1 Answer
1






active

oldest

votes


















0












$begingroup$

The Fourier series express a periodic function in terms of sines and cosines, but with a precise relation between their periods. Let me explain.



If $f$ is a periodic function with period $T$ (i.e. $f(x+T) = f(x)$), then roughly speaking (I'll not worry about convergence issues) its Fourier series will be



begin{equation*}
begin{split}
mathcal{F}(f)(x) & = sum_{n=1}^{+infty} a_n sinBig( frac{2pi n}{T}xBig) + b_n cosBig( frac{2pi n}{T}xBig) = \
& = underbrace{Big( a_1 sinBig( frac{2pi}{T}xBig) + b_1 cosBig( frac{2pi}{T}xBig) Big)}_{text{First term, period } T_0} + underbrace{Big( a_2 sinBig( frac{2pi·2}{T}xBig) + b_2 cosBig( frac{2pi· 2}{T}xBig) Big)}_{text{Second term, period } 1/2·T_0} + cdots
end{split}
end{equation*}



So the relation between the periods of each term of the series is that they decrease in $frac{1}{n}$ at the $n$-th term with respect to the first one, the periods are related in a rational way.



In the case of the function $cos(pi x) + sin(3 x)$, the periods of the terms are not related in a rational way (in fact the first one is rational, but not the second one), so you must compute its Fourier series, which will not be the same as the function itself (first you need to determine the period $T$ of such a function).






share|cite|improve this answer











$endgroup$













  • $begingroup$
    I end up getting an integral with 2 cosines multiplied together, each with a different period. Should I just integrate by parts from here?
    $endgroup$
    – VanGo
    Nov 27 '15 at 9:59










  • $begingroup$
    You re-edited your function, it ends up being $sin(pi x) + cos(3 pi x)$; it is its Fourier series itlsef because of what I just told you.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 10:04












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%2f1548408%2fwriting-sine-and-cosine-functions-as-fourier-series%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









0












$begingroup$

The Fourier series express a periodic function in terms of sines and cosines, but with a precise relation between their periods. Let me explain.



If $f$ is a periodic function with period $T$ (i.e. $f(x+T) = f(x)$), then roughly speaking (I'll not worry about convergence issues) its Fourier series will be



begin{equation*}
begin{split}
mathcal{F}(f)(x) & = sum_{n=1}^{+infty} a_n sinBig( frac{2pi n}{T}xBig) + b_n cosBig( frac{2pi n}{T}xBig) = \
& = underbrace{Big( a_1 sinBig( frac{2pi}{T}xBig) + b_1 cosBig( frac{2pi}{T}xBig) Big)}_{text{First term, period } T_0} + underbrace{Big( a_2 sinBig( frac{2pi·2}{T}xBig) + b_2 cosBig( frac{2pi· 2}{T}xBig) Big)}_{text{Second term, period } 1/2·T_0} + cdots
end{split}
end{equation*}



So the relation between the periods of each term of the series is that they decrease in $frac{1}{n}$ at the $n$-th term with respect to the first one, the periods are related in a rational way.



In the case of the function $cos(pi x) + sin(3 x)$, the periods of the terms are not related in a rational way (in fact the first one is rational, but not the second one), so you must compute its Fourier series, which will not be the same as the function itself (first you need to determine the period $T$ of such a function).






share|cite|improve this answer











$endgroup$













  • $begingroup$
    I end up getting an integral with 2 cosines multiplied together, each with a different period. Should I just integrate by parts from here?
    $endgroup$
    – VanGo
    Nov 27 '15 at 9:59










  • $begingroup$
    You re-edited your function, it ends up being $sin(pi x) + cos(3 pi x)$; it is its Fourier series itlsef because of what I just told you.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 10:04
















0












$begingroup$

The Fourier series express a periodic function in terms of sines and cosines, but with a precise relation between their periods. Let me explain.



If $f$ is a periodic function with period $T$ (i.e. $f(x+T) = f(x)$), then roughly speaking (I'll not worry about convergence issues) its Fourier series will be



begin{equation*}
begin{split}
mathcal{F}(f)(x) & = sum_{n=1}^{+infty} a_n sinBig( frac{2pi n}{T}xBig) + b_n cosBig( frac{2pi n}{T}xBig) = \
& = underbrace{Big( a_1 sinBig( frac{2pi}{T}xBig) + b_1 cosBig( frac{2pi}{T}xBig) Big)}_{text{First term, period } T_0} + underbrace{Big( a_2 sinBig( frac{2pi·2}{T}xBig) + b_2 cosBig( frac{2pi· 2}{T}xBig) Big)}_{text{Second term, period } 1/2·T_0} + cdots
end{split}
end{equation*}



So the relation between the periods of each term of the series is that they decrease in $frac{1}{n}$ at the $n$-th term with respect to the first one, the periods are related in a rational way.



In the case of the function $cos(pi x) + sin(3 x)$, the periods of the terms are not related in a rational way (in fact the first one is rational, but not the second one), so you must compute its Fourier series, which will not be the same as the function itself (first you need to determine the period $T$ of such a function).






share|cite|improve this answer











$endgroup$













  • $begingroup$
    I end up getting an integral with 2 cosines multiplied together, each with a different period. Should I just integrate by parts from here?
    $endgroup$
    – VanGo
    Nov 27 '15 at 9:59










  • $begingroup$
    You re-edited your function, it ends up being $sin(pi x) + cos(3 pi x)$; it is its Fourier series itlsef because of what I just told you.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 10:04














0












0








0





$begingroup$

The Fourier series express a periodic function in terms of sines and cosines, but with a precise relation between their periods. Let me explain.



If $f$ is a periodic function with period $T$ (i.e. $f(x+T) = f(x)$), then roughly speaking (I'll not worry about convergence issues) its Fourier series will be



begin{equation*}
begin{split}
mathcal{F}(f)(x) & = sum_{n=1}^{+infty} a_n sinBig( frac{2pi n}{T}xBig) + b_n cosBig( frac{2pi n}{T}xBig) = \
& = underbrace{Big( a_1 sinBig( frac{2pi}{T}xBig) + b_1 cosBig( frac{2pi}{T}xBig) Big)}_{text{First term, period } T_0} + underbrace{Big( a_2 sinBig( frac{2pi·2}{T}xBig) + b_2 cosBig( frac{2pi· 2}{T}xBig) Big)}_{text{Second term, period } 1/2·T_0} + cdots
end{split}
end{equation*}



So the relation between the periods of each term of the series is that they decrease in $frac{1}{n}$ at the $n$-th term with respect to the first one, the periods are related in a rational way.



In the case of the function $cos(pi x) + sin(3 x)$, the periods of the terms are not related in a rational way (in fact the first one is rational, but not the second one), so you must compute its Fourier series, which will not be the same as the function itself (first you need to determine the period $T$ of such a function).






share|cite|improve this answer











$endgroup$



The Fourier series express a periodic function in terms of sines and cosines, but with a precise relation between their periods. Let me explain.



If $f$ is a periodic function with period $T$ (i.e. $f(x+T) = f(x)$), then roughly speaking (I'll not worry about convergence issues) its Fourier series will be



begin{equation*}
begin{split}
mathcal{F}(f)(x) & = sum_{n=1}^{+infty} a_n sinBig( frac{2pi n}{T}xBig) + b_n cosBig( frac{2pi n}{T}xBig) = \
& = underbrace{Big( a_1 sinBig( frac{2pi}{T}xBig) + b_1 cosBig( frac{2pi}{T}xBig) Big)}_{text{First term, period } T_0} + underbrace{Big( a_2 sinBig( frac{2pi·2}{T}xBig) + b_2 cosBig( frac{2pi· 2}{T}xBig) Big)}_{text{Second term, period } 1/2·T_0} + cdots
end{split}
end{equation*}



So the relation between the periods of each term of the series is that they decrease in $frac{1}{n}$ at the $n$-th term with respect to the first one, the periods are related in a rational way.



In the case of the function $cos(pi x) + sin(3 x)$, the periods of the terms are not related in a rational way (in fact the first one is rational, but not the second one), so you must compute its Fourier series, which will not be the same as the function itself (first you need to determine the period $T$ of such a function).







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 27 '15 at 10:02

























answered Nov 27 '15 at 9:15









KlaramunKlaramun

78149




78149












  • $begingroup$
    I end up getting an integral with 2 cosines multiplied together, each with a different period. Should I just integrate by parts from here?
    $endgroup$
    – VanGo
    Nov 27 '15 at 9:59










  • $begingroup$
    You re-edited your function, it ends up being $sin(pi x) + cos(3 pi x)$; it is its Fourier series itlsef because of what I just told you.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 10:04


















  • $begingroup$
    I end up getting an integral with 2 cosines multiplied together, each with a different period. Should I just integrate by parts from here?
    $endgroup$
    – VanGo
    Nov 27 '15 at 9:59










  • $begingroup$
    You re-edited your function, it ends up being $sin(pi x) + cos(3 pi x)$; it is its Fourier series itlsef because of what I just told you.
    $endgroup$
    – Klaramun
    Nov 27 '15 at 10:04
















$begingroup$
I end up getting an integral with 2 cosines multiplied together, each with a different period. Should I just integrate by parts from here?
$endgroup$
– VanGo
Nov 27 '15 at 9:59




$begingroup$
I end up getting an integral with 2 cosines multiplied together, each with a different period. Should I just integrate by parts from here?
$endgroup$
– VanGo
Nov 27 '15 at 9:59












$begingroup$
You re-edited your function, it ends up being $sin(pi x) + cos(3 pi x)$; it is its Fourier series itlsef because of what I just told you.
$endgroup$
– Klaramun
Nov 27 '15 at 10:04




$begingroup$
You re-edited your function, it ends up being $sin(pi x) + cos(3 pi x)$; it is its Fourier series itlsef because of what I just told you.
$endgroup$
– Klaramun
Nov 27 '15 at 10:04


















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%2f1548408%2fwriting-sine-and-cosine-functions-as-fourier-series%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

六本木駅

Integral that is continuous and looks like it converges to a geometric seriesTesting if a geometric series converges by taking limit to infinitySummation of arithmetic-geometric series of higher orderGeometric series with polynomial exponentHow to Recognize a Geometric SeriesShowing an integral equality with series over the integersDiscontinuity of a series of continuous functionsReasons why a Series ConvergesSum of infinite geometric series with two terms in summationUsing geometric series for computing IntegralsLimit of geometric series sum when $r = 1$

Joseph Lister