Professional Documents
Culture Documents
1
basic concepts of differential equations 1
This is the first of series of lecture
notes primarilly taken from the text
Lecturer: Dr. Peter Amoako-Yirenkyi book (Elementary differential Equation
and boundary value problems by Boyce
Recommended Textbook:Elementary differential Equation2 and Diprima. After going through this
lecture notes, you would be able to:
The laws of the universe are written largely in the language of math-
• know what is a differential equation,
ematics. Algebra is sufficient to solve many static problems, but the and state the difference between
most interesting naturally phenomena involve change and are best de- the independent and dependent
scribed by equations that relate changing quantities. Many important variables.
and significant problems in engineering, the physical sciences, and the • classify differential equations in
social sciences such as economics and business when formulated in terms of types, order, degree and
mathematical terms require the determination of a function satisfying linearity.
an equation containing the derivatives of unknown function. Such 2
W.W. Boyce & R.C. DiPrima. Elemen-
equations are called differential equation3 . tary Differential Equations and Boundary
Value Problems. John Wiley & Sons,
Inc., tenth edition, March 2012. ISBN
Introduction 978-0-470-45832-7
3
One of the most familiar example of differential equation is Newton’s Notation 1 The expressions y0 , y00 ,
law: y000 , y4 ,..., yn are often used to represent,
respectively, the first, second, third, fourth,
d2 x ..., nth derivatives of y with respect to the
m = F. (1) independent variable under consideration.
dt2 d2 y
Thus y00 represents if the independent
dx2
for the position x (t) of a particle acted on by a force F. In general F d2 y
dx variable is x , but represents if the
will be a function oftime t, the position x , and the velocity . To dp2
dt independent variable is p. Observe that
determine the motion of a particle acted on by a given force F it is parentheses are used in y(4) and y(n)
necessary to find a function x (t) satisfying Eq. (1). If the force is that distinguish it from the nth power, y4
and yn respectively. In mechanics, if the
due to gravity, then F = −mg and independent variable is time, usually
denoted by t , primes are often replaced by
... dy d2 y
dots. Thus, ẏ, ÿ , and y represent , ,
d2 x dt dt2
m = −mg. (2) d3 y
dt2 and 3 , respectively
dt
On integrating Eq. (2) we have:
dx
= − gt + c1
dt
1
x (t) = − gt2 + c1 t + c2 (3)
2
where c1 and c1 are constants. To determine x (t) completely it is nec-
essary to specify two additional conditions, such as the position and
velocity of the particle at some instant of time. These conditions can
be used to determine the constants c1 and c1 . This unit introduces
us to the differential equation in general and helps to differentiate
between various kinds and associated solutions.
math168 - basic concepts of differential equations 2
Differential Equations
Exercise 1 Identify the independent variables, the dependent variables, and the parameters in the equations given as
examples in this lecture notes.
math168 - basic concepts of differential equations 3
For the purpose of this course we shall assume that this is always
possible. Otherwise, an equation of the form of equation12 (20) may 12
actually represent more than one equation of the form of equation Example 2 (classified by order)
(22). di
For example, the equation x2 (y0 )2 − 3y0 + 2x = 0 actually represents L
dt
+ Ri = E (order1) (23)
Classification by Degree
The degree13 of the differential equation is the power (exponent) or 13
the index that its highest ordered derivative is raised, if the equation Definition 2 The degree of a differen-
is rationalized or cleared of fractions with regard to the dependent tial equation is the power of the highest
variable and its derivatives involve in it. derivative term.
Classification by linearity
Generally, a differential equation may be classified as either lin-
ear14 or non-linear. A linear differential equations have homoge- 14
The conditions for a linear differential
neous solutions which can be added together to form other homoge- equation are as follows:
1. The dependent variable and all its
neous solutions. A linear differential equation can also be ordinary or derivatives occur only in the first
partial. The homogeneous solutions to linear equations form a vector degree15 (or to the first power).
space. 2. No product of the dependent
variable, say y , and/or any of its
Definition 3 A differential equation is linear if it can be put in the form: derivatives present.
3. No transcendental function (trigono-
an x y(n) + an−1 x y(n−1) + ... + a2 x y00 + a1 x y0 + a0 x y = f ( x ) (26)
metric, logarithmic or exponential)
of the dependent variable and/or its
derivatives occurs.
where an is not identically zero and also the subscripted (or indexed) a’s are
15
functions of independent variable ( x ) only.
Remark 1 A linear differential equa-
tion is always in the first degree of the
dependent variable (variables) and the
derivatives.
math168 - basic concepts of differential equations 5
dy
Example 3 ((linearity)) 1. + y = x2
dx
It is linear, it does not matter that the independent variable x is raised to
the power 2, the dependent and the derivative are notes
ferential equation we are challenged to find the unknown functions, Definition 4 A solution of a differential
say y = f ( x ), for which an identity such as f 0 ( x ) − 2x f ( x ) = 0 (or in equation17 is any function, say φ that
dy satisfies the given differential equation on a
Leibniz notation of − 2xy = 0) holds on some interval of numbers. specified interval, say φ.
dx
Ordinarily, we will want to find all solutions of the differential equa- 17
A solution may be defined on
tion if possible. The solution of differential equations the whole real line (−∞, ∞) or on
plays an important role in the study of the motions of heavenly only a part of the line often an in-
terval ( a, b). The n derivatives of
bodies such as planets, moons and artificial satellites. Two questions
the function must exist on the in-
that we will be asking repeatedly of a differential equation in this terval, say a < x < b such that
course are: φ(n) ( x ) = f x, φ( x ), φ0 ( x ), ..., φ(n−1) ( x )
for every x in a < x < b.
1. Is there a solution to the differential equation? Thus if φ is a solution18 of some
first order differential equation, say
2. Is the solution given unique? dy
F x, y, = 0 on an interval I(real),
dx dφ
Example 5 Show that for any values of the arbitrary constant c1 and c2 then it implies F x, φ, = 0.
dx
the function φ = c1 cos x + c2 sin x is a solution of the differential equation 18
Note that to test whether a given
d2 y function solves a particular differential
+ y = 0. equation, we substitute the function φ
dx2
and its derivatives into the differential
Solution: equation. If the equation reduces to
We will need a second derivative of the solution function, φ. If φ is a identity (0) , then the function φ solves
d2 y d2 φ the equation otherwise it does not.
solution to F y, 2 = 0, then F φ, 2 = 0. If φ proves otherwise It is also important to note that since
dx dx solutions are often accompanied by in-
d2 y tervals, these intervals can explain some
then it is not a solution to F y, 2 = 0. We differentiate φ twice to important information or behaviour
dx
d2 φ about the solution.
obtain .
dx2
math168 - basic concepts of differential equations 6
dφ d2 φ
= −c1 sin x + c2 cos x ⇒ 2 = −c1 cos x − c2 sin x
dx dx
d2 y d2 φ
+y = 0 ⇒ 2 +φ = 0
dx2 dx
d2 y
+ y = (−c1 cos x − c2 sin x ) + (c1 cos x + c2 sin x ) = 0
dx2
This implies we have an identity. Hence φ is a solution to the given
ODE and that the formula φ = c1 cos x − c2 sin x gives all possible
d2 y
solution of the equation 2 + y = 0.
dx
Since sin x and cos x are continuous in the entire real line, the so-
lution is defined in the entire real line (−∞, ∞) for any arbitrary
constant c1 and c2 .
1
Example 6 Show that y = is a solution of y0 + 2xy2 = 0 on
x2 −1
I = (−1, 1) but not on any larger interval containing I
Solution:
We wil need a first derivative of the solution function.
1 −2x
y= 2 and y0 = 2 are well defined functions on (-1,1)
x −1 ( x − 1)2
Imitating the LHS of the differential equation y0 + 2xy2 = 0, we
2x h 1 i2 1
have: y0 + 2xy2 = − 2 + 2x = 0. Thus, y = 2 is
( x − 1)2 x2 − 1 x −1
a solution of I = (−1, 1).
1
Note, however, that 2 is not defined at x = +1 and therefore
x −1
could not be a solution on any interval containing either of these two
points.
Example 7 Show that y = ln x is a solution of xy00 + y0 = 0 on I = (0, ∞)
but is not a solution on I = (−∞, ∞)
see 19 where the independent variable true for all positve values. 19
Solution: 3
Example 8 Show that y = x − 2 is a
We will need the first and second derivative of the soliution function. solution of 4x2 y00 + 12xy0 + 3y = 0 for
1 1 x>0
y = ln x, y0 = and y00 = − 2 are well-defined functions on (0, ∞).
x x Solution:
1 1
Imitating the LHS of xy00 + y0 = 0 ,we have: x − 2 + = 0. We will need the first and second
x x
Thus, y = ln x is a solution on (0, ∞). Note that y = ln x could not be derivative of the solution function to
3 3 5
do this. y = x − 2 , y0 = − x − 2 and
a solution on (−∞, ∞), since the logarithm is undefined for negative 2
15 − 7
numbers containing. y00 = x 2 are well-defined functions
4
on x > 0 (0, ∞)
d2 y Imitating the LHS of 4x2 y00 + 12xy0 +
Example 9 Prove that y = e− x + sin x is a solution of + y = 2e− x
dx2 3y = 0, we have:
15 7 3 5
Solution: 4x2 x − 2 + 12x − x − 2 + 3x = 0 (27)
4 2
We will need a second derivative of solution function to do this.
3
y = e− x + sin x, y0 = −e− x + cos x and y00 = e− x − sin x Imitating the Thus y = x − 2 is a solution of x > 0
3 1
d2 y Note, however, that x − 2 = √ could
LHS of differential equation 2 + y = 2e− x x3
dx not be a solution on (−∞, 0], since zero
e− x − sin x + e− x + sin x = 2e− x and any negative real number plug into
it would give an undefined number and
complex number respectively, which is
not what we are looking for.
math168 - basic concepts of differential equations 7
12
Example 10 Show that the two functions y = c2 − x2 and y =
12 dy
− c2 − x2 are both solutions of the equation x + y = 0, −c < x < c.
dx
Solution:
We will need a first derivative to do this
12 − 12
y = + − c2 − x 2 , y 0 = − + x c2 − x 2 (28)
h 1
ih 1
i
x + + −(c2 − x2 ) 2 − + x (c2 − x2 )− 2 = 0 (29)
References