How do you find the fourier expansion coefficients?

Click For Summary
SUMMARY

The discussion focuses on finding the Fourier expansion coefficients for a piecewise function defined as f(x) = h for a < x < L and f(x) = 0 for 0 < x < a. The coefficients ao and an are confirmed to be zero due to the function being odd, leading to the conclusion that only bn coefficients need to be calculated. The correct formula for bn is established as bn = 1/(L-a)∫h sin(nπx/(L-a))dx with integration limits from a to L, resulting in the Fourier expansion 4hL/π(L-a) ∑sin(nπx/(L-a)). The importance of accurately defining the waveform as a square wave versus a rectangular wave is also emphasized.

PREREQUISITES
  • Understanding of Fourier series and Fourier coefficients
  • Knowledge of piecewise functions and their properties
  • Familiarity with odd and even functions
  • Basic calculus, specifically integration techniques
NEXT STEPS
  • Study the properties of square waves versus rectangular waves
  • Learn about the implications of odd and even functions in Fourier analysis
  • Explore the derivation of Fourier coefficients for various piecewise functions
  • Investigate the application of Fourier series in signal processing
USEFUL FOR

Students studying Fourier analysis, mathematicians, and engineers working with signal processing or waveforms.

Vitani11
Messages
275
Reaction score
3

Homework Statement


I need to expand this piecewise function f(x) = h for a<x<L and f(x) = 0 for 0<x<a. I am told that this is a square wave so ao and an in the expansion are 0 (odd function). Therefore I only need to worry about bn. The limits on the integral are from a to L, but what about the coefficient? Is it 1/(L-a)? Also for the sine term which is inside the integrand - is this just (L-a) in replace of the L in the general formula?That's what I did and I want to make sure.

Homework Equations


bn = 1/L∫f(x)sin(nπx/L)dx where the limits are from -L to L in general.
I have bn = 1/(L-a)∫hsin(nπx/(L-a))dx where the limits are from a to L.

The Attempt at a Solution


I've found the Fourier expansion to be 4hL/π(L-a) ∑sin(nπx/(L-a))
 
Last edited:
Physics news on Phys.org
It looks like you are stating some things that aren't true, and plugging some values into formulas without really understanding how the formulas work.
First questions:
1) Can you verify for yourself whether this is a square wave? What is the definition of a square wave? Does it matter?
1a) Is this really a square wave? It is a rectangular wave, yes, but square? I think many (most?) would say that a square wave has equal amounts of on/off (high/low, etc.). 1b) Does the answer to 1a) matter?
2) Is this an odd function? Draw it out, and use the definition of odd function.
3) Do the answers to these questions affect your calculations?
4) If the limits of integration are generally (-L, L), how many periods of the waveform would be included?
 
Odd function means ##f(-x)=-f(x)##. How do you know that is odd? It is not obvious from the information you give.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K