\(\int x\left(\tan ^2 x\right) d x=\)

\(\int x\left(\tan ^2 x\right) d x=\)
  1. \(x \tan (x)-\log _e(\sec x)-\frac{x^2}{2}+c\)
  2. \(x \tan (x)+\log _e(\sec x)-\frac{x^2}{2}+c\)
  3. \(x \tan (x)-\log _e(\sec x)+\frac{x^2}{2}+c\)
  4. \(x \tan (x)+\log _e(\sec x)+\frac{x^2}{2}+c\)

Solution

\(\begin{aligned} I & =\int x\left(\tan ^2 x\right) d x=x \int\left(\sec ^2 x-1\right) d x -\int\left(1 \int\left(\sec ^2 x-1\right) d x\right) d x \\ & =x(\tan x-x)-\int(\tan x-x) d x \\ & =x \tan x-x^2-\log _e(\sec x)+\frac{x^2}{2}+C \\ & =x \tan x-\log _e(\sec x)-\frac{x^2}{2}+C \end{aligned}\) Hence, option (a) is correct.

Asked in: AP EAMCET 2020 (21 Sep Shift 2)

Practice more Indefinite Integration questions on Aicharya