Consider the differential equation, y2dx+(x−y1)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 dydx+P(y)x=Q(y), where P(y) and Q(y) are functions of y only.
Integrating Factor (I.F.): For the equation dydx+P(y)x=Q(y), the integrating factor is e∫P(y)dy.
General Solution: The general solution for the equation dydx+P(y)x=Q(y) is x⋅(I.F.)=∫Q(y)⋅(I.F.)dy+C.
Integration by Parts:∫udv=uv−∫vdu.
Step-by-Step Solution
Step 1: Transform the given differential equation into the standard linear form
The given differential equation is:
y2dx+(x−y1)dy=0
We want to express it in the form dydx+P(y)x=Q(y).
Separate the dx and dy terms: Move terms with dy to the right side:
y2dx=−(x−y1)dyy2dx=(y1−x)dy
Form the derivative dydx: Divide both sides by dy:
y2dydx=y1−x
Make the coefficient of dydx equal to 1: Divide the entire equation by y2:
dydx=y31−y2x
Rearrange into the standard form dydx+P(y)x=Q(y): Move the term containing x to the left side:
dydx+y21x=y31
Comparing this to the standard form, we identify P(y)=y21 and Q(y)=y31.
Step 2: Calculate the Integrating Factor (I.F.)
The integrating factor is given by I.F.=e∫P(y)dy.
Calculate the integral of P(y):∫P(y)dy=∫y21dy=∫y−2dy=−1y−1=−y1
Compute the Integrating Factor:I.F.=e∫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+C.
Substitute the I.F. and Q(y) into the general solution formula:x⋅e−1/y=∫y31⋅e−1/ydy+C
Evaluate the integral ∫y31e−1/ydy: Let t=−y1, so dt=y21dy. Then y=−t1, and y1=−t.
The integral becomes:
∫y31e−1/ydy=∫y1e−1/yy21dy=∫(−t)etdt=−∫tetdt
Using integration by parts with u=t and dv=etdt, we get du=dt and v=et. Thus,
∫tetdt=tet−∫etdt=tet−et+C1=et(t−1)+C1
So,
−∫tetdt=−et(t−1)+C2=et(1−t)+C2
Substituting t=−y1 back, we have:
e−1/y(1+y1)+C2
Write the complete general solution:x⋅e−1/y=e−1/y(1+y1)+C
Isolate x: Divide both sides by e−1/y:
x=1+y1+Ce1/y
Step 4: Apply the initial condition to find C
We are given that y=1 when x=1. Substituting these values into the general solution:
1=1+11+Ce1/11=1+1+Ce1=2+CeCe=−1C=−e1
So the particular solution is:
x=1+y1−e1e1/y=1+y1−e(1/y)−1
Step 5: Find x when y = 2
We need to find the value of x when y=2. Substituting y=2 into the particular solution:
x=1+21−e(1/2)−1=1+21−e−1/2=23−e1
Common Mistakes & Tips
Remember to correctly identify P(y) and 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 x when y=2. The value of x when y=2 is 23−e1.
Final Answer
The final answer is 23−e1, which corresponds to option (A).