RankRizz
JEE MAIN 2017 · 02 APR OFFLINE+4 / −1EASYTRANSCRIBED

JEE Main 2017 Mathematics question — Linear first-order differential equations

If (2+sin⁡x)dydx+(y+1)cos⁡x=0(2 + \sin x)\frac{dy}{dx} + (y+1)\cos x = 0 and y(0)=1y(0) = 1, then y(π2)y\left(\frac{\pi}{2}\right) is equal to

SOLUTION

We have the differential equation

(2+sin⁡x) dydx+(y+1)cos⁡x=0.(2+\sin x)\,\frac{dy}{dx} + (y+1)\cos x = 0.

First we isolate dydx\dfrac{dy}{dx}. Dividing both sides by (2+sin⁡x)(2+\sin x) gives

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

Now we separate the variables. Bringing all terms that involve yy to the left and all terms that involve xx to the right, we get

dyy+1=−cos⁡x 2+sin⁡x  dx.\frac{dy}{y+1} = -\frac{\cos x}{\,2+\sin x\,}\,dx.

The equation is now in completely separable form, so we integrate both sides:

∫dyy+1=∫−cos⁡x 2+sin⁡x  dx.\int \frac{dy}{y+1} = \int -\frac{\cos x}{\,2+\sin x\,}\,dx.

On the left we use the standard result ∫duu=ln⁡∣u∣+C\displaystyle\int \frac{du}{u} = \ln|u| + C with u=y+1u = y+1. Thus

∫dyy+1=ln⁡∣y+1∣+C1.\int \frac{dy}{y+1} = \ln|y+1| + C_1.

On the right we make the substitution u=2+sin⁡xu = 2+\sin x, so du=cos⁡x dxdu = \cos x\,dx. Then

∫−cos⁡x 2+sin⁡x  dx=−∫duu=−ln⁡∣u∣+C2=−ln⁡∣2+sin⁡x∣+C2.\int -\frac{\cos x}{\,2+\sin x\,}\,dx = -\int \frac{du}{u} = -\ln|u| + C_2 = -\ln|2+\sin x| + C_2.

Grouping the arbitrary constants into a single constant CC, we can write

ln⁡∣y+1∣=−ln⁡∣2+sin⁡x∣+C.\ln|y+1| = -\ln|2+\sin x| + C.

Adding ln⁡∣2+sin⁡x∣\ln|2+\sin x| to both sides gives

ln⁡∣y+1∣+ln⁡∣2+sin⁡x∣=C.\ln|y+1| + \ln|2+\sin x| = C.

Using the property ln⁡a+ln⁡b=ln⁡(ab)\ln a + \ln b = \ln(ab), this becomes

ln⁡ ⁣∣(y+1)(2+sin⁡x)∣=C.\ln\!\bigl|(y+1)(2+\sin x)\bigr| = C.

Exponentiating both sides removes the logarithm:

(y+1)(2+sin⁡x)=K,(y+1)(2+\sin x) = K,

where K=e CK = e^{\,C} is a non-zero constant.

We now apply the initial condition y(0)=1y(0) = 1. At x=0x = 0 we have sin⁡0=0\sin 0 = 0, so

(1+1) (2+0)=K⟹2×2=K⟹K=4.(1+1)\,\bigl(2 + 0\bigr) = K \quad\Longrightarrow\quad 2 \times 2 = K \quad\Longrightarrow\quad K = 4.

Thus the relation between yy and xx is

(y+1)(2+sin⁡x)=4.(y+1)(2+\sin x) = 4.

Solving for yy gives

y+1=4 2+sin⁡x ,soy=4 2+sin⁡x −1.y + 1 = \frac{4}{\,2+\sin x\,}, \qquad\text{so}\qquad y = \frac{4}{\,2+\sin x\,} - 1.

We are asked to find y ⁣(π2)y\!\left(\dfrac{\pi}{2}\right). Substituting x=π2x = \dfrac{\pi}{2}, we note that sin⁡ ⁣(π2)=1\sin\!\left(\dfrac{\pi}{2}\right) = 1. Hence

y ⁣(π2)=4 2+1 −1=43−1=13.y\!\left(\frac{\pi}{2}\right) = \frac{4}{\,2 + 1\,} - 1 = \frac{4}{3} - 1 = \frac{1}{3}.

Hence, the correct answer is Option A.

Tagged Linear first-order differential equations. Machine-assigned, so read it as a strong shortlist rather than a verdict.

TopicLinear first-order differential equations
TypeMultiple choice