How can I use integration by parts to solve $\displaystyle \int\sin^2(x) \ dx$?

  • MHB
  • Thread starter karush
  • Start date
  • Tags
    Dx
In summary, the conversation is about solving the integral of sin^2(x) using integration by parts. The process involves setting up the integral and using the reduction formula to simplify it. However, the conversation gets stuck at the step of integrating cos^2(x), which requires using integration by parts again. The final solution involves using the formula for integrating odd powers of sine and cosine, resulting in a solution of (x/2)-(sin(2x)/4)+C.
  • #1
karush
Gold Member
MHB
3,269
5
mnt{w.8.4.5} nmh{1000}
$\displaystyle \int\sin^2 \left({x}\right) \ dx
= \frac{x}{2}-\frac{\sin\left({2x }\right)}{4}+C $
As given by a table reference
Integral calculator uses reduction formula to solve this
But this is an exercise following integration by parts so..
$\displaystyle \int\sin^2 \left({x}\right) \ dx
\implies \int\sin\left({x}\right) \sin\left({x}\right) \ dx $
$\displaystyle u=\sin\left({x}\right) $ $dv=\sin\left({x}\right)\ dx$
$du=-\cos\left({x}\right) \ dx $ $v=\cos\left({x}\right)$
$\displaystyle uv-\int v \ du$
$\displaystyle \sin\left({x}\right)\cos\left({x}\right)
+ \int\cos\left({x}\right)\cos\left({x}\right) \ dx $
Got stuck here
 
Last edited:
Physics news on Phys.org
  • #2
karush said:
Whitman 8.4.5
$\displaystyle \int\sin^2 \left({x}\right) \ dx
= \frac{x}{2}-\frac{\sin\left({2x }\right)}{4}+C $
As given by a table reference
Integral calculator uses reduction formula to solve this
But this is an exercise following integration by parts so..
$\displaystyle \int\sin^2 \left({x}\right) \ dx
\implies \int\sin\left({x}\right) \sin\left({x}\right) \ dx $
$\displaystyle u=\sin\left({x}\right) $ $dv=\sin\left({x}\right)\ dx$
$du=-\cos\left({x}\right) \ dx $ $v=\cos\left({x}\right)$
$\displaystyle uv-\int v \ du$
$\displaystyle \sin\left({x}\right)\cos\left({x}\right)
+ \int\cos\left({x}\right)\cos\left({x}\right) \ dx $
Got stuck here

I don't know why you always stop at this step. It's pretty obvious that you still have an integration to do, and since you were using integration by parts for sin^2(x), wouldn't it make sense that you would have to use integration by parts for cos^2(x) as well?
 
  • #3
karush said:
Whitman 8.4.5
$\displaystyle \int\sin^2 \left({x}\right) \ dx
= \frac{x}{2}-\frac{\sin\left({2x }\right)}{4}+C $
As given by a table reference
Integral calculator uses reduction formula to solve this
But this is an exercise following integration by parts so..
$\displaystyle \int\sin^2 \left({x}\right) \ dx
\implies \int\sin\left({x}\right) \sin\left({x}\right) \ dx $
$\displaystyle u=\sin\left({x}\right) $ $dv=\sin\left({x}\right)\ dx$
$du=-\cos\left({x}\right) \ dx $ $v=\cos\left({x}\right)$
$\displaystyle uv-\int v \ du$
$\displaystyle \sin\left({x}\right)\cos\left({x}\right)
+ \int\cos\left({x}\right)\cos\left({x}\right) \ dx $
Got stuck here

Your work is a little off . . .

[tex]I \;=\;\int\sin^2x\,dx \;=\;\int\underbrace{\sin x}_u\,\underbrace{\sin x\,dx}_{dv}[/tex]

[tex]\begin{array}{ccc}u \:=\:\sin x && dv \:=\:\sin x\,dx \\ du \:=\:\cos x\,dx && v \:=\:-\cos x \end{array}[/tex]

[tex]I \;=\;\underbrace{(\sin x)}_u \underbrace{(-\cos x)}_v - \int\underbrace{(-\cos x)}
_v\underbrace{(\cos x\,dx)}_{du} \;=\; -\sin x\cos x + \int\cos^2x\,dx[/tex]

[tex]I \;=\; -\sin x\cos x + \int(1 -\sin^2x\,dx)\,dx \;=\;-\sin x\cos x + \int dx - \underbrace{\int\sin^2x\,dx}_{\text{This is }I}[/tex]

[tex]I \;=\;-\sin\cos x + x - I \quad\Rightarrow\quad 2I \;=\;x -\sin x\cos x +C[/tex]

[tex]I \;=\;\frac{1}{2}(x - \sin x\cos x) + C[/tex]

 
  • #4
\(\displaystyle \int\sin^2(x)\,dx\)

\(\displaystyle dv=1,v=x\)

\(\displaystyle u=\sin^2(x),du=\sin(2x)\,dx\)

\(\displaystyle \int\sin^2(x)\,dx=x\sin^2(x)-\int x\sin(2x)\,dx\)

IBP (again) with $u=x,dv=\sin(2x)$:

\(\displaystyle \int\sin^2(x)\,dx=x\sin^2(x)-\left(-x\dfrac{\cos(2x)}{2}+\dfrac12\int\cos(2x)\,dx\right)\)

\(\displaystyle =x\sin^2(x)+x\dfrac{\cos(2x)}{2}-\dfrac{\sin(2x)}{4}+C=\dfrac x2-\dfrac{\sin(2x)}{4}+C\)
 
  • #5
Thanks everyone sorry my latex didn't render to good in the preview it was fine. I'm too used to just looking things up in the tables not knowing how it was derived the book just had examples of odd powers.
 

FAQ: How can I use integration by parts to solve $\displaystyle \int\sin^2(x) \ dx$?

What is "-w.8.4.5 int Sin^2 x dx"?

"-w.8.4.5 int Sin^2 x dx" is a mathematical expression that represents the integration of the function Sin^2 x with respect to x. The "-w.8.4.5" indicates that this is a weighted integral, while the "int" signifies that it is an indefinite integral.

How do you solve "-w.8.4.5 int Sin^2 x dx"?

To solve this integral, you can use integration by parts or the trigonometric identity Sin^2 x = (1-cos 2x)/2. The "-w.8.4.5" weight can be factored out of the integral as a constant.

What is the purpose of the weight in "-w.8.4.5 int Sin^2 x dx"?

The weight in this integral is used to give more importance to certain parts of the function Sin^2 x. It can be used to adjust the overall value of the integral and can be helpful in certain applications.

Can "-w.8.4.5 int Sin^2 x dx" be solved analytically?

Yes, "-w.8.4.5 int Sin^2 x dx" can be solved analytically using integration techniques such as substitution, integration by parts, or trigonometric identities. However, depending on the weight and limits of integration, the integral may not have a closed-form solution.

What are some real-life examples of using "-w.8.4.5 int Sin^2 x dx"?

One example of using this type of weighted integral is in signal processing, where the weight can represent the amplitude of a signal. This integral is also commonly used in physics, particularly in calculating the moment of inertia for rotating objects.

Similar threads

Replies
6
Views
2K
Replies
5
Views
2K
Replies
6
Views
551
Replies
6
Views
2K
Replies
4
Views
2K
Back
Top