Question
Question: How do you find the antiderivative of \(\int{{{x}^{2}}\cos xdx}\)....
How do you find the antiderivative of ∫x2cosxdx.
Solution
In the problem we have two functions which are in multiplication one is x2 and the second one is cosx. In integration we have the uv formula as ∫uv=u∫v−∫(u′)∫v. So, we will use the ILATE rule and determine the values of u and v. After getting these values we will use the uv formula and do simplification. Now we will get another equation which is in the same form. So, we will again use the uv formula and simplify the obtained equation. Now we will get the required result.
Complete step by step answer:
Given that, ∫x2cosxdx.
In the above equation we have two functions, one is x2 which is an algebraic function and the second one is cosx which is a trigonometric function. By using the ILATE formula
u=x2, v=cosx.
Applying uv formula in the given equation, then we will get
∫x2cosxdx=x2∫cosxdx−∫((x2)′∫cosxdx)dx
We know that (x2)′=2x, ∫cosxdx=sinx+C, then we will get
⇒∫x2cosxdx=x2(sinx)−∫2xsinxdx⇒∫x2cosxdx=x2sinx−2∫xsinxdx....(i)
In the above equation, we have ∫xsinxdx which is similar to the uv rule. So again, using the ILATE formula then we will get
u=x, v=sinx.
Now the value of ∫xsinxdx is given by
∫xsinxdx=x∫sinx−∫((x)′∫sinxdx)dx
We have x′=1, ∫sinxdx=−cosx+C, then we will get
∫xsinxdx=−xcosx−∫(−cosx)dx⇒∫xsinxdx=−xcosx+∫cosxdx
We have ∫cosxdx=sinx+C, then we will get
⇒∫xsinxdx=−xcosx+sinx+C
Substituting the above value in the equation (i), then we will get
⇒∫x2cosxdx=x2sinx−2(−xcosx+sinx)+C
Simplifying the above equation by applying multiplication distribution law, then we will get
⇒∫x2cosxdx=x2sinx+2xcosx−2sinx+C
Taking sinx common from the terms x2sinx−2sinx, then we will get
⇒∫x2cosxdx=(x2−2)sinx+2xcosx+C
Hence the value of ∫x2cosxdx is (x2−2)sinx+2xcosx+C.
Note: In the above problem we have used the uv, ILATE formulas several times. We need to follow some rules while using the uv rule which is denoted by ILATE which indicates the order of giving priority for a function. It states that the order of the priority of functions as Inverse, Logarithmic, Algebraic, Trigonometric, Exponential. From the above priority table, we will choose the functions u and v in uv rule.