RankRizz
JEE MAIN 2021 · 27 AUG S1+4 / −1MEDIUMTRANSCRIBED

JEE Main 2021 Mathematics question — Variable separable equations

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

SOLUTION

We start from the given differential equation

dydx=2(y+2sin⁡x−5)x−2cos⁡x.\frac{dy}{dx}=2\bigl(y+2\sin x-5\bigr)x-2\cos x.

The bracketed expression y+2sin⁡x−5y+2\sin x-5 occurs as a whole, so it is natural to set

u=y+2sin⁡x−5.u=y+2\sin x-5.

Using the chain rule, the derivative of uu with respect to xx is

dudx=dydx+2cos⁡x,\frac{du}{dx}=\frac{dy}{dx}+2\cos x,

because ddx(2sin⁡x)=2cos⁡x\dfrac{d}{dx}\bigl(2\sin x\bigr)=2\cos x and the derivative of the constant −5-5 is zero.

Now we substitute the given value of dydx\dfrac{dy}{dx} into this expression. From the differential equation we have

dydx=2x(y+2sin⁡x−5)−2cos⁡x=2xu−2cos⁡x.\frac{dy}{dx}=2x\bigl(y+2\sin x-5\bigr)-2\cos x=2xu-2\cos x.

Therefore

dudx=(2xu−2cos⁡x)+2cos⁡x=2xu.\frac{du}{dx}= \bigl(2xu-2\cos x\bigr)+2\cos x=2xu.

We have arrived at the much simpler separable equation

dudx=2xu.\frac{du}{dx}=2xu.

Re-arranging,

1u du=2x dx.\frac{1}{u}\,du=2x\,dx.

We integrate both sides:

∫1u du=∫2x dx.\int \frac{1}{u}\,du=\int 2x\,dx.

That gives

ln⁡∣u∣=x2+C,\ln|u|=x^{2}+C,

where CC is the constant of integration. Exponentiating both sides we get

u=C ex2.u=C\,e^{x^{2}}.

Substituting back u=y+2sin⁡x−5u=y+2\sin x-5, we obtain

y+2sin⁡x−5=C ex2,y+2\sin x-5=C\,e^{x^{2}},

so

y=C ex2−2sin⁡x+5.y=C\,e^{x^{2}}-2\sin x+5.

To evaluate the constant CC we use the initial condition y(0)=7y(0)=7. At x=0x=0 we have sin⁡0=0\sin 0=0, hence

7=C e0−2sin⁡0+5=C⋅1−0+5=C+5.7=C\,e^{0}-2\sin 0+5=C\cdot1-0+5=C+5.

Therefore

C=7−5=2.C=7-5=2.

Thus the explicit solution is

y(x)=2 ex2−2sin⁡x+5.y(x)=2\,e^{x^{2}}-2\sin x+5.

Now we need y(π)y(\pi). Because sin⁡π=0\sin\pi=0, we get

y(π)=2 eπ2−2⋅0+5=2eπ2+5.y(\pi)=2\,e^{\pi^{2}}-2\cdot0+5=2e^{\pi^{2}}+5.

Hence, the correct answer is Option C.

Tagged Variable separable equations. Machine-assigned, so read it as a strong shortlist rather than a verdict.

TopicVariable separable equations
TypeMultiple choice