JEE Main 2020 Mathematics question — Linear first-order differential equations
Let y=y(x) be the solution of the differential equation, y+12+sinx⋅dxdy=−cosx, y>0, y(0)=1. If y(π)=a and dxdy at x=π is b, then the ordered pair (a,b) is equal to:
SOLUTION
We have the differential equation
y+12+sinxdxdy=−cosx,y>0.
First we isolate the differentials. Multiplying both sides by 2+sinxdx and by 1y+1 we get
y+1dy=−2+sinxcosxdx.
This equation is separable, so we integrate both sides. The left side is a standard logarithmic integral, and on the right we notice that the derivative of 2+sinx is cosx, which appears in the numerator.
Left integral:
∫y+1dy=ln∣y+1∣.
Right integral: Put u=2+sinx⇒du=cosxdx. Hence
∫−2+sinxcosxdx=−∫udu=−ln∣u∣=−ln∣2+sinx∣.
So after integrating we obtain
ln∣y+1∣=−ln∣2+sinx∣+C.
Exponentiating both sides gives
∣y+1∣=2+sinxK,
where K=eC is a positive constant. Because the condition y>0 implies y+1>1>0, we can drop the absolute value:
y+1=2+sinxK.
Now we use the initial value y(0)=1. At x=0, sin0=0, so 2+sin0=2. Substituting,
1+1=2K⟹2=2K⟹K=4.
Therefore the explicit solution is
y(x)=2+sinx4−1.
Next, we evaluate y(π). Since sinπ=0, we have
y(π)=2+04−1=24−1=2−1=1.
Thus a=1.
For the derivative, we may either differentiate the explicit form or use the original rearranged formula. From earlier we had
dxdy=−2+sinxcosx(y+1).
At x=π we substitute cosπ=−1, sinπ=0, 2+sinπ=2, and y(π)+1=1+1=2:
dxdyx=π=−2(−1)(2)=21×2=1.
Hence b=1.
We have found the ordered pair (a,b)=(1,1), which matches Option C.
Hence, the correct answer is Option C.
Tagged Linear first-order differential equations. Machine-assigned, so read it as a strong shortlist rather than a verdict.