Calculating Fourier Coefficients for an Odd, Periodic Function

Click For Summary
SUMMARY

The discussion focuses on calculating Fourier coefficients for an odd, periodic function defined as f(t) = -5.5 + 22t² for -0.5 ≤ t < 0. The key equations used include the Fourier coefficient formula bn = (2/T) * ∫ f(t) * sin((2*n*∏*t)/T) dt. The participants clarified the odd nature of the function, leading to the conclusion that the function for 0 < t < 0.5 is f(t) = 5.5 - 22t². The correct integration approach was established, confirming that the sine terms contribute to the coefficients while cosine terms yield zero.

PREREQUISITES
  • Understanding of Fourier series and coefficients
  • Knowledge of odd and periodic functions
  • Proficiency in integral calculus
  • Familiarity with trigonometric identities
NEXT STEPS
  • Study the half-range Fourier series formulas
  • Learn about the properties of odd and even functions in Fourier analysis
  • Practice calculating Fourier coefficients for various piecewise functions
  • Explore applications of Fourier series in signal processing
USEFUL FOR

Students and educators in mathematics, particularly those focusing on Fourier analysis, as well as engineers and physicists working with periodic functions and signal processing.

TW Cantor
Messages
53
Reaction score
1

Homework Statement


f(t) is an odd, periodic function with period 1 and:

f(t) = -5.5 + 22*t2 for -0.5 ≤ t < 0

i) find the Fourier coefficient bn
ii) find the Fourier coefficient b5


Homework Equations


bn = (2/T) * ∫ f(t) *sin((2*n*∏*t)/T) dt between T/2 and -T/2

sin(n*∏) = 0 for all values of n
cos(n*∏) = 1 for even values of n
cos(n*∏) = -1 for odd values of n


The Attempt at a Solution



by integrating f(t)*sin((2*n*∏*t)/T) with respect to t i get:
-(11*sin(n*∏) - 11*n*∏*cos(n*∏))/(n^3 * ∏^3)

replacing the sin(n*∏) with 0 i get:
11*cos(n*∏))/(n^2 * ∏^2)

so this should be the solution to the first part of the question but when i put n into the equation as 5, i get the wrong answer. can anyone see where I've gone wrong?
 
Physics news on Phys.org
Can you show your intermediate steps when performing the integral?

In particular, I want to see what the bounds of the integral were and what expression you used for f(t).

Note that your function is only partly defined by this equation:

f(t) = -5.5 + 22t^2 for -0.5 \leq t &lt; 0

This defines it on an interval of length 0.5. But the period is 1. So what is an equation for the function for the interval 0 &lt; t &lt; 0.5? (You need to use the fact that the function is odd.)

P.S. It won't make any difference when integrating, but what does the oddness of the function imply that f(0) must be?
 
well I am not really sure what to use as the bounds for the integral... i got confused when it said the period was 1 but the function is only true between -0.5 < t < 0. i know since its odd its asymettric about the vertical axis and since its periodic it might have something to do with that? i could use the equation f(-t) = -f(t) maybe?
 
TW Cantor said:
well I am not really sure what to use as the bounds for the integral... i got confused when it said the period was 1 but the function is only true between -0.5 < t < 0. i know since its odd its asymettric about the vertical axis and since its periodic it might have something to do with that? i could use the equation f(-t) = -f(t) maybe?

Yes, f(-t) = -f(t) is the defining characteristic of an odd function. Try using that to define what f(t) must be for 0 < t < 0.5.
 
so for 0 < t < 0.5, f(t) = 5.5 - 22*t^2 ?

then do i add the integral of:
f(t)*cos((2*pi*n*t)/T) dt between -0.5 < t < 0
and -f(t)*cos((2*pi*n*t)/T) dt between 0 < t < 0.5

because won't that just equal zero?
 
how would you integrate for this problem?
 
TW Cantor said:
so for 0 < t < 0.5, f(t) = 5.5 - 22*t^2 ?

then do i add the integral of:
f(t)*cos((2*pi*n*t)/T) dt between -0.5 < t < 0
and -f(t)*cos((2*pi*n*t)/T) dt between 0 < t < 0.5

because won't that just equal zero?

TW Cantor said:
how would you integrate for this problem?

You use the half range formulas for the coefficients. Since f(t) is odd you know an = 0 for all n. The half range formula for ##b_n## for a function of period ##2p##, which should be in your text, is$$
b_n =\frac 2 p\int_0^p f(t)\sin(\frac{n\pi t}{p})\,dt$$
 
TW Cantor said:
so for 0 < t < 0.5, f(t) = 5.5 - 22*t^2 ?

then do i add the integral of:
f(t)*cos((2*pi*n*t)/T) dt between -0.5 < t < 0
and -f(t)*cos((2*pi*n*t)/T) dt between 0 < t < 0.5

because won't that just equal zero?

Yes, that's right. The cosine terms are all even, and their coefficients will all be zero for an odd function.

What about the sine terms?
 
ahh! I've been using sin instead of cos! i can't believe i did that.

so I've integrated
2/T ∫ f(t)*sin(n*π*t/T) dt between 0.5 and 0

and i get:
(22*cos(pi*n) - 11*n^2 *pi^2 + 22*n*pi*sin(n*pi) -22)/(2*(n^3 * pi^3))

since I've integrated for only half the period and between 0 < t < 0.5 i have to multiply by -2 to get it into the full period and between -0.5 < t < 0 right? and then i can replace sin(n*pi) and cos(n*pi)?
 
  • #10
TW Cantor said:
ahh! I've been using sin instead of cos! i can't believe i did that.

so I've integrated
2/T ∫ f(t)*sin(n*π*t/T) dt between 0.5 and 0

and i get:
(22*cos(pi*n) - 11*n^2 *pi^2 + 22*n*pi*sin(n*pi) -22)/(2*(n^3 * pi^3))

since I've integrated for only half the period and between 0 < t < 0.5 i have to multiply by -2 to get it into the full period and between -0.5 < t < 0 right? and then i can replace sin(n*pi) and cos(n*pi)?

I didn't check whether you calculated the integral correctly, but your method looks correct now.
 
  • #11
yeah I am getting the right answer now :-) thanks for your help!
 

Similar threads

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