Professional Documents
Culture Documents
S
PA
TA
1
Tapas Kumar Bhattacharya Linear Differential Equations 2
Contents
1 Introduction 3
S
PA
TA
Tapas Kumar Bhattacharya Linear Differential Equations 3
1 Introduction
• Linear differential equations (LDE) describe the dynamics of many a physical system including
circuits.
• One is bound to handle LDE, if the system consists of Energy Storage Elements like mass,
spring in physical system or inductor and capacitor in a network.
• After writing the differential equation (using KVL, KCL in circuits, it is necessary to solve
them.
• Solution of LDE by classical method gives better insight into the problem.
• Our goal in this note will be to obtain the solution of LDE classically and quickly.
1. yn (t) is called natural response (also called complementary function) as it does not depend on
the forcing function x(t). This will exist if the there is initially stored energy in the system
and the value of A is determined from the initial condition.
Tapas Kumar Bhattacharya Linear Differential Equations 4
2. yf (t) is called the response due to forcing function (also known as particular integral) as it
depends on x(t).
R
We evaluate the integral eat x(t) dt to get yf (t)
eat eat
Z Z
at
e x(t) dt = x − ẋ dt ; Integrating by parts
a a
1 at 1 at eat
Z
= xe − 2 ẋe + ẍ 2 dt ; Once again Integrating by parts
a a a
1 1 1
∴ yf (t) = x − 2 ẋ + 3 ẍ + · · · ∞
a a a
Told in language we can say that response due to forcing function f (t) is nothing but linear
combination of the forcing function and its higher order derivatives up to infinite terms
yf (t) = ko x + k1 ẋ + k2 ẍ + · · · ∞
Hence total solution is y(t) = Ae−at + (kox + k1 ẋ + k2 ẍ + · · · ∞)
dy
Given equation is: + ay = x(t) = Ae−at
dt
dy
eat
+ aeat x = A ;Multiply with the integrating factor
dt
d at
(e y) = A
dt
or, d(eat y) = A dt
Integrating, eat y = At+ B
or, y = (A t + B)e−at ;Total solution
∴ yn (t) = Be−at ;Natural response
and, yf (t) = A te−at ;Solution due to forcing function
∴ Total solution is : y(t) = Be−at + A te−at = (At + B)e−at
Tapas Kumar Bhattacharya Linear Differential Equations 5
(D 2 + aD + b)y = x(t)
If roots are m1 , m2
The equation can be written as, (D − m1 )(D − m2 )y = x(t)
Let, (D − m2 )y = z(t)
∴ (D − m1 )z = x(t)
We shall first solve for z(t) from the last first order differential equation. After knowing z(t),
we shall solve for y(t) from (D − m2 )y = z(t), which is also a first order differential equation with
S
z(t) appearing as forcing function.
PA
Case1: m1 6= m2
In this case roots are not equal i.e., m1 6= m2 .
TA
(D − m1 )z = x(t)
∴ z(t) = Aem1 t + (ko x + k1 ẋ + k2 ẍ + · · · ∞)
The last equation is once again a first order differential equation and its forcing function is:
Aem1 t + (ko x + k1 ẋ + k2 ẍ + · · · ∞)
So the total solution will be:
y(t) = A1 em1 t + A2 em2 t + (Ko x + K1 ẋ + K2 ẍ + · · · ∞)
Tapas Kumar Bhattacharya Linear Differential Equations 6
Case2: m1 = m2 = m
Here the roots are equal i.e., m1 = m2 = m.
(D 2 + aD + b)y = x(t)
If roots are m1 = m2 = m
The equation can be written as, (D − m)(D − m)y = x(t)
Let, (D − m)y = z(t)
∴ (D − m)z = x(t)
We shall first solve for z(t) from the last first order differential equation. After knowing z(t), we
shall solve for y(t) from (D − m)y = z(t), which is also a first order differential equation.
(D − m)z = x(t)
∴ z(t) = Aemt + (ko x + k1 ẋ + k2 ẍ + · · · ∞)
The forcing function on RHS has a term Aemt . Therefore the total solution for y(t) is given by:
2. Write down the characteristic equation and solve for its roots.
5. Solution yf (t), due to forcing function x(t) will be linear combinations of the x(t) and its
higher order derivatives.
6. Total solution for y(t) then will be sum of yn (t) and yf (t).
Tapas Kumar Bhattacharya Linear Differential Equations 8
Example-1
Find out the solution of the following differential equation
dy
+ 3y = t Boundary condition : y(0) = 1
dt
Solution
Characteristic equation is m + 3 = 0; hence m = −3. Also x(t) = t. So the solution is:
(ko t + k1 ) + 3(kot + k1 ) = t
dt
or, ko + 3ko t + 3k1
= t
or, ko + 3k1 + 3ko t
= t
Note that, this relation is to be true for all time t
hence, ko + 3k1= 0
and, 3ko= 1
1 1
∴ k0 = and k1 = −
3 9
1 1
Thus, y(t) = Ae−3t + t −
3 9
Now A is to be determined from the boundary condition y(0) = 1.
1 10
1=A− ∴ A=
9 9
Tapas Kumar Bhattacharya Linear Differential Equations 9
ejωt − e−jωt
sin ωt =
2j
jωt
e + e−jωt
cos ωt =
S 2
PA
Thus we conclude that sinusoidal quantities can also be expressed as exponentials. Now consider
a second order differential equation try to solve for yf (t) when x(t) = Aest .
TA
d2 y dy
Given equation: 2
+ a + by = x(t)
dt dt
Forcing function:x(t) = Aest where s is a constant
d2 yf dyf
or, 2
+a + byf = Aest
dt dt
Since LHS must be equal to RHS for all t, nature of yf (t) must be of the following form
Example-2
Solve the following differential equation
dy
+ 2y = 10 ; Boundary condition y(0) = 0
dt
Let us first solve for yf (t).
S
PA
The given equation is: (D + 2)yf (t) = 10 ; Note x(t) = 10 = 10e0t constant
10
∴ yf (t) = =5
TA
(D + 2) D=0
Since characteristic root m = −2
∴ yn (t) = Ae−2t
Total solution is: y(t) = yf (t) + yn (t)
or, y(t) = 5 + Ae−2t
Boundary condition: y(0) = 0 gives A = −5
∴ Total solution is: y(t) = 5 − 5e−2t
Example-3
Solve the following differential equation
dy
+ 2y = 10 cos 2t ; Boundary condition y(0) = 0
dt
Tapas Kumar Bhattacharya Linear Differential Equations 11