Differential Equation
Differential Equation
insertframenavigationsymbol 1/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Differential Equations
Course Description
This course is intended for all engineering students to have a firm
foundation of differential equations in preparing for their
degree-specific advanced mathematics courses. It covers first order
differential equations, nth order linear differential equations and
systems of first order linear differential equations. It also
introduces the concept of Laplace Transforms in solving differential
equations. The students are expected to be able to recognize
different kinds of differential equations, determine the existence
and uniqueness of solution, select the appropriate methods of
solution and interpret the obtained solution. Students are also
expected to relate differential equations to various practical
engineering and scientific problems as well as employ computer
technology in solving and verifying solutions.
insertframenavigationsymbol 2/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Chapter 1: Definitions, Elimination of Arbitrary Constants
Differential Equation
It is an equation containing differentials or derivatives of a function
of one independent variable. The following are examples of
differential equations:
dy
=x +5
dx
dy
= cos x
dx
d 2y
+ k 2y = 0
dx 2
(x 2 + y 2 )dx − 2xydy = 0
∂2V ∂2V
+ =0
∂x 2 ∂y 2
insertframenavigationsymbol 3/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Chapter 1: Definitions, Elimination of Arbitrary Constants
insertframenavigationsymbol 4/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Chapter 1: Definitions, Elimination of Arbitrary Constants
insertframenavigationsymbol 5/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Chapter 1: Definitions, Elimination of Arbitrary Constants
insertframenavigationsymbol 6/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Chapter 1: Definitions, Elimination of Arbitrary Constants
(y ′′ )2 + (y ′ )3 + 3y = x 2
insertframenavigationsymbol 7/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Chapter 1: Definitions, Elimination of Arbitrary Constants
Linear vs Nonlinear Differential Equations
Example:
Figure: Examples
insertframenavigationsymbol 9/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Review Problems
Problem:
Give the order and the degree of the following differential
equations. State whether ordinary or partial,also whether linear or
nonlinear.
2
x 2 dy d y 2
dx + x dx 2 + y = 1
insertframenavigationsymbol 10/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Review Problems
Problem:
Give the order and the degree of the following differential
equations. State whether ordinary or partial,also whether linear or
nonlinear.
2
x 2 dy d y 2
dx + x dx 2 + y = 1
Order:2, Degree:1, Ordinary, Linear
insertframenavigationsymbol 10/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Review Problems
Problem:
Give the order and the degree of the following differential
equations. State whether ordinary or partial,also whether linear or
nonlinear.
3
dy 2
dx + xy ddxy2 = ky
insertframenavigationsymbol 11/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Review Problems
Problem:
Give the order and the degree of the following differential
equations. State whether ordinary or partial,also whether linear or
nonlinear.
3
dy 2
dx + xy ddxy2 = ky
insertframenavigationsymbol 11/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Review Problems
Problem:
Give the order and the degree of the following differential
equations. State whether ordinary or partial,also whether linear or
nonlinear.
y ′′′ − 3y ” + 2y ′ + y = 0
insertframenavigationsymbol 12/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Review Problems
Problem:
Give the order and the degree of the following differential
equations. State whether ordinary or partial,also whether linear or
nonlinear.
y ′′′ − 3y ” + 2y ′ + y = 0
Order:3, Degree:1, Ordinary, Linear
insertframenavigationsymbol 12/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Review Problems
Problem:
Give the order and the degree of the following differential
equations. State whether ordinary or partial,also whether linear or
nonlinear.
∂2ω 2
∂t 2
= a2 ∂∂xω2
insertframenavigationsymbol 13/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Review Problems
Problem:
Give the order and the degree of the following differential
equations. State whether ordinary or partial,also whether linear or
nonlinear.
∂2ω 2
∂t 2
= a2 ∂∂xω2
Order:2, Degree:1, Partial, Nonlinear
insertframenavigationsymbol 13/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Review Problems
Problem:
Give the order and the degree of the following differential
equations. State whether ordinary or partial,also whether linear or
nonlinear.
∂t ∂t
2x ∂x + 4y ∂y =0
insertframenavigationsymbol 14/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Review Problems
Problem:
Give the order and the degree of the following differential
equations. State whether ordinary or partial,also whether linear or
nonlinear.
∂t ∂t
2x ∂x + 4y ∂y =0
Order:1, Degree:1, Partial, Linear
insertframenavigationsymbol 14/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Definitions:
insertframenavigationsymbol 15/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Definitions:
Particular Solution
⇒ it is derived from the general solution wherein the arbitrary
constant becomes absolute by means of a given initial condition.
insertframenavigationsymbol 16/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Definitions:
General Solution
⇒ it it contains an arbitrary constant.
insertframenavigationsymbol 17/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
General Solution vs Particular Solution
Example:
Given
y ′ = 2x + 1.
Obtain the general solution and the particular solution at an initial
condition x = 2 and y = 1.
insertframenavigationsymbol 18/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Elimination of Arbitrary Constants
Example 1:
Eliminate the arbitrary constant
x sin y + x 2 y = c
insertframenavigationsymbol 19/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Elimination of Arbitrary Constants
Example 1:
Eliminate the arbitrary constant
x sin y + x 2 y = c
insertframenavigationsymbol 20/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Elimination of Arbitrary Constants
Example 2:
Eliminate the arbitrary constant
y = c1 + c2 e 3x .
insertframenavigationsymbol 21/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Elimination of Arbitrary Constants
Example 2:
Eliminate the arbitrary constant
y = c1 + c2 e 3x .
Answer: y ′′ − 3y ′ = 0
insertframenavigationsymbol 22/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Elimination of Arbitrary Constants
Example 3:
Eliminate the arbitrary constant
insertframenavigationsymbol 23/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Elimination of Arbitrary Constants
Example 3:
Eliminate the arbitrary constant
insertframenavigationsymbol 24/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Prelim Quiz No.01
In Each of the following eliminate the arbitrary constants.
1 3x 2 − xy 2 = c
2 cx 2 + x + y 2 = 0
3 x = c1 cos ωt + c2 sin ωt ; ω a parameter.
h
4 y = mx + m ; h a parameter, m to be eliminated
5 y= ax 2 + bx + c
6 y = 4 + c1 e 3x
7 y = c1 e x + c2 e −x
insertframenavigationsymbol 25/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Families of Curves
Families of Curves
An equation involving a parameter, as well as one or both of the
coordinates of a point in a plane, may be represent a family of
curves, one curve corresponding to each value of the parameter.
For instance, the equation
(x − c)2 + (y − c)2 = 2c 2
insertframenavigationsymbol 26/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Families of Curves
Family of circles, each having center on the line y = x and each
passing through the origin
insertframenavigationsymbol 27/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Families of Curves
Example 1:
Obtain the differential equation of the family of straight lines
through the origin.
insertframenavigationsymbol 28/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Families of Curves
Example 1:
Obtain the differential equation of the family of straight lines
through the origin.
Answer: xdy − ydx = 0
insertframenavigationsymbol 29/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Families of Curves
Example 2:
Obtain the differential equation of the family of circles with center
at the origin.
insertframenavigationsymbol 30/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Families of Curves
Example 2:
Obtain the differential equation of the family of circles with center
at the origin.
Answer: xdx + ydy = 0
insertframenavigationsymbol 31/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Chapter 2: Equations of Order One
Separation of Variables
We begin our study of the methods for solving first-order equations
by studying an equation of the form
Mdx + Ndy = 0,
Illustration
insertframenavigationsymbol 33/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Separation of Variables
insertframenavigationsymbol 34/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Separation of Variables
Method
insertframenavigationsymbol 35/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Separation of Variables
Example 1:
Solve this (k is a constant):
dy
= ky
dx
insertframenavigationsymbol 36/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Separation of Variables
Solution:
insertframenavigationsymbol 37/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Separation of Variables
Solution:
insertframenavigationsymbol 38/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Separation of Variables
Exercises:
Obtain the general solution of
1 (1 − x)y ′ = y 2
Answer: yln|c(1 − x)| = 1
2
2 xy 3 dx + e x dy = 0
2
Answer: e −x + y −2 = c
3 mydx = nxdy
Answer: x m = cy n
4 dr = b(cos θdr + r sin θdθ)
Answer: r = c(1 − b cos θ)
insertframenavigationsymbol 39/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Homogeneous Functions
Definition:
The function f (x, y ) is said to be homogeneous of degree n in x
and y , if and only if
f (zx, zy ) = z n f (x, y ).
In other words
insertframenavigationsymbol 40/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Homogeneous Functions
Example 1:
insertframenavigationsymbol 41/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Homogeneous Functions
Example 2:
insertframenavigationsymbol 42/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Homogeneous Functions
Example 3:
insertframenavigationsymbol 43/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Homogeneous Functions
Exercises:
Determine in each exercise whether or not the function is
homogeneous. If it is homogeneous, state the degree of the
function.
1 x 3 − xy + y 3
2 4x 2 − 3xy + y 2
insertframenavigationsymbol 44/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Homogeneous Functions
insertframenavigationsymbol 45/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Homogeneous Functions
Exercises:
Obtain a family of solutions of
1 (x − 2y )dx + (2x + y )dy = 0
Answer: ln(x 2 + y 2 ) + 4arc tan( yx ) = c
2 xydx − (x 2 + 3y 2 )dy
Answer: x 2 = 6y 2 ln|cy |
3 x 2 y ′ = 4x 2 + 7xy + 2y 2
insertframenavigationsymbol 46/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Exact Equations
Definition:
∂M ∂N
From the standard form Mdx + Ndy = 0, if ∂y = ∂x , the
equation is an exact equation.
insertframenavigationsymbol 47/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Exact Equations
Steps:
∂F
1 Let ∂x =M
∂F
2 Let ∂y =N
3 Integrate (1) then add a certain function T (y ) instead of an
arbitrary constant.
∂F
4 Obtain the value of ∂y in the resulting equation of step (3).
5 Equate (2) and (4).
6 Integrate the equation obtained in (5).
7 Substitute the value of T (y ) in (3).
8 Equate (7) to c or lnc.
insertframenavigationsymbol 48/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Exact Equations
Definition:
Solve the equation: (x + 2y )dx + (2x + y )dy = 0.
insertframenavigationsymbol 49/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Exact Equations
Definition:
Solve the equation: (x + 2y )dx + (2x + y )dy = 0.
insertframenavigationsymbol 50/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Exact Equations
Definition:
Solve the equation: (6x + y 2 )dx + y (2x − 3y )dy = 0.
insertframenavigationsymbol 51/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Exact Equations
Definition:
Solve the equation:
(cos 2y − 3x 2 y 2 )dx + (cos 2y − 2x sin 2y − 2x 3 y )dy = 0.
insertframenavigationsymbol 52/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Non-Exact Equations
Definition:
From the standard form Mdx + Ndy = 0, if ∂M ∂N
∂y ̸= ∂x , the
equation is said to be non-exact. In order to make the equation
exact, multiply each term of the given equation by an Integrating
Factor (I.F.) i.e. I .F .(Mdx) + I .F .(Ndy ) = 0 after multiplying,
proceed to the solution of exact equation.
insertframenavigationsymbol 53/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Non-Exact Equations
insertframenavigationsymbol 54/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Non-Exact Equations
Problem:
Solve the equation: (x 2 + y 2 + 1)dx + x(x − 2y )dy = 0.
insertframenavigationsymbol 55/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Non-Exact Equations
Problem:
Solve the equation: y (4x + y )dx − 2(x 2 − y )dy = 0.
insertframenavigationsymbol 56/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Non-Exact Equations
Problem:
Solve the equation: v 2 dx + x(x + v )dv = 0.
insertframenavigationsymbol 57/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
General Solution of a Linear Equation (Order One)
insertframenavigationsymbol 58/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
General Solution of a Linear Equation (Order One)
Problem:
Solve the equation: (x 4 + 2y )dx − xdy = 0.
insertframenavigationsymbol 59/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
General Solution of a Linear Equation (Order One)
Problem:
Solve the equation: y ′ = x − 2y cot 2x.
insertframenavigationsymbol 60/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Integrating Factor Found By Inspection
Integrable Combinations:
1 d(xy ) = xdy + ydx
ydx−xdy
2 d( yx ) = y2
3 d( yx ) = xdyx−ydx
2
insertframenavigationsymbol 61/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Integrating Factor Found By Inspection
Problem:
Solve the equation: y (2xy + 1)dx − xdy = 0.
insertframenavigationsymbol 62/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Integrating Factor Found By Inspection
Problem:
Solve the equation: y (y 2 + 1)dx + x(y 2 − 1)dy = 0.
insertframenavigationsymbol 63/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Substitution Suggested By the Equation
Problem:
Solve the equation: (3x − 2y + 1)dx + (3x − 2y + 3)dy = 0.
insertframenavigationsymbol 64/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Bernoulli’s Equation
If Mdx + Ndy = 0, reduces to a form:
dy
1
dx + P(x)y = y n Q(x)
dx
2
dy + P(y )x = x n Q(y )
The solutions are:
R R
Pr (x)dx y (1−n) Pr (x)dx Q (x)dx
R
1 e = e r
R R
Pr (y )dy x (1−n) Pr (y )dy Q (y )dy
R
2 e = e r
Problem:
Solve the equation: y ′ = y − xy 3 e −2x .
insertframenavigationsymbol 66/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Bernoulli’s Equation
Problem:
Solve the equation: 2ydx + x(x 2 lny − 1)dy = 0.
insertframenavigationsymbol 67/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Elementary Applications
Velocity Escape
p
ve = 2gR
insertframenavigationsymbol 68/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Velocity Escape
Problem:
The radius of the moon is roughly 1080 miles. The acceleration of
gravity at the surface of the moon is about 0.165g , where g is the
acceleration of gravity at the surface of the earth. Determine the
velocity of escape for the moon.
insertframenavigationsymbol 69/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Exponential Growth or Decay
Problem:
Radium decomposes at a rate proportional to the quantity of
radium present. Suppose that it is found that in 25 years
approximately 1.1 percent of a certain quantity of radium has
decomposed. Determine approximately how long it will take for
one-half the original amount of radium to decompose.
insertframenavigationsymbol 70/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Exponential Growth or Decay
Problem:
A certain radioactive substance has a half-life of 38 hours. Find
how long it takes for 90 percent of the radioactivity to be
dissipated.
insertframenavigationsymbol 71/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Newton’s Law of Cooling
Newton’s Law of Cooling:
The temperature of a body changes at a rate that is proportional
to the difference in temperature between the outside medium and
the body itself.
dT
α(T − u)
dt
Z T2 Z t2
dT
= kdt
T1 T − u t1
Problem:
A thermometer reading 75o F is taken out where the temperature
is 20o F , the reading is 30o F 4 minutes later. Find the reading 7
minutes after the thermometer brought outside.
insertframenavigationsymbol 73/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Newton’s Law of Cooling
Problem:
At 1:00 p.m., a thermometer reading 70o F is taken outside where
the air temperature is −10o F (ten below zero). At 1:02 p.m., the
reading is 26o F . At 1:05 p.m., the thermometer is taken back
indoor where the air is at 70o F . What is the reading at 1:09 p.m.?
insertframenavigationsymbol 74/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS
Thank You!
insertframenavigationsymbol 75/74
Engr. Ricky S. Valenzuela DIFFERENTIAL EQUATIONS