Understanding Fourier Coefficients using PDE

In summary, the conversation discusses a homework question in a PDE course about finding the Fourier Coefficients of the function ϑ(x) = x in the interval [-pi, pi]. The equations and solution methods for finding these coefficients are provided and the participant confirms their understanding of the problem. They also suggest graphing the sum of the first 10 terms to verify the accuracy of the coefficients and emphasize the importance of showing a complete answer with supporting evidence.
  • #1
RJLiberator
Gold Member
1,095
63

Homework Statement


In my PDE course we have a homework question stating the following:

Let ϑ(x) = x in the interval [-pi, pi ]. Find its Fourier Coefficients.

Homework Equations



From my notes on this type of question:

a_o = 2c_o = 1/pi * integral from -pi to pi [f(x) dx]

a_n = c_n + c_(-n) = 1/pi * integral from -pi to pi [f(x) cos(n*x) dx ]

b_n = i(c_n - c_(-n)) = 1/pi * integral from -pi to pi [f(x) sin(n*x) dx]

The Attempt at a Solution



Is it as simple as just a plug and chug based off my noes?

a_o's integration with f(x) = x just is x^2/(2*pi) from -pi to pi so we have
a_o = pi/2 - pi/2 = 0

a_n's integration is just equal to 0 as well.

b_n is just -2(-1)^n/n

So thus, the Fourier coefficients here are b_n = [(-2)(-1)^n]/n
for n ≥ 1

Am I understanding the question properly?
 
Physics news on Phys.org
  • #2
Graph the sum of the first 10 terms and compare it to the original function.
 
  • #3
Since f(x) = x is odd, we can safely say a_n is equal to 0 for n >= 0.

So, it seems I am right that b_n is the only coefficients.

Graph the sum of the first 10 terms and compare it to the original function.

The Fourier expansion is thus
2sin(x)- sin(2x) + (2/3)sin(3x)/3 +...So I guess my understanding on this problem seems to be getting better.
My question is thus, according to the question in the initial post, is a complete and safe way to answer this question by stating that the function is odd so a_n coefficients are 0, and so we observe
b_n = (2/n)(-1)^(n+1)

I just want to make sure I am answering this question with completeness.
 
  • #4
I'd be happy with your answer if I was grading it. But I'd be happier with a graph showing the series agrees with the initial function.

My classes always have a heavy emphasis on assessment: showing your answer is right with a method independent of the method originally used to compute the answer.
 
  • Like
Likes RJLiberator

Related to Understanding Fourier Coefficients using PDE

What is the purpose of using Fourier coefficients in PDE?

The purpose of using Fourier coefficients in PDE is to represent a given function as a sum of simpler, periodic functions. This allows for easier analysis and solution of the PDE.

How are Fourier coefficients calculated?

Fourier coefficients are calculated by taking the inner product of the given function with a set of orthogonal functions known as the Fourier basis. These basis functions are typically trigonometric functions such as sine and cosine.

What is the relationship between Fourier coefficients and boundary conditions?

The Fourier coefficients are determined by the boundary conditions of the PDE. The boundary conditions provide constraints on the values of the Fourier coefficients, which in turn determine the solution to the PDE.

Can Fourier coefficients be used to approximate any function?

Yes, Fourier coefficients can be used to approximate any function as long as it satisfies certain conditions, such as being periodic and having a bounded variation. However, the accuracy of the approximation may vary depending on the function and the number of Fourier coefficients used.

How do Fourier coefficients help in solving PDEs?

Fourier coefficients help in solving PDEs by reducing the problem to a simpler set of equations involving a finite number of coefficients. These equations can then be solved using various techniques, such as separation of variables or numerical methods, to obtain the solution to the PDE.

Similar threads

  • Calculus and Beyond Homework Help
Replies
16
Views
647
  • Calculus and Beyond Homework Help
Replies
1
Views
598
  • Calculus and Beyond Homework Help
Replies
3
Views
398
  • Calculus and Beyond Homework Help
Replies
1
Views
412
  • Calculus and Beyond Homework Help
Replies
3
Views
511
  • Calculus and Beyond Homework Help
Replies
1
Views
308
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
473
  • Calculus and Beyond Homework Help
Replies
5
Views
504
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
Back
Top