How do we find the Fourier coefficient for a cosine term in a Fourier series?

Click For Summary

Discussion Overview

The discussion revolves around the process of finding the Fourier coefficient for a cosine term in a Fourier series, particularly focusing on the integration and orthogonality properties of sine and cosine functions. Participants explore the derivation and implications of the Fourier series representation in the context of solving partial differential equations (PDEs).

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant describes the Fourier series and the method for finding the coefficient \( A_n \) by integrating the product of the function \( f(x) \) and the cosine term over the interval \([-L, L]\).
  • Another participant confirms that due to orthogonality, only the term where \( n = m \) contributes to the integral, leading to a simplified equation.
  • A later reply questions the equivalence of two expressions involving sums and integrals, seeking clarification on the placement of parentheses in the equations.
  • One participant suggests that the original question about the disappearance of the sum is misdirected, proposing that the focus should be on the arrangement of terms in the equation.

Areas of Agreement / Disagreement

Participants generally agree on the orthogonality principle and its implications for simplifying the integral. However, there is some contention regarding the interpretation of the equations and the placement of parentheses, indicating that the discussion remains unresolved in this aspect.

Contextual Notes

Participants express uncertainty about the correct interpretation of the mathematical expressions and the implications of the orthogonality of sine and cosine functions. The discussion does not resolve these uncertainties.

member 428835
hey pf!

okay, so if you've studied PDEs you know the value of a Fourier series, and the difficulty of determining a Fourier coefficient. my question relates to finding this coefficient. briefly, i'll define a Fourier series as f(x)=\sum_{n=0}^{\infty} A_n\cos\frac{n\pi x}{L}+B_n\sin\frac{n\pi x}{L} when solving for A_n one way (the only way i know) is to multiply both sides by \cos\frac{m\pi x}{L}. now, when we integrate over [-L,L] the sine term vanishes by its orthogonality with cosine and we are left with \int_{-L}^{L}f(x)\cos\frac{m\pi x}{L}dx=\sum_{n=0}^{\infty} A_n \int_{-L}^{L} \cos\frac{m\pi x}{L}\cos\frac{n\pi x}{L}dx, where the r.h.s=0 if m \neq n thus we know m = n (for now let's assume m=n \neq 0). m = n \implies \int_{-L}^{L} \cos\frac{m\pi x}{L}\cos\frac{n\pi x}{L}dx=L thus \sum_{n=1}^{\infty}A_n=\frac{1}{L}\int_{-L}^{L}f(x)\cos\frac{n\pi x}{L}dx but every book i see states simply A_n=\frac{1}{L}\int_{-L}^{L}f(x)\cos\frac{n\pi x}{L}dx where did the sum go?
 
Physics news on Phys.org
joshmccraney said:
...
now, when we integrate over [-L,L] the sine term vanishes by its orthogonality with cosine and we are left with \int_{-L}^{L}f(x)\cos\frac{m\pi x}{L}dx=\sum_{n=0}^{\infty} A_n \int_{-L}^{L} \cos\frac{m\pi x}{L}\cos\frac{n\pi x}{L}dx, where the r.h.s=0 if m \neq n

Exactly. Which means only one term of the sum is left, the n=m term, so this equation is identical to

\int_{-L}^{L}f(x)\cos\frac{m\pi x}{L}dx= A_m \int_{-L}^{L} \cos\frac{m\pi x}{L}\cos\frac{m\pi x}{L}dx

Does that make sense?

jason
 
  • Like
Likes   Reactions: 1 person
jasonRF said:
Exactly. Which means only one term of the sum is left, the n=m term, so this equation is identical to

\int_{-L}^{L}f(x)\cos\frac{m\pi x}{L}dx= A_m \int_{-L}^{L} \cos\frac{m\pi x}{L}\cos\frac{m\pi x}{L}dx

wait, does this mean \sum\int_{-L}^{L}f(x)\cos\frac{m\pi x}{L}dx= A_m \int_{-L}^{L} \cos\frac{m\pi x}{L}\cos\frac{m\pi x}{L}dx is equivalent to \int_{-L}^{L}f(x)\cos\frac{m\pi x}{L}dx= \sum A_m \int_{-L}^{L} \cos\frac{m\pi x}{L}\cos\frac{m\pi x}{L}dx
could you explain?
 
never mind, i see what you mean now! thanks!
 
"Where did the sum go?" is the wrong question.

The right question is "where do the parentheses go?"

Answer:
$$\int_{-L}^{L}f (x) \cos\frac{m\pi x}{L} dx = \sum_{n=0}^{\infty} \left( A_n \int_{-L}^{L} \cos \frac{m\pi x}{L} \cos \frac{n\pi x}{L} dx \right)$$

and all the integrals on the right hand side are zero, except when ##m = n##.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
28
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K