MCQMediumJEE 2025Linear Differential Equations

JEE Mathematics 2025 Question with Solution

Let y=y(x)y = y(x) be the solution curve of the differential equation x(x2+ex)dy+(ex(x2)yx3)dx=0,x>0, x(x^2 + e^x) \, dy + \left( e^x(x - 2) y - x^3 \right) \, dx = 0, \quad x > 0, passing through the point (1,0)(1, 0). Then y(2)y(2) is equal to:

  • A

    44e2\frac{4}{4 - e^2}

  • B

    22+e2\frac{2}{2 + e^2}

  • C

    22e2\frac{2}{2 - e^2}

  • D

    44+e2\frac{4}{4 + e^2}

Answer

Correct answer:D

Step-by-step solution

Standard Method

Given:

x(x2+ex)dy+(ex(x2)yx3)dx=0 x(x^2+e^x)\,dy+\big(e^x(x-2)y-x^3\big)\,dx=0

with the condition that the curve passes through (1,0)(1,0).

Find: y(2)y(2).

Divide by x(x2+ex)x(x^2+e^x) to write the equation in linear form:

dydx+ex(x2)x(x2+ex)y=x2x2+ex.\frac{dy}{dx}+\frac{e^x(x-2)}{x(x^2+e^x)}\,y=\frac{x^2}{x^2+e^x}.

So this is of the form y+P(x)y=Q(x)y' + P(x)y = Q(x) with

P(x)=ex(x2)x(x2+ex),Q(x)=x2x2+ex.P(x)=\frac{e^x(x-2)}{x(x^2+e^x)},\qquad Q(x)=\frac{x^2}{x^2+e^x}.

Now find the integrating factor:

I.F.=eP(x)dx=eex(x2)x(x2+ex)dx.\text{I.F.}=e^{\int P(x)\,dx}=e^{\int \frac{e^x(x-2)}{x(x^2+e^x)}\,dx}.

Let

t=1+exx2.t=1+\frac{e^x}{x^2}.

Then

dt=ex(x2)x3dx.dt=\frac{e^x(x-2)}{x^3}\,dx.

Hence

ex(x2)x(x2+ex)dx=ex(x2)x3x2+exx2dx=dtt=lnt.\int \frac{e^x(x-2)}{x(x^2+e^x)}\,dx =\int \frac{\tfrac{e^x(x-2)}{x^3}}{\tfrac{x^2+e^x}{x^2}}\,dx =\int \frac{dt}{t} =\ln t.

Therefore,

I.F.=elnt=1+exx2.\text{I.F.}=e^{\ln t}=1+\frac{e^x}{x^2}.

Multiply the differential equation by the integrating factor:

y(1+exx2)=Q(x)I.F.dx+C.y\left(1+\frac{e^x}{x^2}\right)=\int Q(x)\cdot \text{I.F.}\,dx + C.

Now,

x2x2+ex(1+exx2)dx=1dx=x+C.\int \frac{x^2}{x^2+e^x}\left(1+\frac{e^x}{x^2}\right)\,dx =\int 1\,dx =x+C.

So,

y(1+exx2)=x+C.y\left(1+\frac{e^x}{x^2}\right)=x+C.

Use the point (1,0)(1,0):

0(1+e)=1+C.0\cdot(1+e)=1+C.

Thus,

C=1.C=-1.

Therefore,

y=x11+exx2.y=\frac{x-1}{1+\dfrac{e^x}{x^2}}.

Now substitute x=2x=2:

y(2)=11+e24=44+e2.y(2)=\frac{1}{1+\dfrac{e^2}{4}}=\frac{4}{4+e^2}.

Therefore, the correct option is D.

Why the integrating factor simplifies the RHS

After converting the equation into linear form, the key observation is that the integrating factor is

1+exx2=x2+exx2.1+\frac{e^x}{x^2}=\frac{x^2+e^x}{x^2}.

Then the right-hand side becomes

Q(x)I.F.=x2x2+exx2+exx2=1.Q(x)\cdot \text{I.F.}=\frac{x^2}{x^2+e^x}\cdot \frac{x^2+e^x}{x^2}=1.

So the integral becomes immediately

1dx=x+C.\int 1\,dx=x+C.

This gives the compact form

y(1+exx2)=x+C,y\left(1+\frac{e^x}{x^2}\right)=x+C,

from which the initial condition gives C=1C=-1 and finally

y(2)=44+e2.y(2)=\frac{4}{4+e^2}.

Common mistakes

  • Treating the equation as separable is incorrect because yy and xx do not split into a product of one function of yy and one function of xx. Rewrite it first in the linear form y+P(x)y=Q(x)y' + P(x)y = Q(x).

  • Using the wrong substitution while finding the integrating factor leads to an incorrect logarithm. The correct choice is t=1+exx2t = 1 + \frac{e^x}{x^2} because its derivative produces the factor ex(x2)x3\frac{e^x(x-2)}{x^3}.

  • Forgetting to apply the initial condition (1,0)(1,0) after obtaining the general solution leaves the constant undetermined. Substitute the point carefully to get C=1C=-1 before evaluating y(2)y(2).

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