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

  • Thread starter pedro_bb7
  • Start date
  • Tags
    Fourier
In summary, the conversation was about a problem with using Fourier series to find the function f(x) = sin(2x)*(x^2) on the interval (-pi, pi). The person had a formula for Bn that seemed to be incorrect, but with help, they were able to find the correct answer. The conversation also touched on the importance of checking for convergence of the function on the interval, and using a separate method to find the value of B2.
  • #1
pedro_bb7
11
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
  • #2
Can you help me, please?
 
  • #3
[PLAIN]http://img826.imageshack.us/img826/6708/semttulocz.png
 
Last edited by a moderator:
  • #4
pedro_bb7 said:
Can you help me, please?

What part are you having trouble with?
 
  • #5
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.
 
  • #6
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.
 
  • #7
Thanks, the problem was at the B2.
Cya.
 
  • #8
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:
  • #9
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:

1. What is the Fourier transform of sin(2x)*x^2?

The Fourier transform of sin(2x)*x^2 is a complex function that represents the original function in terms of its frequency components.

2. How is Fourier transform used in signal processing?

Fourier transform is used in signal processing to analyze signals in the frequency domain, making it easier to identify specific frequencies and patterns within the signal.

3. Can Fourier transform be applied to non-periodic functions?

Yes, Fourier transform can be applied to both periodic and non-periodic functions, although the resulting transform may be different for each type of function.

4. What is the relationship between Fourier transform and Fourier series?

Fourier transform is the continuous version of Fourier series, which is used to decompose a periodic function into a sum of sinusoidal functions.

5. What are some practical applications of Fourier transform?

Fourier transform has many practical applications, including signal processing, image processing, and data compression. It is also used in fields such as astronomy, engineering, and physics to analyze and understand complex phenomena.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
202
  • Calculus and Beyond Homework Help
Replies
16
Views
556
  • Calculus and Beyond Homework Help
Replies
1
Views
532
  • Calculus and Beyond Homework Help
Replies
3
Views
272
  • Calculus and Beyond Homework Help
Replies
1
Views
335
  • Calculus and Beyond Homework Help
Replies
5
Views
342
  • Calculus and Beyond Homework Help
Replies
6
Views
380
  • Calculus and Beyond Homework Help
Replies
3
Views
409
  • Calculus and Beyond Homework Help
Replies
11
Views
350
  • Calculus and Beyond Homework Help
Replies
2
Views
371
Back
Top