Chapter 1
INTRODUCTION TO
DIFFERENTIAL EQUATIONS
Outline:
1.1 Basic Definition
1.2 Types of Differential Equations
1.3 Order of a Differential Equation
1.4 Degree of a Differential Equation
1.5 Types of Solutions to a Differential Equation
1.6 Elimination of Arbitrary Constant
Overview:
Differential equations is the mathematics of applications that is very important
in understanding sciences and engineering in which many of the phenomena in
nature can be expressed in terms of the language of differential equations.
At start, it is important to know the main definition and important terms in the
study of differential equations that will be used throughout the discussion of the
topics in this text. It is important so that the user of this material will guide him as he
proceeds progressively throughout the whole chapters.
This chapter will introduce the basic definition of a differential equation, the
types, the order and the degree of a differential equation and the types of solutions to
a differential equation.
Objectives:
Upon completion of this chapter, the students will be able to:
1. Define differential equations.
2. Identify the different types, order and degree of a differential equation.
3. Differentiate general solution from a particular solution.
4. Show that the given solution is the solution to a differential equation.
5. Find the differential equations of a given solution by elimination of
arbitrary constant.
Author: Harold Jan R. Terano, ECE, ME
1.1 Basic Definition
A differential equation is an equation that contains derivatives or differentials.
It can contain one or more terms involving derivatives of one variable with respect to
another variable.
Consider the following examples:
1. ݕƍ = 3 ݔ+ 5
ௗమ ௫
2. + 3 = ݐݔ4 ݔଶ
ௗ௧ మ
డ௫ డ௫
3. + = ݓݔଶ
డ௬ డ௪
1.2 Types of Differential Equations
Differential equation has two types; the ordinary differential equation and the
partial differential equation.
1. Ordinary Differential Equations. It is an equation that contains ordinary
derivatives. It involves only one independent variable.
Examples:
a. ݕƍ = ݔଶ + 2
b. ݕƍƍ = 4 ݔ+ ݕଶ
ௗ௫
c. + 3 ݔ+ = ݐ5
ௗ௧
2. Partial Differential Equations. It is an equation that contains partial
derivatives. It involves two or more independent variables. For partial
derivatives, ݀ becomes a script delta ߲.
Examples:
డ௫ డ௫
a. డ௬
+ డ௪
= 5
డమ ௫ డమ ௫ డమ ௫
b. + =
డ௬ మ డ௭ మ డ௪ మ
డమ௧ డమ ௧ డ௧
c. + =
డ௫ మ డ௬ మ డ௪
1.3 Order of a Differential Equation
The order of a differential equation is the highest derivative appearing on the
equation.
Examples:
1. ݕƍ = 4 ݔଶ - First order
Author: Harold Jan R. Terano, ECE, ME
డమ ௧ డ௧
2. డ௫ మ
+ = ݐݔ డ௬
- Second order
ௗయ ௫ ௗమ ௫ ௗ௫
3. ௗ௧ య
+ ௗ௧ మ
= ௗ௧
+ ݔଶ - Third order
1.4 Degree of a Differential Equation
The degree of a differential equation is the power to which the highest order
derivative is raised.
Examples:
ଶ
ௗమ ௬ ௗ௬
1. ቀ ௗ௫ మ ቁ + ௗ௫
= 3ݔ - Second degree
ଶ
ௗమ ௬ ௗ௬ ଷ
2. ቀ ௗ௫ మ ቁ + ቀௗ௫ ቁ = 4 ݔ+ ݕ - Second degree
ௗ௧
3. ௗ௫
+ 5 = ݐݔ0 - First degree
4. ݕ+ƍƍƍ (ݕƍƍ) ଶ ƍ
= ݕ+ ݕെ5 - First degree
(ହ) ଶ (ଷ) ଷ
5. ൫ݕ ൯ + ൫ݕ ൯ = 4ݕƍƍ - Second degree
1.5 Types of Solutions to a Differential Equation
A differential equation can obtain two solutions; a general solution and a
particular solution.
A general solution is the primitive of a differential equation. It involves an
equation having an arbitrary constant (symbol, ܿ).
Consider the example below.
ݕƍ = ݔଶ + 3
The general solution of the differential equation above can be obtained by
integrating both sides of the equation, as follows.
ௗ௬
ௗ௫
= ݔଶ + 3
݀ ݔ( = ݕଶ + 3)݀ݔ
ݔ( = ݕ݀ ଶ + 3)݀ݔ
௫య
=ݕ + 3 ݔ+ ܿ
ଷ
The particular solution of a differential equation can be obtained from the
general solution by assigning definite values to the arbitrary constants. The values of
the arbitrary constants can be obtained using a given initial conditions or boundary
conditions.
Consider the previous obtained general solution.
௫య
=ݕ ଷ
+ 3 ݔ+ ܿ
given the condition (ݕ3) = 1, find the particular solution.
Substitute the values using = ݔ3 and = ݕ1 and find the value of ܿ.
Author: Harold Jan R. Terano, ECE, ME
(ଷ) య
1= ଷ
+ 3(3) + ܿ
ܿ = െ17
Thus the particular solution is,
௫య
=ݕ ଷ
+ 3 ݔെ 17
A solution of differential equation is any function )ݔ(݂ = ݕthat satisfies the
equation.
From the previous discussions, we obtained the general solution and
particular solution from a given differential equation. We can verify if the given
solution or the obtained solution is actually the solution of a given differential
equation.
Example 1:
Show that ݁ݔ = ݕ௫ is a solution of ݕƍƍ െ ݕƍ െ ݁ ௫ = 0.
Solution:
First, get the first and second derivatives of the given solution.
ݕƍ = ݁ݔ௫ + ݁ ௫
ݕƍƍ = ݁ݔ௫ + ݁ ௫ + ݁ ௫
ݕƍƍ = ݁ݔ௫ + 2݁ ௫
Then, substitute the derivatives to the differential equation.
ݕƍƍ െ ݕƍ െ ݁ ௫ = 0
௫ ௫ ( ݁ݔ௫
݁ݔ+ 2݁ െ + ݁ ௫) െ ݁ ௫ = 0
0= 0
Therefore, the particular solution is the solution to the differential
equation.
Example 2:
Show that ݁ = ݕ௫ cos ݔis a solution of ݕƍƍ െ 2 ݕƍ + 2 = ݕ0.
Solution:
Get the first and second derivatives of the function.
ݕƍ = െ݁ ௫ sin ݔ+ ݁ ௫ cosݔ
ݕƍƍ = െ݁ ௫ cos ݔെ ݁ ௫ sin ݔെ ݁ ௫ sin ݔ+ ݁ ௫ cosݔ
= െ2݁ ௫ sin ݔ
Substitute to the differential equation.
ݕƍƍ െ 2 ݕƍ + 2 = ݕ0
( െ2݁ sin ) ݔെ 2(െ݁ sin ݔ+ ݁ cos ) ݔ+ 2(݁ ௫ cos = ) ݔ0
௫ ௫ ௫
0= 0
Author: Harold Jan R. Terano, ECE, ME
Example 3:
మ
Show that = ݕ2 + ݁ ି௫ is a solution of ݕƍ + 2 = ݕݔ4ݔ.
Solution:
Get the first derivative of the function.
మ
ݕᇱ = െ2ି ݁ݔ௫
Substitute to the differential equation.
ݕᇱ + 2 = ݕݔ4ݔ
െ2݁ݔ ି௫ మ మ
+ 2ݔ൫2 + ݁ ି௫ ൯ = 4ݔ
4 = ݔ4ݔ
1.6 Elimination of Arbitrary Constant
To find the differential equation given the general or particular solution, first is
to differentiate the general solution, again, differentiate the derived solution, etc., until
the number of the derived equation is equal to the number of the independent
arbitrary constants, and then eliminate the constants from the derived equations.
Example 1:
Find the differential equation of ݔଶ + 2ܿ = ݕݔ.
Solution:
Differentiating the given solution, we have,
2 ݔ݀ݔ+ 2( ݕ݀ݔ+ = )ݔ݀ݕ0
( ݔ+ ݔ݀)ݕ+ = ݕ݀ݔ0
Example 2:
Find the differential equation of ܿ = ݕଵ sin 2 ݔ+ ܿଶ cos2ݔ.
Solution:
Differentiate the solution twice since there are two arbitrary constants,
therefore,
ݕƍ = 2ܿଵ cos2 ݔെ 2ܿଶ sin 2ݔ
ݕƍƍ = െ4ܿଵ sin 2 ݔെ 4ܿଶ cos2ݔ
ݕƍƍ = െ4(ܿଵ sin 2 ݔ+ ܿଶ cos2)ݔ
Since ܿ = ݕଵ sin 2 ݔ+ ܿଶ cos2ݔ, thus the differential equation is,
ݕƍƍ = െ4ݕ
Example 3:
Find the differential equation of ܿ = ݕଵ ݁ ௫ + ܿଶ ݁ݔ௫ .
Solution:
Set the general solution as the first equation.
ܿ = ݕଵ ݁ ௫ + ܿଶ ݁ݔ௫ ĺ equation(1)
Differentiating the solution twice, we have,
ݕƍ = ܿଵ ݁ ௫ + ܿଶ ( ݁ݔ௫ + ݁ ௫ )
ݕƍ = ܿଵ ݁ ௫ + ܿଶ ݁ݔ௫ + ܿଶ ݁ ௫ ĺ equation(2)
ܿ = ݕଵ ݁ + ܿଶ ( ݁ݔ௫ + ݁ ௫ ) + ܿଶ ݁ ௫
ƍƍ ௫
Author: Harold Jan R. Terano, ECE, ME
ݕƍƍ = ܿଵ݁ ௫ + ܿଶ ݁ݔ௫ + 2ܿଶ݁ ௫ ĺ equation(3)
Subtracting equation(2) to equation(3), we have,
ݕƍƍ െ ݕƍ = ܿଶ݁ ௫ ĺ equation(4)
Subtracting equation(1) to equation(3), we have,
ݕƍƍ െ = ݕ2ܿଶ݁ ௫ ĺ equation(5)
Subtracting equation(4) to equation(5), we have,
ݕƍ െ ܿ = ݕଶ݁ ௫ ĺ equation(6)
Subtracting equation(6) to equation(4), we have,
ݕƍƍ െ 2 ݕƍ + = ݕ0
The arbitrary constants had been eliminated; therefore, the differential
equation is, ݕƍƍ െ 2 ݕƍ + = ݕ0.
Exercises
I. Show that the following solutions are the solutions to the differential
equations indicated.
ୱ୧୬ ௫
1. sin = ݕcos ݕ ;ݔƍ = െ ୡ୭ୱ ௬
2. ݔ = ݕ+ ݁ ௫ + ݁ ି௫ ; ݕƍƍ െ = ݕെݔ
ଵ ௗ௬
3. = ݕ ୪୬(ଵି௫)
; (1 െ )ݔௗ௫ = ݕଶ
ௗ௬ ଵା௬ మ
4. Arctan = ݕArctan ; ݔ െ = 0
ௗ௫ ଵା௫ మ
5. = ݕsin 2 ݐ+ cos2 ݕ ; ݐƍƍ + 4 = ݕ0
II. Find the particular solutions of the given general solutions satisfying the
given conditions.
1. ݁ ௫ െ 4 ݕଶ = ܿ; (ݕln 2) = 1 Ans: ݁ ௫ െ 4 ݕଶ = െ2
ଶ ଶ
2. ݔ+ (ݕ ;ܿ = ݕ1) = 1 Ans: ݔଶ + ݕଶ = 2
3. ܿ ݕଶ = ݔଷ + ݕݔଶ ; (ݕ2) = 1 Ans: 10 ݕଶ = ݔଷ + ݕݔଶ
4. = ݕtan ݔ+ ܿ; (ݕ0) = 0 Ans: = ݕtan ݔ
5. 2 ݔ+ sin ܿ = ݔ+ (1 + ݕଶ ) ଶ; (ݕ0) = 1 Ans: 2 ݔ+ sin = ݔെ4 + (1 + ݕଶ ) ଶ
III. Find the differential equations of the following general solutions.
1. ܿ = ݕଵ ݁ ଶ௫ + ܿଶ ݁ ି௫ Ans: ݕƍƍ െ ݕƍ െ 2 = ݕ0
2. ݁ݕଶ௫ െ 2 cosܿ = ݔ Ans: 2( ݁ݕଶ௫ + sin ݔ݀)ݔ+ ݁ ଶ௫ ݀ = ݕ0
ଷ
3. ( ݕെ ݔܿ = )ݔ Ans: 3 ݕ݀ݔെ (2 ݔ+ = ݔ݀)ݕ0
Author: Harold Jan R. Terano, ECE, ME
ଵ
4. ܿ = ݕଵ݁ ௫ + ܿଶ ݁ ିଷ௫ + ݁ ଶ௫ Ans: ݕƍƍ + 2 ݕƍ െ 3 ݁ = ݕଶ௫
ହ
5. ܿ = ݕଵ cos2 ݔ+ ܿଶ sin 2ݔ Ans: ݕƍƍ + 4 ݕƍ = 0
IV. Find the differential equations described by the following family of curves.
1. Parabolas ݔܿ = ݕଶ . Ans: ݕ݀ݔെ 2 = ݔ݀ݕ0
2. Curve ܿ = ݕcosݔ. Ans: cos ݕ݀ ݔ+ ݕsin = ݔ݀ ݔ0
3. Straight lines with slope and ݕ-intercept equal. Ans: ݔ݀ݕെ ( ݔ+ 1)݀ = ݕ0
ଷ
4. Circles with center on the ݕ-axis. Ans: ݕݔƍƍ െ ൫ ݕƍ൯ െ ݕƍ = 0
5. Ellipses having their center at (݄,݇). Ans: ܾ ଶ ( ݔെ ݄)݀ ݔ+ ܽଶ ( ݕെ ݇) ଶ = 0
Author: Harold Jan R. Terano, ECE, ME
8
Author: Harold Jan R. Terano, ECE, ME