Mathematics · Differential Equations

JEE Main 2026 — 21 January, Morning Shift — Question 8

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) d y+\left(y-\tan ^{-1} x\right) d x=0, y(0)=1y(0)=1. Then the value of y(1)y(1) is :

  1. Option A:

    2eπ4+π4−1\frac{2}{\mathrm{e}^{\frac{\pi}{4}}}+\frac{\pi}{4}-1

    Correct
  2. Option B:

    2eπ4−π4−1\frac{2}{\mathrm{e}^{\frac{\pi}{4}}}-\frac{\pi}{4}-1

  3. Option C:

    4eπ4+π2−1\frac{4}{e^{\frac{\pi}{4}}}+\frac{\pi}{2}-1

  4. Option D:

    4eπ4−π2−1\frac{4}{e^{\frac{\pi}{4}}}-\frac{\pi}{2}-1

Answer: A

Step-by-step solution

Given: (1+x2) dy+(y−tan⁡−1x) dx=0(1+x^2) \, dy + (y - \tan^{-1} x) \, dx = 0. Rewrite as: dydx+y1+x2=tan⁡−1x1+x2\frac{dy}{dx} + \frac{y}{1+x^2} = \frac{\tan^{-1} x}{1+x^2}. Integrating factor: I.F.=e∫11+x2 dx=etan⁡−1x\text{I.F.} = e^{\int \frac{1}{1+x^2} \, dx} = e^{\tan^{-1} x}. Multiply both sides: etan⁡−1xdydx+yetan⁡−1x1+x2=etan⁡−1xtan⁡−1x1+x2e^{\tan^{-1} x} \frac{dy}{dx} + \frac{y e^{\tan^{-1} x}}{1+x^2} = \frac{e^{\tan^{-1} x} \tan^{-1} x}{1+x^2}. Left side is ddx(yetan⁡−1x)\frac{d}{dx} \left( y e^{\tan^{-1} x} \right). Integrate: yetan⁡−1x=∫etan⁡−1xtan⁡−1x1+x2 dxy e^{\tan^{-1} x} = \int \frac{e^{\tan^{-1} x} \tan^{-1} x}{1+x^2} \, dx. Let u=tan⁡−1xu = \tan^{-1} x, then du=dx1+x2du = \frac{dx}{1+x^2}, so RHS = ∫ueu du=ueu−eu+C=etan⁡−1x(tan⁡−1x−1)+C\int u e^u \, du = u e^u - e^u + C = e^{\tan^{-1} x} (\tan^{-1} x - 1) + C. Thus yetan⁡−1x=etan⁡−1x(tan⁡−1x−1)+Cy e^{\tan^{-1} x} = e^{\tan^{-1} x} (\tan^{-1} x - 1) + C. Using y(0)=1y(0)=1: 1⋅e0=e0(0−1)+C⇒1=−1+C⇒C=21 \cdot e^{0} = e^{0}(0-1)+C \Rightarrow 1 = -1 + C \Rightarrow C = 2. Hence y=tan⁡−1x−1+2e−tan⁡−1xy = \tan^{-1} x - 1 + 2 e^{-\tan^{-1} x}. At x=1x=1: y(1)=π4−1+2e−π/4=2e−π/4+π4−1y(1) = \frac{\pi}{4} - 1 + 2 e^{-\pi/4} = 2 e^{-\pi/4} + \frac{\pi}{4} - 1.

Answer key and solution verified before publishing.

Practise Differential Equations

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Main 2026
Subject
Mathematics
Chapter
Differential Equations
Topic
Methods of solving a First Order,First Degree Differential
Let y=y(x) be the solution curve of the differential equation (1+x 2… | JEE Main 2026 PYQ with Solution · DhiX AI