Professional Documents
Culture Documents
DIFFERENTIAL
EQUATION
Developed by:
COLLEGE OF ENGINEERING AND INFORMATION
TECHNOLOGY
University of Southern Mindanao
Kabacan, Cotabatao
2 Math 221: Concept of Mathematical Modeling
=================================
Module 1. Concept of Mathematical Modelling and
Differential Equation
Learning Outcomes:
Learning Outcomes are outcomes
ILO 1 Identify different types and forms of Differential Equation that is expected of a student at the
end of this module. It must be
ILO 2 Recognized mathematical models as a tool in solving
assessed after the delivery of the
engineering problems
Session.
ILO 3 Differentiate First order ODE from Homogeneous Equation
to Non-Homogeneous
Topics
1. Concept of Mathematical Modeling and Differential
Equation
1. Mathematical Modeling
2. Order and Degree of Differential Equation
3. Family of Solutions and Curves
4. Particular and General Solution
INTRODUCTION
1. Mathematical Modeling
If we want to solve an engineering problem, we
first have to formulate the problem as a
mathematical expression in terms of variables,
functions, equations, etc. Such mathematical
expression is called a mathematical model of
the given problem.
dX
∝X Physical interpretation
dt
dX
=kX Mathematical Model (D.E.)
dt
kt
X =Ae Mathematical Solution, family of
exponential functions. (General Solution)
X =X o
T F =32+ 1.8T C
dq
I=
dt
d2 y dy
m 2
+a + ky=F(t )
dt dt
Solution:
2. Suppose that an object is falling in the atmosphere near sea level. Formulate a differential
equation that describes the motion.
Solution:
Illustration 1:
Forces Diagram
Problem Sets
3. Newton’s law of cooling states that the temperature of an object changes at a rate
proportional to the difference between the temperature of the object itself and the
temperature of its surroundings (the ambient air temperature in most cases). Suppose
that the ambient temperature is 70◦F and that the rate constant is 0.05 per min. Write a
differential equation for the temperature of the object at any time. Note that the
differential equation is the same whether the temperature of the object is above or
below the ambient temperature.
5. Suppose that the population of the bacteria changes proportional to its current
population. (Malthunian Theorem) Find the population of the bacteria at any time (t).
8. Assume M(t) represents the mass of an element in kgs, Supposed Research has shown
that the instantaneous rate of decay of this element (kg/yr) is proportional to the
amount present. Set up a model for this relationship.
Problem Sets
Problem Set 1.2: Deal with various models. Assume the models are valid, even with
some of variables are discrete.
dv d2 x
F=ma=m =m 2
dt dt
kt
P= Ae
2
gt
y=V y +
2
dQ Q
R + =V
dt C
x=r cos Θ
x=r cos Θ
d2Θ g
+ sin Θ=0
dt 2 L
8 Math 221: Concept of Mathematical Modeling
=================================
2. Order and Degree of Differential Equation
Example 1.
3y 2y
d xd dy x
3
+e 2
– sin x =e cos x
dx dx dx
II. Discuss one of the mathematical model presented in problem set 1.2
III. Determine the Order and Degree of the following differential Equations
Degree Order
1. 2x
y ”−e + 9=sin 2 x ___________ ___________
( )
3
dy
2. + 9y=e
3x
___________ ___________
dx
( )( )
2y 2 3 x
d dy e
3. + – y =cos x ___________ ___________
dt 2 dx e 2x + 1
( )
3
δ2 y δ y
4. − −2x−1=0 ___________ ___________
δ x2 δx
I do certify that the answers provided are my own personal work.
__________________
Note: Take a picture of this exercise, save as pdf and submit as
Signature
attachment 1 of CO1: Exercise 1.
(http://vle.usm.edu.ph/mod/assign/view.php?id=5075)
10 Math 221: Concept of Mathematical Modeling
=================================
y ”+ 4 y=0
y ”+ 4 y=0
Example 1.3
4 2
y ” + y =0
y=0
Family of Curves
2 2 2
Consider the function x + y =r , this function
represents a circle with radius r with the center at
the origin (0,0). We call this function a solution. The
solution represent a family of curves. From our
previous courses in mathematics we derive this
function from the definition of curve,
Figure 2: Family of Circles with It would be safe to say that the solution can be
center at the Origin further dined by a differential equation
xdx+ ydy=0
Solve Problems
Solved Problems 1.2: Solutions and Family of Curves
1. 2x
Y =e +e
−2 x
is a solution for y ”−4 y =0
Solution
2x −2 x First Derivative
Y =e +e
2x −2 x Second Derivative
Y ' =2e −2 e
2x −2 x Substitution to the Original Equation
Y ' ' =4 e + 4 e
2x −2 x 2x −2 x
4 e +4 e −4 (e +e )=0 Validation
0=0 therefore: The function y is a solution
2. Verify whether the following functions are sets of solution or are solutions of the
Differential Equation.
2x −2 x
1. Y =e +e is a solution for y ”−4 y =0
Y =e 2 x First Derivative
2x
Y ' =2e Second Derivative
Y ' ' =4 e 2 x Substitution to the Original Equation
4 e 2 x −4 e 2 x =0 Validation
2x
0=0 Therefore: Y =e alone is a solution
2x −3 x
2. Y =e +e is a solution for y ”+ y '−6 y=0
2x −3 x
Y =e +e First Derivative
Y ' =2e 2 x −3 e−3 x Second Derivative
Y ' ' =4 e 2 x +9 e−3 x Substitution to the Original
2x −3 x 2x −3 x 2x −3 x
4 e +9 e +2 e −3 e −6 (e +e )=0 Equation
6 e 2 x −6 e2 x +6 e−3 x −6 e−3 x =0 Validation
0=0 Therefore: its a solution
Solve Problems
solving for both solutions:
−3 x
Y =e
2x Y =e
Y ' =2e 2 x Y '=3 e−3 x
−3 x
Y ' ' =4 e 2 x Y ' '=9 e
4 e 2 x +2 e2 x −6 e 2 x =0 9 e−3 x −3 e−3 x −6 (e−3 x )=0
2x
6 e −6 e =0
2x 6 e−3 x −6 e−3 x =0
0=0 0=0
2. y ’ ’+7 y ’+ 12 y=0
rt r 2 ert +7 r e rt +12 e rt =0
y=e 2
Solution: y '=r e rt r +7 r +12=0
2 rt r 1=−3
y ' '=r e
r 2=−4
4. Find the family of curves for all parabola with vertex at (1,2) opening to the right.
Solution:
The standard forms for parabola are:
2
( y−k) =a( x−h)
x ln x+ y ln y dy y (x− ylny)
2. Verify that y= is a solution to =
xy dx x (xlnx− y )
3. Draw and gave the equation of the family of lines with slope of 4.
4. Draw and gave the equation of the family of curves whose sum of distance from two
points (1,2) and (1,5) is constant.
5. Find an equation of the curve that passes through the point (1, 1) and whose slope
at (x, y) is y2/x3
6. For the following problems, find the value of r for which the given differential equation has
rt
a solution of the form y=e
1. y ’ – 9 y=0
2. y ’ +2 y=0
3. y ’ ’+11 y +30=0
4. y ’ ’ – 3 y −18=0
7. For the following problems, find the value of w for which the given differential equation
has a solution of the form y=sin w t
1. y’’ + 9 y = 0
2. y’’ + 16 y = 0
dy
8. Write a differential equation of the form =f (x , y) having the function g as its
dx
solution (or as one of its solutions).
1. The slope of the graph of g at the point (x, y) is the sum of x and y.
2. The line tangent to the graph of g at (x, y) passes through the point (-y, x).
Math 221E: Concept of Mathematical Modeling 15
dy
We take the differential equation =sin x , lets find
dx
the equation by using our knowledge in integral.
dy =sin x dx
∫ dy =∫ sin x dx +C
y=−cos x+ C
Let’s took at the example in the problem, let as say that the
y( π )=1 .
1=−cos π +C
1=1+C
C=0
Thus the Particular solution y=−cos Θ
x
Let is look at a differential equation y ’ ’−3 y ’−4 y=e
with known values at y(0) =2 and y ’ (0 )=1 . This is an
16 Math 221: Concept of Mathematical Modeling
=================================
initial-value problem. The know function and its derivative
is known at x = 0. On the other hand the differential
x
equation y ’ ’+5 y ’+ 4 y=e with known values at
y(0) =2 and y ’ (1 )=3 represents a boundary condition
with known values at different values x=0 and x=1
. Identifying the conditions for differential equation is
critical in finding the solutions of the differential equation.
x
The differential equation y ’ ’−3 y ’−4 y=e has a
4x −x
general solution of Y =c 1 e +c 2 e . The solution will
be further explained in the preceding modules on 2 nd
Order Homogeneous Equation.
function Substitute
0 0
4x
Y =c 1 e +c 2 e −x 2=c 1 e + c2 e
2=C 1+C 2
0 0
Y ' =4 c 1 e4 x −c 2 e−x 1=4 c 1 e −c2 e
1=4 C1−C 2
[ ] [ ]
2 1 1 2
1 −1 4 1
c 1= c 2=
1 1 1 1
4 −1 4 −1
c1 = 3/5 c2 = 7/5
Particular Solution
3 4x 7 −x
Y = c1 e + c2 e
5 5
Solve Problems
Solved Problems 1.3: General and Particular Solution with Boundary Problems
2.
t
y ”+ e y ’−24 y=e ;
3t
Initial-condition
( x=2 , y =1)and (x=2 , y ' =1)
3. y ”+8 y ’+ 15 y =0 ; y ' ' (2)=2, y ’(0)=1 Boundary Condition
x 3t
4. (e sin t+1)dy−( e cos t +2)dx=0; Initial Condition
at point(3,1) and at x=3 , y '=2
3.
2x
Y H =C1 e +C 2 e
−2 x
General Solution
Solution:
Y = A sin 2 t+ B cos 2 t , General Equations
1= A sin 2((2)(0))+ B cos((2)(0)) Substituting the value of t and y
1= A sin (0)+ B cos (0) Sin 0 = 0 and cos 0 =1
B=1
Y ' =2 A cos 2 t−2 B sin 2t 1st Derivative
2=2 A cos (0)−2 B sin(0) Substituting the value of t and y’
2=2 A
A=1 Substituting the Value of A and B
Y =sin 2t +cost 2t Particular solution
t 2t
4. Solve the solution Y =c 1 e – c 2 e given the initial-condition @ t=0 , y=1 and
y ’=2
Solution:
Solve Problems
General Equations
Y =c t1 e – c 2 e 2 t
Substituting the value of t and y
1=c01 e – c 2 e2 (0 ) Sin 0 = 0 and cos 0 =1
1=c1 – c 2
Y ' =ct1 e – 2 c2 e 2 t 1st Derivative
0
2=c1 e – 2 c 2 e
2(0)
Substituting the value of t and y’
2=c1 – 2 c 2 Substituting the Value of A and B
c 1=0
c 2=−1
Particular solution
Y =e 2 t
2t
5. Solve the solution Y =e ( A sin wt +B cos wt ) given the initial-condition @
t=0 , y=1 and y ’=2
Solution:
3x 3x
3. Y H =C1 e −C2 x e
4. Y =4 sin 6 t+5 cos 6 t
2t 2t
2. Y =c 1 e + c 2 x e , y (0)=1 and y ’=2
3 3
5. x +3 xy + y =C , given y(1)=2 ; y (0 ) '=3