Finding the Fourier Series of a Step Function

In summary, the Fourier Series in terms of \phi_{n} = \sin{nx} of the given step function is \Sigma c_{n} \phi_{n}, where c_{n} = \frac{1}{4} \text{ for } n = 1, 2, ... and 0 otherwise. This is determined by using the integration formula for sine squared and assuming rho to be 1. The integral of (\sin{nx})^2 is simplified using the identity \sin^{2}n\theta = \frac{1 - \cos(2n\theta)}{2}.
  • #1
stunner5000pt
1,465
4
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
  • #2
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.
 
  • #3
rho is supposed to be the weight

what is the integral of (Sin nx)^2??
can anyone help!
 
  • #4
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]
 

FAQ: Finding the Fourier Series of a Step Function

What is a step function?

A step function is a type of mathematical function that has a constant value for a certain interval and then suddenly changes to a different constant value. It can also be described as a function that has a discontinuous jump at a specific point.

How do you represent a step function mathematically?

A step function can be represented mathematically using the Heaviside step function, denoted as H(x). It is defined as 0 for x less than 0 and 1 for x greater than or equal to 0. Another way to represent a step function is by using indicator functions, which have a value of 0 or 1 depending on the interval the input falls in.

What is the purpose of finding the Fourier series of a step function?

The Fourier series of a step function allows us to represent the function as a sum of sine and cosine functions. This can be useful in solving differential equations and analyzing periodic phenomena. It also helps in understanding the behavior of the function over a certain interval.

How do you find the Fourier series of a step function?

To find the Fourier series of a step function, we first need to determine the period of the function. Then, we calculate the coefficients of the series using the formula an = (1/π) ∫ f(x) cos(nx) dx and bn = (1/π) ∫ f(x) sin(nx) dx. Finally, we write the series as a sum of the coefficients and the corresponding sine and cosine terms.

Can the Fourier series of a step function converge to the original function?

No, the Fourier series of a step function will not converge to the original function. This is because the step function has a discontinuous jump, while the Fourier series is a continuous function. However, it can converge to a different function called the Gibbs phenomenon, which appears as a overshoot near the jump of the original function.

Similar threads

Replies
1
Views
1K
Replies
16
Views
1K
Replies
3
Views
1K
Replies
5
Views
2K
Replies
1
Views
947
Replies
5
Views
1K
Back
Top