Michael K. answered 03/12/21
PhD professional for Math, Physics, and CS Tutoring and Martial Arts
So we are asked to integrate sin3(x). Let's try to do a u-substitution to see if this will work...
∫sin3(x) * dx = ?
Let:
u(x) = sin(x)
du = cos(x) * dx
∫sin3(x) * dx = ∫u3 * du/cos(x)
As we can see this will not help us since we don't readily have an expression for cos(x) in-terms of u(x). But we can use the Pythagorean Theorem to assist us with a suitable substitution with sin2(x) + cos2(x) = 1.
∫sin3(x) * dx = ∫sin(x) * sin2(x) * dx = ∫sin(x) * (1 - cos2(x)) * dx = ∫sin(x) * dx - ∫sin(x) * cos2(x) * dx
With this original integral broken into two pieces we can attempt to solve each piece individually...
The first integral gives -cos(x) + C as the solution (with the integration constant due to the indefinite integral)
The second integral we can apply u-substitution...
Let :
u(x) = cos(x)
du = -sin(x) * dx
- ∫sin(x) * cos2(x) * dx = ∫u2 du = u3/3 + C --> cos3(x)/3 + C
Putting the two parts together yields --> ∫sin3(x) * dx = -cos(x) + cos3(x)/3 + C
where we have added the two constant terms into a single unknown constant term.
Let's apply this concept to the other integral --> ∫cos3(x) * dx
∫cos3(x) * dx = ∫cos(x) * cos2(x) * dx = ∫cos(x) * (1 - sin2(x)) * dx = ∫cos(x) * dx - ∫cos(x) * sin2(x) * dx
Let u = sin(x) in the second integral
du = cos(x) * dx
∫cos3(x) * dx = -sin(x) - sin3(x)/3 + C = -(sin(x) + sin3(x)/3) + C