Question
Question: How do you integrate \(\int {x\sin xdx} \) using integration by parts?...
How do you integrate ∫xsinxdx using integration by parts?
Solution
In this problem, we are given an expression for integration, where the integrand is a combination of algebraic and trigonometric terms. Here, we are asked to integrate the given problem by using integration by parts. By using integration by parts, we are going to expand the differential of a product of functions.
Formula used: Integration by parts ∫udv=uv−∫vdu , where u is a function of u(x) , dv is a variable dv , v is the function of v(x) and du is a variable du .
Complete step-by-step solution:
Given integration is ∫xsinxdx .
Take I=∫xsinxdx .
We want to integrate by parts, taking u=x , dv=sinx .
Differentiating u=x we get, du=dx and integrating dv=sinx we get, v=−cosx .
⇒∫udv=uv−∫vdu
Now, let’s substitute all the values in the formula, we get,
⇒∫xsinxdx=−xcosx+∫cosxdx
Now integrating cosx in the right-hand side, we get,
⇒∫xsinxdx=−xcosx+sinx+C, where C is the constant of integration.
∴,I=sinx−xcosx+C
Therefore, the given integration by using integration by parts is equal to sinx−xcosx+C.
Additional Information: Integration by parts is a technique for performing indefinite integration or definite integration by expanding the differential of a product of functions and expressing the original integral in terms of a known integral. Integration by parts is for functions that can be written as the product of another function and a third function’s derivative.
Note: In this problem we have given the algebraic and trigonometric terms as integrands. And we used integration by parts to solve this problem. In that we have taken u as x and dv as sinx and we have to be careful while integrating sinx because integration of sinx gives −cosx but in differentiation, there won’t be a negative sign.