Question Number 27495 by abdo imad last updated on 07/Jan/18
$${find}\:\alpha\:{and}\:\beta\:{from}\:{R}\:/\int_{\mathrm{0}} ^{\pi} \left(\alpha{t}^{\mathrm{2}} +\beta{t}\right){cos}\left({nt}\right){dt}=\:\frac{\mathrm{1}}{{n}^{\mathrm{2}} } \\ $$$${for}\:{all}\:{number}\:{n}\:{from}\:{N}^{\ast\:} \:{then}\:{find} \\ $$$$\sum_{{n}=\mathrm{1}} ^{\propto} \:\:\frac{\mathrm{1}}{{n}^{\mathrm{2}} }\:. \\ $$
Commented by abdo imad last updated on 19/Jan/18
$${let}\:{put}\:{I}=\:\int_{\mathrm{0}} ^{\pi} \left(\alpha{t}^{\mathrm{2}} \:+\beta{t}\right){cos}\left({nt}\right){dt} \\ $$$${I}=\:{Re}\:\left(\:\int_{\mathrm{0}} ^{\pi} \left(\alpha{t}^{\mathrm{2}} +\beta{t}\right)^{} {e}^{{int}} {t}\right)\:\:{by}\:{parts} \\ $$$${u}=\:\alpha{t}^{\mathrm{2}} +\beta{t}\:\:\:{and}\:\:{v}^{'} =\:{e}^{{int}} \\ $$$${I}=\:\left[\left(\alpha{t}^{\mathrm{2}} +\beta{t}\right)\frac{{e}^{{int}} }{{in}}\:\:\right]_{\mathrm{0}} ^{\pi} \:\:−\:\frac{\mathrm{1}}{{in}}\int_{\mathrm{0}} ^{\pi} \left(\mathrm{2}\alpha{t}+\beta\right){e}^{{int}} {dt} \\ $$$$=\frac{\mathrm{1}}{{in}}\left(\left(\alpha\pi^{\mathrm{2}} +\beta\pi\right)\left(−\mathrm{1}\right)^{{n}} \right)\:−\frac{\mathrm{1}}{{in}}\left\{\left[\:\:\frac{\mathrm{1}}{{in}}\left(\mathrm{2}\alpha{t}+\beta\right)\:{e}^{{int}} \right]_{\mathrm{0}} ^{\pi} −\frac{\mathrm{1}}{{in}}\int_{\mathrm{0}} ^{\pi} \left(\mathrm{2}\alpha\right){e}^{{int}} {dt}\right\} \\ $$$${we}\:{find}\:\:{I}=\:\frac{\mathrm{1}}{{n}^{\mathrm{2}} }\:\left(\left(\mathrm{2}\alpha\pi\:+\beta\right)\left(−\mathrm{1}\right)^{{n}} −\beta\right) \\ $$$${I}\:=\:\frac{\mathrm{1}}{{n}^{\mathrm{2}} }\:\forall{n}\in{N}^{\ast} \:\:\Leftrightarrow\:\left(\mathrm{2}\alpha\pi+\beta\right)\left(−\mathrm{1}\right)^{{n}} \:−\beta=\:\mathrm{1}\:{for}\:{alln} \\ $$$$\Leftrightarrow\:\beta\:=−\mathrm{1}\:{and}\:\mathrm{2}\alpha\pi−\mathrm{1}=\mathrm{0}\:\Rightarrow\:\alpha=\frac{\mathrm{1}}{\mathrm{2}\pi}\:{and}\:\beta=−\mathrm{1}\:{so} \\ $$$$\frac{\mathrm{1}}{{n}^{\mathrm{2}} }=\:\int_{\mathrm{0}} ^{\pi} \left(\frac{\mathrm{1}}{\mathrm{2}\pi}\:{t}^{\mathrm{2}} −{t}\right){cos}\left({nt}\right){dt} \\ $$$$\sum_{{n}=\mathrm{1}} ^{\propto} \:\frac{\mathrm{1}}{{n}^{\mathrm{2}} }\:\:=\int_{\mathrm{0}} ^{\pi} \left(\frac{\mathrm{1}}{\mathrm{2}\pi}{t}^{\mathrm{2}} −{t}\right)\left(\:\sum_{{n}=\mathrm{1}} ^{\propto} \:{cos}\left({nt}\right)\right){dt}\:{but} \\ $$$$\sum_{{n}=\mathrm{1}} ^{\propto} \:{cos}\left({nt}\right)={Re}\left(\:\:\sum_{{n}=\mathrm{0}} ^{\propto} \:\left(^{} {e}^{{it}} \right)^{{n}} \right)−\mathrm{1}={Re}\left(\:\:\frac{\mathrm{1}}{\mathrm{1}−{e}^{{it}} }\right)−\mathrm{1} \\ $$$$={Re}\left(\:\:\frac{\mathrm{1}}{\mathrm{2}{sin}^{\mathrm{2}} \left(\frac{{t}}{\mathrm{2}}\right)−\mathrm{2}{isin}\left(\frac{{t}}{\mathrm{2}}\right){cos}\left(\frac{{t}}{\mathrm{2}}\right)}\right) \\ $$$$={Re}\:\left(\:\:\:\:\:\:\:\:\frac{\mathrm{1}}{−\mathrm{2}{isin}\left(\frac{{t}}{\mathrm{2}}\right)\:{e}^{{i}\frac{{t}}{\mathrm{2}}} }\right)\:={Re}\left(\:\:\frac{\mathrm{1}}{\mathrm{2}}{i}\frac{{cos}\left(\frac{{t}}{\mathrm{2}}\right)−{i}\:{sin}\left(\frac{{t}}{\mathrm{2}}\right)}{{sin}\left(\frac{{t}}{\mathrm{2}}\right)}\right) \\ $$$$=\:\frac{\mathrm{1}}{\mathrm{2}}−\mathrm{1}=−\frac{\mathrm{1}}{\mathrm{2}} \\ $$$$\sum_{{n}=\mathrm{1}} ^{\propto} \:\frac{\mathrm{1}}{{n}^{\mathrm{2}} }\:=−\frac{\mathrm{1}}{\mathrm{2}}\:\int_{\mathrm{0}} ^{\pi} \left(\frac{\mathrm{1}}{\mathrm{2}\pi}{t}^{\mathrm{2}} −{t}\right){dt} \\ $$$$=−\frac{\mathrm{1}}{\mathrm{4}\pi}\:\:\left[\:\frac{{t}^{\mathrm{3}} }{\mathrm{3}}\right]_{\mathrm{0}} ^{\pi} \:+\frac{\mathrm{1}}{\mathrm{2}}\:\left[\:\frac{{t}^{\mathrm{2}} }{\mathrm{2}}\right]_{\mathrm{0}} ^{\pi} \:\:=\:\frac{\pi^{\mathrm{2}} }{\mathrm{4}}−\frac{\mathrm{1}}{\mathrm{4}\pi}\:\frac{\pi^{\mathrm{3}} }{\mathrm{3}}=\frac{\pi^{\mathrm{2}} }{\mathrm{4}}\:−\frac{\pi^{\mathrm{2}} }{\mathrm{12}} \\ $$$$=\:\frac{\mathrm{3}\pi^{\mathrm{2}} \:−\pi^{\mathrm{2}} }{\mathrm{12}}\:=\:\frac{\pi^{\mathrm{2}} }{\mathrm{6}}. \\ $$$$ \\ $$