Section 4.3 Separable Equations
References.
Prelude.
We have seen that the special kind of differential equation
can be solved by simply integrating; the general solution is given by the indefinite integral
A variant of this can be applied with the right-hand side instead depends only on the unknown, \(y\)
One way to do this is to divide through by the right-hand side and then integrate:
The left hand-side is as for substitution, with \(y\) in the role of \(u\text{;}\) that is, we can effectively cancel the two occurences of \(dx\text{,}\) getting
A complication is that this then gives an equation involving \(y\) rather than a direct formula for \(y\text{,}\) so one might have to do some equation solving.
Example 4.3.1.
Find the general solution of
The procedure above gives
so that
Solving for \(|y|\) first gives \(|y| = e^{x+C} = e^x e^C\) so the two options for \(y\) are \(y = (\pm e^C)e^x\)
The factor \(k = \pm e^C\) can be any non-zero constant, so we have the solutions
In fact, \(k=0\) also works, giving \(y=0\text{;}\) we lost that possibility along way because dividing by \(y\) was not possible in that special case.
Separation of Variables.
The two special cases above can be combined into a more general form
called separable because the two variables can be separated into an integral in \(x\) on one side and an integral in \(y\) on the other.
To do this, start much as with (4.3.3): divide by \(g(y)\) to get
and then integrate and use the substitution rule as above to “cancel” the occurences of \(dx\) at left:
Integrating each side gives an equation connecting \(y\) to \(x\text{;}\) as above, you might need to solve this equation for \(y\) as a function of \(x\text{;}\) however, sometimes this equation connecting the two variables is enough information!
Example 4.3.2.
Find the general solution of
Multiplying by \(y\) on both sides gives
and integrating,
so that \(y^2/2 = -x^2/2 + C\) or
The solution is always (part of) a circle, which is often all one needs to know.
Solving for \(y\) explicitly in terms of \(x\text{,}\) being careful with the two possibilities for the square root, one gets
so to be precise, the solution is either the top half or the bottom half of a circle.
Checkpoint 4.3.3.
Solve the initial value problem for the above differential equation (4.3.10) with \(y(x_0) = y_0\text{;}\) that is, find the solution that passes through the point \((x_0, y_0)\text{.}\)
The above example shows an interesting possibility with first order differential equations: they can sometimes be viewed as describing the slope \(dy/dx\) at each point \((x, y)\) on a curve (like a circle), with the solution being given as an equation for the curve, and maybe the solution curve is not describable explicitly as the graph of a function \(y = F(x)\text{.}\)
Applications of Separation of Variables.
We omit this, but read this subsection in Openstax Calculus if you are interested in some applications to physics and physical chemistry, or just see a few more worked examples.
Study Guide.
Study Calculus Volume 2, Section 4.1 2 ; in particular
Problem-Solving Strategy,
Example 10 and Checkpoint 10,
and one or several exercises from each of the ranges 123–132 and 133–142.
https://openstax.org/books/calculus-volume-2/pages/4-3-separable-equationshttps://openstax.org/books/calculus-volume-2/pages/4-1-basics-of-differential-equations