Show that if
$$
{\mathrm{d}y \over \mathrm{d} x}=\mathrm f(x)y + {\mathrm g(x) \over y}
$$
then the substitution $u = y^2$ gives a linear differential equation for $u(x)\,$. Hence or otherwise solve the differential equation
$$
{\mathrm{d}y \over \mathrm{d} x}={y \over x} - {1 \over y}\;.
$$
Determine the solution curves of this equation which pass through $(1 \,, 1)\,$, $(2\, , 2)$ and $(4 \, , 4)$ and sketch graphs of all three curves on the same axes.