QlarIITy

MathematicsJEE Main 2026 · 21 JanuarySingle correct

Let y=y(x)y = y(x) be the solution curve of the differential equation(1+x2)dy+(y−tan⁡−1x)dx=0\left(1 + x^2\right) dy + \left(y - \tan^{-1} x\right) dx = 0, y(0)=1y(0) = 1. Then the value of y(1)y(1) is :

  1. Option A: 4eπ/4−π2−1\frac{4}{e^{\pi/4}} - \frac{\pi}{2} - 1
  2. Option B: 2eπ/4+π4−1\frac{2}{e^{\pi/4}} + \frac{\pi}{4} - 1
  3. Option C: 4eπ/4+π2−1\frac{4}{e^{\pi/4}} + \frac{\pi}{2} - 1
  4. Option D: 2eπ/4−π4−1\frac{2}{e^{\pi/4}} - \frac{\pi}{4} - 1
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. When the coefficient is the derivative of the inverse tangent, the substitution for the inverse tangent turns the equation into one with constant coefficients.

Concept refresher. A linear first order equation dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), with PP and QQ continuous, has the integrating factor I(x)=e∫P dxI(x) = e^{\int P\ dx}, and

y⋅I(x)=∫Q(x)I(x) dx+Cy \cdot I(x) = \int Q(x)I(x)\ dx + C

Integration by parts gives ∫tet dt=tet−∫et dt=(t−1)et+C\int t e^t\ dt = te^t - \int e^t\ dt = (t - 1)e^t + C.

Approach. Write the equation in linear form, find the integrating factor etan⁡−1xe^{\tan^{-1} x}, integrate with t=tan⁡−1xt = \tan^{-1} x, use y(0)=1y(0) = 1 to fix the constant, then put x=1x = 1.

  1. Step 1: Linear form

    Dividing by (1+x2) dx(1 + x^2)\ dx puts the equation in the standard linear form:

    dydx+y1+x2=tan⁡−1x1+x2\frac{dy}{dx} + \frac{y}{1 + x^2} = \frac{\tan^{-1} x}{1 + x^2}

    so P=11+x2P = \frac{1}{1 + x^2} and Q=tan⁡−1x1+x2Q = \frac{\tan^{-1} x}{1 + x^2}.

  2. Step 2: Integrating factor

    Since ∫dx1+x2=tan⁡−1x\int \frac{dx}{1 + x^2} = \tan^{-1} x, the integrating factor is etan⁡−1xe^{\tan^{-1} x}, and

    yetan⁡−1x=∫tan⁡−1x1+x2etan⁡−1x dxy e^{\tan^{-1} x} = \int \frac{\tan^{-1} x}{1 + x^2} e^{\tan^{-1} x}\ dx
  3. Step 3: Integrate with t = tan inverse x

    Putting t=tan⁡−1xt = \tan^{-1} x, dt=dx1+x2dt = \frac{dx}{1 + x^2}, and integrating by parts:

    yet=∫tet dt=(t−1)et+Cy=t−1+Ce−t\begin{aligned} y e^t &= \int t e^t\ dt = (t - 1)e^t + C \\[4pt] y &= t - 1 + Ce^{-t} \end{aligned}
  4. Step 4: Use the initial value

    At x=0x = 0, t=0t = 0 and y=1y = 1, so 1=−1+C1 = -1 + C and C=2C = 2. At x=1x = 1, t=π4t = \frac{\pi}{4}:

    y(1)=π4−1+2e−π/4=2eπ/4+π4−1y(1) = \frac{\pi}{4} - 1 + 2e^{-\pi/4} = \frac{2}{e^{\pi/4}} + \frac{\pi}{4} - 1

Answer. (B) 2eπ/4+π4−1\frac{2}{e^{\pi/4}} + \frac{\pi}{4} - 1

Sanity check. Check in tt: y=t−1+2e−ty = t - 1 + 2e^{-t} gives dydt=1−2e−t\frac{dy}{dt} = 1 - 2e^{-t}, and dydt+y=t\frac{dy}{dt} + y = t, which is the equation after dividing by dx1+x2\frac{dx}{1 + x^2}; also y(0)=−1+2=1y(0) = -1 + 2 = 1. Numerically y(1)≈0.912+0.785−1=0.697y(1) \approx 0.912 + 0.785 - 1 = 0.697.

Why the other options are wrong

  • (A) In y=tan⁡−1x−1+Ce−tan⁡−1xy = \tan^{-1} x - 1 + Ce^{-\tan^{-1} x} the coefficient of tan⁡−1x\tan^{-1} x is fixed at 11 by the equation, so y(1)y(1) always contains +π4+\frac{\pi}{4}; the term −π2-\frac{\pi}{2} cannot occur.
  • (C) would need y=2tan⁡−1x−1+4e−tan⁡−1xy = 2\tan^{-1} x - 1 + 4e^{-\tan^{-1} x}, which gives y(0)=3y(0) = 3, not 11, and does not satisfy the equation.
  • (D) With t=tan⁡−1xt = \tan^{-1} x the equation is dydt+y=t\frac{dy}{dt} + y = t; the form y=−t−1+2e−ty = -t - 1 + 2e^{-t} behind this option gives dydt+y=−t−2−2e−t+2e−t=−t−2\frac{dy}{dt} + y = -t - 2 - 2e^{-t} + 2e^{-t} = -t - 2, so the sign of the particular part is wrong.

Key takeaway

The trap. A sign slip in the integration by parts, which gives the option with minus pi by four.

How toppers think. They change the variable first, so the equation becomes y prime plus y equals t and the particular part t minus one is seen at once.

Remember. The integrating factor of dydx+Py=Q\frac{dy}{dx} + Py = Q is e∫P dxe^{\int P\ dx}.

More on Linear Differential Equations