Fourier Series Problem: Finding Coefficients for Piecewise Function f(t)

Click For Summary
SUMMARY

The discussion focuses on calculating Fourier series coefficients for a piecewise function defined as f(t) = 2t for -π/2 < t < 0 and f(t) = -1 for 0 < t < π/2. The user seeks clarification on calculating the coefficient a₀, which is derived from the integral of the function over one period. The correct formula for a₀ is a₀ = (1/p) * ∫[−p/2 to p/2] f(t) dt, emphasizing the importance of integrating over the correct interval to avoid errors in subsequent coefficients.

PREREQUISITES
  • Understanding of Fourier series and their coefficients
  • Knowledge of piecewise functions and their integration
  • Familiarity with integral calculus, specifically definite integrals
  • Ability to manipulate trigonometric functions in integrals
NEXT STEPS
  • Study the derivation of Fourier series coefficients for piecewise functions
  • Learn about the properties of integrals and their applications in Fourier analysis
  • Explore the use of software tools for symbolic integration, such as Wolfram Alpha or MATLAB
  • Review common mistakes in calculating Fourier coefficients and how to avoid them
USEFUL FOR

Students studying Fourier analysis, mathematicians working with piecewise functions, and educators teaching integral calculus concepts.

Drake25
Messages
2
Reaction score
0

Homework Statement


one period of a function f(t) is given by the piecewise function f(t)= 2t if -pi/2 <t <0 and -1 if 0< t < pi/2
I need to find a sub 0, a sub n, a sub 1,2,3,& 4, and b sub 1,2,3 &4
If I could just get a sub 0 the rest are easy, however, my answer does not look correct.

Homework Equations



a sub 0= 1/p * integral from p to -p f(t)dt
a sub n= 1/p * integral from p to -p f(t)cos (n*pi*t)/p dt
b sub n is the same except sin replaces cos

The Attempt at a Solution


I worked through the equation for a sub o and got -pi/2 -1
Now, it's the -1 that I don't think belongs? But i don't know for sure if it is wrong but if it is that will mess up all of the other answers. I just wish someone could explain to me how I have done it wrong. Thank you!
 
Physics news on Phys.org
[tex]\int_{0}^{\frac{\pi}{2}}{-1dt}[/tex] is [tex]-\pi/2[/tex], not [tex]-1[/tex].

Also keep in mind that the equations as you've written them are wrong; either you want a [tex]1/2p[/tex] in the beginning or you want to integrate from [tex]-p/2[/tex] to [tex]p/2[/tex]. The point is to divide by the "length of integration", but if you integrate from -p to p that length is actually 2p. [tex]a_0[/tex] should represent the average value of the function on that interval.
 
Last edited:
ok, that makes sense! thank you!
i wish my computer would allow me to type symbols like you did, where can i find those so that my question is easier to read?
 

Similar threads

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