Susanne217
- 311
- 0
Hi I have been working on a example and have worked it out as this
[tex]f(x) = \( \left( \left \begin{array}{ccc}0 & \mathrm{for} & -\pi < x \leq 0 \\ cos(x) & \mathrm{for} & 0 < x < \pi\end{array}[/tex]
where f is defined on the interval [tex]]-\pi,\pi[[/tex].
Find the corresponding Fourier series for f.
and writ the sum for [tex]x = p \cdot \pi[/tex] where [tex]p \in \mathbb{Z}[/tex]
Complex Fourier series is defined as
[tex]\sum_{n=-\infty}^{\infty} c_{n} \cdot e^{i\cdot n \cdot t}[/tex]
where [tex]c_{n} = \frac{1}{2\pi} \int_{-\pi}^{\pi} f(t) \cdot e^{-i \cdot n \cdot t} dt[/tex]
First I find [tex]c_{0} = \frac{1}{2\pi} \int_{-\pi}^{\pi} cos(t) dt = [\mathrm{sin(t)}]_{\mathrm{t} = -\pi}^{\pi} = 0[/tex]
Next I find
[tex]c_{n} = \frac{1}{2\pi} \int_{-\pi}^{\pi} (cos(t) \cdot cos(n \cdot t) - cos(t) \cdot sin(n \cdot t) \cdot i) dt[/tex]
[tex]c_{n} = [\frac{{sin(n-1)\cdot t}}{2 \cdot (n-1)} + \frac{{sin(n11)\cdot t}}{2 \cdot (n+1)}-(\frac{{cos(n-1)\cdot t}}{2 \cdot (n-1)} - \frac{{cos(n+1)\cdot t}}{2 \cdot (n+1)}) \cdot i]_{t=-\pi}^{\pi} = \frac{sin(n+1)\cdot \pi}{2\cdot(n+1)}[/tex]
which I then multiply by [tex]\frac{1}{2\pi}[/tex] from which I get
[tex]c_{n} = \frac{sin(n+1)}{2(n+1)}[/tex]
Where I end up with the Fourier series
[tex]\sum_{n=-\infty}^{\infty} \frac{sin(n+1)}{2(n+1)} \cdot e^{i \cdot n \cdot x}[/tex]
Have I got it right? I fairly new to Fourier series so I would be very happy if someone would reflect on my work and comment it please.
p.s. Not sure about question two. Do I insert the value of into the sum?
Thank you
Best Regards
Susanne
Homework Statement
[tex]f(x) = \( \left( \left \begin{array}{ccc}0 & \mathrm{for} & -\pi < x \leq 0 \\ cos(x) & \mathrm{for} & 0 < x < \pi\end{array}[/tex]
where f is defined on the interval [tex]]-\pi,\pi[[/tex].
Find the corresponding Fourier series for f.
and writ the sum for [tex]x = p \cdot \pi[/tex] where [tex]p \in \mathbb{Z}[/tex]
Homework Equations
Complex Fourier series is defined as
[tex]\sum_{n=-\infty}^{\infty} c_{n} \cdot e^{i\cdot n \cdot t}[/tex]
where [tex]c_{n} = \frac{1}{2\pi} \int_{-\pi}^{\pi} f(t) \cdot e^{-i \cdot n \cdot t} dt[/tex]
The Attempt at a Solution
First I find [tex]c_{0} = \frac{1}{2\pi} \int_{-\pi}^{\pi} cos(t) dt = [\mathrm{sin(t)}]_{\mathrm{t} = -\pi}^{\pi} = 0[/tex]
Next I find
[tex]c_{n} = \frac{1}{2\pi} \int_{-\pi}^{\pi} (cos(t) \cdot cos(n \cdot t) - cos(t) \cdot sin(n \cdot t) \cdot i) dt[/tex]
[tex]c_{n} = [\frac{{sin(n-1)\cdot t}}{2 \cdot (n-1)} + \frac{{sin(n11)\cdot t}}{2 \cdot (n+1)}-(\frac{{cos(n-1)\cdot t}}{2 \cdot (n-1)} - \frac{{cos(n+1)\cdot t}}{2 \cdot (n+1)}) \cdot i]_{t=-\pi}^{\pi} = \frac{sin(n+1)\cdot \pi}{2\cdot(n+1)}[/tex]
which I then multiply by [tex]\frac{1}{2\pi}[/tex] from which I get
[tex]c_{n} = \frac{sin(n+1)}{2(n+1)}[/tex]
Where I end up with the Fourier series
[tex]\sum_{n=-\infty}^{\infty} \frac{sin(n+1)}{2(n+1)} \cdot e^{i \cdot n \cdot x}[/tex]
Have I got it right? I fairly new to Fourier series so I would be very happy if someone would reflect on my work and comment it please.
p.s. Not sure about question two. Do I insert the value of into the sum?
Thank you
Best Regards
Susanne