We have our function: $$f(x)=|\cos x|$$ We have to find the Fourier transformation for it:
Solution: First we have to find where it is defined. I think it is defined in $[-\dfrac{\pi}{2}, \dfrac{\pi}{2}]$. If I am wrong, where is it defined and why ?
Second we have to find a0:
$\displaystyle a_0=\dfrac{1}{\dfrac{\pi}{2}}\int_{}^{}\cos x\cos0 \,dx=2$ Right?
than for b0 we have:
$\displaystyle b_0=\dfrac{1}{\dfrac{\pi}{2}}\int_{}^{}\cos x\sin 0\,dx=0$ Right?
after that we have to find an:
$\displaystyle a_n=\dfrac{1}{\dfrac{\pi}{2}}\int_{}^{}\cos x\cos n\,dx$ which turned out to be very ugly as a result => I am making a mistake somewhere
My question is what have I mistaked so far and what do I have to do after