Fourier Series: How do i simpligy this integral?

In summary: A}{j \pi n}\left[e^{-j\frac{n \pi}{5}} - 1\right]This is the simplified form of the complex Fourier series for the given function extended as an odd function.
  • #1
exidez
44
0
Fourier Series: How do i simplify this integral?

Homework Statement


http://img18.imageshack.us/img18/4586/matlabfouriercomplex.jpg

Homework Equations


[tex]
g(t)=\sum_{n=-\infty}^{\infty}c_{n}e^{jn \omega t}[/tex]

[tex]
c_{n}=\frac{1}{T}\int_{t_{0}}^{t_{0}+T}g(t)e^{-jn \omega T}
[/tex]

The Attempt at a Solution



I need to find the complex Fourier series of the above function extended as an odd function
I Just want to know how to simplify the final solution i have. So far i have

[tex]
c_{n}=\frac{1}{T}\int_{t_{0}}^{t_{0}+T}g(t)e^{-jn \omega T}
[/tex]
[tex]
c_{n}=\frac{1}{T}(\int_{-T/10}^{0}-Ae^{-jn \omega T}dt + \int_{0}^{T/10}Ae^{-jn \omega T}dt)[/tex]
[tex]
c_{n}=\frac{A}{T}( \frac{1}{jn \omega } - \frac{e^{(jn \omega T/10)}}{jn \omega } - \frac{e^{(-jn \omega T/10})}{jn \omega } + \frac{1}{jn \omega})[/tex]
[tex] \omega = \frac{2 \pi }{T}[/tex]
[tex]
c_{n}=\frac{A}{jn2 \pi }(2 - e^{(jn2 \pi /10)} - e^{(-jn2 \pi /10)})[/tex]

Now if i put this in MATLAB i will put

for n = -N:??:N, % loop over series index n
cn = A/(j*n*2*pi)*(2-exp(j*n*(pi/5))-exp(-j*n*(pi/5))); % Fourier Series Coefficient
yce = yce + cn*exp(j*n*wo*t); % Fourier Series computation
end

I don't know what to incriment N by.. All the other Fourier examples i have done have been in the form:
[tex]c_{n}=\frac{1}{jn \pi }(1 - e^{(jn \pi )})[/tex]

Here i understand [tex](1 - e^{(jn \pi )})[/tex] will be 0 when n is even 2 when n is odd
Hence the series becomes:

[tex]
\sum_{n=odd}^{\infty}\frac{2}{ \pi jn}e^{jn \omega t}[/tex]and the loop will go:
for n = -N:2:N, % loop over series index n (odd)
cn = 1/(j*n*pi)*(1-exp(j*n*pi)); % Fourier Series Coefficient
yce = yce + cn*exp(j*n*wo*t); % Fourier Series computation
endBut what is it for my example? It is not so straight forward. Can it be simplified like above? How do i progress from here?
 
Last edited by a moderator:
Physics news on Phys.org
  • #2


Hello,

To simplify this integral, you can use the fact that the function is extended as an odd function. This means that g(t) = -g(-t) for all t. Using this property, you can rewrite the integral as:

c_{n}=\frac{1}{T}\int_{t_{0}}^{t_{0}+T}g(t)e^{-jn \omega T} = \frac{1}{T}\int_{-t_{0}}^{t_{0}}g(t)e^{-jn \omega T} = \frac{1}{T}\int_{-t_{0}}^{0}-Ae^{-jn \omega T}dt + \frac{1}{T}\int_{0}^{t_{0}}Ae^{-jn \omega T}dt

Notice that the first integral is just the negative of the second integral, so you can rewrite the expression as:

c_{n}=\frac{2}{T}\int_{0}^{t_{0}}Ae^{-jn \omega T}dt

Now, you can use the substitution u = jt to simplify the integral. This gives:

c_{n}=\frac{2}{T}\int_{0}^{jt_{0}}Ae^{-un \omega T}dt

Using the definition of the complex Fourier series, you can rewrite this integral as:

c_{n}=\frac{2}{T}\int_{0}^{jt_{0}}Ae^{-un \omega T}dt = \frac{2}{T}\frac{1}{jn \omega}\left[e^{-un \omega T}\right]_{0}^{jt_{0}} = \frac{2}{jn \omega T}\left[e^{-jt_{0}n \omega} - 1\right]

Now, you can substitute in the value of \omega = \frac{2 \pi}{T} to get:

c_{n}=\frac{2}{jn \frac{2 \pi}{T} T}\left[e^{-jt_{0}n \frac{2 \pi}{T}} - 1\right] = \frac{A}{j \pi n}\left[e^{-jt_{0}n \frac{2 \pi}{T}} - 1\right]

Finally, you can use the fact that t_{0} = \frac{T}{10} to simplify the expression further
 

FAQ: Fourier Series: How do i simpligy this integral?

What is a Fourier series?

A Fourier series is a mathematical tool used to represent a periodic function as a sum of sine and cosine functions. It is named after French mathematician Joseph Fourier and is commonly used in signal processing, image processing, and other areas of science and engineering.

How do I simplify an integral using Fourier series?

To simplify an integral using Fourier series, you can use the orthogonality property of sine and cosine functions and the Fourier series coefficients of the function you are integrating. You can then substitute these coefficients into the integral and use the properties of trigonometric functions to simplify the expression.

What is the orthogonality property of sine and cosine functions?

The orthogonality property states that the integral of the product of two different sine or cosine functions over a period is equal to zero. This means that the sine and cosine functions are orthogonal, or perpendicular, to each other.

Can a Fourier series represent any function?

No, a Fourier series can only represent periodic functions that satisfy certain conditions, such as being continuous and having a finite number of discontinuities within a period. It is not suitable for representing non-periodic functions.

Are there any applications of Fourier series in science?

Yes, Fourier series has many applications in science, particularly in signal processing and image processing. It is used to analyze and manipulate signals in various fields such as telecommunications, audio and video processing, and medical imaging.

Similar threads

Replies
3
Views
1K
Replies
1
Views
1K
Replies
16
Views
1K
Replies
2
Views
796
Replies
1
Views
972
Replies
2
Views
1K
Back
Top