Jump to content

Separation of variables

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Michael Hardy (talk | contribs) at 21:34, 4 December 2003. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Occasionally a differential equation allows a separation of variables, which we here exemplify rather than define. The differential equation

may be written as

Pretend that dy and dx are numbers, so that both sides of the equation may be multiplied by dx. Also divide both sides by y(1 − y). We get

Integrating both sides, we get

which, via partial fractions, becomes

and then

A bit of algebra gives a solution for y:

One may check that if B is any positive constant, this function satisfies the differential equation.