Skip to main content
Back to Differential Equations
JEE Main 2024
Differential Equations
Differential Equations
Hard

Question

If dydx+2xy(2y1)2x1=0{{dy} \over {dx}} + {{{2^{x - y}}({2^y} - 1)} \over {{2^x} - 1}} = 0, x, y > 0, y(1) = 1, then y(2) is equal to :

Options

Solution

Key Concepts and Formulas

  • Variable Separable Differential Equations: A differential equation of the form dydx=f(x)g(y)\frac{dy}{dx} = \frac{f(x)}{g(y)} can be solved by separating variables and integrating.
  • Integration Formulas: 1xdx=lnx+C\int \frac{1}{x} dx = \ln|x| + C, f(x)f(x)dx=lnf(x)+C\int \frac{f'(x)}{f(x)} dx = \ln|f(x)| + C
  • Logarithm Properties: logab=lnblna\log_a b = \frac{\ln b}{\ln a}, alogax=xa^{\log_a x} = x, logax+logay=loga(xy)\log_a x + \log_a y = \log_a (xy), logaxlogay=loga(xy)\log_a x - \log_a y = \log_a (\frac{x}{y})

Step-by-Step Solution

Step 1: Separate the variables

We are given the differential equation: dydx+2xy(2y1)2x1=0\frac{dy}{dx} + \frac{2^{x-y}(2^y - 1)}{2^x - 1} = 0 Our goal is to separate the variables xx and yy. First, subtract the second term from both sides: dydx=2xy(2y1)2x1\frac{dy}{dx} = - \frac{2^{x-y}(2^y - 1)}{2^x - 1} Rewrite 2xy2^{x-y} as 2x2y\frac{2^x}{2^y}: dydx=2x(2y1)2y(2x1)\frac{dy}{dx} = - \frac{2^x (2^y - 1)}{2^y (2^x - 1)} Now, separate the variables: 2y2y1dy=2x2x1dx\frac{2^y}{2^y - 1} dy = - \frac{2^x}{2^x - 1} dx

Step 2: Integrate both sides

Integrate both sides of the equation with respect to their respective variables: 2y2y1dy=2x2x1dx\int \frac{2^y}{2^y - 1} dy = - \int \frac{2^x}{2^x - 1} dx Let's evaluate the left-hand side integral. Let u=2y1u = 2^y - 1, then du=2yln2dydu = 2^y \ln 2 \, dy, so 2ydy=duln22^y dy = \frac{du}{\ln 2}. Therefore, 2y2y1dy=1uduln2=1ln21udu=1ln2lnu+C1=1ln2ln2y1+C1\int \frac{2^y}{2^y - 1} dy = \int \frac{1}{u} \frac{du}{\ln 2} = \frac{1}{\ln 2} \int \frac{1}{u} du = \frac{1}{\ln 2} \ln |u| + C_1 = \frac{1}{\ln 2} \ln |2^y - 1| + C_1 Similarly, for the right-hand side integral, let v=2x1v = 2^x - 1, then dv=2xln2dxdv = 2^x \ln 2 \, dx, so 2xdx=dvln22^x dx = \frac{dv}{\ln 2}. Therefore, 2x2x1dx=1vdvln2=1ln21vdv=1ln2lnv+C2=1ln2ln2x1+C2- \int \frac{2^x}{2^x - 1} dx = - \int \frac{1}{v} \frac{dv}{\ln 2} = - \frac{1}{\ln 2} \int \frac{1}{v} dv = - \frac{1}{\ln 2} \ln |v| + C_2 = - \frac{1}{\ln 2} \ln |2^x - 1| + C_2 Combining these results, we have: 1ln2ln2y1=1ln2ln2x1+C\frac{1}{\ln 2} \ln |2^y - 1| = - \frac{1}{\ln 2} \ln |2^x - 1| + C where C=C2C1C = C_2 - C_1. Multiply both sides by ln2\ln 2: ln2y1=ln2x1+Cln2\ln |2^y - 1| = - \ln |2^x - 1| + C \ln 2 Let K=Cln2K = C \ln 2, then ln2y1=ln2x1+K\ln |2^y - 1| = - \ln |2^x - 1| + K ln2y1+ln2x1=K\ln |2^y - 1| + \ln |2^x - 1| = K ln(2y1)(2x1)=K\ln |(2^y - 1)(2^x - 1)| = K (2y1)(2x1)=eK=A(2^y - 1)(2^x - 1) = e^K = A where AA is a constant.

Step 3: Apply the initial condition

We are given that y(1)=1y(1) = 1. Substitute x=1x = 1 and y=1y = 1 into the equation: (211)(211)=A(2^1 - 1)(2^1 - 1) = A (21)(21)=A(2 - 1)(2 - 1) = A (1)(1)=A(1)(1) = A A=1A = 1 So, the equation becomes: (2y1)(2x1)=1(2^y - 1)(2^x - 1) = 1

Step 4: Find y(2)

We want to find y(2)y(2), so we substitute x=2x = 2 into the equation: (2y1)(221)=1(2^y - 1)(2^2 - 1) = 1 (2y1)(41)=1(2^y - 1)(4 - 1) = 1 (2y1)(3)=1(2^y - 1)(3) = 1 2y1=132^y - 1 = \frac{1}{3} 2y=1+13=432^y = 1 + \frac{1}{3} = \frac{4}{3} y=log2(43)y = \log_2 \left( \frac{4}{3} \right) y=log24log23y = \log_2 4 - \log_2 3 y=2log23y = 2 - \log_2 3 This is y(2)y(2).

Step 5: Correct the Solution.

Upon re-examination, there was an error in the solution above. Let's correct it.

From Step 2, we have: 1ln2ln2y1=1ln2ln2x1+C\frac{1}{\ln 2} \ln |2^y - 1| = - \frac{1}{\ln 2} \ln |2^x - 1| + C Multiplying by ln2\ln 2 gives: ln2y1=ln2x1+Cln2\ln |2^y - 1| = - \ln |2^x - 1| + C \ln 2 Using the initial condition y(1)=1y(1) = 1, we get: ln211=ln211+Cln2\ln |2^1 - 1| = - \ln |2^1 - 1| + C \ln 2 ln1=ln1+Cln2\ln |1| = - \ln |1| + C \ln 2 0=0+Cln20 = - 0 + C \ln 2 C=0C = 0 So, the equation becomes: ln2y1=ln2x1\ln |2^y - 1| = - \ln |2^x - 1| ln2y1+ln2x1=0\ln |2^y - 1| + \ln |2^x - 1| = 0 ln(2y1)(2x1)=0\ln |(2^y - 1)(2^x - 1)| = 0 (2y1)(2x1)=e0=1(2^y - 1)(2^x - 1) = e^0 = 1 Now, let's find y(2)y(2). Substitute x=2x = 2: (2y1)(221)=1(2^y - 1)(2^2 - 1) = 1 (2y1)(41)=1(2^y - 1)(4 - 1) = 1 (2y1)(3)=1(2^y - 1)(3) = 1 2y1=132^y - 1 = \frac{1}{3} 2y=432^y = \frac{4}{3} y=log243=log24log23=2log23y = \log_2 \frac{4}{3} = \log_2 4 - \log_2 3 = 2 - \log_2 3

Step 6: Re-Examine the Given Answer and Correct the Approach

The correct answer is given as 2+log232 + \log_2 3. The current derived answer is 2log232 - \log_2 3. There must be an error.

Let's go back to the original equation and carefully re-examine the steps.

dydx+2xy(2y1)2x1=0\frac{dy}{dx} + \frac{2^{x-y} (2^y - 1)}{2^x - 1} = 0 dydx=2x(2y1)2y(2x1)\frac{dy}{dx} = - \frac{2^x (2^y - 1)}{2^y (2^x - 1)} 2y12ydy=2x2x1dx\frac{2^y - 1}{2^y} dy = - \frac{2^x}{2^x - 1} dx (ERROR HERE. It should be 2y2y1dy\frac{2^y}{2^y - 1} dy as before).

Let's start again: dydx=2xy(2y1)2x1\frac{dy}{dx} = - \frac{2^{x-y}(2^y - 1)}{2^x - 1} dydx=2x2y(2y1)2x1\frac{dy}{dx} = - \frac{2^x}{2^y} \frac{(2^y - 1)}{2^x - 1} 2y2y1dy=2x2x1dx\frac{2^y}{2^y - 1} dy = - \frac{2^x}{2^x - 1} dx Integrating both sides: 2y2y1dy=2x2x1dx\int \frac{2^y}{2^y - 1} dy = - \int \frac{2^x}{2^x - 1} dx Let u=2y1u = 2^y - 1, du=2yln2dydu = 2^y \ln 2 dy, so 1ln2duu=1ln2ln2y1\frac{1}{\ln 2} \int \frac{du}{u} = \frac{1}{\ln 2} \ln |2^y - 1|. Let v=2x1v = 2^x - 1, dv=2xln2dxdv = 2^x \ln 2 dx, so 1ln2dvv=1ln2ln2x1- \frac{1}{\ln 2} \int \frac{dv}{v} = - \frac{1}{\ln 2} \ln |2^x - 1|. So, 1ln2ln2y1=1ln2ln2x1+C\frac{1}{\ln 2} \ln |2^y - 1| = - \frac{1}{\ln 2} \ln |2^x - 1| + C. ln2y1=ln2x1+Cln2\ln |2^y - 1| = - \ln |2^x - 1| + C \ln 2. (2y1)(2x1)=eCln2=A(2^y - 1)(2^x - 1) = e^{C \ln 2} = A. Given y(1)=1y(1) = 1, (211)(211)=1(2^1 - 1)(2^1 - 1) = 1, so A=1A = 1. (2y1)(2x1)=1(2^y - 1)(2^x - 1) = 1. x=2x = 2, (2y1)(221)=1(2^y - 1)(2^2 - 1) = 1, so (2y1)(3)=1(2^y - 1)(3) = 1, 2y1=132^y - 1 = \frac{1}{3}, 2y=432^y = \frac{4}{3}, y=log243=log24log23=2log23y = \log_2 \frac{4}{3} = \log_2 4 - \log_2 3 = 2 - \log_2 3.

Still not the correct answer! Let's try a different approach.

Going back to dydx+2xy(2y1)2x1=0\frac{dy}{dx} + \frac{2^{x-y} (2^y - 1)}{2^x - 1} = 0: dydx=2x2y(2y1)(2x1)=2x2xy2x1\frac{dy}{dx} = - \frac{2^x}{2^y} \frac{(2^y - 1)}{(2^x - 1)} = \frac{2^x - 2^{x-y}}{2^x - 1}. If y=xy = x, then dydx=1\frac{dy}{dx} = 1. However, 2x12x1=1\frac{2^x - 1}{2^x - 1} = 1, so dydx=1\frac{dy}{dx} = -1. This is incorrect.

Let u=2xu = 2^x and v=2yv = 2^y. Then dvdx=dvdydydx=vln2dydx\frac{dv}{dx} = \frac{dv}{dy} \frac{dy}{dx} = v \ln 2 \frac{dy}{dx}. So, dydx=1vln2dvdx\frac{dy}{dx} = \frac{1}{v \ln 2} \frac{dv}{dx}. Then we have: 1vln2dvdx+u/v(v1)u1=0\frac{1}{v \ln 2} \frac{dv}{dx} + \frac{u/v (v - 1)}{u - 1} = 0. dvdx=u(v1)vln2v(u1)=u(v1)ln2u1\frac{dv}{dx} = - \frac{u (v - 1) v \ln 2}{v (u - 1)} = - \frac{u (v - 1) \ln 2}{u - 1}. dvv1=uln2u1dx\frac{dv}{v - 1} = - \frac{u \ln 2}{u - 1} dx. dvv1=lnv1\int \frac{dv}{v - 1} = \ln |v - 1|. ln2uu1dx=ln2u1+1u1dx=ln21+1u1dx=ln2[x+12x1dx]- \ln 2 \int \frac{u}{u - 1} dx = - \ln 2 \int \frac{u - 1 + 1}{u - 1} dx = - \ln 2 \int 1 + \frac{1}{u - 1} dx = - \ln 2 [x + \int \frac{1}{2^x - 1} dx]. This looks very complicated.

Let's try the original approach again. 2y2y1dy=2x2x1dx\frac{2^y}{2^y - 1} dy = - \frac{2^x}{2^x - 1} dx. Integrating, 1ln2ln2y1=1ln2ln2x1+C\frac{1}{\ln 2} \ln |2^y - 1| = - \frac{1}{\ln 2} \ln |2^x - 1| + C. y(1)=1y(1) = 1, 1ln2ln211=1ln2ln211+C\frac{1}{\ln 2} \ln |2^1 - 1| = - \frac{1}{\ln 2} \ln |2^1 - 1| + C. 0=0+C0 = - 0 + C, so C=0C = 0. Then ln2y1=ln2x1\ln |2^y - 1| = - \ln |2^x - 1|. (2y1)(2x1)=1(2^y - 1)(2^x - 1) = 1. x=2x = 2, (2y1)(3)=1(2^y - 1)(3) = 1, 2y=432^y = \frac{4}{3}, y=log243=2log23y = \log_2 \frac{4}{3} = 2 - \log_2 3.

There is STILL an error. Let's rethink this from the start.

Given dydx+2xy(2y1)2x1=0\frac{dy}{dx} + \frac{2^{x-y} (2^y - 1)}{2^x - 1} = 0. dydx=2x(2y1)2y(2x1)\frac{dy}{dx} = - \frac{2^x (2^y - 1)}{2^y (2^x - 1)}. 2y2y1dy=2x2x1dx\frac{2^y}{2^y - 1} dy = - \frac{2^x}{2^x - 1} dx. 2y2y1dy=2x2x1dx\int \frac{2^y}{2^y - 1} dy = - \int \frac{2^x}{2^x - 1} dx. Let I=2y2y1dy=2y1+12y1dy=1+12y1dy=y+12y1dy=y+12y12y2ydy=y+2y12ydyI = \int \frac{2^y}{2^y - 1} dy = \int \frac{2^y - 1 + 1}{2^y - 1} dy = \int 1 + \frac{1}{2^y - 1} dy = y + \int \frac{1}{2^y - 1} dy = y + \int \frac{1}{2^y - 1} \frac{2^{-y}}{2^{-y}} dy = y + \int \frac{2^{-y}}{1 - 2^{-y}} dy. Let z=12yz = 1 - 2^{-y}. dz=2yln2dydz = 2^{-y} \ln 2 dy. I=y+1ln2dzz=y+1ln2ln12yI = y + \frac{1}{\ln 2} \int \frac{dz}{z} = y + \frac{1}{\ln 2} \ln |1 - 2^{-y}|. So, y+1ln2ln12y=x1ln2ln12x+Cy + \frac{1}{\ln 2} \ln |1 - 2^{-y}| = - x - \frac{1}{\ln 2} \ln |1 - 2^{-x}| + C. Given y(1)=1y(1) = 1, 1+1ln2ln121=11ln2ln121+C1 + \frac{1}{\ln 2} \ln |1 - 2^{-1}| = -1 - \frac{1}{\ln 2} \ln |1 - 2^{-1}| + C. 2+2ln2ln12=C2 + \frac{2}{\ln 2} \ln |\frac{1}{2}| = C. 22ln2ln2=C2 - \frac{2 \ln 2}{\ln 2} = C, so C=0C = 0. y+1ln2ln12y=x1ln2ln12xy + \frac{1}{\ln 2} \ln |1 - 2^{-y}| = -x - \frac{1}{\ln 2} \ln |1 - 2^{-x}|. x=2x = 2, y+1ln2ln12y=21ln2ln122=21ln2ln34y + \frac{1}{\ln 2} \ln |1 - 2^{-y}| = -2 - \frac{1}{\ln 2} \ln |1 - 2^{-2}| = -2 - \frac{1}{\ln 2} \ln |\frac{3}{4}|.

This is also quite complex. Let's go back to (2y1)(2x1)=1(2^y - 1)(2^x - 1) = 1 from the variable separable method. This seems promising. (2y1)(2x1)=1(2^y - 1)(2^x - 1) = 1. So 2y1=12x12^y - 1 = \frac{1}{2^x - 1}. 2y=12x1+1=2x2x12^y = \frac{1}{2^x - 1} + 1 = \frac{2^x}{2^x - 1}. y=log22x2x1=log22xlog2(2x1)=xlog2(2x1)y = \log_2 \frac{2^x}{2^x - 1} = \log_2 2^x - \log_2 (2^x - 1) = x - \log_2 (2^x - 1). y(1)=1y(1) = 1, 1=1log2(211)=1log21=10=11 = 1 - \log_2 (2^1 - 1) = 1 - \log_2 1 = 1 - 0 = 1. Now, y(2)=2log2(221)=2log23y(2) = 2 - \log_2 (2^2 - 1) = 2 - \log_2 3.

It seems that there is an error in the provided correct answer. All calculations consistently lead to y(2)=2log23y(2) = 2 - \log_2 3.

Common Mistakes & Tips

  • Sign Errors: Be extremely careful with negative signs when separating variables and integrating.
  • Integration Constants: Always remember to include the constant of integration after performing indefinite integration. Use the initial condition to solve for the constant.
  • Algebraic Manipulation: Double-check your algebraic manipulations to avoid making mistakes when rearranging the equation.

Summary

We solved the given differential equation by separating variables, integrating both sides, and using the initial condition to determine the constant of integration. After careful calculation, we found that y(2)=2log23y(2) = 2 - \log_2 3. However, the provided answer key states that the correct answer is 2+log232 + \log_2 3. There may be an error in the provided correct answer.

Final Answer

The derived answer is 2log232 - \log_2 3, which corresponds to option (D). However, the provided correct answer is A, which is 2+log232 + \log_2 3.

There is likely an error in the problem statement or the provided answer key. The final answer is \boxed{2 - \log_2 3}.

Practice More Differential Equations Questions

View All Questions