ODE Lecture Notes UPDATED
ODE Lecture Notes UPDATED
Chapter One
First Order Ordinary Differential Equations
Basic Concepts (Some Definitions and Terminology)
Definition (Differential Equation): An equation containing the derivatives of one or more unknown
functions (or dependent variables), with respect to one or more dependent variables, is said to be a
differential equation (DE). [Or DE is an equation involving a dependent variable and its derivatives with
respect to one or more independent variable].
Classification by Type:
If a DE contains only ordinary derivatives of one or more unknown functions with respect to a
single independent variable, it is said to be an ordinary differential equation (ODE).
An equation involving partial derivatives of one or more unknown functions of two or more
independent variables is called a partial differential equation (PDE).
Example: Types of Differential Equations
𝑑𝑦 𝑑2 𝑦 𝑑𝑦 𝑑𝑥 𝑑𝑦
(a) The equations 𝑎) + 5𝑦 = 𝑒 𝑥 , 𝑏) − 𝑑𝑥 + 6𝑦 = 0, and 𝑐) + 𝑑𝑡 = 2𝑥 + 𝑦 are
𝑑𝑥 𝑑𝑥 2 𝑑𝑡
examples of ODEs.
(b) The following equations are partial differential equations:
𝜕 2𝑢 𝜕 2𝑢 𝜕 2 𝑢 𝜕 2 𝑢 𝜕𝑢 𝜕𝑢 𝜕𝑣
𝑎) + = 0, 𝑏) = − , 𝑐) =− .
𝜕𝑥 2 𝜕𝑦 2 𝜕𝑥 2 𝜕𝑡 2 𝜕𝑡 𝜕𝑦 𝜕𝑥
Notice in the third equation that there are two unknown functions and two independent variables in the
PDE. This means 𝑢 and 𝑣 must be functions of two or more independent variables.
Classification by Order:
The order of a DE (either ODE or PDE) is the order of the highest derivative appearing in the
𝑑2 𝑦 𝑑𝑦 3
equation, + 5 (𝑑𝑥 ) − 4𝑦 = 𝑒 𝑥 is a second order ordinary differential equation.
𝑑𝑥 2
The degree of a DE is the degree of the highest derivative occurring in the equation, after the
equation has been expressed in a form free from radicals and fractions.
An ODE is said to be order 𝑛 if the nth derivative of the unknown function 𝑦 is the highest
derivative of 𝑦 in the equation.
In symbols we can express an nth order ODE in one dependent variable by the general form
𝑑𝑛 𝑦 𝑑𝑛−1 𝑦 𝑑𝑛−2 𝑦 𝑑𝑦
𝐹(𝑥, 𝑦, 𝑦’, 𝑦”, … , 𝑦 (𝑛) ) = 0 or 𝑎𝑛 (𝑥) 𝑑𝑥 𝑛 + 𝑎𝑛−1 (𝑥) 𝑑𝑥 𝑛−1 + 𝑎𝑛−2 (𝑥) 𝑑𝑥 𝑛−2 + ⋯ + 𝑎1 (𝑥) 𝑑𝑥 +
where 𝐹 is a real-valued function of n +2 variables: 𝑥, 𝑦, 𝑦’, 𝑦’’, … , 𝑦 (𝑛) and 𝑎0 (𝑥), 𝑎1 (𝑥) … . 𝑎𝑛 (𝑥)
called the coefficient of the equation with 𝑎𝑛 (𝑥) ≠ 0.
Classification by Linearity:
An nth-order ODE (*) is said to be linear if 𝐹 is linear in 𝑦, 𝑦’, 𝑦’’, … , 𝑦 (𝑛) .
✓ This means that an nth-order ODE is linear when (*) is
𝑑𝑛 𝑦 𝑑𝑛−1 𝑦 𝑑𝑛−2 𝑦 𝑑𝑦
𝑎𝑛 (𝑥) 𝑑𝑥 𝑛 + 𝑎𝑛−1 (𝑥) 𝑑𝑥 𝑛−1 + 𝑎𝑛−2 (𝑥) 𝑑𝑥 𝑛−2 + ⋯ + 𝑎1 (𝑥) 𝑑𝑥 + 𝑎0 (𝑥)𝑦 = 𝑔(𝑥)…… (**)
Two important special cases of (**) are linear first-order (n =1) and linear second-order
𝑑𝑦 𝑑2 𝑦 𝑑𝑦
(n =2) DEs: 𝑎1 (𝑥) + 𝑎0 (𝑥)𝑦 = 𝑔(𝑥) an 𝑎2 (𝑥) + 𝑎1 (𝑥) + 𝑎0 (𝑥)𝑦 = 𝑔(𝑥)
𝑑𝑥 𝑑𝑥 2 𝑑𝑥
An nth-order ODE (*) is said to be nonlinear if 𝐹 is not linear at least in 𝑦, 𝑦’, 𝑦’’, … , 𝑦 (𝑛) .
Nonlinear functions of the dependent variable or its derivatives, such as 𝑠𝑖𝑛𝑦 or 𝑒 𝑦′ , cannot appear
in a linear equation.
Example
Equation Type Order Degree Linearity
1 𝑦′ = 𝑐𝑜𝑠𝑥 ODE 1 1 linear
2 𝜕 2𝑢 𝜕 2𝑢 PDE 2 1 linear
+ =0
𝜕𝑥 2 𝜕𝑦 2
3 𝑦 " + 9𝑦 = 0 ODE 2 1 linear
4 𝑑3𝑦
2
𝑑𝑦 3 ODE 3 1 nonlinear
𝑥 + 2𝑒 ( ) = (𝑥 2 + 2)2
𝑥
𝑑𝑥 3 𝑑𝑥
5 𝑦′ + 𝑥3𝑦 = 𝑥 ODE 1 1 linear
6 2 ODE 3 2 nonlinear
𝑑3 𝑦 𝑑𝑦
( 3) + = 𝑐𝑜𝑠𝑥
𝑑𝑥 𝑑𝑥
7 (𝑦 ′′′ )2 − (𝑦 ′ )𝑥 = 𝑥 − 1 ODE 3 2 nonlinear
8 √𝑦 ′ = 𝑦 ′′′ + 1 ODE 3 2 nonlinear
′′
9 𝑦 ′′ = 𝑒 𝑦 ODE 2 No nonlinear
𝑦′ =4𝑥 −3 𝑦 2.
Definition: The most general nth order linear ordinary differential equation can be written as
𝒂𝒏 (𝒙)𝒚𝒏 + 𝒂𝒏−𝟏 (𝒙)𝒚𝒏−𝟏 + ⋯ + 𝒂𝟎 (𝒙)𝒚 = 𝒈(𝒙) ………… ( ****)
where, 𝑎0 (𝑥), 𝑎1 (𝑥) … . 𝑎𝑛 (𝑥) called the coefficient of the equation.
The known function 𝑔(𝑥) ≠ 0, ∀𝑥 is called non homogeneous term, equation (****) is called
homogeneous if 𝑔(𝑥) = 0.
If the coefficients in (****) are constant, so that it is becomes
𝒂𝒏 𝒚𝒏 + 𝒂𝒏−𝟏 𝒚𝒏−𝟏 + ⋯ + 𝒂𝟎 𝒚 = 𝒈(𝒙).
which is called LODE with constant coefficients. 𝑎𝑛 ≠ 0 , otherwise, the equation would not be the nth
order.
Examples
ODE Linearity Homogeneity Order
𝑑𝑦 linear Non homogeneous 1st
1. + 2𝑥𝑦 = 𝑠𝑖𝑛𝑥
𝑑𝑥
𝑑3 𝑦 𝑑𝑦 linear Non homogeneous 3rd
2. 𝑥 3 𝑑𝑥 3 − 2𝑥 𝑑𝑥 + 6𝑦 = 𝑒 𝑥
𝑑2 𝜃 Non-linear homogeneous 2nd
3. + 2𝑠𝑖𝑛𝜃 = 0
𝑑𝑡 2
𝑑4 𝑦 Non-linear homogeneous 4th
4. + 𝑦2 = 0
𝑑𝑥 4
Formation of ODE: An ODE is formed in an attempt to eliminate certain arbitrary constant from a
relation in the variables and constants.
Examples
1. Form the differential equation of simple harmonic motion given by 𝑥 = 𝐴𝑐𝑜𝑠(𝑛𝑡 + 𝛼).
Solution: to eliminate the constants A and 𝛼 differentiating it twice, we have
𝑑𝑥 𝑑2 𝑥 𝑑2 𝑥
= −𝑛𝐴𝑠𝑖𝑛(𝑛𝑡 + 𝛼) and = −𝑛2 𝐴𝑐𝑜𝑠(𝑛𝑡 + 𝛼) = −𝑛2 𝑥. Thus, + 𝑛2 𝑥 = 0 is the
𝑑𝑡 𝑑𝑡 2 𝑑𝑡 2
desired DE which states that the acceleration varies as the distance from the origin.
2. Obtain the DE of all circles of radius 𝑟 and center (ℎ, 𝑘).
Solution: Such a circle is (𝑥 − ℎ)2 + (𝑦 − 𝑘)2 = 𝑟 2 ,………………………………….(i)
where ℎ and 𝑘, the coordinates of the center, and 𝑟 are the constants. Differentiate it twice, we have
𝑑𝑦 𝑑2 𝑦 𝑑𝑦 2
𝑥 − ℎ + (𝑦 − 𝑘) 𝑑𝑥 = 0 and 1 + (𝑦 − 𝑘) 𝑑𝑥 2 + (𝑑𝑥 ) = 0.
HU 3 ODE
Ordinary Differential Equation
𝑑𝑦 2 𝑑𝑦 𝑑𝑦 2
1+( ) 𝑑𝑦 [1+( ) ]
𝑑𝑥 𝑑𝑥 𝑑𝑥
Then 𝑦 − 𝑘 = − 𝑑2 𝑦
and 𝑥 − ℎ = −(𝑦 − 𝑘) 𝑑𝑥 = 𝑑2 𝑦
. Substituting these in (i) and
𝑑𝑥2 𝑑𝑥2
2
𝑑𝑦 2 𝑑2 𝑦
simplifying, we get [1 + (𝑑𝑥 ) ]3 = 𝑎2 (𝑑𝑥 2 ) ……………………………….. (ii) as the required
3
𝑑𝑦 2 2
(1+( ) )
𝑑𝑥
differential equation writing (ii) in the form 𝑑2 𝑦
=𝑎, it states that the radius of curvature of a
𝑑𝑥2
HU 4 ODE
Ordinary Differential Equation
contained in [𝑎, 𝑏] and a unique function 𝑦(𝑥), defined on 𝐼0 , that is a solution of the initial value problem
𝑦 ′ = 𝑓(𝑥, 𝑦) , 𝑦(𝑥0 ) = 𝑦0 .
Solutions of First Order Differential Equation
A) Elementary Method: If the differential equation has the form, 𝒚′ = 𝒇(𝒙) , then
𝑑𝑦
= 𝑓(𝑥) ⟹ 𝑑𝑦 = 𝑓(𝑥)𝑑𝑥
𝑑𝑥
which up on integration gives
∫ 𝑑𝑦 = ∫ 𝑐𝑜𝑠𝑥𝑑𝑥 ⇒ 𝑦 = 𝑠𝑖𝑛𝑥 + 𝑐
Separable equations
Definition. An equation 𝑦′ = 𝑓(𝑥, 𝑦) is called separable if it can be written in the form
𝑦′ = 𝐹(𝑥)𝐺(𝑦) (*)
For some function 𝐹(𝑥) a dependent only on 𝑥 and 𝐺(𝑦)dependent on 𝑦.
Solution Method: Equation (*) can be written as
𝑑𝑦 1
= 𝐹(𝑥)𝐺(𝑦) ⇒ 𝑑𝑦 = 𝐹(𝑥)𝑑𝑥
𝑑𝑥 𝐺(𝑦)
1
⟹ ∫ 𝐺(𝑦) 𝑑𝑦 = ∫ 𝐹(𝑥)𝑑𝑥 ⟹ 𝑀1 (𝑦) = 𝑀2 (𝑥) + 𝑐,
1
Where, ∫ 𝐺(𝑦) 𝑑𝑦 = 𝑀1 (𝑦) and ∫ 𝐹(𝑥)𝑑𝑥 = 𝑀2 (𝑥) + 𝑐
term wise division on the left-hand side and the trigonometric identity, 𝑠𝑖𝑛2𝑥 = 2𝑠𝑖𝑛𝑥𝑐𝑜𝑠𝑥, on the
right-hand side. Then
Homogenous Equations
Sometimes, the best way of solving a DE is to use a change of variables that will put the DE into a form
whose solution method we know. We now consider a class of DEs that are not directly solvable by
separation of variables. But, through a change of variables can be solved by that method.
Definition: A function 𝑓(𝑥, 𝑦) is said to be algebraically homogenous of degree 𝑛, if 𝑓(𝑘𝑥, 𝑘𝑦) =
𝑘 𝑛 𝑓(𝑥, 𝑦), for some real number 𝑛 and all 𝑘 > 0 for (𝑥, 𝑦) ≠ (0,0).
Example: Show that a) 𝑓(𝑥, 𝑦) = 𝑥 2 + 3𝑥𝑦 + 4𝑦 2 is homogenous.
b) 𝑓(𝑥, 𝑦) = ln|𝑦| − ln|𝑥| for (𝑥, 𝑦) ≠ (0,0) is homogenous of degree 0.
Note: A homogenous function of degree 𝑛 in 𝑥 and 𝑦 can also be expressed as
𝑥 𝑦
𝑦 𝑛 𝐹(𝑦) or 𝑥 𝑛 𝐹(𝑥 ).
Example
𝑥 2 +𝑦 2
a) 𝑓(𝑥, 𝑦) = 𝑥 3 +𝑦 3 , homogenous. c) 𝑓(𝑥, 𝑦) = 𝑥 2 + 3𝑥𝑦 + 4𝑦 2 , homogenous.
HU 6 ODE
Ordinary Differential Equation
𝑃(𝑥, 𝑦) + 𝑄(𝑥, 𝑦) = 0
is called homogenous if 𝑃 and 𝑄 are homogeneous function of the same degree or equivalently, if when
written in the form
𝑑𝑦
= 𝑓(𝑥, 𝑦),
𝑑𝑥
𝑦
the function 𝑓(𝑥, 𝑦) can be written as 𝑓(𝑥, 𝑦) = 𝑔(𝑥 ).
𝑑𝑥 𝑑𝑢
∫ =∫
𝑥 𝐹(𝑢) − 𝑢
Hence the solution of the given differential equation becomes
𝑑𝑢
𝑙𝑛|𝑥| = ∫ +𝑐
𝐹(𝑢) − 𝑢
Example : Solve the differential equation 2𝑥 2 𝑦 ′ = 𝑥 2 + 𝑦 2
Solution: If we divide both sides by 2𝑥 2 then we obtain
1 1 𝑥 2
𝑦′ = + ( )
2 2 𝑦
𝑦
Which is homogeneous. Now, setting 𝑢 = 𝑥 ⟹ 𝑦 = 𝑢𝑥, yields the equation
1 1
𝑥𝑢′ = 𝑢2 − 𝑢 +
2 2
After rearrange
2𝑢′ 1
2
=
(𝑢 − 1) 𝑥
Then integrating yields
HU 7 ODE
Ordinary Differential Equation
2𝑑𝑢 1 −2
∫ = ∫ 𝑑𝑥 ⇒ = 𝑙𝑛(𝑥) + 𝑐
(𝑢 − 1)2 𝑥 𝑢−1
Solving for 𝑢 gives
2
𝑢 = 1−
ln(𝑥) + 𝑐
Hence,
2𝑥
𝑦=𝑥− .
ln(𝑥) + 𝑐
Example: Solve the differential equation
𝑥2 + 𝑦2
𝑦′ =
𝑥𝑦
Solution: If we divide the numerator and denominator of the fraction by 𝑥 2 ,we obtain
𝑦 2
1 + (𝑥 )
𝑦′ = 𝑦
(𝑥 )
𝒚 𝟏+𝒖𝟐 𝟏
which is homogeneous. Now setting 𝒖 = 𝒙 or 𝒚 = 𝒖𝒙, yields 𝒙𝒖′ = − 𝒖 = 𝒖. Separating and
𝒖
𝟏 𝒖𝟐
integrating yields ∫ 𝒖𝒅𝒖 = ∫ 𝒙 𝒅𝒙 ⟹ = 𝐥𝐧(𝒙) + 𝑐. Solving for 𝑢 gives 𝑢 = √2 ln(𝑥) + 𝑐
𝟐
HU 8 ODE
Ordinary Differential Equation
Thus, the equation is exact, and so there exist a function 𝑓(𝑥, 𝑦) such that
𝜕𝑓 𝜕𝑓
= 2𝑥𝑦 and = 𝑥2 − 1
𝜕𝑥 𝜕𝑦
HU 9 ODE
Ordinary Differential Equation
𝐼(𝑥) = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥 .
Case2: We see also look to see if there is an integrating factor that depends only on 𝑦 and not on 𝑥 .We
𝜕𝐼
can do the same calculation, this time using 𝜕𝑥 would be zero, to see that such an integrating factor
𝑁𝑥 −𝑀𝑦
exists if the ratio = 𝑄(𝑦), is a function of 𝑦 (and not 𝑥); then
𝑀
𝐼(𝑦) = 𝑒 ∫ 𝑄(𝑦)𝑑𝑦
1
Case 3: If 𝑀 = 𝑦𝑓(𝑥𝑦) and 𝑁 = 𝑥𝑔(𝑥𝑦), then 𝐼(𝑥, 𝑦) = 𝑥𝑀−𝑦𝑁
Case 4: Given that the non-exact differential equation 𝑀(𝑥, 𝑦)𝑑𝑥 + 𝑁(𝑥, 𝑦)𝑑𝑦 = 0 has an integrating
factor of the form μ(x, y) = x a y b for some positive integers a and b, find the general solution of the
equation by determining the value of 𝑎 and 𝑏.
HU 10 ODE
Ordinary Differential Equation
1. Determine whether the given differential equation is exact. If it is exact, solve it.
a) (2𝑥 − 1)𝑑𝑥 + (3𝑦 + 7)𝑑𝑦 = 0 e) (2𝑥𝑦 2 − 3)𝑑𝑥 + (2𝑥 2 𝑦 + 4)𝑑𝑦 = 0
𝑦
b) (2𝑥 + 𝑦)𝑑𝑥 − (𝑥 + 6𝑦)𝑑𝑦 = 0. f) (1 + 𝑙𝑛𝑥 + 𝑥 ) 𝑑𝑥 = (1 − 𝑙𝑛𝑥)𝑑𝑦
𝑑𝑦
c) (𝑠𝑖𝑛𝑦 − 𝑦𝑠𝑖𝑛𝑥)𝑑𝑥 = (𝑐𝑜𝑠𝑥 + 𝑥𝑐𝑜𝑠𝑦 − 𝑦)𝑑𝑦. g) 𝑥 𝑑𝑥 = 2𝑥𝑒 𝑥 − 𝑦 + 6𝑥 2
HU 12 ODE
Ordinary Differential Equation
For instance, 𝒚’𝒄𝒐𝒔𝒙 + 𝒚𝒔𝒊𝒏 𝒙 = 𝒙 is a linear ODE and its standard form is 𝒚′ + 𝒚 𝐭𝐚𝐧 𝒙 = 𝒙 𝐬𝐞𝐜 𝒙.
To find the general solution of (a) we use an “ integrating factor”; we multiply the equation by a function
𝐼(𝑥), to obtain
𝑑𝑦
𝐼(𝑥) 𝑑𝑥 + 𝐼(𝑥)𝑃(𝑥)𝑦 = 𝐼(𝑥)𝑟(𝑥) (b)
𝑑𝑦
What we would like to happen is for, 𝐼(𝑥) 𝑑𝑥 + 𝐼(𝑥)𝑃(𝑥)𝑦 to be the derivative of something nice. When
written thus way, this sum looks sort of like the output of the product rule. If we can find 𝐼(𝑥) so that the
𝑑
derivative of 𝐼(𝑥) is 𝐼(𝑥)𝑝(𝑥) then this sum will be the derivative 𝑑𝑥 [𝐼(𝑥). 𝑦].What we want is
𝐼 ′ (𝑥) = 𝐼(𝑥)𝑝(𝑥)
This is now a (very easy) separable equation for the function 𝐼(𝑥), and the solution is
𝐼(𝑥) = 𝑒 ∫ 𝑝(𝑥)𝑑𝑥 .
If 𝑟(𝑥) = 0, then the ODE (a) becomes
𝑦 ′ + 𝑃(𝑥)𝑦 = 0 (c)
And is called homogenous. By separating variables and integrating then we obtain
𝑑𝑦
= −𝑃(𝑥)𝑑𝑥
𝑦
Thus,
ln|𝑦| = − ∫ 𝑃(𝑥)𝑑𝑥 + 𝑐 ∗
Taking exponents on both sides, we obtain the general solution of the homogenous ODE (c)
∗
𝑦(𝑥) = 𝑐𝑒 − ∫ 𝑃(𝑥)𝑑𝑥 Where, 𝑐 = ±𝑒 𝑐
Rule for Solving Linear First Order Equation
Step1. If the equation is not in standard form, then write in the standard form. i.e.
𝑦 ′ + 𝑃(𝑥)𝑦 = 𝑟(𝑥).
Step2. Find the integrating factor, 𝐼(𝑥) = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥 .
Step3. Multiply both sides of the standard form equation by the integrating factor. The left-hand side of
the resulting equation is automatically the derivative of the product of the integrating factor 𝑒 ∫ 𝑝(𝑥)𝑑𝑥 and
y:
𝑑 ∫ 𝑝(𝑥)𝑑𝑥
[𝑒 . 𝑦] = 𝑒 ∫ 𝑝(𝑥)𝑑𝑥 𝑟(𝑥)
𝑑𝑥
Step 4. Integrate both sides of the last equation and solve for y.
HU 13 ODE
Ordinary Differential Equation
Step 5. If an initial condition 𝑦(𝑥0 ) = 𝑦0 is given the required solution of the initial value problem is
obtained by choosing the arbitrary constant 𝑐 in the general solution found in step 4 so that
𝑦 = 𝑦0 when, 𝑥 = 𝑥0
𝑑𝑦
Example: Solve, − 3𝑦 = 0.
𝑑𝑥
Solution: This linear equation can be solved by separation of variables. Alternatively, since the
differential equation is already in standard form, we identify 𝑃(𝑥) = −3, and so the integrating factor is
𝑒 ∫(−3)𝑑𝑥 = 𝑒 −3𝑥 . We then multiply the given equation by this factor and recognize that
𝑑𝑦
𝑒 −3𝑥 − 3𝑒 −3𝑥 𝑦 = 𝑒 −3𝑥 . 0
𝑑𝑥
Is the same as
𝑑 −3𝑥
[𝑒 𝑦] = 0.
𝑑𝑥
Integration on the last equation
𝑑 −3𝑥
∫ [𝑒 𝑦]𝑑𝑥 = ∫ 0 𝑑𝑥.
𝑑𝑥
Then yields, 𝑒 −3𝑥 𝑦 = 𝑐 Or 𝑦 = 𝑐𝑒 3𝑥 , ∞ < 𝑥 < −∞.
Example : Solve 𝑥𝑦 ′ = 𝑥 4 − 4𝑦
4 4
Solution: We have 𝑦 ′ + 𝑥 𝑦 = 𝑥 3 . So, 𝑝(𝑥) = 𝑥 And 𝑟(𝑥) = 𝑥 3 .
HU 14 ODE
Ordinary Differential Equation
−1
Taking the anti-derivative on both sides yields[𝑦. cos(𝑥)] = cos(2𝑥) + 𝑐.
2
−1 −1 −cos (2𝑥)
Plugging in yields 2 = . 1 + 𝑐. Hence, 𝑐 = 0. Solving for 𝑦 gives 𝑦 = .
2 2cos (𝑥)
Exercises
HU 15 ODE
Ordinary Differential Equation
Chapter Two
Linear Second Order Ordinary Differential Equations
Linear second ODEs with constant coefficients are the simplest of the higher order differential equation
and they have many applications. The most general linear second order differential equation is in the form:
𝑝(𝑥)𝑦 ′′ + 𝑞(𝑥)𝑦 ′ + 𝑟(𝑥)𝑦 = 𝑔(𝑥).
The equation is called non-homogenous when 𝑔(𝑥) is non-zero; otherwise, it is called homogenous.
Example: 𝑦 ′′ + 𝑥𝑦 ′ + 𝑦 = 0 is a homogenous 2nd order linear differential equation and 𝑦 ′′ = sin 𝑥 is a
non-homogenous 2nd order linear differential equation.
Homogenous Linear Equation of the Second Order
A second order ODE is called linear if it can be written as
𝑦 ′′ + 𝑝(𝑥)𝑦 ′ + 𝑞(𝑥)𝑦 = 𝑟(𝑥) (1)
Where, p and q are called the coefficient of the ODEs and is a function of 𝑥 and nonlinear if it cannot be
written in this form.
Example: 𝑦 ′′ + 25𝑦 = cos 𝑥 is a linear 2nd order ODE. 𝑦 ′′ + 𝑦𝑦 ′ + 2𝑦 = 𝑒 𝑥 is nonlinear 2nd order ODE.
In equation (1) if 𝑟(𝑥) = 0, the equation reduces to 𝑦 ′′ + 𝑝(𝑥)𝑦 ′ + 𝑞(𝑥)𝑦 = 0 and is called
homogenous. If 𝑟(𝑥) ≠ 0 then equation (1) is called non homogenous.
Example: 𝑦 ′′ + 25𝑦 = 𝑒 −𝑥 cos 𝑥 is Non homogenous and 𝑥𝑦 ′′ + 𝑦 ′ + 𝑥𝑦 = 0 is Homogenous.
Definition: A function 𝑦 = ℎ(𝑥) is called a solution of a (linear or non linear) second order ODE on
some open interval 𝑰 if ℎ is defined and twice differentiable throughout the interval and is such that the
ODE becomes an identify if we replace the unknown 𝑦 by ℎ, and its successive derivatives.
Theorem: (Superposition or Linear principle)
If 𝑦1 and 𝑦2 are solution of the differential equation, 𝑦 ′′ + 𝑝(𝑥)𝑦 ′ + 𝑞(𝑥)𝑦 = 0, then 𝑐1 𝑦1, 𝑐2 𝑦2 and
𝑐1 𝑦1 + 𝑐2 𝑦2 are solutions of the given differential equation.
Proof: Let 𝑦1 and 𝑦2 be solution of the differential equation on I. Then by substituting
𝑦 = 𝑐1 𝑦1 + 𝑐2 𝑦2
And its derivatives into the differential equation, and using the familiar rule
(𝑐1 𝑦1 + 𝑐2 𝑦2 )′ = 𝑐1 𝑦1 ′ + 𝑐2 𝑦2 ′ .
We get
𝑦 ′′ + 𝑝𝑦 ′ + 𝑞𝑦 = (𝑐1 𝑦1 + 𝑐2 𝑦2 )′′ + (𝑐1 𝑦1 + 𝑐2 𝑦2 )′ + 𝑞(𝑐1 𝑦1 + 𝑐2 𝑦2 )
= 𝑐1 𝑦1 ′′ + 𝑐2 𝑦2 ′′ + 𝑝(𝑐1 𝑦1 ′ + 𝑐2 𝑦2 ′ ) + 𝑞(𝑐1 𝑦1 + 𝑐2 𝑦2 )
= 𝑐1 (𝑦1 ′′ + 𝑝𝑦1 ′ + 𝑞𝑦1 ) + 𝑐2 (𝑦2 ′′ + 𝑝𝑦2 ′ + 𝑞𝑦2 ) = 0
HU 16 ODE
Ordinary Differential Equation
Since in the last line(… ) = 0, because 𝑦1 and 𝑦2 are solution of differential equation on I.
Note: Superposition principle holds for homogenous linear ODEs only but doesn’t hold for non-
homogenous linear or nonlinear.
Example: Show that
a. 𝑦 = cos 𝑥 , 𝑦 = sin 𝑥 𝑎𝑛𝑑 𝑡ℎ𝑖𝑒𝑟 linear combination are solution of 𝑦" + 𝑦 = 0.
b. 𝑦1 = 1 and 𝑦2 = 𝑥 2 are solution of 𝑦𝑥 3 − 𝑦𝑦 ′ = 0
c. 𝑦 = 4𝑒 3𝑥 − 2 and 𝑦 = 𝑒 3𝑥 − 2 are solution of 𝑦 ′′ − 9𝑦 = 18 , but their linear combination
are not.
Initial Value Problem (IVP), Basis, General solution
The initial condition is used to determine the arbitrary constant in the general solution of the ODE. This
result is a unique solution and is called a particular solution. For a second order homogenous linear ODE
𝑦 ′′ + 𝑝𝑦 + 𝑞𝑦 = 0 (1)
an initial value problem (IVP) consists of (1) and two initial conditions
𝑦(𝑥0 ) = 𝑦0 , 𝑦(𝑥0 ) = 𝑦1
these condition helps to determine the constants 𝑐1 and 𝑐2 in the general solution.
Example: Solve the following, IVP 𝑦 ′′ − 9𝑦 = 0, 𝑦(0) = 2, 𝑦 ′ (0) = −1
Solution: The two functions 𝑦(𝑡) = 𝑒 3𝑡 and 𝑦(𝑡) = 𝑒 −3𝑡 are enough to form the general solution to
the differential equation. The general solution to our differential equation is then
𝑦(𝑡) = 𝑐1 𝑒 −3𝑡 + 𝑐2 𝑒 3𝑡
Now all we need to do is apply the initial conditions, 𝑦 ′ (𝑡) = −3𝑐1 𝑒 −3𝑡 + 3𝑐2 𝑒 3𝑡 .
Plugging in the initial conditions
𝑦(0) = 2 = 𝑐1 + 𝑐2
𝑦 ′ (0) = −1 = −3𝑐1 + 3𝑐2
This gives us a system of two equations and two unknowns that can be solved. Doing these yields
7 5
𝑐1 = , 𝑐2 =
6 6
7 −3𝑡 5
The solution to the IVP is then, 𝑦(𝑡) = 𝑒 + 6 𝑒 3𝑡 .
6
HU 17 ODE
Ordinary Differential Equation
Note:
The number of linearly independent solution is equal to the order of the differential equation, so
the 2nd order differential equation has two linearly independent solutions.
Definition: The Wronskian of 𝑛 function 𝑦1 (𝑥) ,𝑦2 (𝑥), 𝑦3 (𝑥),… 𝑦𝑛 (𝑥) each (n-1) time differentiable is
the form
𝑦1 𝑦2 ⋯⋯ 𝑦𝑛
𝑦1 ′ 𝑦2 ′ ⋯⋯ 𝑦𝑛 ′
𝑊(𝑦) = || 𝑦1 ′′ 𝑦2 ′′ ⋯⋯ 𝑦𝑛 ′′ |
|
⋮ ⋮ ⋯⋯ ⋮
(𝑛−1) ⋯ ⋯
𝑦1 (𝑛−1) 𝑦2 𝑦𝑛 (𝑛−1)
Example: Consider the functions 𝑦1 (𝑥) = 𝑒 𝑥 , 𝑦2 (𝑥) = 𝑒 2𝑥 . Then
𝑦1 𝑦2 𝑥
𝑒 2𝑥 | = 𝑒 𝑥 2𝑒 2𝑥 − 𝑒 𝑥 𝑒 2𝑥 = 𝑒 3𝑥 .
𝑊(𝑒 𝑥 , 𝑒 2𝑥 ) = |𝑦 ′ 𝑦 ′ | = |𝑒 𝑥
1 2 𝑒 2𝑒 2𝑥
HU 18 ODE
Ordinary Differential Equation
HU 19 ODE
Ordinary Differential Equation
𝑦 ′′ + 𝑝(𝑥)𝑦 ′ + 𝑞(𝑥)𝑦 = 0
This gives
𝑢′′ 𝑦1 + 2𝑢′ 𝑦1 ′ + 𝑢𝑦1 ′′ + 𝑝(𝑢′ 𝑦1 + 𝑢𝑦1 ′ ) + 𝑞𝑢𝑦1 = 0
Collecting terms in 𝑢′′ , 𝑢′ and 𝑢, we have
𝑢′′ 𝑦1 + 𝑢′ (2𝑦1 ′ + 𝑝𝑦1 ) + 𝑢(𝑦1 ′′ + 𝑝𝑦1 ′ + 𝑞𝑦1 ) = 0
Now comes the point. Since 𝑦1 is a solution of
𝑦 ′′ + 𝑝(𝑥)𝑦 ′ + 𝑞(𝑥)𝑦 = 0
i.e. the expression
𝑦1 ′′ + 𝑝𝑦 ′ + 𝑞𝑦1 = 0.
Hence , 𝑢 is gone, and we are left with an ODE by 𝑦1 and set
𝑢′ = 𝑈, 𝑢′′ = 𝑈′
2𝑦1 ′ +𝑝𝑦1
𝑢′′ + 𝑢′ = 0.
𝑦1
Thus,
2𝑦1 ′
𝑈′ + ( + 𝑝)𝑈 = 0
𝑦1
This is the desired first order ODE, the reduced ordinary differential equation. Separation of variables
and integrations gives
𝑑𝑈 2𝑦1 ′
= −( + 𝑝)dx ,and
𝑈 𝑦1
|𝑥 − 1|
ln|U| = ln|x − 1| + 2ln|x| = 𝑙𝑛 .
𝑥2
Taking exponents and integrating again, we obtain
𝑥−1 1 1 1
𝑈= = − 2 𝑎𝑛𝑑 𝑢 = ∫ 𝑈𝑑𝑥 = 𝑙𝑛|𝑥| + .
𝑥2 𝑥 𝑥 𝑥
Hence, 𝑦2 = 𝑢𝑥 = 𝑥𝑙𝑛|𝑥| + 1.
Exercises
HU 21 ODE
Ordinary Differential Equation
1
𝜆1 = (−𝑎 + √𝑎2 − 4𝑏)
2
1
𝜆2 = (−𝑎 − √𝑎2 − 4𝑏)
2
Depending on the sign of the discriminant 𝑎2 − 4𝑏 the quadratic equation (2) may have three kinds of
roots.
Case I: Two real roots, if 𝑎2 − 4𝑏 > 0
Case II: A real double root, if 𝑎2 − 4𝑏 = 0
Case III: Complex conjugate roots, if 𝑎2 − 4𝑏 < 0. Let us consider the conditions:
Case I: Two distinct real roots 𝝀𝟏 and𝝀𝟐 . In this case, a basis of solutions of (1) on any interval is
𝑦1 = 𝑒 𝜆1 𝑥 and 𝑦2 = 𝑒 𝜆2 𝑥 . Because, 𝑦1 and 𝑦2 are defined (and real) for all x and their quotient is not
constant. The corresponding general solution is
𝑦 = 𝑐1 𝑒 𝜆1𝑥 + 𝑐2 𝑒 𝝀𝟐 𝑥
Example: Solve the following IVP
a. 𝑦 ′′ + 11𝑦 ′ +24𝑦 = 0 , 𝑦(0) = 0 , 𝑦 ′ (0) = −7
Solution: The characteristic equation is
𝜆2 + 11𝜆 + 24 = 0 ⇒ (𝜆 + 8)(𝜆 + 3) = 0.
Its roots are 𝜆1 = −8 and 𝜆2 = −3 , and the general solution and its derivative is
𝑦(𝑥) = 𝑐1 𝑒 −8𝑥 + 𝑐2 𝑒 −𝟑𝑥 ⟹ 𝑦 ′ (𝑥) = −8𝑐1 𝑒 −8𝑥 − 3𝑐2 𝑒 −𝟑𝑥
Now, plug in the initial conditions to get the following system of equations
𝑦(0) = 0 = 𝑐1 + 𝑐2
𝑦 ′ (0) = −7 = −8𝑐1 − 3𝑐2
Solving this system gives
7 −7
𝑐1 = 5 And 𝑐2 = 5
Now, plug in the initial conditions to get the following system of equations.
𝑦(0) = 4 = 𝑐1 + 𝑐2
𝑦 ′ (0) = −2 = −5𝑐1 + 2𝑐2
10 18
Solving this system gives 𝑐1 = And 𝑐2 = . The actual (particular) solution to the differential
7 7
10 18 𝟐𝑥
equation is then 𝑦(𝑥) = 𝑒 −5𝑥 + 𝑒 .
7 7
𝒂
Case II: Real double root 𝝀 = − 𝟐 . If the discriminant 𝑎2 − 4𝑏 = 0, the characteristic equation has
𝑎
𝒂
only one root 𝜆 = 𝜆1 = 𝜆2 = − 𝟐. Hence one solution is𝑦1 = 𝑒 (−2)𝑥 . To obtain a second independent
Then it became,
𝑒 − ∫ 𝑎𝑑𝑥 𝑎
(− )𝑥 𝑒 −𝑎𝑥 𝑎
𝑦2 = 𝑦1 ∫ 2
𝑑𝑥 = 𝑒 2 ∫
−𝑎𝑥
𝑑𝑥 = 𝑥𝑒 (−2)𝑥
𝑦1 𝑒
𝑎 𝑎
Hence in the case of a double root of (2), a basis of solution of (1) on any interval is:𝑒 (−2)𝑥 ,𝑒 (−2)𝑥 .
The corresponding general solution is:
𝑎
𝑦 = 𝑒 (−2)𝑥 (𝑐1 + 𝑐2 𝑥)
i.e. if the roots of the characteristic equation are 𝜆 = 𝜆1 = 𝜆2 , then the general solution is then
𝑦(𝑥) = 𝑐1 𝑒 𝜆𝑥 + 𝑐2 𝑥𝑒 𝜆𝑥 .
Example: Solve the following IVP.
′
a. 𝑦 ′ − 4𝑦 ′ + 4𝑦 = 0 , 𝑦(0) = 12, 𝑦 ′ (0) = −3
Solution: The characteristic equation and its roots are 𝜆2 − 4𝜆 + 4 = (𝜆 − 2)2 = 0 ⟹ 𝜆1 = 𝜆2 = 2.
The general solution and its derivative are
𝑦(𝑥) = 𝑐1 𝑒 2𝑥 + 𝑐2 𝑥𝑒 𝟐𝑥 ⟹ 𝑦 ′ (𝑥) = 2𝑐1 𝑒 2𝑥 + 𝑐2 𝑒 2𝑥 + 2𝑐2 𝑥𝑒 𝟐𝑥
Plugging in the initial conditions gives the following system
12 = 𝑦(0) = 𝑐1
−3 = 𝑦 ′ (0) = 2𝑐1 + 𝑐2
This system is easily solve to get 𝑐1 = 12 and 𝑐2 = −27. The particular solution to the IVP is, then
𝑦(𝑥) = 12𝑒 2𝑥 − 27𝑥𝑒 𝟐𝑥
′ −9
b. 16𝑦 ′ − 40𝑦 ′ + 25𝑦 = 0 , 𝑦(0) = 3, 𝑦 ′ (0) = 4
5
16𝜆2 − 40𝜆 + 25 = (4𝜆 − 5)2 = 0 , 𝜆 1,2 =
4
The general solution and its derivative are
5𝑥 𝟓𝒙 5 5𝑥 𝟓𝒙 5 5𝑥
𝑦(𝑥) = 𝑐1 𝑒 4 + 𝑐2 𝑥𝑒 𝟒 ⟹ 𝑦 ′ (𝑥) = 𝑐1 𝑒 4 + 𝑐2 𝑒 𝟒 + 𝑐2 𝑥𝑒 4
4 4
Plugging in the initial conditions gives the following system:
3 = 𝑦(0) = 𝑐1
−9 5
= 𝑦 ′ (0) = 𝑐1 + 𝑐2
4 4
Solving this system gives, 𝑐1 = 3 and 𝑐2 = −6. The particular solution to the IVP is then
5𝑥 𝟓𝒙
𝑦(𝑥) = 3𝑒 4 − 6𝑥𝑒 𝟒
𝟏 𝟏
Case III: Complex roots: − 𝟐 𝒂 + 𝒊𝝎 and − 𝟐 𝒂 − 𝒊𝝎. This case occurs if the discriminant 𝑎2 −
4𝑏 < 0 of the characteristic equation is negative, then the characteristic equation has no real root but it
has a complex root. That is,
1 1
𝜆1 , 𝜆2 = (−𝑎 ± √𝑎2 − 4𝑏) = (−𝑎 ± 𝑖 √4𝑏 − 𝑎2 )
2 2
𝑎 1
Put, 𝛼 = − 2 and 𝛽 = 2 √4𝑏 − 𝑎2
HU 24 ODE
Ordinary Differential Equation
HU 25 ODE
Ordinary Differential Equation
Where, 𝑦ℎ = 𝑐1 𝑦1 + 𝑐2 𝑦2 is a general solution of the homogeneous ODE (2) on I and 𝑦𝑝 is any solution
of (1) on I containing no arbitrary constant.
A particular solution of (1) on I is a solution obtained from (3) by assigning specific value to the
arbitrary constant 𝑐1 and 𝑐2 in 𝑦ℎ .
Procedures to find the general solution of (1)
i. Find a general solution of (2)
ii. Find a particular solution of (1)
iii. Sum of (i) and (ii) is the general solution of (1)
Question: how we can find a solution 𝑦𝑝 (i,e a particular solution of (1) )
The method of undetermined coefficients is suitable for linear ODEs with constant coefficients a and b
𝑦 ′′ + 𝑎𝑦 ′ + 𝑏𝑦 = 𝑟(𝑥) (4)
when 𝑟(𝑥) is an exponential function, a power of x, a cosine or sine or sum or product of such function.
Choice rule for the method of undetermined coefficients
a. Basic rule: if r(x) in (4) is one of the function in the first column in table 2.1 , choose 𝑦𝑝 in the
same line and determine its undetermined coefficients by substitute 𝑦𝑝 and its derivates into (4).
b. Modification rule: if a term in your choice for 𝑦𝑝 happens to be a solution of the homogenous
ODE corresponding to (4), multiply this term by 𝑥 (or 𝑥 2 if this solution corresponding to a
double root of the characteristic equation of the homogenous ODE)
c. Sum rule: if 𝑟(𝑥) is a sum of functions in the first column, choose 𝑦𝑝 the sum of functions in the
corresponding lines of the 2nd column.
Table: Method of undetermined coefficients
Terms in 𝒓(𝒙) Choice for 𝑦𝑝 (𝑥)
𝑘𝑒 𝛾𝑥 𝑐𝑒 𝛾𝑥
𝑘𝑥 𝑛 𝑛 = 0,1,2, … 𝑘𝑛 𝑥 𝑛 + 𝑘𝑛−1 𝑥 𝑛−1 + ⋯ + 𝑘1 𝑥 + 𝑘0
𝑘𝑐𝑜𝑠 𝛽𝑥 𝑘𝑐𝑜𝑠 𝛽𝑥 + 𝑀𝑠𝑖𝑛 𝛽𝑥
𝑘 sin 𝛽𝑥
𝑘𝑒 𝛼𝑥 cos 𝛽𝑥 𝑒 𝛼𝑥 (𝑘 cos 𝛽𝑥 + 𝑀𝑠𝑖𝑛 𝛽𝑥
𝑘𝑒 𝛼𝑥 sin 𝛽𝑥
Example: a. Solve the initial value problem
𝑦 ′′ + 𝑦 ′ = 0.001𝑥 2 , 𝑦(0) = 0 , 𝑦 ′ (0) = 1.5
Step 1: General solution of the homogeneous ODE
HU 26 ODE
Ordinary Differential Equation
The characteristic equation for this differential equation and its roots are: 𝜆2 + 1 = 0 ⟹ 𝜆 = 𝑖.
The complementary (associated) or homogeneous solution is, then 𝑦ℎ = 𝐴𝑐𝑜𝑠𝑥 + 𝐵𝑠𝑖𝑛𝑥.
Step 2: Solution 𝒚𝒑 of the nonhomogeneous ODE.
Let us guess for𝑦𝑝 (𝑥) , i.e.
𝑦𝑝 = 𝐾2 𝑥 2 + 𝐾1 𝑥 + 𝐾0
(Plugging this into the differential equation). Then,
𝑦𝑝 ′′ + 𝑦𝑝 = 2𝐾2 + 2𝑥 2 + 𝐾1 𝑥 + 𝐾0 = 0.001𝑥 2
Collecting like terms gives, 𝐾2 = 0.001, 𝐾1 = 0 , 2𝐾2 + 𝐾 0 = 0. Hence, 𝐾0 = −2, 𝐾2 = 0.002
This gives 𝑦𝑝 = 0.001𝑥 2 − 0.002 , and
𝑦 = 𝑦ℎ + 𝑦𝑝 = 𝐴𝑐𝑜𝑠𝑥 + 𝐵𝑠𝑖𝑛𝑥 + 0.001𝑥 2 − 0.002
Step 3: Solution of the initial value problem
Setting = 0 , and using the first initial condition gives ,
𝑦 = 𝐴𝑐𝑜𝑠(0) + 𝐵𝑠𝑖𝑛(0) + 0.001(0)2 − 0.002 = 𝐴 − 0.002 = 0 or 𝐴 = 0.002.
By differentiation and from the second initial condition
𝑦 ′ = 𝑦ℎ ′ + 𝑦𝑝 ′ = −𝐴𝑠𝑖𝑛𝑥 + 𝐵𝑐𝑜𝑠𝑥 + 0.002𝑥 ,and 𝑦 ′ (0) = 𝐵 = 1.5
Thus a particular solution to the differential equation is then
𝑦 = 0.002𝑐𝑜𝑠𝑥 + 1.5𝑠𝑖𝑛𝑥 + 0.001𝑥 2 − 0.002
b. Determine a particular solution to 𝑦 ′′ − 4𝑦 ′ − 12𝑦 = 3𝑒 5𝑥 .
Solution: To find a particular solution, let us guess 𝑦𝑝 (𝑥) as
𝑦𝑝 (𝑥) = 𝐴𝑒 5𝑥
Plugging into the differential equation gives,
25𝐴𝑒 5𝑥 − 20𝐴𝑒 5𝑥 − 12(𝐴𝑒 5𝑥 ) = 3𝑒 5𝑥
−7𝐴𝑒 5𝑥 = 3𝑒 5𝑥
−3
𝐴=
7
A particular solution to the differential equation is
−3 5𝑥
𝑦𝑝 (𝑥) = 𝑒
7
C. Solve the initial value problem 𝑦 ′′ + 3𝑦 ′ − 2.25𝑦 = −10𝑒 −1.5𝑥 , 𝑦(0) = 1 , 𝑦 ′ (0) = 0.
Answer: (𝟏 + 𝟏. 𝟓𝒙 − 𝟓𝒙𝟐 )𝒆−𝟏.𝟓𝒙
HU 27 ODE
Ordinary Differential Equation
Exercises
b. 𝑦 ′′ + 9𝑦 = 8𝑥 + 36 𝑠𝑖𝑛 3𝑥 d) 𝑦 ′′ − 3𝑦 ′ + 2𝑦 = 4𝑥 + 𝑒 3𝑥
II. Solve the following initial value problem
a. 𝑦 ′′ + 2𝑦 ′ + 0.75𝑦 = 2 𝑐𝑜𝑠(𝑥) − 0.25 𝑠𝑖𝑛(𝑥) + +0.09𝑥, 𝑦(0) = 2.78, 𝑦 ′ (0) = −0.43
b. 𝑦 ′′ − 3𝑦 ′ + 2.25𝑦 = 27(𝑥 2 + 𝑥)𝑦(0) = 20, 𝑦 ′ (0) = 30
c. 𝑦 ′′ − 2𝑦 ′ = 12𝑒 2𝑥 − 8𝑒 −2𝑥 𝑦(0) = −2, 𝑦 ′ (0) = 12
d.𝑦 ′′ + 3𝑦 ′ + 2.25𝑦 = −10𝑒 −1.5 𝑦(0) = 1 , 𝑦 ′ (0) = 0
Solution by Variation of parameters
We continue our discussion of non-homogeneous linear ODEs
𝑦 ′′ + 𝑝(𝑥)𝑦 ′ + 𝑞(𝑥)𝑦 = 𝑟(𝑥) … (1)
In the previous discussion, we have seen that a general solution of (1) is the sum of a general solution 𝑦ℎ
of the corresponding homogeneous ODE and any particular solution 𝑦𝑝 of (1). To obtain 𝑦𝑝 when 𝑟(𝑥)
is not too complicated we can often use the method of undetermined coefficients. However, since this
method restricted to function, 𝑟(𝑥) whose derivatives are of a form similar to 𝑟(𝑥) itself (powers,
exponential functions etc.), it is desirable to have a method valid for more general ODEs(1), we shall now
develop. It is called the method of variation of parameters and is credited to Lagrange. Here 𝑝, 𝑞, 𝑟 in (1)
may be variable (given functions of 𝑥), but we assume that they are continuous on some open I.
Aim: To find 𝒚𝒑 for (1)
Lagrange’s method gives a particular solution 𝑦𝑝 of (1)
𝑦2 𝑟 𝑦1 𝑟
𝑦𝑝 = −𝑦1 ∫ 𝑑𝑥 + 𝑦2 ∫ 𝑑𝑥 … (2)
𝑊 𝑊
, where W is the Wronskian of 𝑦1 and 𝑦2 form a basis of solutions of the corresponding homogeneous
ODE
𝑦 ′′ + 𝑝(𝑥)𝑦 ′ + 𝑞(𝑥)𝑦 = 0
On I and W is the Wronskian of 𝑦1 , 𝑦2
𝑊 = 𝑦1 𝑦 ′ 2 − 𝑦2 𝑦 ′1
CAUTION! The solution formula (2) is obtained under the assumption that the ODE is written in
standard form, with 𝑦 ′′ as the first term as shown in(1). If it starts with𝑓(𝑥)𝑦 ′′ , divide first by 𝑓(𝑥).
Example: Solve the non-homogeneous ODE
HU 28 ODE
Ordinary Differential Equation
1
𝑦 ′′ + 𝑦 = 𝑠𝑒𝑐𝑥 =
𝑐𝑜𝑠𝑥
Solution: A basis of solution of the homogeneous ODE an any interval is 𝑦1 = 𝑐𝑜𝑠𝑥 , 𝑦2 = 𝑠𝑖𝑛𝑥.
This gives the Wronskian, 𝑊(𝑦1 , 𝑦2 ) = 𝑐𝑜𝑠𝑥 𝑐𝑜𝑠𝑥 − 𝑠𝑖𝑛𝑥(−𝑠𝑖𝑛𝑥) = 1.
From (2) choosing zero constants of integration, we get the particular solution of the given
ODE 𝑦𝑝 = −𝑐𝑜𝑠𝑥 ∫ 𝑠𝑖𝑛𝑥𝑠𝑒𝑐𝑥 𝑑𝑥 + 𝑠𝑖𝑛𝑥 ∫ 𝑐𝑜𝑠𝑥𝑠𝑒𝑐𝑥 𝑑𝑥 = 𝑐𝑜𝑠𝑥𝑙𝑛|𝑐𝑜𝑠𝑥| + 𝑥𝑠𝑖𝑛𝑥
Now using 𝑦𝑝 and the general solution
𝑦ℎ = 𝑐1 𝑦1 + 𝑐2 𝑦2 ,of the homogeneous ODE we obtain the answer
𝑦 = 𝑦ℎ + 𝑦𝑝 = (𝑐1 + 𝑙𝑛|𝑐𝑜𝑠𝑥|)𝑐𝑜𝑠𝑥 + (𝑐2 + 𝑥)𝑠𝑖𝑛𝑥
Euler-Cauchy Equations
HU 29 ODE
Ordinary Differential Equation
Exercises
1. Solve the given non homogeneous ODE by variation of parameters or undetermined coefficients.
Give a general solution.
a. 𝑦 ′′ + 2𝑦 ′ + 𝑦 = 𝑥𝑒 −𝑥 e.𝑦 ′′ − 2𝑦 ′ + 𝑦 = 𝑒 𝑥 𝑠𝑖𝑛𝑥
b. 𝑦 ′′ + 𝑦 = 𝑠𝑒𝑐 𝑥 f. 𝑦 ′′ + 𝑦 = 𝑡𝑎𝑛 𝑥
c. 𝑥 2 𝑦 ′′ − 2𝑥 2 𝑦 ′ + 𝑥 2 𝑦 = 𝑒 𝑥 g. 𝑦 ′′ + 𝑦 = 𝑐𝑜𝑠𝑥 + 𝑠𝑒𝑐𝑥
d. 𝑥 2 𝑦 ′′ + 𝑥𝑦 ′ − 𝑦 = 𝑥 2 𝑙𝑛 𝑥 f. 𝑥𝑦 ′′ − 2𝑥𝑦 ′ + 2𝑦 = 𝑥 3 𝑐𝑜𝑠𝑥
Miscellaneous Exercises
1. Test the given pairs of functions for linear independence or dependence over the stated intervals
a. 𝑠𝑖𝑛ℎ2 𝑥, 𝑐𝑜𝑠ℎ2 , 𝑓𝑜𝑟 all 𝑥. C. 1 + 𝑥, 𝑥 + 𝑥 2 ,for all x.
b. 𝑥 + 𝑙𝑛|𝑥|, 𝑥 + 2𝑙𝑛|𝑥|, for|𝑥| ≥ 0. D. 𝑠𝑖𝑛𝑥𝑐𝑜𝑠𝑥, 𝑠𝑖𝑛2𝑥, for all 𝑥, 𝐸. 𝑒 2𝑥 , 𝑥𝑒 2𝑥 , for all x.
2. Find a differential equation whose general solution is
−𝑡
a. 𝑦 = 𝑐1 𝑒 2𝑡 + 𝑐2𝑒 −3𝑡 𝑏) 𝑦 = 𝑐1 𝑒 2 + 𝑐2𝑒 −2𝑡
3. Find a general solution. Indicate the method you are using.
a. 𝑦 ′′ − 2𝑦 ′ − 8𝑦 = 52𝑐𝑜𝑠6𝑥 D. 𝑦 ′′ + 𝑦 = 𝑐𝑠𝑐𝑥
b. 𝑦 ′′ + 6𝑦 ′ + 9𝑦 = 𝑒 −3𝑥 − 27𝑥 2 E. 𝑦 ′′ − 4𝑦 ′ + 4𝑦 = 𝑥 2 𝑒 𝑥
c. 𝑦 ′′ + 8𝑦 ′ + 25𝑦 = 26𝑠𝑖𝑛3𝑥 F. 𝑥 2 𝑦 ′′ − 𝑥𝑦 ′ + 𝑦 = 𝑥𝑙𝑛|𝑥| g) 𝑥 2 𝑦 ′′ − 5𝑥𝑦 ′ + 9𝑦 = 0
4. Use the general solution of 𝑦 ′′ + 𝑦 = 0 to find if a solution exists and is unique, exists but is non unique, or
does not exist for each set of boundary conditions.
a. 𝑦(0) = 0, 𝑦(𝜋) = 0, c. 𝑦′(0) = 0, 𝑦 ′ (0) = 0, 𝑦 ′ (𝜋) = 0
b. 𝑦(0) = 1, 𝑦(2𝜋) = 2 d. 𝑦(0) = 0, 𝑦 ′ (𝜋) = 0.
10. Solve the following initial value problems.
a.𝑦 ′′ + 5𝑦 ′ − 14𝑦 = 0, 𝑦(0) = 6, 𝑦 ′ (0) = −6
b.𝑦 ′′ + 6𝑦 ′ + 18𝑦 = 0, 𝑦(0) = 5, 𝑦 ′ (0) = −21
c. 𝑥 2 𝑦 ′′ − 𝑥𝑦 ′ − 24𝑦 = 0, 𝑦(1) = 15, 𝑦 ′ (1) = 0
d) 𝑦 ′′ + 5𝑦 ′ + 6𝑦 = 108𝑥 2 , 𝑦(0) = 18, 𝑦 ′ (0) = −26
HU 30 ODE
Ordinary Differential Equation
Chapter-Three
Laplace Transforms
Laplace transform is used for solving the DEs with initial and boundary conditions. The advantage of this
method is that it solves the DEs with initial conditions directly without the necessity of first finding the
general solution and then evaluating the arbitrary constants using the initial conditions. It provides an
alternative method for many equations. We first transform the differential equation to an algebraic
equation, then solve it, and then make an inverse transform.
Defn: Let 𝑓(𝑡) be a real valued function defined for all 𝑡 ≥ 0. Then the Laplace transform of 𝑓(𝑡) denoted
by 𝐿(𝑓(𝑡)) is defined by
∞
𝐿(𝑓(𝑡)) = ∫0 𝑓(𝑡)𝑒 −𝑠𝑡 𝑑𝑡 (1)
Where 𝑠 is a real or a complex number. If the integral is exist, it is a function of s and usually denoted by
𝐹(𝑠). here s is called the parameter. Thus,
∞
𝐹(𝑠) = 𝐿(𝑓(𝑡)) = ∫ 𝑓(𝑡)𝑒 −𝑠𝑡 𝑑𝑡.
0
The domain of 𝐿(𝑓, 𝑡) is taken to be the set of all 𝑠 for which the improper integral exist. 𝑖. 𝑒.
𝑛
lim ∫ 𝑒 −𝑠𝑡 𝑓(𝑡) 𝑑𝑡
𝑛→∞ 0
Note that we use lowercase letters for functions and capital letters for their transforms
𝑎 1
Hence 𝐿(𝑎) = 𝑠 , particularly 𝐿(1) = 𝑠
Laplace transform of 𝒆𝒂𝒕 :-Substituting 𝑓(𝑡) = 𝒆𝒂𝒕 in the definition of LT, we get
∞ ∞ ∞
𝒂𝒕 ) −𝑠𝑡 𝒂𝒕 (𝑎−𝑠)𝑡
𝑒 −(𝑠−𝑎)𝑡 −1 1
𝐿(𝒆 =∫ 𝑒 𝒆 𝑑𝑡 = ∫ 𝑒 𝑑𝑡 = [ ] = [𝑒 −∞ − 𝑒 0 ] = 𝑖𝑓 𝑠 > 𝑎.
0 0 −(𝑠 − 𝑎) 0 𝑠−𝑎 𝑠−𝑎
HU 31 ODE
Ordinary Differential Equation
1 1
Hence 𝐿(𝒆𝒂𝒕 ) = 𝑠−𝑎 , 𝑠 > 𝑎 > 0. 𝑅𝑒𝑝𝑙𝑎𝑐𝑖𝑛𝑔 𝑎 𝑏𝑦 − 𝑎, 𝑤𝑒 𝑔𝑒𝑡 𝐿(𝒆−𝒂𝒕 ) = 𝑠+𝑎 , 𝑠 > −𝑎.
𝑒 𝑎𝑡 − 𝑒 −𝑎𝑡 1 1 1 1 𝑎
𝐿(𝑠𝑖𝑛 ℎ 𝑎𝑡) = 𝐿 { } = [𝐿(𝑒 𝑎𝑡 ) − 𝐿(𝑒 −𝑎𝑡 )] = { − }= 2
2 2 2 𝑠−𝑎 𝑠+𝑎 𝑠 − 𝑎2
𝑎
Hence 𝐿(𝑠𝑖𝑛 ℎ 𝑎𝑡) = 𝑠2 −𝑎2 , 𝑓𝑜𝑟 𝑠 > 𝑎. Similarly find 𝑳{𝒄𝒐𝒔𝒉𝒂𝒕}.
Laplace transform of 𝒔𝒊𝒏𝒂𝒕 𝒂𝒏𝒅 𝒄𝒐𝒔𝒂𝒕:- We know by Euler’s formula that, 𝑒 𝑖𝑎𝑡 = 𝑐𝑜𝑠 𝑎𝑡 + 𝑖𝑠𝑖𝑛 𝑎𝑡
hence,
1 𝑠 + 𝑖𝑎 𝑠 + 𝑖𝑎 𝑠 𝑎
𝐿(𝑐𝑜𝑠 𝑎𝑡 + 𝑖𝑠𝑖𝑛 𝑎𝑡) = 𝐿{𝑒 𝑖𝑎𝑡 } = = = 2 2
= 2 2
+𝑖 2
𝑠 − 𝑖𝑎 (𝑠 − 𝑖𝑎)(𝑠 + 𝑖𝑎) 𝑠 + 𝑎 𝑠 +𝑎 𝑠 + 𝑎2
∞ 𝑑𝑥 𝑥
𝐿{𝑡 𝑛 } = ∫0 𝑒 −st 𝑡 𝑛 𝑑𝑡 substitute 𝑠𝑡 = 𝑥, so that 𝑑𝑡 = 𝑎𝑛𝑑 𝑡 = 𝑠 . when 𝑡 = 0, 𝑥 = 0 and 𝑡 = ∞, 𝑥 =
𝑠
∞ 𝑥 𝑛 𝑑𝑥 1 ∞ 1
∞. hence 𝐿{𝑡 𝑛 } = ∫0 𝑒 −x ( 𝑠 ) = 𝑠𝑛+1 ∫0 𝑒 −x 𝑥 𝑛 𝑑𝑥 = 𝑠𝑛+1 Γ(𝑛 + 1)
𝑠
1 𝑛!
Thus 𝐿{𝑡 𝑛 } = 𝑠𝑛+1 Γ(𝑛 + 1) = 𝑠𝑛+1
b) 𝑓𝑜𝑟 𝑠 > 5
ℒ{4𝑒 5𝑡 − 10𝑠𝑖𝑛2𝑡} = ℒ{4𝑒 5𝑡 } − ℒ{10𝑠𝑖𝑛2𝑡} = 4ℒ{𝑒 5𝑡 } − 10ℒ{𝑠𝑖𝑛2𝑡}
4 20
ℒ{4𝑒 5𝑡 − 10𝑠𝑖𝑛2𝑡} = 4ℒ{𝑒 5𝑡 } − 10ℒ{𝑠𝑖𝑛2𝑡} = − 2
𝑠−5 𝑠 +4
This is because 𝓛 linearity and above examples
Theorem: Transforms of Some Basic Functions
1 𝑘
(a) ℒ{1} = 𝑠 (d) ℒ{𝑠𝑖𝑛𝑘𝑡} = 𝑠2 +𝑘 2
𝑛! 𝑠
(b) ℒ{𝑡 𝑛 } = 𝑠𝑛+1 ,𝑛 = 1,2,3, .. (e) ℒ{𝑐𝑜𝑠𝑘𝑡} = 𝑠2 +𝑘 2
1 𝑘
(c) ℒ{𝑒 𝑎𝑡 } = 𝑠−𝑎 (f) ℒ{𝑠𝑖𝑛ℎ 𝑘𝑡} = 𝑠2 −𝑘 2
1 𝑠
(d)ℒ{𝑒 −𝑎𝑡 } = 𝑠+𝑎 (g) ℒ{𝑐𝑜𝑠ℎ 𝑘𝑡} = 𝑠2 −𝑘 2
𝑠
(g) 𝑐𝑜𝑠ℎ𝑘𝑡 = ℒ −1 {𝑠2 −𝑘 2 }
1 1
Example: Evaluate a) ℒ −1 {𝑠5 } b) ℒ −1 {𝑠2 +7}
Solution: (a) By the above theorem and identifying that 𝑛 + 1 = 5 𝑜𝑟 𝑛 = 4 and then multiplying and
dividing 4!, we have,
1 1 4! 1 1 −1 1 1 −1 4! 1 4 1 4
ℒ −1 { 5 } = ℒ −1 { 4+1 } = ℒ −1 { } = ℒ {4! } = ℒ { } = 𝑡 = 𝑡
𝑠 𝑠 4! 𝑠 4+1 4! 𝑠 4+1 4! 𝑠 4+1 4! 24
1 1 √7 1 √7 1
b) ℒ −1 { } = ℒ −1 { }= ℒ −1 { } = 𝑠𝑖𝑛√7𝑡
𝑠2 +7 √7 𝑠2 +(√7)2 √7 𝑠2 +(√7)2 √7
1
Here, we have fixed up the expression 𝑠2 +7 by multiplying and dividing by √7.
𝓛−𝟏 is a linear transform: The inverse Laplace transform is also a linear transform, that is for constants
𝛼 and 𝛽 and for some functions 𝐹 and 𝐺 that are transforms of 𝑓 and 𝑔 respectively, then
ℒ −1 {𝛼𝐹(𝑠) + 𝛽𝐺(𝑆)} = 𝛼ℒ −1 {𝐹(𝑠)} + 𝛽ℒ −1 {𝐺(𝑠)}
−2𝑠+6
Example: Evaluate ℒ −1 { 𝑠2 +4 }
Solution: we first rewrite the given function of s as two expressions by means of term wise division and
the use linearity ofℒ −1 .
−2𝑠 + 6 −2𝑠 6 −2𝑠 −6
ℒ −1 { } = ℒ −1
{ + } = ℒ −1
{ } + ℒ −1
{ }
𝑠2 + 4 𝑠2 + 4 𝑠2 + 4 𝑠2 + 4 𝑠2 + 4
𝑠 1
= −2ℒ −1 { 2 } +6ℒ −1 { 2 }
𝑠 +4 𝑠 +4
𝑠 6 2
= −2ℒ −1 {𝑠2 +4} + 2 ℒ −1 {𝑠2 +4}(by linearity and fixing the second expression)
= −2𝑐𝑜𝑠2𝑡 + 3𝑠𝑖𝑛2𝑡
𝑠+3
Example: Evaluate ℒ −1 {𝑠2 −7𝑠+12}
𝑠+3 𝑠+3 𝑠+3 𝑠+3
Solution: ℒ −1 { } = ℒ −1 { } = ℒ −1 { } = ℒ −1 {(𝑠−4)(𝑠−3)}
𝑠2 −7𝑠+12 𝑠2 −4𝑠−3𝑠+12 𝑠(𝑠−4)−3(𝑠−4)
𝑠+𝑠 𝑠+𝑠
Now we decompose 𝑠2 −7𝑠+12 = (𝑠−4)(𝑠−3) into sum of partial fractions
𝑠+3 𝑠+3 𝐴 𝐵 𝐴(𝑆−3)+𝐵(𝑆−4)
That is = (𝑠−4)(𝑠−3) = + (𝑠−3) =
𝑠2 −7𝑠+12 (𝑠−4) (𝑠−4)(𝑠−3)
𝑠+3 𝐴(𝑆−3)+𝐵(𝑆−4)
From this (𝑠−4)(𝑠−3) = (𝑠−4)(𝑠−3)
⟹ 𝐴(𝑠 − 3) + 𝐵(𝑆 − 4) = 𝑠 + 3
⟹ 𝐴𝑠 − 3𝐴 + 𝐵𝑆 − 4𝐵 = 𝑠 + 3 ⟹ 𝐴𝑠 + 𝐵𝑆 − 3𝐴 − 4𝐵 = 𝑠 + 3
HU 34 ODE
Ordinary Differential Equation
A+B =1
⟹ (A+B) + (-3A-4B)= 𝑠 + 3 ⟹ { ⟹ 𝐴 = 7 𝑎𝑛𝑑 𝐵 = −6
−3A − 4B = 3
𝑠+3 𝑠+3 𝐴 𝐵 7 −6
From this 𝑠2 −7𝑠+12 = (𝑠−4)(𝑠−3) = (𝑠−4)
+ (𝑠−3) = (𝑠−4)
+ (𝑠−3)
𝑠+3 7 −6 7 −6
Now ℒ −1 {𝑠2 −7𝑠+12} = ℒ −1 {(𝑠−4) + (𝑠−3)} = ℒ −1 {𝑠−4} + ℒ −1 {𝑠−3}
1 1
= 7ℒ −1 { } − 6ℒ −1 { } = 7𝑒 4𝑡 − 6𝑒 3𝑡
𝑠−4 𝑠−3
Transforms of derivative
As was pointed out in the introduction to this chapter, Laplace transform is used to solve differential
equations. To that end we need to evaluate quantities such as ℒ{𝑑𝑦⁄𝑑𝑡} and ℒ{𝑑 2 𝑦⁄𝑑 2 𝑡}.
For example, if 𝑓′ is continuous for 𝑡 ≥ 0, then integration by parts gives
∞ ∞
ℒ{𝑓 ′ (𝑡)} = ∫0 𝑒 −𝑠𝑡 𝑓′(𝑡)𝑑𝑡 = [𝑒 −𝑠𝑡 𝑓(𝑡)]∞
0
+ 𝑠 ∫0 𝑒 −𝑠𝑡 𝑓(𝑡)𝑑𝑡 = −𝑓(0) + 𝑠ℒ{𝑓(𝑡)}
or ℒ{𝑓 ′ (𝑡)} = 𝑠𝐹(𝑠) − 𝑓(0) (1)
here we have assumed that 𝑒 −𝑠𝑡 𝑓(𝑡) → 0 𝑎𝑠𝑡 → ∞,similarly with the aid of (1),
∞ ∞
ℒ{𝑓 ′′ (𝑡)} = ∫0 𝑒 −𝑠𝑡 𝑓 ′′ (𝑡)𝑑𝑡 = [𝑒 −𝑠𝑡 𝑓′(𝑡)]∞
0
+ 𝑠 ∫0 𝑒 −𝑠𝑡 𝑓′(𝑡)𝑑𝑡 = −𝑓 ′ (0) + 𝑠ℒ{𝑓′(𝑡)}
⟹ ℒ{𝑓 ′′ (𝑡)} = 𝑠[𝑠𝐹(𝑠) − 𝑓(0)] − 𝑓 ′ (0) (By (1))
⟹ ℒ{𝑓 ′′ (𝑡)} = 𝑠 2 𝐹(𝑠) − 𝑠𝑓(0) − 𝑓 ′ (0) (2)
In like manner it can be shown that
ℒ{𝑓 ′′ ′(𝑡)} = 𝑠 3 𝐹(𝑠) − 𝑠 2 𝑓(0) − 𝑠𝑓 ′ (0) − 𝑓 ′′ (0) (3)
In general, The results (1), (2) and (3) can be generalized in the following theorem
Theorem (Transform of a Derivative)
If 𝑓, 𝑓′, … , 𝑓 (𝑛−1) are continuous on [0,∞) and are of exponential order and if 𝑓 (𝑛) (𝑡) is piece wise
continuous on [0,∞), then
ℒ{𝑓 (𝑛) (𝑡)} = 𝑠 𝑛 𝐹(𝑠) − 𝑠 𝑛−1 𝑓(0) − 𝑠𝑓 𝑛−2 (0) − … − 𝑓 𝑛−1 (0),
Where, F(s) = ℒ{𝑓(𝑡)}.
In solving ODEs it is apparent from the general result given in the above theorem (Transform of a
Derivative) that ℒ{𝑑 𝑛 𝑦⁄𝑑 𝑛 𝑡} depends on 𝑌(𝑠) = ℒ{𝑦(𝑡)} and 𝑛 − 1 derivatives of 𝑦(𝑡) evaluated at
𝑡 = [Link] property make the Laplace ideally suited for solving linear initial-value problems in which the
differential equation has constant coefficients such a differential is simply a linear combination of terms
𝑦, 𝑦′, 𝑦′′,…,𝑦 (𝑛) :
𝑑𝑛 𝑦 𝑑𝑛−1 𝑦
𝑎𝑛 𝑑𝑡 𝑛 + 𝑎𝑛−1 𝑑𝑡 𝑛−1 + … + 𝑎0 𝑦 = 𝑔(𝑡), 𝑦(0) = 𝑦0,𝑦 ′ (0) = 𝑦1 , … , 𝑦 (𝑛−1) (0) = 𝑦𝑛−1
HU 35 ODE
Ordinary Differential Equation
By the linearity property the Laplace transform of this linear combination is a linear combination of
Laplace transforms:
𝑑𝑛 𝑦 𝑑𝑛−1 𝑦
𝑎𝑛 ℒ{ 𝑑𝑡 𝑛 } + 𝑎𝑛−1 { 𝑑𝑡 𝑛−1 } + … + 𝑎0 ℒ{𝑦} = ℒ{𝑔(𝑡)}
𝑑𝑛 𝑦 𝑑𝑛−1 𝑦
𝑎𝑛 𝑑𝑡 𝑛 + 𝑎𝑛−1 𝑑𝑡 𝑛−1 + … + 𝑎0 𝑦 = 𝑔(𝑡) (4)
Where 𝑃(𝑠) = 𝑎𝑛 𝑠 𝑛 + 𝑎𝑛−1 𝑠 𝑛−1 + ⋯ + 𝑎0, 𝑄(𝑠) is a polynomial in s of degree less than or equal to 𝑛 −
1 consisting of the various products of the coefficient 𝑎𝑖 , 𝑖 = 0,1, … , 𝑛 and the prescribed initial
conditions 𝑦0 , 𝑦1 , … , 𝑦𝑛−1 and 𝐺(𝑠) is the Laplace transform of 𝑔(𝑡).Typically, we put the two terms in
(6) over the least common denominator and then decompose the expression into two or more partial
fractions. Finally, the solution 𝑦(𝑡) of the original initial- value problem is 𝑦(𝑡) = ℒ −1 {𝑌(𝑠)}, where the
inverse transform is done term by term. Let us summarize the procedure in the following diagram
Find the unknown Apply Laplace Transformed DE
𝑦(𝑡)that satisfies the DE Becomes an algebraic
Transform ℒ
and Initial conditions equation in Y(s)
Solve transformed
Solution 𝑦(𝑡) Apply inverse equation for Y(s)
of original IVP
Laplace transformℒ −1
Figure: Steps in solving an IVP by the Laplace transform
HU 36 ODE
Ordinary Differential Equation
Solution: We first take the transform of each member of the differential equation:
𝑑𝑦 𝑑𝑦
ℒ { 𝑑𝑡 + 3𝑦 + 13𝑠𝑖𝑛2𝑡} = ℒ { 𝑑𝑡 } + 3ℒ{𝑦} + 13ℒ{𝑠𝑖𝑛2𝑡} (7)
𝑑𝑦
From (1),ℒ { 𝑑𝑡 } = 𝑠𝑌(𝑠) − 𝑦(0) = 𝑠𝑌(𝑠) − 6 and we know that ℒ{𝑠𝑖𝑛2𝑡} = 2⁄(𝑠 2 + 4)
𝑑𝑦
So, ℒ { 𝑑𝑡 } + 3ℒ{𝑦} + 13ℒ{𝑠𝑖𝑛2𝑡} = 𝑠𝑌(𝑠) − 6 + 3𝑌(𝑠) = 26⁄(𝑠 2 + 4)
26
Or(𝑠 + 3)𝑌(𝑠) = 6 + 𝑠2 +4 . Solving this last equation for 𝑌(𝑠) we get
6 26 6𝑠2 +50
𝑌(𝑠) = 𝑠+3 + (𝑠+3)(𝑠2+4) = (𝑠+3)(𝑠2+4) (7)
Since the quadratic polynomial 𝑠 2 + 4 does not factor using real numbers, its assumed numerator in the
partial fraction decomposition is a linear polynomial in𝑠:
6𝑠 2 + 50 𝐴 𝐵𝑠 + 𝐶
2
= + 2 .
(𝑠 + 3)(𝑠 + 4) 𝑠 + 3 𝑠 + 4
Putting the right-hand side of the equality over a common denominator and equating numerators
gives 6𝑠 2 + 50 = 𝐴(𝑠 2 + 4) + (𝐵𝑠 + 𝐶)(𝑠 + 3).setting 𝑠 = −3 then immediately yields 𝐴 = 8
Since the denominator has no more real zeros, we equate the coefficients of 𝑠 2 and s:
6 = 𝐴 + 𝐵 and 0 = 3𝐵 + 𝐶. Using the value of 𝐴 in the first equation gives 𝐵 = −2, and then using in
the second equation gives 𝐶 = [Link]
6𝑠 2 + 50 8 −2𝑠 + 6 8 −2𝑠 6
𝑌(𝑠) = 2
= + 2 = + 2 + 2
(𝑠 + 3)(𝑠 + 4) 𝑠 + 3 𝑠 +4 𝑠+3 𝑠 +4 𝑠 +4
8 −2𝑠 6
Or 𝑌(𝑠) = 𝑠+3 + + 𝑠2 +4 (8)
𝑠2 +4
HU 37 ODE
Ordinary Differential Equation
𝑑2𝑦 𝑑𝑦
ℒ{ 2
} − 3ℒ { } + 2ℒ{𝑦} = ℒ{𝑒 −4𝑡 }
𝑑𝑡 𝑑𝑡
1
𝑠 2 𝑌(𝑠) − 𝑠𝑦(𝑠) − 𝑦 ′ (0) − 3[𝑠𝑌(𝑠) − 𝑦(0)] =
𝑠+4
1
(𝑠 2 − 3𝑠 + 2)𝑌(𝑠) = 𝑠 + 2 +
𝑠+4
𝑠+2 1 𝑠 2 + 6𝑠 + 9
𝑌(𝑠) = 2 + =
𝑠 − 3𝑠 + 2 (𝑠 2 + 3𝑠 + 2)(𝑠 + 4) (𝑠 − 1)(𝑠 − 2)(𝑠 + 4)
Then decomposition into partial fraction yields
𝑠 2 + 6𝑠 + 9 𝐴 𝐵 𝐶
= + +
(𝑠 − 1)(𝑠 − 2)(𝑠 + 4) 𝑠 − 1 𝑠 − 2 𝑠 + 4
𝐴(𝑆 − 2)(𝑆 + 4) + 𝐵(𝑆 − 1)(𝑆 + 4) + 𝐶(𝑆 − 1)(𝑆 − 2)
=
(𝑠 − 1)(𝑠 − 2)(𝑠 + 4)
from this we have
𝐴(𝑆 − 2)(𝑆 + 4) + 𝐵(𝑆 − 1)(𝑆 + 4) + 𝐶(𝑆 − 1)(𝑆 − 2) = 𝑠 2 + 6𝑠 + 9
Letting 𝑠 = 2 to get the value of 𝐵, we have,
𝐴(2 − 2)(2 + 4) + 𝐵(2 − 1)(2 + 4) + 𝐶(2 − 1)(2 − 2) = 22 + 6(2) + 9
25
6𝐵 = 25 or 𝐵 = 6
HU 38 ODE
Ordinary Differential Equation
HU 39 ODE
Ordinary Differential Equation
𝑠+2
ℒ{𝑒 −2𝑡 𝑐𝑜𝑠4𝑡} = ℒ{𝑐𝑜𝑠4𝑡} = ℒ{𝑐𝑜𝑠4𝑡} = (𝑠+2)2+16
s → s − (2) s→s+2
Inverse form of the first translation theorem: To compute the inverse of 𝐹(𝑠 − 𝑎), we must recognize
𝐹(𝑠),find f(t) by taking the inverse Laplace transform 𝐹(𝑠),and then multiply f(t) by the exponential
function 𝑒 𝑎𝑡 .this procedure can be summarized symbolically in the following manner:
2
(𝑠 − 3)2 𝑌(𝑠) = 2𝑠 + 5 +
(𝑠 − 3)3
2𝑠 + 5 2
𝑌(𝑠) = +
(𝑠 − 3)2 (𝑠 − 3)5
2𝑠+5
From this, decomposition into partial fraction on(𝑠−3)2 yields
2 11 2
𝑌(𝑠) = + 2
+ .
𝑠 − 3 (𝑠 − 3) (𝑠 − 3)5
Thus, taking the inverse Laplace transform on both sides gives
2 1 1
𝑦(𝑡) = ℒ −1 {𝑠−3} + 11ℒ −1 {(𝑠−3)2 }+2ℒ −1 {(𝑠−3)5 }
2 1 2 4!
𝑦(𝑡) = ℒ −1 {𝑠−3} + 11ℒ −1 {(𝑠−3)2 }+4! ℒ −1 {(𝑠−3)5 }
HU 40 ODE
Ordinary Differential Equation
1 1 4!
𝑦(𝑡) = 2ℒ −1 {𝑠−3} + ℒ −1 {𝑠2 }+ℒ −1 {𝑠5 } (by the translation theorem)
s → s−3 s → s−3
1 4
𝑦(𝑡) = 2𝑒 3𝑡 + 11𝑡𝑒 3𝑡 + 12 𝑡𝑒 3𝑡 .
1 4
Hence, 𝑦(𝑡) = 2𝑒 3𝑡 + 11𝑡𝑒 3𝑡 + 12 𝑡𝑒 3𝑡 is the solution to the IVP
𝑑𝑦 𝑑𝑦
(a) − 𝑦 = 5,𝑦(0) = 0 (b) 2 𝑑𝑡 + 𝑦 = 0,𝑦(0) = −3 (c) 𝑦′ + 6𝑦 = 𝑒 4𝑡 , 𝑦(0) = 2
𝑑𝑡
That is
𝑑 𝑑
ℒ{𝑡𝑓(𝑡)} = − 𝐹(𝑠) = − ℒ{𝑓(𝑡)}
𝑑𝑠 𝑑𝑠
Similarly, by the above result
𝑑 𝑑 𝑑 𝑑2
ℒ{𝑡 2 𝑓(𝑡)} = ℒ{𝑡. 𝑡𝑓(𝑡)} = − 𝑑𝑠 ℒ{𝑡𝑓(𝑡)} = − 𝑑𝑠 (− 𝑑𝑠 ℒ{𝑓(𝑡)})= ℒ{𝑓(𝑡)}
𝑑𝑠2
HU 42 ODE
Ordinary Differential Equation
−1
=
(𝑠 − 3)2
Activity Evaluate each of the following
a) ℒ{𝑡 2 𝑠𝑖𝑛5𝑡} b. {𝑡 3 𝑐𝑜𝑠3𝑡} c. ℒ{𝑡 3 𝑒 3𝑡 } d. ℒ{4𝑡𝑠𝑖𝑛ℎ2𝑡 + 7𝑡 2 𝑒 −5𝑡 }
Integration of Laplace Transformation
Integration of the transform of a function 𝑓(𝑡) corresponds to the division of 𝑓(𝑡) by 𝑡
Theorem (The integral of a transform)
Let 𝑓(𝑡)⁄𝑡 be a piecewise continuous, defined for t ≥ 0 and such that |𝑓(𝑡)⁄𝑡| ≤ 𝑀𝑒 −𝑘𝑡 for t ≥ 0, if
ℒ{𝑓(𝑡)⁄𝑡} = 𝐺(𝑆) for 𝑠 > 𝑘 and ℒ{𝑓(𝑡)} = 𝐹(𝑆) ,
∞ −1
ℒ{𝑓(𝑡)⁄𝑡} = ∫𝑠 𝐹(𝑢) 𝑑𝑢 and conversely ℒ −1 {𝐺(𝑠)} = ℒ −1 ℒ{𝐺 ′ (𝑠)}.
𝑡
∞
Proof: we have 𝐺(𝑆) = ℒ{𝑓(𝑡)⁄𝑡} = ∫0 𝑒 −𝑠𝑡 𝑓(𝑡)⁄𝑡 𝑑𝑡 for 𝑠 > 𝑘. However,
∞ 𝑓(𝑡) ∞
𝐺 ′ (𝑠) = ∫0 𝑒 −𝑠𝑡 (−𝑡) 𝑑𝑡 = − ∫0 𝑒 −𝑠𝑡 𝑓(𝑡)𝑑𝑡 = − 𝐹(𝑆).
𝑡
The converse result follows by taking the inverse Laplace transform and using the fact that
{𝐹(𝑠)} 1
ℒ −1 {𝐺(𝑠)} = 𝑓(𝑡)⁄𝑡 = ℒ −1 = − 𝑡 ℒ −1 {𝐺 ′ (𝑠)} Together with ℒ{𝑓(𝑡)} = 𝐹(𝑠) = −𝐺 ′ (𝑠)
𝑡
𝑒 −2𝑡 −𝑒 −3𝑡
Example: Evaluate ℒ { }
𝑡
𝑒 −2𝑡 −𝑒 −3𝑡
Solution: The function is defined and finite for all > 0 , where 𝑓(𝑡) = 𝑒 −2𝑡 −
𝑡
1 1
𝑒 −3𝑡 ℒ{𝑓(𝑡)} = ℒ{𝑒 −2𝑡 − 𝑒 −3𝑡 } = 𝐹(𝑠) = 𝑠+2 + 𝑠+3
∞ ∞
𝑒 −2𝑡 − 𝑒 −3𝑡 1 1
𝐺(𝑠) = ℒ{𝑓(𝑡)⁄𝑡} = ℒ { } = ∫ 𝐹(𝑢) 𝑑𝑢 = ∫ ( + ) 𝑑𝑢
𝑡 𝑠 𝑠 𝑢+2 𝑢+3
∞ ∞
1 1 ∞ ∞
=∫ 𝑑𝑢 + ∫ 𝑑𝑢 = [ln(𝑢 + 2)] − [ln(𝑢 + 3)]
𝑠 𝑢+2 𝑠 𝑢+3
𝑠 𝑠
= ln(∞ + 2) − ln(𝑠 + 2) − ln(∞ + 3) + ln(𝑠 + 3)
𝑠+3
= ln(𝑠 + 3) − ln(𝑠 + 2) = ln (𝑠+2)
𝑠+3
because ln(∞ + 2) = ln(∞ + 3) = 0 (∴ lim 𝐺(𝑠) = 0 ) ⟹ 𝐺(𝑠) = ln (𝑠+2)
𝑠→∞
HU 43 ODE
Ordinary Differential Equation
Exercises
1. In each of the following use the Derivatives Transforms to evaluate ℒ{𝑓(𝑡)}
(a) 𝑡 𝑐𝑜𝑠𝑤𝑡 (b) 𝑡 2 𝑠𝑖𝑛 3𝑡 (c) 𝑡 2 𝑐𝑜𝑠ℎ 2𝑡 (d) 𝑡𝑒 −𝑘𝑡 𝑠𝑖𝑛 𝑡 (e) 𝑡 𝑛 𝑒 𝑘𝑡
2. Use the integral of a transform to find the Laplace transform of each of the following
𝑠𝑖𝑛 3𝑡 𝑒 −5𝑡 𝑐𝑜𝑠 8𝑡
(a) ℒ { 𝑡
} (b). ℒ { 𝑡
} (c). ℒ { 𝜋𝑡
}
𝑠+𝑎 𝑒 −𝑏𝑡 −𝑒 −𝑎𝑡
3. Show that ℒ −1 {𝑙𝑛 ( ) =
𝑠+𝑏 𝑡
Note: From the definition it follows almost immediately the convolution has the properties
𝑓∗𝑔 = 𝑔∗𝑓 (commutative law)
𝑓 ∗(𝑔1 + 𝑔2 )= 𝑓 ∗ 𝑔1 + 𝑓 ∗ 𝑔2 (distributive law)
(𝑓 ∗ 𝑔) ∗ ℎ = 𝑓 ∗ (𝑔 ∗ ℎ) (associative law)
𝑓∗0 =0∗𝑓
similar to those of multiplication of numbers. However, there are differences of which you should be
aware.
HU 44 ODE
Ordinary Differential Equation
Proof
HU 45 ODE
Ordinary Differential Equation
∞ ∞
Let 𝐹(𝑠) = ∫0 𝑒 −𝑠𝜏 𝑓(𝜏)𝑑𝜏 and 𝐺(𝑠) = ∫0 𝑒 −𝑠𝑝 𝑔(𝑝)𝑑𝑝
We now set 𝑡 = 𝑝 + 𝜏, where 𝜏 is at first constant. Then 𝑝 = 𝑡 − 𝜏, and 𝑡 varies from 𝜏 to ∞,Thus,
∞ ∞
𝐺(𝑠) = ∫ 𝑒 −𝑠(𝑡− 𝜏) 𝑔( 𝑡 − 𝜏)𝑑𝑡 = 𝑒 𝑠𝜏 ∫ 𝑒 −𝑠𝑡 𝑔(𝑡 − 𝜏)𝑑𝑡
𝜏 𝜏
𝜏 in 𝐹 and 𝑡 in 𝐺 vary independently. Hence we can insert the G-integral into the F-integral.
Cancellation of 𝑒 −𝑠𝜏 and 𝑒 𝑠𝜏 then gives
∞ ∞ ∞ ∞
−𝑠𝜏 𝑠𝜏 −𝑠𝑡
𝐹(𝑠)𝐺(𝑠) = ∫ 𝑒 𝑓(𝜏) 𝑒 ∫ 𝑒 𝑔(𝑡 − 𝜏)𝑑𝑡𝑑𝜏 = ∫ 𝑓(𝜏) ∫ 𝑒 −𝑠𝑡 𝑔(𝑡 − 𝜏)𝑑𝑡𝑑𝜏
0 𝜏 0 𝜏
Here we integrate for fixed 𝜏 over 𝑡from 𝜏 to ∞.this is the shaded region in Fig 4.4. Under the
assumption on f and g the order of integration can be reversed. We then integrate first over 𝜏
From 𝑜 to 𝑡 and then over 𝑡 from 0 to ∞, that is,
∞ ∞ ∞
−𝑠𝜏
𝐹(𝑠)𝐺(𝑠) = ∫ 𝑒 ∫ 𝑓(𝜏)𝑔(𝑡 − 𝜏)𝑑𝜏𝑑𝑡 = ∫ 𝑒 −𝑠𝜏 ℎ(𝑡)𝑑𝑡 = ℒ{ℎ} = 𝐻(𝑠
0 𝜏 0
HU 46 ODE
Ordinary Differential Equation
𝒔 𝟏 𝒔 𝟏 𝒔
b) Writing 𝟐 = 𝒔𝟐 +𝒂𝟐 𝒔𝟐 +𝒂𝟐and letting𝐹(𝑠) = 𝒔𝟐 +𝒂𝟐and 𝐺(𝑠) = 𝒔𝟐 +𝒂𝟐 , we have
(𝒔𝟐 +𝒂𝟐 )
𝟏 𝒂 1 𝒂 1
𝓛−𝟏 {𝐹(𝑠)} = 𝓛−𝟏 { } = 𝓛−𝟏 { } = 𝓛−𝟏 { 𝟐 } = 𝑠𝑖𝑛𝑎𝑡
𝒔𝟐 +𝒂𝟐 𝟐 𝟐
𝒂(𝒔 + 𝒂 ) 𝑎 𝒔 +𝒂 𝟐 𝑎
𝒔
Similarly,𝓛−𝟏 {𝐺(𝑠)} = 𝓛−𝟏 {𝒔𝟐 +𝒂𝟐 } = 𝑐𝑜𝑠𝑎𝑡, then it follows from the convolution theorem that
𝑠 1
ℒ −1 { } = ℒ −1 {𝐹(𝑠)𝐺(𝑠)} = (1⁄𝑎 )(𝑠𝑖𝑛𝑎𝑡 ∗ 𝑐𝑜𝑠𝑎𝑡) = 𝑡 𝑠𝑖𝑛𝑎𝑡
(𝑠 2 2
+𝑎 ) 2 2𝑎
𝑡
Note: when evaluating convolution integrals of ∫0 𝑠𝑖𝑛𝑎𝜏𝑐𝑜𝑠𝑎(𝑡 − 𝜏)𝑑𝜏 , instead of expanding a term
such as 𝑐𝑜𝑠𝑎(𝑡 − 𝜏) and 𝑠𝑖𝑛𝑎(𝑡 − 𝜏) using integration by parts, it is often quicker to replace 𝑠𝑖𝑛𝑎𝑡 and
𝑒 𝑖𝑎𝑡 +𝑒 −𝑖𝑎𝑡 𝑒 −𝑖𝑎(𝑡−𝜏)𝑡 +𝑒 −𝑖(𝑡−𝜏)𝑎𝑡
𝑐𝑜𝑠𝑎(𝑡 − 𝜏) by 𝑠𝑖𝑛𝑎𝑡 = , 𝑐𝑜𝑠𝑎(𝑡 − 𝜏) =
2𝑖 2
Before performing the integrations, and again using these identities to interpret the result in terms of
trigonometric functions
Integral Equations
Convolution helps in solving certain integral equations, that is, equations in which the unknown
function𝑦(𝑡) appears in an integral (and perhaps also outside of it).This concerns equations with an
integral of the form of a convolution.
Volterra Integral Equation
Definition (Volterra Integral Equation): The integral equation of the form
𝑡
𝑓(𝑡) = 𝑔(𝑡) + ∫0 𝑓(𝜏)ℎ(𝑡 − 𝜏)𝑑𝜏,
Where 𝑔(𝑡) and ℎ(𝑡) are known functions is called Volterra Integral Equation for𝑓(𝑡).
Note: Volterra Integral Equation has the convolution form with the symbol ℎ playing the part of 𝑔 in
convolution.
𝑡
Example: solve 𝑓(𝑡) = 3𝑡 2 − 𝑒 −𝑡 − ∫0 𝑓(𝜏)𝑒 𝑡−𝜏 𝑑𝜏 for 𝑓(𝑡)
Solution: Here 𝒉(𝒕 − 𝝉) = 𝑒 𝑡−𝜏 so that 𝒉(𝒕) = 𝑒 𝑡 and 𝒈(𝒕) = 3𝑡 2 − 𝑒 −𝑡
Taking the Laplace transform of each term, we have
𝑡 𝑡
2 −𝑡 } 𝑡−𝜏 2} −𝑡 }
ℒ{𝑓(𝑡)} = ℒ{3𝑡 − 𝑒 − ℒ {∫ 𝑓(𝜏)𝑒 𝑑𝜏} = ℒ{3𝑡 − ℒ{𝑒 − ℒ {∫ 𝑓(𝜏)𝑒 𝑡−𝜏 𝑑𝜏}
0 0
2 1 2 1
⟹ 𝐹(𝑠) =3.𝑠3 − 𝑠+1 − ℒ{𝑓(𝑡)}ℒ{ℎ(𝑡)} =3.𝑠3 − 𝑠+1 − ℒ{𝑓(𝑡)}ℒ{𝑒 𝑡 }
2 1 6 1 1
= 3.𝑠3 − 𝑠+1 − ℒ{𝑓(𝑡)}ℒ{𝑒 −𝑡 } = 𝑠3 − 𝑠+1 − 𝐹(𝑠) 𝑠−1
1 6 1 𝑠−1+1 6 1 𝑠 6 1
⟹ (1 + 𝑠−1) 𝐹(𝑠) = 𝑠3 − 𝑠+1 ⟹ ( ) 𝐹(𝑠) = 𝑠3 − 𝑠+1 ⟹ 𝑠−1 𝐹(𝑠) = 𝑠3 − 𝑠+1
𝑠−1
HU 47 ODE
Ordinary Differential Equation
6 6 𝑠−1 6 6 1 2
ℒ −1 {𝐹(𝑠)} = ℒ −1 { 3
− 4− = 3− 4+ − }
𝑠 𝑠 𝑠(𝑠 + 1) 𝑠 𝑠 𝑠 𝑠+1
6 6 1 2
= ℒ −1 { 3 } − ℒ −1 { 4 } + ℒ −1 { } − ℒ −1 { }
𝑠 𝑠 𝑠 𝑠+1
2! 3! 1 1
⟹ 𝑓(𝑡) = 3ℒ −1 { 3 } − ℒ −1 { 4 } + ℒ −1 { } − 2 { } = 3t 2 − t 3 + 1 − 2e−t
𝑠 𝑠 𝑠 𝑠+1
Hence 𝑓(𝑡) = 3t 2 − t 3 + 1 − 2e−t
Integro-differential equations
We now consider a differential equation of an unusual type, these equations occur in many applications
of mathematics, one of which arises in the continuum mechanics of polymers, where the dynamical
response 𝑦(𝑡) of certain types of material at time 𝑡 depends on a derivative of 𝑦(𝑡) and the time-weighed
cumulative effect of what has happened to the material prior to time 𝑡.for obvious reasons materials of
this type are called materials with memory.
Definition: Differential equations in which the function 𝑦(𝑡) occurs not only as the dependent variable in
the differential equation, but also inside a convolution integral that forms the Nonhomogeneous term are
called Integro-differential equations.
In other words, equations that involve both the integral of an unknown function and its derivatives are
called Integro-differential equations.
Example: Solve the equation
𝑡
𝑦 ′′ + 𝑦 = ∫0 sin 𝜏 𝑦(𝑡 − 𝜏)𝑑𝜏,
Subject to the initial conditions 𝑦(0) = 1 and 𝑦′(0) = 0
Solution taking the Laplace transform in the usual way gives
𝑡
2
𝑠 𝑌(𝑠) − 𝑠 + 𝑌(𝑠) = ℒ {∫ sin 𝜏 𝑦(𝑡 − 𝜏)𝑑𝜏}
0
HU 48 ODE
Ordinary Differential Equation
Here the last term is the Laplace of a convolution integral, so from the convolution theorem it follows that
𝑡 𝑡 𝑡
𝑌(𝑠)
ℒ {∫ sin 𝜏 𝑦(𝑡 − 𝜏)𝑑𝜏} = ℒ {∫ sin 𝑡} ℒ {∫ 𝑦(𝑡)} =
0 0 0 𝑠2 + 1
Using this result in the transformed equation, solving for 𝑌(𝑠), and expanding the result using partial
fractions gives
𝑌(𝑠) 𝑌(𝑠)
𝑠 2 𝑌(𝑠) − 𝑠 + 𝑌(𝑠) = 𝑠2 +1 or (𝑠 2 + 1) 𝑌(𝑠) = 𝑠2 +1 + 𝑠
𝑠2 +1 11 1 𝑠
i.e. 𝑌(𝑠) = 𝑠(𝑠2 +2) = 2 𝑠 + 2 (𝑠2 +2)
Exercises
1) . If 𝑓(𝑡) = 𝑡 2 and 𝑔(𝑡) = 𝑐𝑜𝑠𝑡 , then show that (𝑓 ∗ 𝑔)(𝑡) = 2(𝑡 − 𝑠𝑖𝑛𝑡) = (𝑔 ∗ 𝑓)(𝑡)
2) Use the convolution theorem to evaluate each of the following
(a) ℒ{1 ∗ 𝑡 3 } (b). ℒ{𝑡 2 ∗ 𝑡𝑒 𝑡 } (c). ℒ{𝑒 −𝑡 ∗ 𝑒 𝑡 𝑐𝑜𝑠𝑡} (d). ℒ{𝑒 2𝑡 ∗ 𝑠𝑖𝑛 𝑡}
3) In each of the following use the Laplace transform to solve the given integral equation or Integro-differential
equation.
𝑡 𝑡
(a) 𝑓(𝑡) + ∫0 (𝑡 − 𝜏)𝑓(𝜏)𝑑𝜏 = 𝑡 (b) 𝑓(𝑡) = 2𝑡 − 4 ∫0 𝑠𝑖𝑛 𝜏 𝑓(𝑡 − 𝜏)𝑑𝜏
𝑡
(c) 𝑦 ′ (𝑡) = 1 − 𝑠𝑖𝑛𝑡 − ∫0 𝑦(𝜏)𝑑𝜏 , 𝑦(0) = 0
𝑑𝑦 𝑡
(d) 𝑑𝑡
+ 6𝑦(𝑡) + 9 ∫0 𝑦(𝜏)𝑑𝜏 = 1, 𝑦(0) = 0
(d) 𝑓(𝑡) = (𝑒 𝑡 − 𝑒 −𝑡 )2 (e) 𝑓(𝑡) = 𝑒 𝑡 𝑠𝑖𝑛 5𝑡 (f) 𝑓(𝑡) = 𝑒 2𝑡 (𝑡 − 1)2 (g) 𝑓(𝑡) = 𝑡10 𝑒 −7𝑡
𝑡
(h) 𝑓(𝑡) = (1 − 𝑒 𝑡 + 3𝑒 −4𝑡 )𝑐𝑜𝑠 5𝑡 (i) 𝑓(𝑡) = 𝑒 3𝑡 (9 − 4𝑡 + 10 𝑠𝑖𝑛 )
2
1 1 2𝑠−1 (𝑠+1)2
(e)ℒ −1 {(𝑠+2)3 }(f)ℒ −1 {𝑠2 +2𝑠+5}(g)ℒ −1 {𝑠2 (𝑠+1)3 }(g)ℒ −1 {(𝑠+2)4 }
6. Use the Laplace transforms the given initial-value and boundary problem
(a) 𝑦 ′′ + 20𝑦 ′ + 5𝑦 = 0, 𝑦(0) = 2 , 𝑦′(0) = 0
(b)𝑦 ′′ − 𝑦 ′ = 𝑒 𝑡 𝑐𝑜𝑠 𝑡 , 𝑦(0) = 0 , 𝑦′(0) = 0
(c)𝑦 ′′ − 2𝑦 ′ = 1 + 𝑡 , 𝑦(0) = 0 , 𝑦′(0) = 2
HU 49 ODE
Ordinary Differential Equation
8. In each of the following use the Laplace transform to solve the given integral equation or Integro-differential
equation.
𝑡 𝑡
(a) 𝑓(𝑡) = 𝑡𝑒 𝑡 + ∫0 𝜏𝑓(𝑡 − 𝜏)𝑑𝜏 (b) 𝑓(𝑡) + 2 ∫0 𝑓(𝜏)𝑐𝑜𝑠 (𝑡 − 𝜏)𝑑𝜏 = 4𝑒 −𝑡 + 𝑠𝑖𝑛 𝑡
𝑡 𝑡
(c ) 𝑓(𝑡) + ∫0 𝑓(𝜏)𝑑𝜏 = 1 (d) ) 𝑓(𝑡) = 𝑐𝑜𝑠 𝑡 + ∫0 𝑒 −𝜏 𝑓(𝑡 − 𝜏)𝑑𝜏
𝑡
(e) 𝑡 − 2𝑓(𝑡) = ∫0 (𝑒 𝜏 − 𝑒 −𝜏 )𝑓(𝑡 − 𝜏)𝑑𝜏
𝑡 𝑡
(f) 𝑦 ′ + 4𝑦 = 4 ∫0 𝑠𝑖𝑛 𝜏 𝑦(𝑡 − 𝜏)𝑑𝜏, with 𝑦(0)=1 (g) 𝑦 ′ + 𝑦 = 4 ∫0 𝑒 −2𝜏 𝑦(𝑡 − 𝜏)𝑑𝜏, with 𝑦(0)=3
𝑡 𝑡
(h) 𝑦 ′′ − 𝑦 = ∫0 𝑠𝑖𝑛ℎ 𝜏 𝑦(𝑡 − 𝜏)𝑑𝜏, with 𝑦(0)=4 (k)𝑦 ′′ − 4𝑦 = 2 ∫0 𝑠𝑖𝑛ℎ 2𝜏 𝑦(𝑡 − 𝜏)𝑑𝜏, with 𝑦(0)=
HU 50 ODE