Skip to main content
Back to Differential Equations
JEE Main 2024
Differential Equations
Differential Equations
Hard

Question

Let x=x(y)x=x(y) be the solution of the differential equation y=(xy dx dy)sin(xy),y>0y=\left(x-y \frac{\mathrm{~d} x}{\mathrm{~d} y}\right) \sin \left(\frac{x}{y}\right), y>0 and x(1)=π2x(1)=\frac{\pi}{2}. Then cos(x(2))\cos (x(2)) is equal to :

Options

Solution

Key Concepts and Formulas

  • Differential of a Quotient: d(uv)=vduudvv2d\left(\frac{u}{v}\right) = \frac{v \, du - u \, dv}{v^2}
  • Integration: dyy=lny+C\int \frac{dy}{y} = \ln|y| + C, sin(x)dx=cos(x)+C\int \sin(x) \, dx = -\cos(x) + C
  • Double Angle Formula: cos(2θ)=2cos2(θ)1\cos(2\theta) = 2\cos^2(\theta) - 1

Step-by-Step Solution

Step 1: Rearranging the Differential Equation

The given differential equation is y=(xy dx dy)sin(xy)y=\left(x-y \frac{\mathrm{~d} x}{\mathrm{~d} y}\right) \sin \left(\frac{x}{y}\right). Our aim is to rewrite this in terms of differentials dxdx and dydy. Multiplying both sides by dydy, we get: ydy=(xydxdy)sin(xy)dyy \, dy = \left(x - y \frac{dx}{dy}\right) \sin \left(\frac{x}{y}\right) dy ydy=(xdyydx)sin(xy)y \, dy = \left(x \, dy - y \, dx\right) \sin \left(\frac{x}{y}\right) This removes the fractional derivative.

Step 2: Forming the Exact Differential

We now have ydy=(xdyydx)sin(xy)y \, dy = (x \, dy - y \, dx) \sin \left(\frac{x}{y}\right). We want to relate (xdyydx)(x \, dy - y \, dx) to d(xy)d\left(\frac{x}{y}\right). Recall that d(xy)=ydxxdyy2d\left(\frac{x}{y}\right) = \frac{y \, dx - x \, dy}{y^2}. Multiplying both sides of the equation by 1y2\frac{1}{y^2}, we have ydyy2=(xdyydx)y2sin(xy)\frac{y \, dy}{y^2} = \frac{(x \, dy - y \, dx)}{y^2} \sin \left(\frac{x}{y}\right) dyy=(ydxxdy)y2sin(xy)\frac{dy}{y} = -\frac{(y \, dx - x \, dy)}{y^2} \sin \left(\frac{x}{y}\right) dyy=d(xy)sin(xy)\frac{dy}{y} = -d\left(\frac{x}{y}\right) \sin \left(\frac{x}{y}\right) This isolates the differential of the quotient.

Step 3: Integrating the Differential Equation

The equation is now dyy=sin(xy)d(xy)\frac{dy}{y} = -\sin \left(\frac{x}{y}\right) d\left(\frac{x}{y}\right). Let u=xyu = \frac{x}{y}. Then du=d(xy)du = d\left(\frac{x}{y}\right). Substituting, we have dyy=sin(u)du\frac{dy}{y} = -\sin(u) \, du Integrating both sides, we get dyy=sin(u)du\int \frac{dy}{y} = -\int \sin(u) \, du lny=cos(u)+C\ln |y| = \cos(u) + C Since y>0y>0, we have lny=cos(u)+C\ln y = \cos(u) + C. Substituting back u=xyu = \frac{x}{y}, we have lny=cos(xy)+C\ln y = \cos \left(\frac{x}{y}\right) + C This yields the general solution.

Step 4: Applying the Initial Condition

We are given x(1)=π2x(1) = \frac{\pi}{2}. This means when y=1y=1, x=π2x = \frac{\pi}{2}. Substituting these values into the general solution, we get ln(1)=cos(π/21)+C\ln(1) = \cos \left(\frac{\pi/2}{1}\right) + C 0=cos(π2)+C0 = \cos \left(\frac{\pi}{2}\right) + C 0=0+C0 = 0 + C C=0C = 0 Therefore, the particular solution is lny=cos(xy)\ln y = \cos \left(\frac{x}{y}\right)

Step 5: Evaluating cos(x(2))\cos(x(2))

We need to find cos(x(2))\cos(x(2)). Substituting y=2y=2 into the particular solution, we get ln2=cos(x(2)2)\ln 2 = \cos \left(\frac{x(2)}{2}\right) Let x2=x(2)x_2 = x(2). Then ln2=cos(x22)\ln 2 = \cos \left(\frac{x_2}{2}\right) We want to find cos(x2)\cos(x_2). Using the double angle formula, cos(2θ)=2cos2(θ)1\cos(2\theta) = 2\cos^2(\theta) - 1, with θ=x22\theta = \frac{x_2}{2}, we have cos(x2)=2cos2(x22)1\cos(x_2) = 2\cos^2 \left(\frac{x_2}{2}\right) - 1 Substituting cos(x22)=ln2\cos \left(\frac{x_2}{2}\right) = \ln 2, we get cos(x2)=2(ln2)21\cos(x_2) = 2(\ln 2)^2 - 1 Therefore, cos(x(2))=2(ln2)21\cos(x(2)) = 2(\ln 2)^2 - 1.

Common Mistakes & Tips

  • Remember the sign in the differential of a quotient. It's easy to mix up d(xy)d\left(\frac{x}{y}\right) and d(yx)d\left(\frac{y}{x}\right).
  • Don't forget the constant of integration, CC, and remember to apply the initial condition to find its value.
  • Be careful when applying trigonometric identities. Choose the correct identity and substitute values carefully.

Summary

We solved the given differential equation by recognizing the exact differential form related to the quotient xy\frac{x}{y}. After integrating and applying the initial condition, we found the particular solution. Finally, we used the double-angle formula to evaluate cos(x(2))\cos(x(2)), obtaining the result 2(ln2)212(\ln 2)^2 - 1.

Final Answer

The final answer is 2(loge2)21\boxed{2\left(\log _e 2\right)^2-1}, which corresponds to option (D).

Practice More Differential Equations Questions

View All Questions