We are given the differential equation:
$$
\frac{\mathrm{d} y}{\mathrm{~d} x}=-\frac{y}{x}
$$
To solve this, we can use the method of separation of variables. We rewrite the equation as:
$$
\frac{\mathrm{d} y}{y} = -\frac{\mathrm{d} x}{x}
$$
Now, we integrate
Show more…