ORDINARY DIFFERENTIAL EQUATIONS POWERTOOL
Lesson 10 -- Substitution and Change of Variables
Prof. Douglas B. Meade
Industrial Mathematics Institute
Department of Mathematics
University of South Carolina
Columbia, SC 29208
URL: http://www.math.sc.edu/~meade/
E-mail: meade@math.sc.edu
Copyright 2001 by Douglas B. Meade
All rights reserved
-------------------------------------------------------------------
Outline of Lesson 10
10.A Example 1: Homogeneous Equations
10.B Example 2: Bernoulli Equations
10.C Example 3: Reduction to Separation of Variables
10.D Example 4: Riccati Equations
Initialization
Warning, the name changecoords has been redefined
A function is said to be homogeneous of degree if . Thus, if the variables and are replaced by and , respectively, a factor of can be extracted, and the remaining factor is just .
A homogeneous differential equation has the general form
where the functions M and N are both homogeneous of the same degree. Thus, there exists a constant such that
and
For example, consider the functions
which produce the differential equation
To check that this is a homogeneous ODE, observe that
To find the general solution to this ODE, introduce the change of variables
The ODE becomes
This simplifies to
which is easily seen to be a separable equation
The (implicit) solution to this equation is
Reversing the change of variables, the solution to the original ODE is
That this equation defines a solution is confirmed with
Note that Maple's built-in commands can be used, first to classify this ODE as homogeneous:
then to find the general solution in the explicit form
However, people are not familiar with the Lambert W function. To obtain the solution of this homogeneous ODE in an implicit form, use
which is seen to be equivalent to the previous solution.
A Bernoulli equation has the form
for known functions f and g and a constant (not equal to 0 or 1).
For example, consider the differential equation
where and are real constants with . This is a Bernoulli equation with
To convert the Bernoulli equation into a first-order linear ODE, consider the substitution
The ODE for the new function is
which simplifies to
The solution to this linear ODE is
and the corresponding implicit solution for the original function is
To verify that this is a solution of the original ODE, use
The solution might be a little more useful in the form
Immediate access to the solution of this Bernoulli equations can be obtained with the single command
from which either of the above implicit solutions, or the explicit solution, can be derived.
The bernoullisol command yields the two branches of the square root that are solutions. The result is
The choice of branch depends on the signs of , , and the initial condition.
Any ODE of the form
with can be reduced to a separable ODE via the substitution .
For example, the ODE
is of the appropriate form with , , , and . Thus, the substitution
leads to a differential equation for . This equation is
which is easily seen to be separable via the syntax
The implicit general solution to this separable differential equation is
The corresponding explicit solution is
Reversing the substitution to obtain the implicit general solution to the differential equation for gives
The corresponding explicit solution can be obtained from
Note that simply using
does not produce an explicit formula for the general solution. It is still necessary to use isolate , or something similar, as is seen from
That these functions are solutions to the original ODE is seen from either of
Immediate access to the implicit and explicit solutions can be obtained using
A Riccati equation has the form
for given functions f, g, and h. The solution of a Ricatti equation requires knowledge of a particular solution to the ODE.
For example, consider the equation
which has as one of its solutions the function
That this is a solution is confirmed by
To solve a Riccati equation, define a new function such that,
This substitution translates the ODE for into one for the new function , and results in the equation
Upon inspection, this ODE is seen to be a Bernoulli equation via the syntax
Its solution us
Reversing the substitution gives
To check that this is a solution to the original ODE, use
Note that the original equation can be classified as a Riccati equation using
and solved in one step using either
or
[Back to ODE Powertool Table of Contents]