Integrating Symmetric Definite Integrals: A Trick for Evaluating $U_n-U_{n-1}$

Click For Summary

Discussion Overview

The discussion revolves around evaluating the difference between two symmetric definite integrals, specifically $U_n - U_{n-1}$, where $U_n = \int_0^{\pi/2} \frac{\sin^2(nx)}{\sin^2x}\,dx$. Participants explore various approaches to simplify or evaluate this expression, including the introduction of a related integral $T_n$.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant attempts to express $U_n - U_{n-1}$ in terms of sine functions and simplifies it to an integral involving $\sin((2n-1)x)$.
  • Another participant introduces $T_n = \int_0^{\pi/2} \frac{\sin((2n+1)x)}{\sin x}dx$ and shows that $T_n - T_{n-1} = 0$, leading to the conclusion that $T_n$ is constant and equal to $\frac{\pi}{2}$.
  • There is a suggestion that $U_n - U_{n-1} = T_{n-1} = \frac{\pi}{2}$, which implies $U_n = \frac{n\pi}{2}$.
  • Participants express curiosity about the reasoning behind defining $T_n$ and whether there are alternative methods to evaluate the original integral.
  • One participant mentions a potential solution using the residue theorem but considers it too complex for the current context.
  • Another participant notes the importance of the symmetry of the integral in defining $T_n$.

Areas of Agreement / Disagreement

Participants generally agree on the evaluation of $T_n$ and its implications for $U_n - U_{n-1}$. However, there is no consensus on the best method to evaluate the original integral or whether alternative solutions exist.

Contextual Notes

Some participants express uncertainty about the evaluation steps and the appropriateness of certain methods, such as the residue theorem, for the calculus section.

Saitama
Messages
4,244
Reaction score
93
Attempt:
If $\displaystyle U_n=\int_0^{\pi/2} \frac{\sin^2(nx)}{\sin^2x}\,dx$, then find $U_n-U_{n-1}$.

Attempt:
$$U_n=\int_0^{\pi/2} \frac{\sin^2(nx)}{\sin^2x}\,dx$$
$$U_{n-1}=\int_0^{\pi/2} \frac{\sin^2((n-1)x)}{\sin^2x}\,dx$$
$$\Rightarrow U_n-U_{n-1}=\int_0^{\pi/2} \frac{(\sin(nx)-\sin((n-1)x)(\sin(nx)+\sin(n-1)x)}{\sin^2x}\,dx$$
I write the following:
$$\sin(nx)-\sin((n-1)x=2\cos\left(\frac{2n-1}{2}x\right)\sin\left(\frac{x}{2}\right)$$
$$\sin(nx)+\sin((n-1)x=2\sin\left(\frac{2n-1}{2}x\right)\cos\left(\frac{x}{2}\right)$$
The product of above can be written as follows:
$$(\sin(nx)-\sin((n-1)x)(\sin(nx)+\sin((n-1)x)=\sin(x)\sin((2n-1)x)$$
Hence,
$$U_n-U_{n-1}=\int_0^{\pi/2} \frac{\sin((2n-1)x)}{\sin x}\,\,dx$$
I am not sure how to proceed after this. I tried writing $\sin((2n-1)x)=\sin(2nx)\cos(x)-\sin(x)\cos(2nx)$ but that doesn't seem to help. :(

Any help is appreciated. Thanks!
 
Physics news on Phys.org
Let $$T_n=\int_0^{\pi/2}\frac{\sin((2n+1)x)}{\sin x}dx$$

Then $$
\begin{align*}
T_n-T_{n-1} &= \int_0^{\pi/2} \frac{\sin((2n+1)x)-\sin((2n-1)x)}{\sin x}dx \\
&= 2 \int_0^{\pi/2}\cos(2nx)\; dx \\
&= \frac{1}{n}\sin(n\pi) \\
&= 0
\end{align*}
$$

So $$T_n=T_{n-1}=T_{n-2}=\cdots =T_0 = \int_0^{\pi/2}dx=\frac{\pi}{2}$$

Then using the last equation of your post we get $$U_{n}-U_{n-1}=T_{n-1}=\frac{\pi}{2}$$

And from here you can also deduce that $$U_n=\frac{n\pi}{2}$$.
 
Last edited:
Shobhit said:
Let $$T_n=\int_0^{\pi/2}\frac{\sin((2n+1)x)}{\sin x}dx$$

Then $$
\begin{align*}
T_n-T_{n-1} &= \int_0^{\pi/2} \frac{\sin((2n+1)x)-\sin((2n-1)x)}{\sin x}dx \\
&= 2 \int_0^{\pi/2}\cos(2nx)\; dx \\
&= \frac{1}{n}\sin(n\pi) \\
&= 0
\end{align*}
$$

So $$T_n=T_{n-1}=T_{n-2}=\cdots =T_0 = \int_0^{\pi/2}dx=\frac{\pi}{2}$$

Thus $$U_{n}-U_{n-1}=T_{n-1}=\frac{\pi}{2}$$

And from here you can also deduce that $$U_n=\frac{n\pi}{2}$$.

Thanks Shobhit! :)

Can I have some insight about how did you think of defining $T_n$? Is there no way to evaluate the definite integral I got or is there any alternative solution?
 
Pranav said:
Thanks Shobhit! :)

Can I have some insight about how did you think of defining $T_n$? Is there no way to evaluate the definite integral I got?

The integral at the end of your post is actually $T_{n-1}$.

Pranav said:
Is there any alternative solution?

I know another solution using the residue theorem but I think that would be too hard for you to understand and probably not appropriate for the calculus section. :)
 
Last edited:
Shobhit said:
The integral at the end of your post is actually $T_{n-1}$.
Yes, I know about that but I am more interested to know how did you think of $T_n$? Is this some kind of routine problem? :confused:
 
Pranav said:
Yes, I know about that but I am more interested to know how did you think of $T_n$? Is this some kind of routine problem? :confused:

Over the years I have gained a lot of experience in evaluating definite integrals. So that's why I knew which trick can be applied here. The reason behind that particular definition of $T_n$ is the symmetry of the integral.
 
Shobhit said:
Over the years I have gained a lot of experience in evaluating definite integrals. So that's why I knew which trick can be applied here. The reason behind that particular definition of $T_n$ is the symmetry of the integral.

Thanks Shobhit! :)
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
5
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 29 ·
Replies
29
Views
5K