We are given the differential equation y(1+xy)dx=xdy and the information that the required curve passes through the point (1,−1). Our goal is to find the value of the function at x=−21, that is, to compute f(−21).
First we bring the equation into the usual dxdy form. Dividing both sides by dx we have
y(1+xy)=xdxdy.
Now we isolate dxdy by dividing by x:
dxdy=xy(1+xy)=xy+y2.
So we obtain the first-order ordinary differential equation
dxdy−y2=xy.−(1)
A very convenient substitution for equations of the form dxdy−y2=… is to set v=y1, because the derivative of y1 naturally cancels the y2 term. Let us therefore put
v=y1.
Differentiating both sides with respect to x gives
dxdv=−y21dxdy.
We now substitute dxdy=−y2dxdv into equation (1):
−y2dxdv−y2=xy.
Multiplying every term by −1 produces
y2dxdv+y2=−xy.
Next we divide throughout by y2 (remembering that y=0 along the solution curve):
dxdv+1=−xy1.
But y1=v, so −xy1=−xv, hence
dxdv+1=−xv.
We collect like terms and arrange in the standard linear form
dxdv+xv=−1.−(2)
Equation (2) is a first-order linear differential equation in v(x). For such equations we use the integrating-factor method. A linear equation has the standard form dxdv+P(x)v=Q(x). Here P(x)=x1 and Q(x)=−1. The integrating factor μ(x) is defined by the formula
μ(x)=e∫P(x)dx.
We therefore compute the integrating factor:
μ(x)=e∫x1dx=elnx=x.
Multiplying every term of equation (2) by this integrating factor x we get
xdxdv+v=−x.
The left-hand side is now the perfect derivative of the product xv, because
dxd(xv)=xdxdv+v.
Therefore we can rewrite the equation as
dxd(xv)=−x.
To find v(x) we integrate both sides with respect to x:
∫dxd(xv)dx=∫−xdx,
so
xv=−2x2+C,
where C is the constant of integration. Solving for v gives
v=−2x+xC.
Recalling that v=y1, we obtain
y1=−2x+xC.
We bring the right-hand side over a common denominator x:
y1=x−x2/2+C.
Taking the reciprocal to solve for y, we get
y=−x2/2+Cx.
To make the formula look cleaner, multiply numerator and denominator by 2; let us also rename the constant 2C by a single letter K, i.e. set K=2C. Then
y=K−x22x.
We now use the given point (1,−1) to determine the value of the constant K. Substituting x=1 and y=−1 into the above expression yields
−1=K−12⋅1,
so
K−1=−2,
and hence
K=−1.
Substituting K=−1 back into the expression for y we obtain the explicit form of the required function:
y=f(x)=−1−x22x=−1+x22x.
With the function determined, we can now evaluate it at x=−21. First compute the numerator:
−2x=−2(−21)=1.
Next compute the denominator:
1+x2=1+(−21)2=1+41=45.
Putting numerator and denominator together, we find
f(−21)=451=1⋅54=54.
Thus the required value is 54, which corresponds to the second option listed.
Hence, the correct answer is Option B.