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

JEE Main 2021 Mathematics question — Variable separable equations

If dydx=2x+y−2x2y\frac{dy}{dx} = \frac{2^{x+y} - 2^x}{2^y}, y(0)=1y(0) = 1, then y(1)y(1) is equal to:

SOLUTION

We are given the differential equation dydx=2x+y−2x2y\frac{dy}{dx}= \frac{2^{x+y}-2^x}{2^y} with the condition y(0)=1y(0)=1 and we must find y(1)y(1).

First we simplify the right-hand side. We have 2x+y=2x⋅2y2^{x+y}=2^x\cdot2^y, so

2x+y−2x2y=2x⋅2y−2x2y=2x⋅2y−12y=2x(1−12y).\frac{2^{x+y}-2^x}{2^y}= \frac{2^x\cdot2^y-2^x}{2^y}=2^x\cdot\frac{2^y-1}{2^y}=2^x\left(1-\frac{1}{2^y}\right).

Thus the equation becomes dydx=2x(1−2−y).\frac{dy}{dx}=2^x\Bigl(1-2^{-y}\Bigr).

To separate the variables we divide by 1−2−y1-2^{-y} and multiply by dxdx, obtaining

dy1−2−y=2x dx.\frac{dy}{1-2^{-y}} = 2^x\,dx.

Now we integrate both sides. For the left side we set u=2−yu=2^{-y}, so ln⁡u=−yln⁡2  ⟹  y=−ln⁡uln⁡2,\ln u = -y\ln2 \;\Longrightarrow\; y=-\frac{\ln u}{\ln2}, hence dy=−1ln⁡2duu.dy=-\frac{1}{\ln2}\frac{du}{u}.

Substituting into the integral gives

∫dy1−2−y=−1ln⁡2∫duu(1−u).\int\frac{dy}{1-2^{-y}} = -\frac{1}{\ln2}\int\frac{du}{u(1-u)}.

We use partial fractions: 1u(1−u)=1u+11−u,\frac{1}{u(1-u)}=\frac{1}{u}+\frac{1}{1-u}, so

−1ln⁡2∫(1u+11−u)du=−1ln⁡2(ln⁡∣u∣−ln⁡∣1−u∣)=1ln⁡2ln⁡∣1−uu∣.-\frac{1}{\ln2}\int\left(\frac{1}{u}+\frac{1}{1-u}\right)du = -\frac{1}{\ln2}\Bigl(\ln|u| - \ln|1-u|\Bigr) = \frac{1}{\ln2}\ln\left|\frac{1-u}{u}\right|.

Replacing uu by 2−y2^{-y} gives

∫dy1−2−y=1ln⁡2ln⁡(2y−1).\int\frac{dy}{1-2^{-y}} = \frac{1}{\ln2}\ln\Bigl(2^y-1\Bigr).

For the right side we use the standard formula ∫ax dx=axln⁡a+C.\int a^x\,dx=\frac{a^x}{\ln a}+C. With a=2a=2 we get

∫2x dx=2xln⁡2+C.\int 2^x\,dx=\frac{2^x}{\ln2}+C.

Equating the two antiderivatives and multiplying through by ln⁡2\ln2 yields

ln⁡ ⁣(2y−1)=2x+C1,\ln\!\bigl(2^y-1\bigr)=2^x+C_1,

where C1C_1 is a constant.

We apply the initial condition y(0)=1y(0)=1. Substituting x=0,  y=1x=0,\;y=1 gives

ln⁡ ⁣(21−1)=ln⁡1=0=20+C1=1+C1,\ln\!\bigl(2^1-1\bigr)=\ln 1=0=2^0+C_1=1+C_1,

so C1=−1.C_1=-1.

Thus ln⁡ ⁣(2y−1)=2x−1.\ln\!\bigl(2^y-1\bigr)=2^x-1.

Exponentiating both sides we obtain

2y−1=e 2x−1,so2y=1+e 2x−1.2^y-1=e^{\,2^x-1}, \qquad\text{so}\qquad 2^y=1+e^{\,2^x-1}.

Taking logarithm base 2 finally gives

y=log⁡2 ⁣(1+e 2x−1).y=\log_2\!\bigl(1+e^{\,2^x-1}\bigr).

Now we need y(1)y(1). Putting x=1x=1 makes 2x=22^x=2, hence

y(1)=log⁡2 ⁣(1+e 2−1)=log⁡2(1+e).y(1)=\log_2\!\bigl(1+e^{\,2-1}\bigr)=\log_2(1+e).

Hence, the correct answer is Option D.

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

TopicVariable separable equations
TypeMultiple choice