MCQMediumJEE 2026Linear Differential Equations

JEE Mathematics 2026 Question with Solution

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

  • A

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

  • B

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

  • C

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

  • D

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

Answer

Correct answer:B

Step-by-step solution

Integrating factor method

Given: (1+x2)dy+(ytan1x)dx=0(1+x^2)dy+(y-\tan^{-1}x) \, dx=0 with y(0)=1y(0)=1.

Find: y(1)y(1).

Write the equation in linear form:

(1+x2)dydx+y=tan1x(1+x^2)\frac{dy}{dx}+y=\tan^{-1}x

so

dydx+11+x2y=tan1x1+x2\frac{dy}{dx}+\frac{1}{1+x^2}y=\frac{\tan^{-1}x}{1+x^2}

Thus,

P(x)=11+x2,Q(x)=tan1x1+x2P(x)=\frac{1}{1+x^2}, \qquad Q(x)=\frac{\tan^{-1}x}{1+x^2}

The integrating factor is

I.F.=e11+x2dx=etan1x\text{I.F.}=e^{\int \frac{1}{1+x^2} \, dx}=e^{\tan^{-1}x}

Hence,

yetan1x=tan1x1+x2etan1xdx+Cy \, e^{\tan^{-1}x}=\int \frac{\tan^{-1}x}{1+x^2} e^{\tan^{-1}x} \, dx + C

Let

t=tan1xt=\tan^{-1}x

Then

dt=11+x2dxdt=\frac{1}{1+x^2} \, dx

So the integral becomes

tetdt\int t e^t \, dt

Using integration by parts,

tetdt=tetetdt=(t1)et\int t e^t \, dt = t e^t - \int e^t \, dt = (t-1)e^t

Substituting back,

yetan1x=(tan1x1)etan1x+Cy \, e^{\tan^{-1}x}=(\tan^{-1}x-1)e^{\tan^{-1}x}+C

Therefore,

y(x)=tan1x1+Cetan1xy(x)=\tan^{-1}x-1+Ce^{-\tan^{-1}x}

Using y(0)=1y(0)=1,

1=tan1(0)1+Cetan1(0)1=\tan^{-1}(0)-1+Ce^{-\tan^{-1}(0)} 1=1+C1=-1+C

so

C=2C=2

Thus,

y(x)=tan1x1+2etan1xy(x)=\tan^{-1}x-1+2e^{-\tan^{-1}x}

Now at x=1x=1,

y(1)=tan1(1)1+2etan1(1)y(1)=\tan^{-1}(1)-1+2e^{-\tan^{-1}(1)} y(1)=π41+2eπ/4y(1)=\frac{\pi}{4}-1+2e^{-\pi/4} y(1)=2eπ/4+π41y(1)=\frac{2}{e^{\pi/4}}+\frac{\pi}{4}-1

Therefore, the correct option is B.

Recognize the linear differential equation

The crucial step is to identify the equation as a first-order linear differential equation of the form

dydx+P(x)y=Q(x)\frac{dy}{dx}+P(x)y=Q(x)

after dividing by 1+x21+x^2. Once this is done, the integrating factor method gives the particular solution directly. The substitution t=tan1xt=\tan^{-1}x converts the integral into the standard form tetdt\int t e^t \, dt, after which the initial condition determines the constant.

Common mistakes

  • Treating the equation as separable. Here yy and xx do not separate cleanly after rearrangement. It should first be written in the linear form dydx+P(x)y=Q(x)\frac{dy}{dx}+P(x)y=Q(x) and solved using an integrating factor.

  • Using the wrong integrating factor. After dividing by 1+x21+x^2, the coefficient of yy is 11+x2\frac{1}{1+x^2}, so the integrating factor is e11+x2dx=etan1xe^{\int \frac{1}{1+x^2} \, dx}=e^{\tan^{-1}x}, not exe^x or e1+x2e^{1+x^2}.

  • Making an error in the substitution t=tan1xt=\tan^{-1}x. One must use dt=11+x2dxdt=\frac{1}{1+x^2} \, dx exactly; missing this factor gives the wrong integral and hence the wrong final value.

Practice more Linear Differential Equations questions

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

Related questions