QlarIITy

MathematicsJEE Main 2021 · 26 FebruaryInteger

If y=y(x)y = y(x) is the solution of the equationesin⁡ycos⁡ydydx+esin⁡ycos⁡x=cos⁡x,y(0)=0e^{\sin y}\cos y\frac{dy}{dx} + e^{\sin y}\cos x = \cos x, y(0) = 0; then 1+y(π6)+32y(π3)+12y(π4)1 + y\left(\frac{\pi}{6}\right) + \frac{\sqrt{3}}{2}y\left(\frac{\pi}{3}\right) + \frac{1}{\sqrt{2}}y\left(\frac{\pi}{4}\right) is equal to ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. When the starting value already satisfies the equation as a constant, that constant is the solution.

Concept refresher. An equation of the form dydx=g(x)(y+c)\dfrac{dy}{dx} = g(x)(y + c) separates into

dyy+c=g(x)dx\dfrac{dy}{y + c} = g(x)dx

and its left side integrates to log⁡e∣y+c∣\log_e|y + c|.

Picture the situation. Put u=esin⁡yu = e^{\sin y}, so that dudx=esin⁡ycos⁡ydydx\dfrac{du}{dx} = e^{\sin y}\cos y\dfrac{dy}{dx}. The equation becomes dudx+ucos⁡x=cos⁡x\dfrac{du}{dx} + u\cos x = \cos x, that is dudx=−cos⁡x×(u−1)\dfrac{du}{dx} = -\cos x \times (u - 1), which has the form of the refresher.

Approach. Solve for the new unknown and use the starting value.

  1. Step 1: The solution

    Separating gives duu−1=−cos⁡xdx\dfrac{du}{u - 1} = -\cos xdx, so u−1=Ke−sin⁡xu - 1 = Ke^{-\sin x}. At x=0x = 0, y=0y = 0 and u=1u = 1, so K=0K = 0 and u=1u = 1 for every xx.

  2. Step 2: The value

    So esin⁡y=1e^{\sin y} = 1, that is sin⁡y=0\sin y = 0, and since yy is continuous with y(0)=0y(0) = 0, y=0y = 0 everywhere. Every term with yy in the expression vanishes, leaving 1.

Answer. 1

Sanity check. With y=0y = 0 each of the three terms y(π6)y\left(\dfrac{\pi}{6}\right), 32y(π3)\dfrac{\sqrt{3}}{2}y\left(\dfrac{\pi}{3}\right) and 12y(π4)\dfrac{1}{\sqrt{2}}y\left(\dfrac{\pi}{4}\right) is 0, whatever its coefficient.

Smart method. Try the constant y=0y = 0: the first term of the equation vanishes, esin⁡0cos⁡x=cos⁡xe^{\sin 0}\cos x = \cos x, and y(0)=0y(0) = 0 holds. So y=0y = 0 is the solution, and the expression equals 1.

Common wrong answers

  • 0: Adding only the terms with yy, and dropping the leading 1, gives 0.

Key takeaway

The trap. The expression asked for begins with a 1 that does not depend on y.

How toppers think. They test the constant solution before doing any integration.

Remember. (esin⁡y)′=esin⁡ycos⁡y×y′\left(e^{\sin y}\right)^{\prime} = e^{\sin y}\cos y \times y^{\prime}

More on Linear Differential Equations