proving integral equality using substitution

138 Views Asked by At

"Using the substitution $t=\tan \frac{x}{2}$, prove that for every $-1<r<1$, $\int_{0}^{\pi}\frac{\cos x}{1-2r\cos x+r^2}dx=\int_{0}^{\pi}\frac{r}{1-2r\cos x+r^2}dx$ "

I've tried the suggestion, and this is what I was able to deduce: $ \int_{0}^{\pi}\frac{\cos x}{1-2r\cos x+r^2}dx= \begin{bmatrix} t=\tan \frac{x}{2} & dx=\frac{2dt}{1+t^2} \\ cosx=\frac{1-t^2}{1+t^2} & \end{bmatrix}=\int_{0}^{\infty}\frac{\frac{1-t^2}{1+t^2}}{1-2r\frac{1-t^2}{1+t^2}+r^2}\frac{2dt}{1+t^2}= \\\ \int_{0}^{\infty}\frac{2(1-t^2)}{(1+t^2)^2-2r(1-t^2)(1+t^2)+r^2(1+t^2)^2}dt$

and

$\\\ \int_{0}^{\pi}\frac{r}{1-2r\cos x+r^2}dx= \begin{bmatrix} t=\tan \frac{x}{2} & dx=\frac{2dt}{1+t^2} \\ \cos x=\frac{1-t^2}{1+t^2} & \end{bmatrix}=\int_{0}^{\infty}\frac{r}{1-2r\frac{1-t^2}{1+t^2}+r^2}\frac{2dt}{1+t^2}= \\\ \int_{0}^{\infty}\frac{2r}{(1+t^2)-2r(1-t^2)+r^2(1+t^2)}dt $

but I can't see how am I closer to the solution now. Thanks for your help!

2

There are 2 best solutions below

6
On BEST ANSWER

${\begin{align} {\text{When r=0 the result is trivial. Consider now -1<r<0 or 0<r<1.}}\end{align}\\}$

${\begin{align} {\int_{0}^{\pi} {cos(x)\over{1-2rcos(x)+r^2}}dx = {\int_{0}^{\pi} {r\over{1-2rcos(x)+r^2}}dx} }\end{align}\\}$

iff

${\begin{align} {\int_{0}^{\pi} {cos(x)-r\over{1-2rcos(x)+r^2}}dx = 0 }\end{align}\\}$

Now use substitution

${\begin{align} {t = tan({x\over2})}\end{align}\\}$

you get

${\begin{align} {2\int_{0}^{+\infty} {{(r+1)t^2+(r-1)}\over{(1+t^2)((1+r)^2t^2+(r-1)^2)}}dx = 0 }\end{align}\\}$

Observe that for every r s.t. ${-1<r<0\ or\ 0<r<1}$ the polynomial ${(1+r)^2t^2+(r-1)^2}$ has no real roots.

From this point you can compute this integral via the theory of integration of rational functions.

${\begin{align} {(r+1)t^2 + r-1 \over{(1+t^2)((1+r)^2t^2+(1-r)^2)}} = {{At+B}\over{(1+r)^2t^2 + (r-1)^2}} + {{Ct+D}\over{1+t^2}}\end{align}}$

You find ${\begin{align} A = 0 \ B = {r^2-1\over {2r}} \ C = 0\ D = {1\over {2r}}. \end{align}} $

${\begin{align} {2\int_{0}^{+\infty} {{(r+1)t^2+(r-1)}\over{(1+t^2)((1+r)^2t^2+(r-1)^2)}}dx = {2\int_{0}^{+\infty} {{r^2-1\over 2r}{1\over{(1+r)^2t^2+(r-1)^2}}} + {1\over 2r} {1\over {1+t^2}}}dx}\end{align}\\}$

${\begin{align} {\lim_{A\rightarrow +\infty} {2\int_{0}^{A} {{r^2-1\over 2r}{1\over{(1+r)^2t^2+(r-1)^2}}} + {1\over 2r} {1\over {1+t^2}}}dx} = \lim_{A\rightarrow +\infty}{1\over r} {arctan({{(r+1)A}\over{r-1}}) + {1\over r} {arctan(A)} = 0}\end{align} }$

Observe that ${\begin{align} {{r+1}\over{r-1}} < 0 \text{ for every } -1<r<0 \text{ or } 0<r<1 \end{align} } $

0
On

It is faster to notice that: $$ \frac{e^{i\theta}}{1-r e^{i\theta}}+\frac{e^{-i\theta}}{1-r e^{-i\theta}} = \frac{2\cos\theta-2r}{1-2r\cos(\theta)+r^2}\tag{1}$$ and to compute the integral of the LHS of $(1)$ over $(0,\pi)$ through an expansion as a geometric series:

$$ \int_{0}^{\pi}\frac{e^{i\theta}\,d\theta}{1-r e^{i\theta}} = \int_{0}^{\pi}\sum_{n\geq 0} r^{n} e^{(n+1)i\theta}\,d\theta =\sum_{m\geq 0}\frac{2i\,r^{2m}}{2m+1}=\frac{2i}{r}\,\text{arctanh}(r)\tag{2} $$ the integral associated with $\frac{e^{-i\theta}}{1-r e^{-i\theta}}$ is just the conjugate of the previous one, so the two integrals add to zero and: $$ \int_{0}^{\pi}\frac{\cos\theta}{1-2r\cos(\theta)+r^2}\,d\theta = \int_{0}^{\pi}\frac{r}{1-2r\cos(\theta)+r^2}\,d\theta\tag{3} $$ readily follows from $(1)$.

From the Poisson kernel we also know that: $$ \frac{r}{1-2r\cos\theta+r^2}=\frac{r}{1-r^2}\,\text{Re}\left(\frac{1+r e^{i\theta}}{1-re^{i\theta}}\right)=\frac{r}{1-r^2}\,\text{Re}\left(1+2\sum_{m\geq 1}r^m e^{mi\theta}\right)\tag{4}$$ hence:

$$ \int_{0}^{+\infty}\frac{r\,d\theta}{1-2r\cos\theta+r^2}=\color{red}{\frac{\pi r}{1-r^2}}.\tag{5}$$