Question Number 67559 by Abdo msup. last updated on 28/Aug/19
$${calculate}\:\:\sum_{{n}=\mathrm{0}} ^{\infty} \:\:\frac{\mathrm{1}}{{n}^{\mathrm{2}\:} +\mathrm{1}}\:\:{and}\:\sum_{{n}=\mathrm{0}} ^{\infty} \:\frac{\left(−\mathrm{1}\right)^{{n}} }{{n}^{\mathrm{2}} \:+\mathrm{1}} \\ $$
Commented by ~ À ® @ 237 ~ last updated on 28/Aug/19
$${let}\:{named}\:\:{f}\left({a}\right)=\underset{{n}=\mathrm{0}} {\overset{\infty} {\sum}}\:\frac{\mathrm{1}}{{n}^{\mathrm{2}} +{a}^{\mathrm{2}} }\:\:{and}\:\:{g}\left({a}\right)=\underset{{n}=\mathrm{0}} {\overset{\infty} {\sum}}\:\:\frac{\left(−\mathrm{1}\right)^{{n}} }{{n}^{\mathrm{2}} +{a}^{\mathrm{2}} }\:\: \\ $$$${f}\left({a}\right)=\frac{\mathrm{1}}{\mathrm{2}}\underset{−\infty} {\overset{\infty} {\sum}}\:\:\frac{\mathrm{1}}{{n}^{\mathrm{2}} +{a}^{\mathrm{2}} }\:=−\frac{\mathrm{1}}{\mathrm{2}}\left[{Res}\left({A}\left({z}\right),{ia}\right)+{Res}\left({A}\left({z}\right),−{ia}\right)\right]\:\:\:{with}\:\:{A}\left({z}\right)=\frac{\pi{cot}\left(\pi{z}\right)}{{z}^{\mathrm{2}} +\mathrm{1}}\:\:\:\:\left({that}\:{formula}\:{comes}\:{from}\:{the}\:{Residu}\:{theorem}…\right. \\ $$$${Res}\left({A}\left({z}\right),{ia}\right)=\frac{\pi{cot}\left({i}\pi{a}\right)}{\mathrm{2}{ia}}=\:−\frac{\pi{coth}\left(\pi{a}\right)}{\mathrm{2}{a}}\:\:\:{cause}\:\:{tanx}=−{ith}\left({ix}\right)\Rightarrow{cot}\left({x}\right)={icoth}\left({ix}\right) \\ $$$${Res}\left({A}\left({z}\right),−{ia}\right)=\frac{\pi{cot}\left(−{i}\pi{a}\right)}{−\mathrm{2}{ia}}\:=−\frac{\pi{coth}\left(\pi{a}\right)}{\mathrm{2}{a}}\: \\ $$$${So}\:\:{f}\left({a}\right)=\frac{\pi}{\mathrm{2}{a}}\:{coth}\left(\pi{a}\right) \\ $$$${g}\left({a}\right)=\frac{\mathrm{1}}{\mathrm{2}}\underset{−\infty} {\overset{\infty} {\sum}}\:\frac{\left(−\mathrm{1}\right)^{{n}} }{{n}^{\mathrm{2}} +{a}^{\mathrm{2}} }\:=−\frac{\mathrm{1}}{\mathrm{2}}\:\left[{Res}\left({B},{ia}\right)+{Res}\left({B},−{ia}\right)\right]\:\:\:\:\:\:{with}\:{B}\left({z}\right)=\:\:\frac{\pi{csc}\left(\pi{z}\right)}{{z}^{\mathrm{2}} +\mathrm{1}}=\frac{\pi}{\left({z}^{\mathrm{2}} +\mathrm{1}\right){sin}\left(\pi{z}\right)}\: \\ $$$${Res}\left({B},{ia}\right)=\frac{\pi}{\mathrm{2}{iasin}\left({i}\pi{a}\right)}\:=\:\frac{\pi}{\mathrm{2}{ia}\left(\frac{{e}^{−\pi{a}} −{e}^{\pi{a}} }{\mathrm{2}{i}}\right)}=\frac{\pi}{−\mathrm{2}{ash}\left(\pi{a}\right)} \\ $$$${Res}\left({B},−{ia}\right)=\frac{\pi}{−\mathrm{2}{iasin}\left(−{i}\pi{a}\right)}=\frac{\pi}{−\mathrm{2}{ash}\left(\pi{a}\right)}\: \\ $$$${So}\:\:{g}\left({a}\right)=\frac{\pi}{\mathrm{2}{ash}\left(\pi{a}\right)}\:\: \\ $$$$ \\ $$$$ \\ $$
Commented by mathmax by abdo last updated on 28/Aug/19
$${thank}\:{you}\:{sir}. \\ $$
Commented by mathmax by abdo last updated on 29/Aug/19
$${we}\:{have}\:{proved}\:{tbat}\:\:{e}^{−\mid{x}\mid} \:=\frac{\mathrm{1}−{e}^{−\pi} }{\pi}\:+\frac{\mathrm{2}}{\pi}\sum_{{n}=\mathrm{1}} ^{\infty} \:\frac{\left(\mathrm{1}−\left(−\mathrm{1}\right)^{{n}} {e}^{−\pi} \right)}{\mathrm{1}+{n}^{\mathrm{2}} }{cos}\left({nx}\right) \\ $$$$\left({developpement}\:{at}\:{fourier}\:{serie}\right) \\ $$$${x}=\mathrm{0}\:\Rightarrow\mathrm{1}\:=\frac{\mathrm{1}−{e}^{−\pi} }{\pi}\:+\frac{\mathrm{2}}{\pi}\:\sum_{{n}=\mathrm{1}} ^{\infty} \frac{\mathrm{1}}{{n}^{\mathrm{2}} \:+\mathrm{1}}\:−\frac{\mathrm{2}}{\pi}{e}^{−\pi} \sum_{{n}=\mathrm{1}} ^{\infty} \:\:\:\frac{\left(−\mathrm{1}\right)^{{n}} }{{n}^{\mathrm{2}} \:+\mathrm{1}} \\ $$$$\Rightarrow\pi\:=\mathrm{1}−{e}^{−\pi} \:+\mathrm{2}\:\sum_{{n}=\mathrm{1}} ^{\infty} \:\frac{\mathrm{1}}{{n}^{\mathrm{2}} \:+\mathrm{1}}\:−\mathrm{2}\:{e}^{−\pi} \:\sum_{{n}=\mathrm{1}} ^{\infty} \:\frac{\left(−\mathrm{1}\right)^{{n}} }{{n}^{\mathrm{2}} \:+\mathrm{1}} \\ $$$${x}=\pi\:\Rightarrow{e}^{−\pi} \:=\frac{\mathrm{1}−{e}^{−\pi} }{\pi}\:+\frac{\mathrm{2}}{\pi}\:\sum_{{n}=\mathrm{1}} ^{\infty} \:\frac{\left(\mathrm{1}−\left(−\mathrm{1}\right)^{{n}} {e}^{−\pi} \right)}{{n}^{\mathrm{2}} \:+\mathrm{1}}\left(−\mathrm{1}\right)^{{n}} \:\Rightarrow \\ $$$${e}^{−\pi} \:=\frac{\mathrm{1}−{e}^{−\pi} }{\pi}\:+\frac{\mathrm{2}}{\pi}\sum_{{n}=\mathrm{1}} ^{\infty} \:\frac{\left(−\mathrm{1}\right)^{{n}} }{{n}^{\mathrm{2}} \:+\mathrm{1}}\:−\frac{\mathrm{2}}{\pi}\sum_{{n}=\mathrm{1}} ^{\infty} \:\:\frac{{e}^{−\pi} }{{n}^{\mathrm{2}} \:+\mathrm{1}}\:\Rightarrow \\ $$$$\pi\:{e}^{−\pi} \:=\mathrm{1}−{e}^{−\pi} \:+\mathrm{2}\:\sum_{{n}=\mathrm{1}} ^{\infty} \:\frac{\left(−\mathrm{1}\right)^{{n}} }{{n}^{\mathrm{2}} \:+\mathrm{1}}\:−\mathrm{2}\:{e}^{−\pi} \:\sum_{{n}=\mathrm{1}} ^{\infty} \:\frac{\mathrm{1}}{{n}^{\mathrm{2}} \:+\mathrm{1}} \\ $$$${let}\:\:{x}\:=\sum_{{n}=\mathrm{1}} ^{\infty} \:\frac{\mathrm{1}}{{n}^{\mathrm{2}} \:+\mathrm{1}}\:{and}\:{y}\:=\sum_{{n}=\mathrm{1}} ^{\infty} \:\frac{\left(−\mathrm{1}\right)^{{n}} }{{n}^{\mathrm{2}} \:+\mathrm{1}}\:{we}\:{get} \\ $$$$\pi\:=\mathrm{1}−{e}^{−\pi} \:+\mathrm{2}{x}−\mathrm{2}{e}^{−\pi} {y}\:\:\:{and}\:\:\pi{e}^{−\pi} =\mathrm{1}−{e}^{−\pi} +\mathrm{2}{y}\:−\mathrm{2}{e}^{−\pi} {x}\:\Rightarrow \\ $$$$\begin{cases}{\mathrm{2}{x}−\mathrm{2}{e}^{−\pi} {y}\:=\pi−\mathrm{1}+{e}^{−\pi} }\\{−\mathrm{2}{e}^{−\pi} {x}\:+\mathrm{2}{y}\:=\pi{e}^{−\pi} −\mathrm{1}\:+{e}^{−\pi} }\end{cases} \\ $$$$\Delta\:=\begin{vmatrix}{\mathrm{2}\:\:\:\:\:\:\:\:\:\:\:−\mathrm{2}{e}^{−\pi} }\\{−\mathrm{2}{e}^{−\pi} \:\:\:\:\:\:\:\:\mathrm{2}}\end{vmatrix}=\mathrm{4}−\mathrm{4}\:{e}^{−\mathrm{2}\pi} \:\neq\mathrm{0}\:\Rightarrow \\ $$$$\Delta_{{x}} =\begin{vmatrix}{\pi−\mathrm{1}+{e}^{−\pi} \:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:−\mathrm{2}{e}^{−\pi} }\\{\pi{e}^{−\pi} −\mathrm{1}\:+{e}^{−\pi} \:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\mathrm{2}}\end{vmatrix}=\mathrm{2}\pi−\mathrm{2}+\mathrm{2}{e}^{−\pi} \:+\mathrm{2}{e}^{−\pi} \left(\pi{e}^{−\pi} −\mathrm{1}+{e}^{−\pi} \right) \\ $$$$=\mathrm{2}\pi\:−\mathrm{2}\:+\mathrm{2}\:{e}^{−\pi} \:+\mathrm{2}\pi\:{e}^{−\mathrm{2}\pi} −\mathrm{2}{e}^{−\pi} \:+\mathrm{2}\:{e}^{−\mathrm{2}\pi} \\ $$$$=\mathrm{2}\pi\:−\mathrm{2}\:+\mathrm{4}\pi\:{e}^{−\mathrm{2}\pi} \\ $$$$\Delta_{{y}} =\begin{vmatrix}{\mathrm{2}\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\pi−\mathrm{1}+{e}^{−\pi} }\\{−\mathrm{2}{e}^{−\pi} \:\:\:\:\:\:\:\:\pi{e}^{−\pi} −\mathrm{1}+{e}^{−\pi} }\end{vmatrix}=\mathrm{2}\pi{e}^{−\pi} −\mathrm{2}+\mathrm{2}{e}^{−\pi} \\ $$$$+\mathrm{2}{e}^{−\pi} \left(\pi−\mathrm{1}\:+{e}^{−\pi} \right)=\mathrm{2}\pi\:{e}^{−\pi} −\mathrm{2}\:+\mathrm{2}\:{e}^{−\pi} \:\:+\mathrm{2}\pi\:{e}^{−\pi} −\mathrm{2}{e}^{−\pi} \:+\mathrm{2}{e}^{−\mathrm{2}\pi} \\ $$$$=\mathrm{4}\pi\:{e}^{−\pi} −\mathrm{2}\:+\mathrm{2}{e}^{−\mathrm{2}\pi} \:\:\Rightarrow \\ $$$${x}\:=\frac{\Delta_{{x}} }{\Delta}\:=\frac{\mathrm{2}\pi−\mathrm{2}\:+\mathrm{4}\pi\:{e}^{−\mathrm{2}\pi} }{\mathrm{4}−\mathrm{4}{e}^{−\mathrm{2}\pi} }\:=\frac{\pi−\mathrm{1}+\mathrm{2}\pi\:{e}^{−\mathrm{2}\pi} }{\mathrm{2}−\mathrm{2}\:{e}^{−\mathrm{2}\pi} }\:=\sum_{{n}=\mathrm{1}} ^{\infty} \:\frac{\mathrm{1}}{{n}^{\mathrm{2}} \:+\mathrm{1}} \\ $$$${y}\:=\frac{\Delta_{{y}} }{\Delta}\:=\frac{\mathrm{4}\pi\:{e}^{−\pi} −\mathrm{2}\:+\mathrm{2}{e}^{−\mathrm{2}\pi} }{\mathrm{4}−\mathrm{4}{e}^{−\mathrm{2}\pi} }\:=\frac{\mathrm{2}\pi\:{e}^{−\pi} −\mathrm{1}\:+{e}^{−\mathrm{2}\pi} }{\mathrm{2}−\mathrm{2}{e}^{−\mathrm{2}\pi} }\:=\sum_{{n}=\mathrm{1}} ^{\infty} \:\frac{\left(−\mathrm{1}\right)^{{n}} }{{n}^{\mathrm{2}} \:+\mathrm{1}} \\ $$$$\sum_{{n}=\mathrm{0}} ^{\infty} \:\:\frac{\mathrm{1}}{{n}^{\mathrm{2}} +\mathrm{1}}\:=\mathrm{1}+{x}\:=\mathrm{1}+\frac{\pi−\mathrm{1}+\mathrm{2}\pi\:{e}^{−\mathrm{2}\pi} }{\mathrm{2}−\mathrm{2}{e}^{−\mathrm{2}\pi} }\: \\ $$$$\sum_{{n}=\mathrm{0}} ^{\infty} \:\:\:\frac{\left(−\mathrm{1}\right)^{{n}} }{{n}^{\mathrm{2}} +\mathrm{1}}\:=\mathrm{1}+{y}\:=\mathrm{1}+\frac{\mathrm{2}\pi{e}^{−\pi} −\mathrm{1}\:+{e}^{−\mathrm{2}\pi} }{\mathrm{2}−\mathrm{2}{e}^{−\mathrm{2}\pi} } \\ $$$$ \\ $$