





































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An in-depth analysis of solving linear, 2nd order, constant coefficient ordinary differential equations (odes) using both analytical and numerical methods. It covers topics such as homogeneous and non-homogeneous equations, finding particular and complementary solutions, and using matlab for numerical solutions. It also discusses partial differential equations and their relation to odes.
Typology: Slides
1 / 45
This page cannot be seen from the preview
Don't miss anything!






































t dt dy tdt dt
dy (^2) ⋅ ⇒ = 2
∫ dy^ =^ ∫^2 td^ t
( )
( ) ∫ ∫
=
=
=
=
=
y t t
y
d d
β
β
α
α
α β β 0 0
2
( )
( )
∫ ∫
=
=
=
=
=
y t t
y
d d
β
β
α
α
α β β 0 0
1 2
[ ] (^) ( )
( ) [ ]
y t t y 0
2 α (^0) = 7. 37 = β
( )
Or ( ) 7. 37
2 2
= +
− = −
y t t
y t t
y ( ) t = yp ( ) t + yc ( ) t
Consider the Case Where the Forcing Function is a Constant
Now Solve the ODE in Two Parts for y (^) p & yc
For the Particular Soln, Notice that a CONSTANT Fits the Eqn:
( ) ( )
( )
( ) = 0
=
y t dt
dy t
y t A dt
dy t
c
c
p
p
τ
τ
( )
[ ( )] (^) [ ] 0
and
1
1
dt
d K dt
d y t
y t K
p
p
1
1
Next, Divide the Homogeneous Eqn by τ·yc to yield
Next Separate the Variables & Integrate
( ) ( )
0
1
dy t dt
c
c
( )
dy ( ) t dt ∫ (^) y (^) c t c ∫
τ
Recognize LHS as a Natural Log; so
( ( ))
y (^) c t t τ D
Next Take “e” to The Power of the LHS & RHS
2 nd^ Order Linear Equation
As Before The Solution Should Take This form
If the Forcing Fcn is a Constant , A , Then Discern a Particular Soln
Verify y (^) p
2 t ky t f t dt
dy t c dt
d y m + + =
y ( t ) = yp ( t ) + yc ( t )
Where
( ) k
A f t = A ⇒ yp =
A k
ky k A
dt
d y dt
dy k
y A
p
p p p
⇒ = =
= ⇒ = 2 = 0
2
For Any const Forcing Fcn, f(t) = A
( ) y ( t ) k
y t = + c
The Complementary Solution
Look for Solution of this type
Need y (^) c So That the “0th”, 1 st^ & 2nd Derivatives Have the SAME FORM so they will CANCEL (i.e., Divide-Out) in the Homogeneous Eqn
2
st y ( t ) = Ge Sub Assumed Solution (y = Ge st) into the Homogenous Eqn
mGest^ s^2 + cGests + kGest = 0 Canceling Ge st
0
2 ms + cs + k =
The Above is Called the Characteristic Equation
Complementary Solution cont.
In the Unstable case the response will grow exponentially toward ∞
Can Generate STABLE and UNstable Responses
1 , 2
− ± γ
Complementary Soln Cases 1&
2
yc t A e A e 1 2 ( ) = 1 + 2
( )
yc ( t ) = A 1 + A 2 t e
2 nd^ Order Solution
2
y ( t = 0 ) = VALUE
y ( ) VALUE dt
dy
t
= =
=
0 0
Properly Apply Initial conditions
y ( t ) y ( t ) y ( t ) p c
= +
y ( ) 0 = A 1 e^0 + A 2 e^0 = 0. 5
[ ( ) ]
t t
t t
6 2
3 1
6 2
3 1
− −
2
17 3 1 0 6 2 0 0
− = − − = =
Ae A e dt
dy
t
3 6 8. 5
1 2
1 2 − − = −
A A
A A
**>> C = [1,1; -3,-6]; >> b = [0.5; -8.5]; >> A = C\b A = -1.
>> A_6 = 6A A_6 = -11. 14.*
( ) (^) ; 0 6
14 6
(^11 3 ) y t = − e −^ t + e − t t >
-0.4 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
-0.
-0.
-0.
0
t
y(t)
Be sure to check for correct IC’s Starting-Value & Slope