MCQMediumJEE 2025Homogeneous Differential Equations

JEE Mathematics 2025 Question with Solution

Let x=x(y)x = x(y) be the solution of the differential equation:

y=(xydxdy)sin(xy),y>0andx(1)=π2.y = \left( x - y \frac{dx}{dy} \right) \sin\left( \frac{x}{y} \right), \, y > 0 \, \text{and} \, x(1) = \frac{\pi}{2}.

Then cos(x(2))\cos(x(2)) is equal to:

  • A

    12(log2)21 - 2(\log 2)^2

  • B

    2(log2)212(\log 2)^2 - 1

  • C

    2(log2)12(\log 2) - 1

  • D

    12(log2)1 - 2(\log 2)

Answer

Correct answer:B

Step-by-step solution

Standard Method

Given:

y=(xydxdy)sin(xy),y>0,x(1)=π2y = \left( x - y \frac{dx}{dy} \right) \sin\left( \frac{x}{y} \right), \quad y > 0, \quad x(1) = \frac{\pi}{2}

Find: cos(x(2))\cos(x(2))

Use the substitution

v=xyv = \frac{x}{y}

so that

x=vyanddxdy=v+ydvdy.x = vy \quad \text{and} \quad \frac{dx}{dy} = v + y\frac{dv}{dy}.

Substitute into the differential equation:

y=(vyy(v+ydvdy))sinvy = \left( vy - y\left(v + y\frac{dv}{dy}\right) \right) \sin v

which gives

y=(y2dvdy)sinv.y = \left( -y^2\frac{dv}{dy} \right) \sin v.

Since y>0y > 0, divide by yy:

1=ydvdysinv.1 = -y\frac{dv}{dy} \sin v.

Hence

dvdy=1ysinv.\frac{dv}{dy} = -\frac{1}{y\sin v}.

Separate the variables:

sinvdv=dyy.\sin v \, dv = -\frac{dy}{y}.

Integrating,

sinvdv=dyy\int \sin v \, dv = -\int \frac{dy}{y}

so

cosv=logy+C.-\cos v = -\log y + C.

Therefore,

cosv=logy+C1.\cos v = \log y + C_1.

Now apply the initial condition x(1)=π2x(1) = \frac{\pi}{2}. Then

v(1)=x(1)1=π2.v(1) = \frac{x(1)}{1} = \frac{\pi}{2}.

So

cos(π2)=log1+C1\cos\left(\frac{\pi}{2}\right) = \log 1 + C_1

which gives

0=0+C1    C1=0.0 = 0 + C_1 \implies C_1 = 0.

Hence

cos(xy)=logy.\cos\left(\frac{x}{y}\right) = \log y.

At y=2y = 2,

cos(x(2)2)=log2.\cos\left(\frac{x(2)}{2}\right) = \log 2.

Using the identity

cos(2θ)=2cos2θ1,\cos(2\theta) = 2\cos^2\theta - 1,

with θ=x(2)2\theta = \frac{x(2)}{2}, we get

cos(x(2))=2cos2(x(2)2)1=2(log2)21.\cos(x(2)) = 2\cos^2\left(\frac{x(2)}{2}\right) - 1 = 2(\log 2)^2 - 1.

Therefore, cos(x(2))=2(log2)21\cos(x(2)) = 2(\log 2)^2 - 1, so the correct option is B.

Why the direct rearrangement fails

A tempting but incorrect step is to divide the original equation by sin(xy)\sin\left(\frac{x}{y}\right) and conclude

y=xydxdy.y = x - y\frac{dx}{dy}.

This is wrong because the equation is

y=(xydxdy)sin(xy),y = \left( x - y\frac{dx}{dy} \right) \sin\left( \frac{x}{y} \right),

so dividing by sin(xy)\sin\left(\frac{x}{y}\right) gives

ysin(xy)=xydxdy,\frac{y}{\sin\left(\frac{x}{y}\right)} = x - y\frac{dx}{dy},

not y=xydxdyy = x - y\frac{dx}{dy}.

The quantity xy\frac{x}{y} appears inside the sine function, so the natural substitution is

v=xy.v = \frac{x}{y}.

That converts the equation into a separable differential equation in vv and yy, which leads directly to the required expression for cos(x(2))\cos(x(2)).

Common mistakes

  • Dividing by sin(xy)\sin\left(\frac{x}{y}\right) incorrectly. From

    y=(xydxdy)sin(xy)y = \left( x - y\frac{dx}{dy} \right) \sin\left( \frac{x}{y} \right)

    you must get

    ysin(xy)=xydxdy,\frac{y}{\sin\left(\frac{x}{y}\right)} = x - y\frac{dx}{dy},

    not y=xydxdyy = x - y\frac{dx}{dy}. Keep the sine factor in the denominator.

  • Not recognizing the homogeneous form. Because the trigonometric term contains xy\frac{x}{y}, the correct substitution is v=xyv = \frac{x}{y}. Treating it as a linear or directly separable equation in xx and yy leads to an incorrect integral.

  • Differentiating x=vyx = vy incorrectly. The product rule gives

    dxdy=v+ydvdy.\frac{dx}{dy} = v + y\frac{dv}{dy}.

    If the extra term vv is missed, the transformed differential equation becomes wrong.

  • Using the wrong trigonometric identity at the end. From

    cos(x(2)2)=log2,\cos\left(\frac{x(2)}{2}\right) = \log 2,

    you must use

    cos(x(2))=2cos2(x(2)2)1.\cos(x(2)) = 2\cos^2\left(\frac{x(2)}{2}\right) - 1.

    Do not replace cos(x(2))\cos(x(2)) directly by log2\log 2.

Practice more Homogeneous Differential Equations questions

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

Related questions