Fourier Series for sin(2x)*x^2: Finding the Correct Solution

  • Thread starter Thread starter pedro_bb7
  • Start date Start date
  • Tags Tags
    Fourier
Click For Summary

Homework Help Overview

The discussion revolves around the application of Fourier series to the function f(x) = sin(2x)*(x^2) over the interval (-π, π). Participants are examining the coefficients of the series and addressing discrepancies in their calculations.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants share their attempts at calculating the Fourier coefficients, particularly focusing on the Bn terms. There are questions about specific coefficients, especially B2, and whether the general formula applies in this case.

Discussion Status

Some participants have provided insights into the calculation of B2, suggesting that it requires a separate approach due to the formula's limitations. There is acknowledgment of errors in previous calculations, and some participants express gratitude for the guidance received.

Contextual Notes

There are indications of confusion regarding the convergence of the Fourier series and the specific behavior of the function within the defined interval. Participants are also considering the implications of their calculations on the overall accuracy of the Fourier series representation.

pedro_bb7
Messages
11
Reaction score
0
Hello, I got a problem using Fourier series.

f(x) = sin(2x)*(x^2) (-pi < x < pi)

I got this answer, although it seems to be wrong.

f(x) = (-16/9)*sin(x) + (-1/8)*sin(2x) + sum((2*(-1)^n/(2-n)^2 - 2*(-1)^n/(2+n)^2)*sin(nx) , n, 3, 100)
 
Physics news on Phys.org
Can you help me, please?
 
[PLAIN]http://img826.imageshack.us/img826/6708/semttulocz.png
 
Last edited by a moderator:
pedro_bb7 said:
Can you help me, please?

What part are you having trouble with?
 
Its hard to explain.
I did this exercise a lot of times, every time I get the same answer.
I can post the whole exercise to help me find what is wrong.
That Bn is kind hard to get right.
 
pedro_bb7 said:
Its hard to explain.
I did this exercise a lot of times, every time I get the same answer.
I can post the whole exercise to help me find what is wrong.
That Bn is kind hard to get right.

I think your bn's are correct except for b2. I get

[tex]b_2 = -\frac 1 8 +\frac {\pi^2} 3[/tex]

And remember when plotting your graph, that your formula for your original function only works on (-pi,pi), so look at the convergence there.
 
Thanks, the problem was at the B2.
Cya.
 
I got this:
Bn = (2*(-1)^n)/(2-n)^2 - (2*(-2)^n)/(2+n)^2
B2 = (2/(2-2)^2) - 1/8

What did you make to get that: [tex]\frac {\pi^2} 3[/tex]
 
Last edited:
pedro_bb7 said:
I got this:
Bn = (2*(-1)^n)/(2-n)^2 - (2*(-2)^n)/(2+n)^2
B2 = (2/(2-2)^2) - 1/8
What did you make to get that: (pi^2)/3

That formula doesn't work for n = 2 so you have to do b2 separately. Just directly work out the integral

[tex]\frac 2 \pi \int_0^\pi x^2 sin^2(2x)\, dx[/tex]
 
  • #10
LCKurtz said:
That formula doesn't work for n = 2 so you have to do b2 separately. Just directly work out the integral

[tex]\frac 2 \pi \int_0^\pi x^2 sin^2(2x)\, dx[/tex]

Thanks, finally I got the right answer.
You helped me a lot.
 
Last edited:

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K