Finding the Fourier Series of a Step Function

Click For Summary

Homework Help Overview

The discussion revolves around finding the Fourier Series of a step function defined piecewise, with values of 0 and 1 over specified intervals. The subject area is Fourier analysis and trigonometric series.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to derive the coefficients for the Fourier Series using integrals, while some participants question the complexity of the integration involved and suggest simpler methods or identities for handling the sine integral.

Discussion Status

Participants are actively engaging with the problem, with some providing guidance on trigonometric identities and questioning the notation used by the original poster. There is a mix of attempts to clarify the mathematical approach and explore different methods of integration.

Contextual Notes

There is a mention of a weight, referred to as "rho," which some participants seek to clarify. The original poster's notation and assumptions are also under scrutiny, particularly regarding the integral of \((\sin nx)^2\).

stunner5000pt
Messages
1,447
Reaction score
5
Find the Fourier Series in terms of [itex]\phi_{n} = \sin{nx}[/itex] of the step function

f(x) = 0 for [itex]0 \leq x \leq \frac{1}{2} \pi[/itex]
= 1 for [itex]\frac{1}{2} \pi < x \leq \pi[/itex]

Solution
Fourier Series is [itex]\Sigma c_{n} \phi_{n}[/itex]
and for hte interval for x between 0 and 1/2 pi
[tex]c_{n} = \frac{\int_{0}^{\frac{1}{2}\pi} 0 dx}{\int_{0}^{\frac{1}{2}\pi} (\sin{nx})^2 dx[/tex]
because rho is assumed to be 1
the numerator is a constant and assumed to be 1
the denominator
[tex]\int_{0}^{\frac{1}{2}\pi} (\sin{nx})^2 dx = \int_{0}^{\frac{1}{2} \pi} (\frac{e^{ix}-e^{-ix}}{2i})^2 = \frac{-1}{4} [\frac{e^{2ixn}}{2in}- \frac{e^{-2inx}}{2in} -2x]_{0}^{\frac{1}{2} \pi} = \frac{\sin{n \pi} - \pi}{-4} = \frac{\pi}{4}[/tex]


P.s. Not done typing this yet but can you tell me if I am going in the right direction?
 
Last edited:
Physics news on Phys.org
i don't think it's that complicated. just use integration stuff you learned in 1st-year calculus to deal with that sine integral. that's all you need to know. i think there's some identity that will change that sin^2 into cos something. i can't remember it off the top of my head but i think that how i learned to reduce an even power of a trig function.

& what is rho? i don';t think that appears in anything you've written there.
 
rho is supposed to be the weight

what is the integral of (Sin nx)^2??
can anyone help!
 
aha I found the identity in my 2nd edition of edwards/penney's calculus text, in the section on trig integrals:
[tex]sin^{2}n\theta = \frac{1 - cos(2n\theta)}{2}[/tex]
 

Similar threads

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