Question
Question: How do you integrate \(\int {\left( {{{\cos }^3}x} \right)} dx\)?...
How do you integrate ∫(cos3x)dx?
Solution
This is a question of exact integral and the trick here is to break the function in such a way that one part becomes the differential to the variable of the first part wherein we can solve it easily. Also note that as the function is totally in cos, we need to take at least one part of it to sin form to do what we intend.
Complete step by step answer:
cos2x=1−sin2x dxd(sinx)=cosx
In this question, we have to work with cos3x. We can approach this in two ways. Either we can go for the cube formulas of sin and cos which might also give the answer of this question or we can go for a very simple tactic which is to break the cube into square times one.
cos3x=cos2x⋅cosx
The benefit of doing this is that now we can use the equation, cos2x=1−sin2x and observe how if we differentiate sinx then it becomes cosx which we already have in the equation. As such, our integral equation becomes
∫(cos3x)dx=∫(cos2x)cosxdx =∫(1−sin2x)cosdx
Now, assuming sinx=u, dxdu=cosx or du=cosxdx
Putting all this into the equation, we get
∫(cos3x)dx=∫(1−sin2x)cosdx =∫(1−u2)du =u−3u3+C
But we know that u=sinx and as such the equation here becomes,
∫(cos3x)dx=u−3u3+C =sinx−3sin3x+C
Note: In case of sin and cos, whenever we face a cube, the first choice is to always move back to square times one form as that will make the equation much simpler to integrate. If that is not possible, try to move to forms where sin and cos are in 2x or 3x. If that is also not possible, then only try to move to complex integrations.