Separable ODEs#
Definition: Separable Ordinary Differential Equation
A first-order ODE \(F(x, y, y')\) with \(F: \mathcal{D}_F \subseteq \mathbb{R} \times \mathbb{R} \times \mathbb{R} \to \mathbb{R}\) is separable if there exist real functions \(M\) and \(N\) such that
for all \((x, y, y') \in \mathcal{D}_F\).
More specifically, this means that a real function \(\phi\) is a solution of \(F\) on some subset \(S \subseteq \mathbb{R}\) if and only if
for all \(x \in S\). Many separable ODEs can be solved via direct antidifferentiation.
Theorem: Solving Separable ODEs via Antidifferentiation
Let \(F(x,y,y')\) be a separable ODE expressed as follows:
A real function \(\phi\) is a solution of \(F\) on some subset \(S \subseteq \mathbb{R}\) if and only if \(\phi\) is differentiable on \(S\) and the antiderivatives of \(M\) and \((N \circ \phi) \cdot \phi'\) exist and are equal on \(S\):
Important
If we can explicitly find \(\int N(\phi(x))\phi'(x) \, \mathrm{d}x\) (e.g. via substitution) and \(\int M(x) \, \mathrm{d}x\), then we can often find an explicit expression for the solutions of the separable ODE.
Example \(y' = yx\)
Consider the following ordinary differential equation:
We immediately see that \(y = 0\) is a solution on \(\mathbb{R}\).
For \(y \ne 0\), we have a separable ODE:
The theorem tells us that \(y\) is a solution on \(\mathbb{R}\) if and only if
In other words:
Since \(\pm \mathrm{e}^C\) can take on any value in \(\mathbb{R}_{\ne 0}\) and since \(y = 0\) is also a solution, we can express every solution in the following form:
Example: \(y' = -t \mathrm{e}^{y}\)
Consider the following ordinary differential equation:
It is separable:
The theorem tells us that \(y\) is a solution on \(\mathbb{R}\) if and only if
In other words:
Proof
TODO