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

You're welcome! I'm glad I could help. Just keep practicing and solving more problems, and you'll gain more experience and intuition as well. Good luck!
  • #1
Saitama
4,243
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
  • #2
Let \(\displaystyle 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 \(\displaystyle 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 \(\displaystyle U_{n}-U_{n-1}=T_{n-1}=\frac{\pi}{2}\)

And from here you can also deduce that \(\displaystyle U_n=\frac{n\pi}{2}\).
 
Last edited:
  • #3
Shobhit said:
Let \(\displaystyle 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 \(\displaystyle T_n=T_{n-1}=T_{n-2}=\cdots =T_0 = \int_0^{\pi/2}dx=\frac{\pi}{2}\)

Thus \(\displaystyle U_{n}-U_{n-1}=T_{n-1}=\frac{\pi}{2}\)

And from here you can also deduce that \(\displaystyle 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?
 
  • #4
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:
  • #5
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:
 
  • #6
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.
 
  • #7
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! :)
 

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

What is a definite integral?

A definite integral is a mathematical concept used in calculus to calculate the area under a curve. It represents the sum of infinitely many small rectangles that make up the area under a curve.

How is a definite integral different from an indefinite integral?

A definite integral has defined limits of integration, meaning that it is calculated within a specific range. An indefinite integral does not have limits and represents a general antiderivative of a function.

What is the purpose of finding a definite integral?

The purpose of finding a definite integral is to calculate the area under a curve, which has many real-world applications in fields such as physics, engineering, and economics. It can also be used to find the average value of a function and to solve optimization problems.

How do you solve a definite integral problem?

To solve a definite integral problem, you need to identify the limits of integration, evaluate the integrand (the function being integrated) at those limits, and then subtract the two values. The result is the area under the curve between the given limits.

What are some common techniques for solving definite integrals?

Some common techniques for solving definite integrals include using basic integration rules, such as the power rule and substitution, as well as more advanced techniques like integration by parts and partial fraction decomposition. The method used will depend on the complexity of the integrand and the limits of integration.

Back
Top