The provided differential equation is:
\( y^2 dx + \left( x - \frac{1}{y} \right) dy = 0 \)
The solution \( x = x(y) \) satisfies \( x(1) = 1 \). The objective is to determine \( x\left( \frac{1}{2} \right) \).
Divide the equation by \( y^2 \) for simplification:
\[ \frac{y^2 dx}{y^2} + \frac{\left( x - \frac{1}{y} \right) dy}{y^2} = 0 \]
This simplifies to:
\[ dx + \left( \frac{x}{y^2} - \frac{1}{y^3} \right) dy = 0 \]
Separate the variables:
\[ dx = -\left( \frac{x}{y^2} - \frac{1}{y^3} \right) dy \]
Rearrange to isolate \( x \) and \( y \) terms:
\[ \frac{dx}{x} = \left( \frac{1}{y^3} - \frac{1}{y^2} \right) dy \]
Integrate both sides:
\[ \int \frac{1}{x} dx = \int \left( \frac{1}{y^3} - \frac{1}{y^2} \right) dy \]
Left-hand side integral:
\[ \ln |x| = \int \left( \frac{1}{y^3} - \frac{1}{y^2} \right) dy \]
Right-hand side integrals:
\[ \int \frac{1}{y^3} dy = -\frac{1}{2y^2}, \quad \int \frac{1}{y^2} dy = -\frac{1}{y} \]
The integrated equation is:
\[ \ln |x| = -\frac{1}{2y^2} + \frac{1}{y} + C \]
where \( C \) is the constant of integration.
Given \( x(1) = 1 \). Substitute \( x = 1 \) and \( y = 1 \):
\[ \ln |1| = -\frac{1}{2(1)^2} + \frac{1}{1} + C \]
Simplify:
\[ 0 = -\frac{1}{2} + 1 + C \]
\[ C = -\frac{1}{2} \]
Substitute \( C = -\frac{1}{2} \) back into the equation:
\[ \ln |x| = -\frac{1}{2y^2} + \frac{1}{y} - \frac{1}{2} \]
Substitute \( y = \frac{1}{2} \):
\[ \ln |x\left( \frac{1}{2} \right)| = -\frac{1}{2 \left( \frac{1}{2} \right)^2} + \frac{1}{\frac{1}{2}} - \frac{1}{2} \]
Simplify:
\[ \ln |x\left( \frac{1}{2} \right)| = -\frac{1}{2 \times \frac{1}{4}} + 2 - \frac{1}{2} \]
\[ \ln |x\left( \frac{1}{2} \right)| = -\frac{1}{\frac{1}{2}} + 2 - \frac{1}{2} \]
\[ \ln |x\left( \frac{1}{2} \right)| = -2 + 2 - \frac{1}{2} \]
\[ \ln |x\left( \frac{1}{2} \right)| = -\frac{1}{2} \]
Exponentiate both sides:
\[ x\left( \frac{1}{2} \right) = e^{-\frac{1}{2}} = \frac{1}{\sqrt{e}} \]
The value of \( x\left( \frac{1}{2} \right) \) is \( \frac{1}{\sqrt{e}} \).