Ask your own question, for FREE!
Mathematics 17 Online
OpenStudy (mrhoola):

I need help modeling this function in order to do Fourier series

OpenStudy (mrhoola):

OpenStudy (mrhoola):

My first approach was to define x(t) in unit step functions . My second approach was to take the derivative of x(t) so that it becomes a combination of unit impulses .

OpenStudy (mrhoola):

OpenStudy (mrhoola):

and then by doing this I can apply the time shifting property of : e^-j w t

OpenStudy (mrhoola):

Since the signal appears to be even That would mean That I would only have to solve for the coefficients a_0 and a_n , while b_n = 0 .

OpenStudy (andrewyates):

You're just trying to find the fourier series?

OpenStudy (mrhoola):

yes

OpenStudy (mrhoola):

I think I am over thinking it ,haha . I think there is an easier approach .

OpenStudy (andrewyates):

So, yes. You can take \(b_n = 0\). Also, what is the period of this function?

OpenStudy (mrhoola):

calculating....

OpenStudy (mrhoola):

period is 2 pi

OpenStudy (andrewyates):

Then here's the best approach: \[ a_n = \frac{1}{\pi} \int_{-\pi}^{\pi} f(x) cos(nx) \ dx \] You're familiar with that formula?

OpenStudy (mrhoola):

yes

OpenStudy (mrhoola):

just not sure how to model f(x)

OpenStudy (inkyvoyd):

Well think more along the lines of changing integration bounds... f is either 1 or 0 right? What does that mean

OpenStudy (andrewyates):

We can split up the integral into separate ones like this: \[ a_n = \frac{1}{\pi} \int_{-\pi}^{\pi} f(x)\cos{nx} \ dx = \frac{2}{\pi} \int_{0}^{\pi} f(x)\cos{nx} \ dx \\ = \frac{2}{\pi} \int_{0}^{\frac{\pi}{2}} f(x)\cos{nx} \ dx + \frac{2}{\pi} \int_{\frac{\pi}{2}}^{\pi} f(x)\cos{nx} \ dx \]

OpenStudy (mrhoola):

you cant model its as sin(t)U(t)

OpenStudy (mrhoola):

if that was what you were refering to @inkyvoyd

OpenStudy (mrhoola):

buuuuuut I might be wrong and , if so , then this problem is a piece of cake

OpenStudy (andrewyates):

Does what I did above make sense?

OpenStudy (mrhoola):

yes it does make sense

OpenStudy (andrewyates):

Okay, so now all we have to do is evaluate those two integrals at the bottom

OpenStudy (mrhoola):

I understand the mechanics of the fourier series .

OpenStudy (andrewyates):

So plug in the values for \(f(x)\) along those intervals and evaluate the integral

OpenStudy (mrhoola):

Yes , okay . So what is f(x) ??

OpenStudy (andrewyates):

From the graph, \(f(x)\) = 1 over the first interval and -1 over the second.

OpenStudy (mrhoola):

ohh , okay , Ok thanks . That is all I wanted to know . Much appreciated .

OpenStudy (andrewyates):

Okay, no problem

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!