How to check Fourier series solution (complex)

Click For Summary
SUMMARY

The discussion focuses on finding the complex Fourier series for the function f(t) = t(1-t) over the interval 0 < t < 1. The correct formula for the Fourier coefficients, c_n, is established as c_n = -1/(2n^2π^2) for n ≠ 0. Participants clarify that the coefficients depend on the choice of the integration limits and the period of the function, with the correct integration limits being from -1/2 to 1/2 for periodic functions. The use of Maple software for plotting the Fourier series is also discussed, with emphasis on ensuring proper handling of singularities in the calculations.

PREREQUISITES
  • Understanding of Fourier series and their applications
  • Familiarity with complex analysis and integration techniques
  • Proficiency in using Maple software for mathematical computations
  • Knowledge of periodic functions and their properties
NEXT STEPS
  • Learn how to implement Fourier series in Maple for various functions
  • Study the derivation of Fourier coefficients for different types of functions
  • Explore the concept of singularities in mathematical software
  • Investigate the implications of choosing different integration limits in Fourier analysis
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are working with Fourier series, particularly those seeking to verify their calculations and improve their skills in using Maple for complex mathematical problems.

PhysicsMark
Messages
90
Reaction score
0

Homework Statement


Find the complex Fourier series for:

f(t)=t(1-t), 0&lt;t&lt;1


Homework Equations



f(t)=\sum_{n=-\infty}^{\infty}c_n{e^{i\omega_n{t}}}

c_n=\frac{1}{\tau}\int_{t_0}^{t_0+\tau}e^{-i\omega_n{t}}f(t)dt

\omega_n=2\pi{n}\quad\tau=1

The Attempt at a Solution



I solved for c_n. I want to check my answer. I can only think of checking it by graphing it out to a few (50 or so) terms. I tried to graph this in Maple with my value for c_n and it couldn't do it. After that, I tried to solve the entire problem in Maple and that also did not work.

I have a few more of these to do, and I'd like to make sure I am doing this correctly before I move on. Does anyone know how to check my value for the coefficient?
 
Physics news on Phys.org
Do your coefficients depend on your choice of t_0? Because the relevant equations you posted are not correct.
 
I found the coefficients, c_n, by integrating:

c_n=\int_{0}^{1}t(1-t)e^{-i2\pi{n}t}dt

Are you saying that this is not the correct method to find c_n?
 
No, it isn't.

The Fourier coefficients are given by

c_n=\int_{-\frac{1}{2}}^{\frac{1}{2}}f(2\pi t)e^{-i\omega_n t}dt=\frac{1}{2\pi}\int_{-\pi}^{\pi}f(t)e^{-int}dt

which is not equivalent to what you've posted. Where did you find that incorrect equation for the coefficients?
 
Thanks for pointing that out. I'll recalculate my coefficient value later today.

My tutorial lists the equation for c_n as:

c_n=\frac{1}{\lambda}\int_{x_0}^{x_0+\lambda}e^{-i{k_n}x}f(x)dx

In a paragraph above this equation, it states that:

"...But most applications involve either functions of position or of time. In the former case, the period of the function, \lambda, is more conventionally called the wavelength, and k_n=\frac{2\pi{n}}{\lambda} is the wave number for the n'th mode. If time is the variable, however, the period is called, indeed, the period, and is usually represented by \tau. The n'th mode has the angular frequency, or often simply the frequency, \omega_n=\frac{2\pi{n}}{\tau}."

It did not explicitly give the equation for c_n in this case. I must have made a mistake converting from a spatial to time variable.
 
gabbagabbahey said:
No, it isn't.

The Fourier coefficients are given by

c_n=\int_{-\frac{1}{2}}^{\frac{1}{2}}f(2\pi t)e^{-i\omega_n t}dt=\frac{1}{2\pi}\int_{-\pi}^{\pi}f(t)e^{-int}dt

which is not equivalent to what you've posted. Where did you find that incorrect equation for the coefficients?
Those expressions are for a function with period 2π. If you rescale for a function with period τ and allow for a shift (since it really doesn't matter which particular cycle you integrate over), you get PhysicsMark's integral.
 
vela said:
Those expressions are for a function with period 2π. If you rescale for a function with period τ and allow for a shift (since it really doesn't matter which particular cycle you integrate over), you get PhysicsMark's integral.

Thanks for the clarification, Vela. I spoke with my professor today, and he also said the original integral should be correct.

He went on to say that I should be able to plot it in Maple. So, I guess that means I need some more practice in Maple (That should be no surprise to Vela...https://www.physicsforums.com/showthread.php?t=391887).

Thanks to Vela and Gabbagabbahey for replying.
 
In case you want to check your answer, here's what I found for cn for n\ne 0:

c_n=-\frac{1}{2n^2\pi^2}

When you plot the series, you should only need to use a handful of terms -- 50 would be overkill -- to see if it's summing to what you expect. Just remember to match the negative n's with positive n's so that the sum is real.
 
Thanks a lot! That is also the answer I got.

I realized why maple wouldn't plot it, it was because I did not account for the "n" in the denominator. No wonder Maple was blabbering about a singularity.
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
1K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K