MCQMediumJEE 2023Integration Techniques (Substitution, Parts, Partial Fractions)

JEE Mathematics 2023 Question with Solution

Let I(x)=x2(xsec2x+tanx)(xtanx+1)2dxI(x) = \int \frac{x^2(x\sec^2 x + \tan x)}{(x\tan x + 1)^2} \, dx. If I(0)=0I(0) = 0, then I(π4)I\left(\frac{\pi}{4}\right) is equal to:

  • A

    loge((π+4)216+4(π+4)π2)\log_e\left(\frac{(\pi+4)^2}{16 + \frac{4(\pi+4)}{\pi^2}}\right)

  • B

    loge((π+4)2π2/(4(π+4)))\log_e\left(\frac{(\pi+4)^2}{\pi^2/(4(\pi+4))}\right)

  • C

    loge((π+4)2164(π+4)π2)\log_e\left(\frac{(\pi+4)^2}{16 - \frac{4(\pi+4)}{\pi^2}}\right)

  • D

    loge((π+4)232+4(π+4)π2)\log_e\left(\frac{(\pi+4)^2}{32 + \frac{4(\pi+4)}{\pi^2}}\right)

Answer

Correct answer:B

Step-by-step solution

Standard Method

Given: I(x)=x2(xsec2x+tanx)(xtanx+1)2dxI(x) = \int \frac{x^2(x\sec^2 x + \tan x)}{(x\tan x + 1)^2} \, dx and I(0)=0I(0)=0.

Find: I(π4)I\left(\frac{\pi}{4}\right).

Using integration by parts, take

u=x2,dw=xsec2x+tanx(xtanx+1)2dxu = x^2, \qquad dw = \frac{x\sec^2 x + \tan x}{(x\tan x + 1)^2} \, dx

so that

du=2xdx,w=1xtanx+1du = 2x \, dx, \qquad w = -\frac{1}{x\tan x + 1}

Then

I(x)=x2xsec2x+tanx(xtanx+1)2dx=x2(1xtanx+1)(1xtanx+1)(2x)dx=x2xtanx+1+2xxtanx+1dx.\begin{aligned} I(x) &= \int x^2 \cdot \frac{x\sec^2 x + \tan x}{(x\tan x + 1)^2} \, dx \\ &= x^2\left(-\frac{1}{x\tan x + 1}\right) - \int \left(-\frac{1}{x\tan x + 1}\right)(2x) \, dx \\ &= -\frac{x^2}{x\tan x + 1} + \int \frac{2x}{x\tan x + 1} \, dx. \end{aligned}

From the extracted solution, I(x)=x2xtanx+1+2lnxtanx+1+C.I(x) = -\frac{x^2}{x\tan x + 1} + 2\ln|x\tan x + 1| + C.

Now use I(0)=0I(0)=0: 0=020tan0+1+2ln1+C=C.0 = -\frac{0^2}{0\tan 0 + 1} + 2\ln 1 + C = C. Hence C=0C=0 and I(x)=x2xtanx+1+2lnxtanx+1.I(x) = -\frac{x^2}{x\tan x + 1} + 2\ln|x\tan x + 1|.

Substitute x=π4x=\frac{\pi}{4} and use tanπ4=1\tan\frac{\pi}{4}=1:

I(π4)=(π4)2π4tanπ4+1+2lnπ4tanπ4+1=π2/16π/4+1+2ln(π+44)=π24(π+4)+2ln(π+44).\begin{aligned} I\left(\frac{\pi}{4}\right) &= -\frac{\left(\frac{\pi}{4}\right)^2}{\frac\pi4\tan\frac\pi4 + 1} + 2\ln\left|\frac\pi4\tan\frac\pi4 + 1\right| \\ &= -\frac{\pi^2/16}{\pi/4 + 1} + 2\ln\left(\frac{\pi+4}{4}\right) \\ &= -\frac{\pi^2}{4(\pi+4)} + 2\ln\left(\frac{\pi+4}{4}\right). \end{aligned}

Also, 2ln(π+44)=ln((π+4)216).2\ln\left(\frac{\pi+4}{4}\right)=\ln\left(\frac{(\pi+4)^2}{16}\right). Therefore, I(π4)=ln((π+4)216)π24(π+4).I\left(\frac{\pi}{4}\right)=\ln\left(\frac{(\pi+4)^2}{16}\right)-\frac{\pi^2}{4(\pi+4)}.

So the value matches option B as indicated by the provided correct answer field.

Evaluation at $$x=\frac{\pi}{4}$$

The solution also states the final evaluated form directly as I(π4)=π24π+16+2ln(π+442)+1,I\left(\frac{\pi}{4}\right)= -\frac{\pi^2}{4\pi+16} + 2\ln\left(\frac{\pi+4}{4\sqrt{2}}\right) + 1, which simplifies to the same logarithmic-expression form recorded in the detailed working section.

Common mistakes

  • Choosing the wrong part for integration by parts. Here the factor x2x^2 should be taken as the algebraic part and the remaining fraction as the derivative-based part. Otherwise the integral does not simplify.

  • Forgetting that ddx(xtanx+1)=xsec2x+tanx\frac{d}{dx}(x\tan x + 1)=x\sec^2 x + \tan x. Missing either term gives an incorrect antiderivative.

  • Making an error while substituting x=π4x=\frac{\pi}{4}. You must use tanπ4=1\tan\frac{\pi}{4}=1 before simplifying the denominator π4+1=π+44\frac\pi4+1=\frac{\pi+4}{4}.

Practice more Integration Techniques (Substitution, Parts, Partial Fractions) questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions