Finding the Fourier cosine series for ##f(x)=x^2##

Click For Summary

Homework Help Overview

The discussion revolves around finding the Fourier cosine series for the function f(x) = x^2, with a particular focus on the integration challenges involved. Participants also explore the implications of applying similar techniques to the function f(x) = x^7.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the straightforward nature of the concept but express concerns about the complexity of the integration required for the Fourier coefficients. There is a question about the feasibility of using software like Wolfram to assist with the integration process. Additionally, one participant raises the point that f(x) = x^7 is an odd function, suggesting that a Fourier sine series might be more appropriate than a cosine series.

Discussion Status

The discussion is active, with participants sharing their thoughts on the integration challenges and the potential use of technology. There is an exploration of different series types based on the properties of the functions in question. No consensus has been reached yet, as various interpretations and approaches are still being considered.

Contextual Notes

Participants are navigating the complexities of integration by parts and the implications of function symmetry on the choice of Fourier series. There is an underlying concern about the time required to solve these problems manually without technological assistance.

chwala
Gold Member
Messages
2,828
Reaction score
425
Homework Statement
See attached.
Relevant Equations
Fourier cosine series
I was just going through my old notes on this i.e

1699522218550.png
The concept is straight forward- only challenge phew :cool: is the integration bit...took me round and round a little bit... that is for ##A_n## part.

My working pretty ok i.e we shall realize the text solution. Kindly find my own working below.

1699522329913.png
Now to my question supposing we have to find say Fourier cosine series for ##f(x)= x^7##. The integration by parts here will take like forever to do. Do we have software for this? Will Wolfram help?
 
Last edited:
Physics news on Phys.org
chwala said:
Will Wolfram help?
Pretty easy to check for yourself :wink: . Let us know !

##\ ##
 
BvU said:
Pretty easy to check for yourself :wink: . Let us know !

##\ ##
Will do check @BvU ... however, if one was to do this by hand ... No technology...how long would it take to work to solution?
 
The ##f(x)= x^7## is odd. Perhaps Fourier sine series rather than cosine?
 
  • Like
Likes   Reactions: chwala
chwala said:
Now to my question supposing we have to find say Fourier cosine series for ##f(x)= x^7##. The integration by parts here will take like forever to do. Do we have software for this? Will Wolfram help?

Set I_n = \int_0^{2\pi} x^{2n+1} \sin kx\,dx, \qquad k = 1, 2, \dots. so that integrating by parts twice, <br /> I_n = - \frac{(2n+1)(2n)}{k^2}I_{n-1} - \frac{(2\pi)^{2n+1}}{k}. This recurrence relation can be solved subject to the initial condition I_0 = -\frac{2\pi}{k} to obtain <br /> I_N = \frac{(2N + 1)!(-1)^N}{k^{2N}} \frac{2\pi}{k}\sum_{n=0}^N \frac{(-1)^{n+1}(2\pi k)^{2n}}{(2n+1)!}.
 
  • Informative
  • Like
Likes   Reactions: chwala and DrClaude

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K