QlarIITy

MathematicsJEE Main 2021 · 27 AugustSingle correct

Let y=y(x)y = y(x) be the solution of the differential equationdydx=2(y+2sin⁡x−5)x−2cos⁡x\frac{dy}{dx} = 2(y + 2\sin x - 5)x - 2\cos xsuch that y(0)=7y(0) = 7. Then y(π)y(\pi) is equal to

  1. Option A: 7eπ2+57e^{\pi^2} + 5
  2. Option B: eπ2+5e^{\pi^2} + 5
  3. Option C: 2eπ2+52e^{\pi^2} + 5
  4. Option D: 3eπ2+53e^{\pi^2} + 5
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A bracket whose derivative reproduces the remaining terms is taken as the new unknown.

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=y+2sin⁡x−5u = y + 2\sin x - 5. Then dudx=dydx+2cos⁡x=2xu\dfrac{du}{dx} = \dfrac{dy}{dx} + 2\cos x = 2xu, which has the form of the refresher with g(x)=2xg(x) = 2x and c=0c = 0.

Approach. Solve the separable equation for the bracket and return to y.

  1. Step 1: The bracket

    Separating gives duu=2xdx\dfrac{du}{u} = 2xdx, so u=Aex2u = Ae^{x^2}. At x=0x = 0, u=7+0−5=2u = 7 + 0 - 5 = 2, so A=2A = 2 and u=2ex2u = 2e^{x^2}.

  2. Step 2: The value

    At x=πx = \pi the sine is 0, so y(π)=u(π)+5=2eπ2+5y(\pi) = u(\pi) + 5 = 2e^{\pi^2} + 5.

Answer. (C) 2eπ2+52e^{\pi^2} + 5

Sanity check. At x=0x = 0 the solution y=2ex2−2sin⁡x+5y = 2e^{x^2} - 2\sin x + 5 gives 2+5=72 + 5 = 7, the starting value.

Why the other options are wrong

  • (A) This takes the constant as 7, the value of y(0)y(0), but the bracket at x=0x = 0 is 7−5=27 - 5 = 2.
  • (B) This takes the constant as 1; the bracket at x=0x = 0 is 7+0−5=27 + 0 - 5 = 2.
  • (D) This takes the constant as 3, but y(0)+2sin⁡0−5y(0) + 2\sin 0 - 5 is 2.

Key takeaway

The trap. The constant is fixed by the value of the bracket at the start, not by the value of y.

How toppers think. They notice that the cosine term is the derivative of the sine term inside the bracket.

Remember. (y+2sin⁡x−5)′=y′+2cos⁡x\left(y + 2\sin x - 5\right)^{\prime} = y^{\prime} + 2\cos x

More on Variable Separable Equations