Finding Fourier Series f(x)=1 & Integrating for g(x)=x on 0<=x<=pi

In summary, a Fourier series is a mathematical method used to represent a periodic function as a sum of sine and cosine functions. To find the Fourier series for f(x)=1, we use a formula to determine the coefficients and integrate the function. The same process is used to integrate for g(x)=x on 0<=x<=pi. The relation between Fourier series and integration is that integration is used to find the coefficients of the Fourier series.
  • #1
stunner5000pt
1,465
4
Find the Fourier series for f(x)=1 on the interval 0 <=x <= pi in temrs of phi = sin nx. By integrating thi series find a convergent series for hte function g(x) =x oin this interval assuming that the set {sin nx} is complete

i can find the Fourier series for f(x) =1. But i would like to know why n is supposed to be odd becuase the answer i get is
[tex] \frac{2}{\pi} \sum_{n=1}^{\infty} \frac{1 - \cos(n \pi)}{n} \sin(nx) [/tex]
the text ssumes n is odd. Is it becuase if n was even then the summand would be zero?
the answer in the text is [tex] \frac{4}{\pi} \sum_{n=1}^{\infty} \frac{\sin(2k-1) x}{2k-1} [/tex]

How would i integrate the series?
f i integrate the answer for the text i get [tex] \frac{-4}{\pi} \sum_{n=1}^{\infty} \frac{\cos(2k-1) x}{(2k-1)^2} [/tex]
but hte answer in the book i
[tex] \frac{-4}{\pi} \sum_{n=1}^{\infty} \frac{1-\cos(2k-1) x}{(2k-1)^2} [/tex]

why or where is that 1 / (2k-1)^2 term coming from? Can someone please help?

Thank you
 
Physics news on Phys.org
  • #2
stunner5000pt said:
Find the Fourier series for f(x)=1 on the interval 0 <=x <= pi in temrs of phi = sin nx. By integrating thi series find a convergent series for hte function g(x) =x oin this interval assuming that the set {sin nx} is complete
i can find the Fourier series for f(x) =1. But i would like to know why n is supposed to be odd becuase the answer i get is
[tex] \frac{2}{\pi} \sum_{n=1}^{\infty} \frac{1 - \cos(n \pi)}{n} \sin(nx) [/tex]
the text ssumes n is odd. Is it becuase if n was even then the summand would be zero?

Precisely. Try plugging different values of n in cos(n pi). You will see that cos(n pi) = (-1)^n. Hence, for n even, cos(n pi)=1 and the summand vanishes. Now your sum is over all odd positive integers. But you can restore the sum to be over all positive integer by noting that the change of variable n-->2k-1 (with k running over the naturals) spans exactly every odd positive integers. This is what the book did.

stunner5000pt said:
How would i integrate the series?
If you've seen how to prove the uniform convergence of Fourier series, do it. If not, assume it does converge uniformly such that the integral of the sum is the serie of the integrals.

stunner5000pt said:
f i integrate the answer for the text i get [tex] \frac{-4}{\pi} \sum_{n=1}^{\infty} \frac{\cos(2k-1) x}{(2k-1)^2} [/tex]
but hte answer in the book i
[tex] \frac{-4}{\pi} \sum_{n=1}^{\infty} \frac{1-\cos(2k-1) x}{(2k-1)^2} [/tex]
why or where is that 1 / (2k-1)^2 term coming from? Can someone please help?
Thank you

I think it comes from the constants of integration and then evaluating the serie at x=0, but I don't understand the mechanism exactly. It is true that setting one constant 0 and the other 1 / (2k-1)^2 makes the serie work when evaluating at x = 0, but how can we be sure that these are the right constant?
 

FAQ: Finding Fourier Series f(x)=1 & Integrating for g(x)=x on 0<=x<=pi

What is a Fourier series?

A Fourier series is a mathematical method used to represent a periodic function as a sum of sine and cosine functions. It is named after mathematician Joseph Fourier and is commonly used in signal processing, engineering, and physics.

How do you find the Fourier series for f(x)=1?

To find the Fourier series for f(x)=1, first, we need to determine the period of the function, which in this case is 2π. Then, we can use the formula for the coefficients of the Fourier series, a_n = (1/π)∫f(x)cos(nx)dx and b_n = (1/π)∫f(x)sin(nx)dx. Since f(x)=1, the integrals become a_n = (1/π)∫cos(nx)dx and b_n = (1/π)∫sin(nx)dx. After integrating, we get a_n = 0 and b_n = 2/π*sin(nx). Therefore, the Fourier series for f(x)=1 is 1/2 + (2/π)*sin(x) + (2/π)*sin(2x) + (2/π)*sin(3x) + ...

What does it mean to integrate for g(x)=x?

Integrating for g(x)=x means finding the area under the curve of the function g(x) between two points. In this case, we are finding the area under the curve of g(x)=x from 0 to π.

How do you integrate for g(x)=x on 0<=x<=pi?

To integrate for g(x)=x on 0<=x<=pi, we can use the formula for integration by parts, ∫u dv = uv - ∫v du. In this case, let u=x and dv=dx, then du=dx and v=x. Plugging these values into the formula, we get ∫x dx = x^2/2 - ∫1 dx. Since we are integrating from 0 to π, we get ∫x dx = π^2/2 - 0 = π^2/2. Therefore, the integral for g(x)=x on 0<=x<=pi is equal to π^2/2.

What is the relation between Fourier series and integration?

The relation between Fourier series and integration is that the coefficients of the Fourier series can be found by integrating the function over its period. In other words, integration is used to determine the values of the coefficients in the Fourier series, which is then used to represent the function as a sum of sine and cosine functions. This allows us to approximate any periodic function using a finite number of terms in the Fourier series.

Similar threads

Replies
3
Views
1K
Replies
5
Views
496
Replies
1
Views
955
Replies
1
Views
1K
Replies
1
Views
1K
Replies
12
Views
2K
Back
Top