The given differential equation is:
y2dx+(x−y1)dy=0
Rearranging terms to express in standard linear form:
y2dydx=−x+y1
y2dydx+x=y1
Dividing both sides by y2:
dydx+y21x=y31
This is a linear differential equation of the form:
dydx+P(y)x=Q(y)
where P(y)=y21 and Q(y)=y31.
To solve, use the integrating factor method. The integrating factor (IF) is:
IF=e∫P(y)dy=e∫y21dy
Compute the integral:
∫y21dy=∫y−2dy=−y−1=−y1
Thus,
IF=e−y1
The solution is given by:
x⋅(IF)=∫Q(y)⋅(IF)dy+C
Substituting:
x⋅e−y1=∫y31e−y1dy+C
Evaluate the integral:
Let I=∫y31e−y1dy
Use substitution: let u=−y1, then du=y21dy.
Now, y1=−u, so:
y31dy=y1⋅y21dy=(−u)du
Thus,
I=∫(−u)eudu=−∫ueudu
Integrate by parts: let v=u, dw=eudu, so dv=du, w=eu.
Then,
∫ueudu=ueu−∫eudu=ueu−eu+C1=eu(u−1)+C1
Therefore,
I=−[eu(u−1)]+C=−eu(u−1)+C
Substitute back u=−y1:
I=−e−y1(−y1−1)+C=−e−y1(−(y1+1))+C=e−y1(1+y1)+C
So,
x⋅e−y1=e−y1(1+y1)+C
Dividing both sides by e−y1:
x=1+y1+Cey1
This is the general solution.
Apply the initial condition: when y=1, x=1.
Substitute:
1=1+11+Ce11
1=1+1+Ce
1=2+Ce
Ce=−1
C=−e1
Thus, the particular solution is:
x=1+y1−e1ey1=1+y1−ey1−1
Now, find x(21) by substituting y=21:
x(21)=1+211−e211−1
=1+2−e2−1
=3−e1
=3−e
The value of x(21) is 3−e, which corresponds to option C.