Separable differential equations
Separable Differential Equations
Separable Differential Equations is the opening topic of Differential Equations in the California Calculus Standards. It is aligned to Standard 27.0, which requires students to know the techniques of solution of selected elementary differential equations.
A separable differential equation can be written \(\dfrac{dy}{dx}=g(x)h(y)\), so the variables move to opposite sides and each side is integrated; an initial condition fixes the constant.
Theory
A separable differential equation can be written so all the \(y\)'s are on one side and all the \(x\)'s on the other. Then you integrate both sides. The result is a family of curves; an initial condition selects one.
A differential equation relates a function to its derivative. It is separable when it can be written
so that all the \(y\)-parts move to one side and all the \(x\)-parts to the other. You then integrate both sides.
The general solution contains a constant \(C\) — a whole family of curves. An initial condition \(y(x_0)=y_0\) pins down \(C\), giving the particular solution.
Separate, then integrate:
How to solve a separable equation
- Separate the variables: all \(y\) (and \(dy\)) on the left, all \(x\) (and \(dx\)) on the right.
- Integrate both sides, adding \(+C\).
- Solve for \(y\) if possible, and use an initial condition to find \(C\).
Integrate both sides, then use the initial condition.
| \(y\) | \(=\) | \(\int 2x\,dx=x^2+C\) |
| \(y(0)=1\) | \(\Rightarrow\) | \(C=1\) |
So \(y=x^2+1\).
Divide by \(y\), integrate both sides.
| \(\dfrac{dy}{y}\) | \(=\) | \(2x\,dx\) |
| \(\ln|y|\) | \(=\) | \(x^2+C\) |
| \(y\) | \(=\) | \(A e^{x^2}\) |
Multiply by \(y\,dx\), integrate.
| \(y\,dy\) | \(=\) | \(x\,dx\) |
| \(\dfrac{y^2}{2}\) | \(=\) | \(\dfrac{x^2}{2}+C\) |
| \(y^2\) | \(=\) | \(x^2+C_1\) |
Separate and integrate; the log exponentiates.
| \(\dfrac{dy}{y}\) | \(=\) | \(k\,dx\) |
| \(\ln|y|\) | \(=\) | \(kx+C\) |
| \(y\) | \(=\) | \(A e^{kx}\) |
Common pitfalls
Frequently asked questions
What is a separable differential equation?
One that can be written \(\dfrac{dy}{dx}=g(x)h(y)\), so the variables separate onto opposite sides and each side can be integrated.
How do you solve a separable differential equation?
Separate the variables, integrate both sides (with \(+C\)), then solve for \(y\) and use any initial condition to find the constant.
What is the difference between the general and particular solution?
The general solution contains the constant \(C\) (a family of curves); the particular solution uses an initial condition to fix \(C\) to one curve.
What does dy/dx = ky solve to?
\(y=A e^{kx}\). This exponential is the model for growth (\(k>0\)) and decay (\(k<0\)).