Introduction
So far we have seen how to solve differential equations by direct integration, by separation of variables, by integrating factors: conversion to a product (linear equations), and by gradients (exact equations).
Many differential equations do not immediately appear to have the standard form to which these methods are applicable, but in fact these methods can be applied after performing a transformation. The possibility of some of these transformations can be checked systematically, but for others we rely on an art – not a mechanical science – of finding an appropriate substitution. This art is based on experience and honed by practice.
Homogeneous equations - conversion to separable
Homogeneous functions
A function is homogeneous when the input variable appears everywhere in the same degree. More precisely and technically, is homogeneous when for some . Similarly is homogeneous when for some . (Likewise for more variables.) In this situation is called the degree of homogeneity.
In other words, a function is homogeneous when the action of scaling the inputs simultaneously can be factored out to an action of scaling the output.
For example, these functions are homogeneous:
whereas these are not:
Homogeneous differential equations
Now, suppose we have a differential equation in the form:
where and are homogeneous functions of the same degree. Then the change of variables (by substituting ) will convert the quotient on the right to a function of alone, and the equation as a whole to a separable equation, which we can solve for and at the end the solution can be converted to an expression in by substituting back .
Homogeneous substitution
Suppose and are homogeneous of the same degree . Then depends only on the ratio :
Separability then occurs because:
so the equation is equivalent to
and the general solution is the family of curves given by:
Alternate format
The differential equation
is homogeneous if and are both homogeneous of the same degree. It can be transformed with the same substitution and the result is separable.
Homogeneous equations - conversion to separable (part 2)
Linear quotients: almost homogeneous
Suppose we are given a differential equation
This equation is not homogeneous, but it is easily converted to a homogeneous equation by a change of variables. Find that solve the system:
Then by plugging in and , the quotient on the right side is transformed to a quotient of homogeneous functions in and :
The left side transforms as desired:
Integrating factors - conversion to exact
Sometimes an equation
is not exact, but there is a function which when multiplied through the equation gives an exact equation:
Integrating factors - conversion to exact (part 2)
How can we find such a function ? There is no recipe that can find all possibilities for . However, if there is a that works and is a function of either or alone, then there is a recipe. Here it is:
Integrating factors: single variable
- Check : if the function depends on alone, we can use .
- Check : if the function depends on alone, we can use .
Reduction of order
Some second-order ODEs can be reduced to first-order ODEs by substituting . This works when the equation is missing either or .
If the equation is missing , so the ODE is actually given by , then we substitute and , and try to solve the equation as any other first-order equation. Afterwards we can solve for by integrating (provided we have an explicit solution for ).
If the equation is missing , so the ODE is actually given by , then we substitute as before, but now we let depend on , and so by the chain rule:
We therefore try to solve the equation as any other first-order equation.
Ad hoc transformations
Bernoulli equations
The Bernoulli equations look like linear equations but with an extra factor of :
If we substitute , a Bernoulli equation becomes a linear equation.
Ad hoc transformations (part 2)
Linear substitutions
If in the general form of an explicit first-order equation the items and only occur together in a linear combination, so it really takes the form , then we can change variables using and then separate variables. First convert :
then the equation becomes , which is separable:
Swapping roles
It is sometimes effective to transform an equation to a known form by swapping the roles of and , meaning that is to be treated as the dependent variable and as the independent. To do this we need to replace with . This can be explained and justified using the theory for derivatives of inverse functions.
Inverse functions derivatives
If , then so . Now treating , we have . Therefore .