Question Number 68036 by mathmax by abdo last updated on 03/Sep/19
$${let}\:{f}\left({x}\right)\:={cos}\left(\alpha{x}\right)\:\:,\mathrm{2}\pi\:{periodic}\:\:\:{developp}\:{f}\:{at}\:{fourier}\:{serie}. \\ $$$$\alpha\:\in\:{R}−{Z} \\ $$
Commented by mathmax by abdo last updated on 05/Sep/19
$${f}\:{is}\:{even}\:\Rightarrow{f}\left({x}\right)\:=\frac{{a}_{\mathrm{0}} }{\mathrm{2}}+\sum_{{n}=\mathrm{1}} ^{\infty} \:{a}_{{n}} {cos}\left({nx}\right) \\ $$$${a}_{{n}} =\frac{\mathrm{2}}{{T}}\int_{\left[{T}\right]} \:\:\:{f}\left({x}\right){cos}\left({nx}\right){dx}\:=\frac{\mathrm{2}}{\mathrm{2}\pi}\int_{−\pi} ^{\pi} \:{cos}\left(\alpha{x}\right){cos}\left({nx}\right){dx} \\ $$$$=\frac{\mathrm{2}}{\pi}\int_{\mathrm{0}} ^{\pi} \:\frac{\mathrm{1}}{\mathrm{2}}\left\{\:{cos}\left({n}+\alpha\right){x}\:+{cos}\left({n}−\alpha\right){x}\right\}{dx}\:\Rightarrow \\ $$$$\pi\:{a}_{{n}} =\int_{\mathrm{0}} ^{\pi} \left({cos}\left({n}+\alpha\right){x}\:+{cos}\left({n}−\alpha\right){x}\right){dx} \\ $$$$=\left[\frac{\mathrm{1}}{{n}+\alpha}{sin}\left({n}+\alpha\right)+\frac{\mathrm{1}}{{n}−\alpha}{sin}\left({n}−\alpha\right){x}\right]_{\mathrm{0}} ^{\pi} \\ $$$$=\frac{\mathrm{1}}{{n}+\alpha}{sin}\left({n}+\alpha\right)\pi\:+\frac{\mathrm{1}}{{n}−\alpha}{sin}\left({n}−\alpha\right)\pi \\ $$$$=\frac{\mathrm{1}}{{n}+\alpha}{sin}\left({n}\pi\:+\alpha\pi\right)+\frac{\mathrm{1}}{{n}−\alpha}{sin}\left({n}\pi\:−\alpha\pi\right) \\ $$$$=\frac{\left(−\mathrm{1}\right)^{{n}} \:{sin}\left(\alpha\pi\right)}{{n}+\alpha}\:−\frac{\left(−\mathrm{1}\right)^{{n}} }{{n}−\alpha}{sin}\left(\alpha\pi\right) \\ $$$$=\left(−\mathrm{1}\right)^{{n}} {sin}\left(\alpha\pi\right)\left\{\frac{\mathrm{1}}{{n}+\alpha}−\frac{\mathrm{1}}{{n}−\alpha}\right\}\:=\left(−\mathrm{1}\right)^{{n}} {sin}\left(\alpha\pi\right)\left(\frac{−\mathrm{2}\alpha}{{n}^{\mathrm{2}} −\alpha^{\mathrm{2}} }\right)\:\Rightarrow \\ $$$${a}_{{n}} =\frac{\left(−\mathrm{1}\right)^{{n}} }{\pi}{sin}\left(\alpha\pi\right)×\frac{\left(−\mathrm{2}\alpha\right)}{{n}^{\mathrm{2}} −\alpha^{\mathrm{2}} }\:\:{we}\:{have} \\ $$$$\pi{a}_{\mathrm{0}} =\:\int_{\mathrm{0}} ^{\pi} \:\mathrm{2}{cos}\left(\alpha{x}\right){dx}\:=\mathrm{2}\:\left[\frac{\mathrm{1}}{\alpha}{sin}\left(\alpha{x}\right)\right]_{\mathrm{0}} ^{\pi} \:=\frac{\mathrm{2}}{\alpha}{sin}\left(\alpha\pi\right)\:\Rightarrow \\ $$$${a}_{\mathrm{0}} =\frac{\mathrm{2}}{\pi\alpha}{sin}\left(\alpha\pi\right)\:\Rightarrow\frac{{a}_{\mathrm{0}} }{\mathrm{2}}\:=\frac{{sin}\left(\alpha\pi\right)}{\alpha\pi}\:\Rightarrow \\ $$$${cos}\left(\alpha{x}\right)\:=\frac{{sin}\left(\alpha\pi\right)}{\alpha\pi}\:−\frac{\mathrm{2}\alpha}{\pi}{sin}\left(\alpha\pi\right)\sum_{{n}=\mathrm{1}} ^{\infty} \:\:\:\frac{\left(−\mathrm{1}\right)^{{n}} \:{cos}\left({nx}\right)}{{n}^{\mathrm{2}} −\alpha^{\mathrm{2}} } \\ $$