Finding the solution of a differential equation that passes through a point
By Daniel Rodriguez •
How could I find a solution to the differential equation
$$x\frac{dy}{dx}=y^2-y$$
that passes through the point $y=(1/2,1/2)$ and write it in terms of $y$ ?
What I have attempted: I rewrote the differential equation into the form
$$\frac{1}{y^2-y}dy=\frac{1}{x}dx$$
and then integrated it
$$\int \frac{dy}{y^2-y}=\frac{1}{x}dx,$$
getting $$\ln\frac{y-1}{y}=\ln(x).$$
$$e^{ln((y-1)/y)}=e^{ln(x)}+c$$
$$\frac{y-1}{y}=x+c$$
$$y-1=xy+cy$$
$$y-1=y(x+c)$$
But now how can we make pass it through $(1/2,1/2)$ in terms of $y$ ?
$\endgroup$ 71 Answer
$\begingroup$Put $(x=\frac{1}{2},y=\frac{1}{2})$ in the equation you have obtained and find the value of the integration constant $c$. That will serve your problem. As much as I see it, the value of $c$ will come out to be $-\frac{3}{2}$.
$\endgroup$More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"