You are on page 1of 5

Classification of Ordinary Differential Equations

(ODE’s)

Math 181, Fall 2019


Instructor: Dr. Doreen De Leon

There are two major classes of ODE’s, linear and nonlinear.

Linear Equations

Definition. A linear differential equation is a differential equation that can be written in


the form
pn (x)y (n) + pn−1 (x)y (n−1) + · · · + p1 (x)y 0 + p0 (x)y = f (x), (1)
where pn (x) 6= 0, and pj (x), j = 1, 2, . . . , n and f (x) are arbitrary functions of x.

If f (x) = 0, then (1) is said to be homogeneous; otherwise, (1) is nonhomogeneous.

Examples. The following equations are linear.


3
• t2 y 00 + t 2 y = 0
• sin(x)y 00 + tan(x)y = 12 ln(2x)

Exercise. Determine if each of the following equations is linear or nonlinear. If linear,


determine if its is homogeneous or nonhomogeneous.

• y 00 = y 0 + 1 - linear, nonhomogeneous
• (y 0 )2 = x + y - nonlinear
• y = et y 0 - linear, homogeneous
• yy 0 = x - nonlinear
• y 0 = et + ey - nonlinear
• x3 y 000 = 3x2 y 00 + y - linear, homogeneous
• x2 (y 00 + x) = xy − y - linear, nonhomogeneous

1
Order of a Differential Equation

Definition. The order of a differential equation is the order of the highest derivative of the
dependent variable.

Example. In the exercise we just did, the first equation is second order, the second is first
order, and the sixth is third order.

Initial Value Problems

Definition. An nth order differential equation

y (n) = f (x, y, y 0 , . . . , y (n−1) )

accompanied by values y(x0 ) = y0 , y 0 (x0 ) = y1 , . . . , y (n−1) (x0 ) = yn−1 , called initial condi-
tions, is an initial value problem (IVP).

Note: The number of initial conditions needed for a unique solution to exist equals the
order of the ODE.

Example. The population of bacteria in a petrie dish can be modeled by the separable
equation
dy
= ky, y(0) = 20000,
dt
where k is the per capita growth rate. This is an IVP for which the general solution is given
by
y(t) = cekt .
Substituting in the initial condition gives 20000 = y(0) = c, so y(t) = 20000ekt . In order
to completely solve this problem, we would need more information, such as the population
doubling time.

Autonomous Differential Equations

Definition. A differential equation is autonomous if it can be written in the form

y (n) = f (y, y 0 , . . . , y (n−1) ).

Notes:

2
(1) In an autonomous equation, the independent variable (typically t) does not explicitly
appear.

(2) While autonomous equations are generally nonlinear, this is not necessary. For example,
y 0 = y − 2 is autonomous and linear.

Autonomous First Order Equations

In general, given the autonomous first order equation

y 0 = f (y), (2)

if f (y) = 0 has real-valued solutions, say a0 , a1 , . . . , ap , then y(t) = a0 , y(t) = a1 , . . . ,


y(t) = an all solve (2). Conversely, if y(t) = a0 , y(t) = a1 , . . . , y(t) = ap all solve (2), then
a0 , a1 , . . . , ap are all roots of f (y).

Note: Obviously, an equation need not be autonomous to have constant solutions. For
example, the equation
y 0 = x(y − 1), y(0) = 1
has the unique solution y(x) = 1.

Definition. Any solution of a first order differential equation

y 0 = f (x, y)

for which y 0 = 0 is called an equilibrium solution.

Solutions of Autonomous First Order Equations

Although it is not always possible to analytically solve an autonomous first order equation,
it is possible to sketch solution curves using calculus. We will discuss qualitative solutions
and analysis of equilibrium solutions in more detail for systems of equations later in the
semester.

Example. Consider the autonomous first order equation

y 0 = y(y − 2)2 .

(a) Find all equilibrium solutions.

(b) Sketch representative solution curves for t ≥ 0, −∞ < y < ∞.

Solution.

3
(a) To find the equilibrium solutions, set y 0 = 0 and solve y(y − 2)2 = 0, giving y = 0, y = 2.

(b) To sketch the solution curves, first recall from calculus that if y 0 > 0, then y is increasing
and if y 0 < 0, then y is decreasing. Also, a point of inflection xi is found where y 00 (xi ) = 0
and y 00 (xi +) and y 00 (xi −) have opposite signs.
Since f (y) = y(y − 2)2 , we have the following

y y<0 0<y<2 2<y


f (y) f (y) < 0 f (y) > 0 f (y) > 0

In addition, we have the following.

y < 0: y 0 < 0, so y is decreasing. The more negative y is, the more negative y 0 is
and the faster y is decreasing.
0 < y < 2: y 0 > 0, so y is increasing. If y is near 0, y 0 is small and positive, so y
is increasing slowly. As y gets closer to 2, then y 0 gets smaller and the slope of the
solution curve decreases (so y is increasing slowly). Therefore, we know that there
is an inflection point for some 0 < y < 2. To determine the inflection point, we
need to find y 00 , which is just f 0 (y)y 0 , and set it equal to 0. Since

f 0 (y) = (y − 2)2 + 2y(y − 2) = y 2 − 4y + 4 + 2y 2 − 4y = 3y 2 − 8y + 4,

we see that
y 00 = (3y 2 − 8y + 4)y(y − 2)2 .
Set this equal to 0:

0 = y 00 = (3y 2 − 8y + 4)y(y − 2)2


=⇒ 0 = 3y 2 − 8y + 4, 0 = y, 0 = (y − 2)2 .

Since y = 0 and (y − 2)2 = 0 give us the equilibrium solutions, we need only solve
3y 2 − 8y + 4 = 0, giving
2
y = 2, .
3
Since y = 2 is an equilibrium solution, the inflection point occurs when y = 23 .
y > 2: y 0 > 0, so y is increasing. As y gets larger, y 0 gets larger and the slope is
increasing.

A sketch of a few solution curves is below.

4
Exercise. Consider the autonomous first order equation

y 0 = y 2 (y + 2).

(a) Find the equilibrium solutions.

(b) Sketch representative solution curves for t ≥ 0, −∞ < y < ∞.

You might also like