Question:medium

Evaluate the integral: \[ \int \frac{x^2 (x \sec^2 x + \tan x)}{(x \tan x + 1)^2} dx \]

Show Hint

Use integration by parts along with trigonometric identities to simplify complex integrals.
Updated On: Nov 26, 2025
  • \( -\frac{x^2}{x \tan x + 1} \)
  • \( 2 \log_e |x \sin x + \cos x| + C \)
  • \( -\frac{x^2}{x \tan x + 1} + 2 \log_e |x \sin x + \cos x| + C \)
  • \( -\frac{x^2}{x \tan x + 1} - 2 \log_e |x \sin x + \cos x| + C \)