1.1 Separable ODEs
A separable first-order ODE can be written in the form
We will assume that is continuous over some range of values of , e.g. , possibly the whole real line . Continuity of ensures that we can take the necessary integrals.
1.1.1 A simple solution
Any (constant) solution of the equation is also a possible solution of (1.1).
Show that () is a possible solution of the first-order ODE,
Here and . Now, if (where ), so the right-hand side of the ODE is zero. Clearly (constant) (i.e. the left-hand side is also zero). Therefore is a possible solution.
1.1.2 Separation of variables
To derive a more general solution, we must assume that , so that we can divide each side by ,
Integrating each side with respect to ,
since , this implies that
Evaluating these integrals leads to a solution for . Sometimes the general solution will contain solutions of , but this is not always the case.
Find the general solution to
Clearly is a possible constant solution. If , we separate variables,
where C is an arbitrary constant of integration. Rearranging this expression,
where is a rescaled constant. Alongside the special solution , this is the most general solution to this first order ODE. Different values of lead to a family of solution curves (or integral curves) in the -plane.
Check (not lectured): Differentiating this function, we see that
as required.
Find the general solution of the ODE and then the particular solution which passes through the point , i.e. .
We have
Clearly is a possible solution, but this is incompatible with so can be ignored. Assuming , separation of variables leads to
(where is the constant of integration). Taking the exponential of both sides,
where . Dropping the modulus operators from both sides,
Absorbing the plus/minus sign into a new constant (where ),
If , this implies that
So the required solution is,
If is the size of a radioactive sample at time , then
where is a positive constant. How long does it take for half the sample to decay?
Assuming that , we again proceed by separating variables (note the change of notation!):
where is a constant of integration. Hence,
where is a new constant () into which the plus/minus sign has been absorbed. If (initial sample size) then,
Let be the length of time it takes for half the sample to decay, i.e. . This implies that,
Hence
This is the time it takes for half the sample to decay (known as the sample’s half-life).