Question
Question: How do you integrate \(\int{{{x}^{2}}{{\sin }^{2}}xdx}\) using integration by parts?...
How do you integrate ∫x2sin2xdx using integration by parts?
Solution
To integrate the given integration using integration by parts, we are going to use the following integration by parts formula which is equal to: ∫f(x)g(x)dx=f(x)∫g(x)dx−∫f′(x)∫g(x)dx. The catch in this integration is that what could be the first term and what could be the second term. And this priority of the function is decided by the mnemonics named “ILATE” and we will discuss each letter in the below solution.
Complete step-by-step answer:
The integration which we have to find is as follows:
∫x2sin2xdx
Now, we are going to integrate by using integration by parts. The formula for integration by parts is as follows:
∫f(x)g(x)dx=f(x)∫g(x)dx−∫f′(x)∫g(x)dx …………… (1)
In the above formula, f(x)&g(x) are two functions but here, we should know which function will get the priority over another. To decide the priority there is mnemonic which is equal to:
ILATE
Now, in the above mnemonic, “I” represents inverse functions, “L” represents logarithmic functions, “A” represents algebraic functions, “T” represents trigonometric functions and “E” represents exponential functions. Now, the order of the letters in this word “ILATE” will be the order of priority for the functions.
So, using this mnemonic in the given integration, in the given integration, we have two functions, algebraic and trigonometric functions so algebraic will get priority over trigonometric functions. Now, f(x)=x2&g(x)=sin2x then substituting these values of f(x) and g(x) in eq. (1) we get,
∫x2sin2xdx=x2∫sin2xdx−∫(x2)′∫sin2xdx ……………. (2)
The integration of sin2x with respect to x is as follows:
∫sin2xdx=21∫(1−cos2x)dx⇒∫sin2xdx=21∫dx−21∫cos2xdx
Also, we know that integration of cos2x with respect to x we get,
∫cos2xdx=21sin2x
Using the above relation in the above integration we get,
⇒∫sin2xdx=21x−21×21sin2x⇒∫sin2xdx=21x−41sin2x
And the differentiation of x2 with respect to x we get,
(x2)′=2x
Using the above integration and differentiation in eq. (2) we get,
∫x2sin2xdx=x2(21x−41sin2x)−∫(2x)(21x−41sin2x)dx⇒∫x2sin2xdx=2x3−41x2sin2x−(∫x2−21xsin2x)dx⇒∫x2sin2xdx=2x3−41x2sin2x−∫x2dx+21∫xsin2xdx⇒∫x2sin2xdx=2x3−41x2sin2x−3x3+21∫xsin2xdx.........(3)
We are going to do the integration of xsin2x with respect to x by using integration by parts we get,