Question
Question: How do you integrate \[\int {x{{\tan }^2}x} \] using integration by parts?...
How do you integrate ∫xtan2x using integration by parts?
Solution
Hint : Here in this question given an indefinite integral, we have to find the integrated value of a given function. First rewrite the given function by using the trigonometric identity i.e., tan2θ=sec2θ−1 and next it can be solve by the method of integration by parts by separating the function as u and v , later integrated by using the standard formulas of integration. And by further simplification we get the required solution.
Complete step-by-step answer :
Integration by parts is a technique for performing indefinite integration or definite integration by expanding the differential of a product of functions d(uv) and expressing the original integral in terms of a known integral ∫vdu . A single integration by parts starts with
d(uv)=udv+vdu
and integrates both sides,
∫d(uv)=uv=∫udv+∫vdu. ------(1)
Rearranging gives
∫udv=uv−∫vdu. ---------(2)
Consider the given function ∫xtan2xdx -----(3)
Rewrite the function using the standard trigonometric identity i.e., tan2θ=sec2θ−1 . Then Equation (3) Can be written as
⇒∫xtan2xdx=∫x(sec2x−1)dx
⇒∫xtan2xdx=∫(xsec2x−x)dx
Integrate each term separately
⇒∫xtan2xdx=∫xsec2xdx−∫xdx ------(4)
Given an integral which is not having any upper and lower limit then it’s an indefinite integral.
Hence we add the C while integrating. Where, C is an arbitrary constant called as the constant of integration.
Integration of ⇒−∫xdx=−2x2+c -------(5)
Next, ⇒∫xsec2xdx
Let take u=x ⇒dxdu=1 and
dxdv=sec2x ⇒v=tanx
Then by the method of integration by parts i.e., by the equation (2)
⇒∫xsec2xdx=xtanx−∫tanxdx
Where tanx=cosxsinx put t=cosx ⇒−sinxdx , then
⇒∫xsec2xdx=xtanx−∫−tdt
⇒∫xsec2xdx=xtanx+ln∣t∣+c
⇒∫xsec2xdx=xtanx+ln∣cosx∣+c --------(6)
Substitute the equation (5) and (6) in equation (4)
⇒∫xtan2xdx=xtanx+ln∣cosx∣+c−2x2+c
On simplification, we get
⇒∫xtan2xdx=xtanx+ln∣cosx∣−2x2+C
Where C is an integrating constant.
Hence, the value of ∫xtan2x is xtanx+ln∣cosx∣−2x2+C .
So, the correct answer is “ xtanx+ln∣cosx∣−2x2+C ”.
Note : In integration we have two kinds one is definite integral and other one is indefinite integral. This question comes under the indefinite integral. While integrating the function which is in the form of product or division form we use the integration by parts method. By applying the integration by parts we obtain the solution.