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

Question

Consider the differential equation, y2dx+(x1y)dy=0{y^2}dx + \left( {x - {1 \over y}} \right)dy = 0, If value of y is 1 when x = 1, then the value of x for which y = 2, is :

Options

Solution

Key Concepts and Formulas

  • First-Order Linear Differential Equation: A differential equation of the form dxdy+P(y)x=Q(y)\frac{dx}{dy} + P(y)x = Q(y), where P(y)P(y) and Q(y)Q(y) are functions of yy only.
  • Integrating Factor (I.F.): For the equation dxdy+P(y)x=Q(y)\frac{dx}{dy} + P(y)x = Q(y), the integrating factor is eP(y)dye^{\int P(y) dy}.
  • General Solution: The general solution for the equation dxdy+P(y)x=Q(y)\frac{dx}{dy} + P(y)x = Q(y) is x(I.F.)=Q(y)(I.F.)dy+Cx \cdot (\text{I.F.}) = \int Q(y) \cdot (\text{I.F.}) dy + C.
  • Integration by Parts: udv=uvvdu\int u \, dv = uv - \int v \, du.

Step-by-Step Solution

Step 1: Transform the given differential equation into the standard linear form

The given differential equation is: y2dx+(x1y)dy=0y^2 dx + \left(x - \frac{1}{y}\right) dy = 0 We want to express it in the form dxdy+P(y)x=Q(y)\frac{dx}{dy} + P(y)x = Q(y).

  1. Separate the dxdx and dydy terms: Move terms with dydy to the right side: y2dx=(x1y)dyy^2 dx = -\left(x - \frac{1}{y}\right) dy y2dx=(1yx)dyy^2 dx = \left(\frac{1}{y} - x\right) dy

  2. Form the derivative dxdy\frac{dx}{dy}: Divide both sides by dydy: y2dxdy=1yxy^2 \frac{dx}{dy} = \frac{1}{y} - x

  3. Make the coefficient of dxdy\frac{dx}{dy} equal to 1: Divide the entire equation by y2y^2: dxdy=1y3xy2\frac{dx}{dy} = \frac{1}{y^3} - \frac{x}{y^2}

  4. Rearrange into the standard form dxdy+P(y)x=Q(y)\frac{dx}{dy} + P(y)x = Q(y): Move the term containing xx to the left side: dxdy+1y2x=1y3\frac{dx}{dy} + \frac{1}{y^2}x = \frac{1}{y^3} Comparing this to the standard form, we identify P(y)=1y2P(y) = \frac{1}{y^2} and Q(y)=1y3Q(y) = \frac{1}{y^3}.

Step 2: Calculate the Integrating Factor (I.F.)

The integrating factor is given by I.F.=eP(y)dy\text{I.F.} = e^{\int P(y) dy}.

  1. Calculate the integral of P(y)P(y): P(y)dy=1y2dy=y2dy=y11=1y\int P(y) dy = \int \frac{1}{y^2} dy = \int y^{-2} dy = \frac{y^{-1}}{-1} = -\frac{1}{y}

  2. Compute the Integrating Factor: I.F.=eP(y)dy=e1/y\text{I.F.} = e^{\int P(y) dy} = e^{-1/y}

Step 3: Find the General Solution

The general solution is given by x(I.F.)=Q(y)(I.F.)dy+Cx \cdot (\text{I.F.}) = \int Q(y) \cdot (\text{I.F.}) dy + C.

  1. Substitute the I.F. and Q(y)Q(y) into the general solution formula: xe1/y=1y3e1/ydy+Cx \cdot e^{-1/y} = \int \frac{1}{y^3} \cdot e^{-1/y} dy + C

  2. Evaluate the integral 1y3e1/ydy\int \frac{1}{y^3} e^{-1/y} dy: Let t=1yt = -\frac{1}{y}, so dt=1y2dydt = \frac{1}{y^2} dy. Then y=1ty = -\frac{1}{t}, and 1y=t\frac{1}{y} = -t. The integral becomes: 1y3e1/ydy=1ye1/y1y2dy=(t)etdt=tetdt\int \frac{1}{y^3} e^{-1/y} dy = \int \frac{1}{y} e^{-1/y} \frac{1}{y^2} dy = \int (-t) e^t dt = -\int t e^t dt Using integration by parts with u=tu = t and dv=etdtdv = e^t dt, we get du=dtdu = dt and v=etv = e^t. Thus, tetdt=tetetdt=tetet+C1=et(t1)+C1\int t e^t dt = t e^t - \int e^t dt = t e^t - e^t + C_1 = e^t(t - 1) + C_1 So, tetdt=et(t1)+C2=et(1t)+C2-\int t e^t dt = -e^t(t - 1) + C_2 = e^t(1 - t) + C_2 Substituting t=1yt = -\frac{1}{y} back, we have: e1/y(1+1y)+C2e^{-1/y}\left(1 + \frac{1}{y}\right) + C_2

  3. Write the complete general solution: xe1/y=e1/y(1+1y)+Cx \cdot e^{-1/y} = e^{-1/y}\left(1 + \frac{1}{y}\right) + C

  4. Isolate xx: Divide both sides by e1/ye^{-1/y}: x=1+1y+Ce1/yx = 1 + \frac{1}{y} + C e^{1/y}

Step 4: Apply the initial condition to find C

We are given that y=1y = 1 when x=1x = 1. Substituting these values into the general solution: 1=1+11+Ce1/11 = 1 + \frac{1}{1} + C e^{1/1} 1=1+1+Ce1 = 1 + 1 + Ce 1=2+Ce1 = 2 + Ce Ce=1Ce = -1 C=1eC = -\frac{1}{e} So the particular solution is: x=1+1y1ee1/y=1+1ye(1/y)1x = 1 + \frac{1}{y} - \frac{1}{e} e^{1/y} = 1 + \frac{1}{y} - e^{(1/y)-1}

Step 5: Find x when y = 2

We need to find the value of xx when y=2y = 2. Substituting y=2y = 2 into the particular solution: x=1+12e(1/2)1=1+12e1/2=321ex = 1 + \frac{1}{2} - e^{(1/2) - 1} = 1 + \frac{1}{2} - e^{-1/2} = \frac{3}{2} - \frac{1}{\sqrt{e}}

Common Mistakes & Tips

  • Remember to correctly identify P(y)P(y) and Q(y)Q(y) when using the integrating factor method.
  • Be careful when performing integration by parts, especially with the signs.
  • Don't forget to substitute back to the original variable after integration when using substitution.

Summary

We transformed the given differential equation into a first-order linear differential equation, calculated the integrating factor, found the general solution, applied the initial condition to find the particular solution, and finally, determined the value of xx when y=2y = 2. The value of x when y=2 is 321e\frac{3}{2} - \frac{1}{\sqrt{e}}.

Final Answer The final answer is 321e\boxed{\frac{3}{2} - \frac{1}{\sqrt{e}}}, which corresponds to option (A).

Practice More Differential Equations Questions

View All Questions