so I have a problem and I ALMOST have it, but get stuck at the very end (you'll see why)
so what we are given is a simple periodic function:
$f(t)\begin{cases}5\sin t & 0\leq t\leq\pi\\0 & \pi \leq t \leq 2\pi \end{cases}$
where $T=2\pi$ and $\omega=1$
I'm really uncomfortable using the even/odd shortcuts, because my teacher has done a very poor job explaining it all, so I just used the general formulae...
what I got was this:
$a_{n}=\frac{1}{\pi}\left[\int_{0}^{\pi}5 \sin t \cos (nt)+\int_{\pi}^{2\pi}0*\cos (nt) \right]$
and therefore only:
$a_{n}=\frac{5}{\pi}\left[\int_{0}^{\pi}\sin t \cos (nt) \right]$
using
$\sin(mt)\cos(nt) = \frac{1}{2}\left[\sin((m-n)t)+\sin((m+n)t)\right]$
we have:
$a_{n}=\frac{5}{2\pi}\left[\int_{0}^{\pi}\sin((m-n)t)+\int_{0}^{\pi}\sin((m+n)t) \right]$
$a_{n}=\frac{5}{2\pi}\left[\left(\left(\frac{-1}{1-n}\right)\cos((1-n)t)\right)_0^\pi+\left(\left(\frac{-1}{1+n}\right)\cos((1+n)t)\right)_0^\pi \right]$
$a_{n}=\frac{5}{2\pi}\left[\left(\left(\frac{-1}{1-n}\right)\left(-1-1\right)\right)+\left(\left(\frac{-1}{1+n}\right)\left(-1-1\right)\right) \right]$
$a_{n}=\frac{5}{2\pi}\left[\left(\frac{2}{1-n}\right)+\left(\frac{2}{1+n}\right) \right]$
$a_{n}=\frac{5}{\pi}\left[\frac{1+n+1-n}{1-n^{2}} \right]$
$a_{n}=\frac{10}{\pi}\left(\frac{1}{1-n^{2}} \right)$
I wont bore you with the $b_{n}$ coefficient as it comes up as zero...
>
ok, this is all fine and dandy so far... but once I need to actually apply it to the formulae
$f(t) = \frac{1}{2}a_{0}+\sum_{n=1}^\infty a_n\cos(nt)$
my coefficient immediately falls apart once you sub in $n=1$
I've looked over my work many times and the only thing I can think that I have have wrong was when I was subbing in $\pi$ and $0$ into my $\cos$ functions... where do I go from here?? or did I miss something completely??
--GD
but still have a problem, because $\int\sin((1-n)t) dt = \frac{1}{1-n}cos((1-n)t)$ and we still find outselves with that $\frac{1}{1-n^{2}}$ mess...
as for the $\cos(k\pi)$ stuff, is that still applicable, since we have $(1+-n)$????
– George Dimitriou Jan 27 '18 at 08:57and is it acceptable to have only one value for bn??...
sorry for the silly questions... Fourier series are new to me...
– George Dimitriou Jan 27 '18 at 09:16from the help you have given me, I have been able to get my result down to:
$f(t) = -\frac{5}{\pi}+\frac{5}{2\pi}\sin t-\frac{10}{\pi} \sum_{n=2}^\infty \left(\frac{1}{1-n^{2}}\right)\cos(nt)$
hows this looking???
also, do you have any resources to learn more about Fourier series?? any videos or reading material?? thanks heaps for your help so far... really appreciate it
– George Dimitriou Jan 27 '18 at 11:40