QlarIITy

MathematicsJEE Main 2021 · 25 JulyInteger

Let y=y(x)y = y(x) be solution of the following differential equationeydydx−2eysin⁡x+sin⁡xcos⁡2x=0,y(π2)=0e^y\frac{dy}{dx} - 2e^y\sin x + \sin x\cos^2 x = 0, y\left(\frac{\pi}{2}\right) = 0. If y(0)=log⁡e(α+βe−2)y(0) = \log_e(\alpha + \beta e^{-2}), then 4(α+β)4(\alpha + \beta) 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. A product of the exponential of y and the slope makes the exponential of y the natural unknown.

Concept refresher. The linear equation y′+Py=Qy^{\prime} + Py = Q is solved by multiplying by the integrating factor e∫Pdxe^{\int Pdx}, which turns it into

(ye∫Pdx)′=Qe∫Pdx\left(ye^{\int Pdx}\right)^{\prime} = Qe^{\int Pdx}

Picture the situation. Put u=eyu = e^y, so dudx=eydydx\dfrac{du}{dx} = e^y\dfrac{dy}{dx} and the equation is dudx−2usin⁡x=−sin⁡xcos⁡2x\dfrac{du}{dx} - 2u\sin x = -\sin x\cos^2 x, linear with P=−2sin⁡xP = -2\sin x. Since ∫Pdx=2cos⁡x\int Pdx = 2\cos x, the integrating factor is e2cos⁡xe^{2\cos x}.

Approach. Integrate with the cosine as variable, fit the constant, and evaluate at 0.

  1. Step 1: Integrating

    With c=cos⁡xc = \cos x, dc=−sin⁡xdxdc = -\sin xdx, so ddc(ue2c)=c2e2c\dfrac{d}{dc}\left(ue^{2c}\right) = c^2e^{2c}. Integrating by parts twice gives ue2c=e2c(c22−c2+14)+Kue^{2c} = e^{2c}\left(\dfrac{c^2}{2} - \dfrac{c}{2} + \dfrac{1}{4}\right) + K.

  2. Step 2: The constant

    At x=π2x = \dfrac{\pi}{2}, c=0c = 0 and u=e0=1u = e^0 = 1, so 1=14+K1 = \dfrac{1}{4} + K and K=34K = \dfrac{3}{4}.

  3. Step 3: The value

    At x=0x = 0, c=1c = 1, so ey(0)=12−12+14+34e−2e^{y(0)} = \dfrac{1}{2} - \dfrac{1}{2} + \dfrac{1}{4} + \dfrac{3}{4}e^{-2}. Hence α=14\alpha = \dfrac{1}{4}, β=34\beta = \dfrac{3}{4} and 4(α+β)=44(\alpha + \beta) = 4.

Answer. 4

Sanity check. The value ey(0)=14+34e−2e^{y(0)} = \dfrac{1}{4} + \dfrac{3}{4}e^{-2} is about 0.35, positive as an exponential must be, and it has exactly the form α+βe−2\alpha + \beta e^{-2}.

Common wrong answers

  • 5: Taking K=1K = 1, that is forgetting the 14\dfrac{1}{4} at c=0c = 0, gives β=1\beta = 1 and the value 5.

Key takeaway

The trap. At the starting point the integrated bracket is one quarter, not 0.

How toppers think. They change the variable to the cosine, which removes the sine from the integral.

Remember. ∫c2e2cdc\int c^2e^{2c}dc is e2c(c22−c2+14)+Ce^{2c}\left(\dfrac{c^2}{2} - \dfrac{c}{2} + \dfrac{1}{4}\right) + C

More on Linear Differential Equations