7/27/2019 Prog 25 Second-Order Differential Equations
1/26
Worked examples and exercises are in the textSTROU
PROGRAMME 25
SECOND-ORDER
DIFFERENTIAL
EQUATIONS
7/27/2019 Prog 25 Second-Order Differential Equations
2/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Introduction
Homogeneous equations
The auxiliary equation
Summary
Inhomogeneous equations
7/27/2019 Prog 25 Second-Order Differential Equations
3/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Introduction
Homogeneous equations
The auxiliary equation
Summary
Inhomogeneous equations
7/27/2019 Prog 25 Second-Order Differential Equations
4/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Introduction
For any three numbers a, b and c, the two numbers:
are solutions to the quadratic equation:
with the properties:
2 2
1 24 4and2 2
b b ac b b acm ma a
+ = =
2 0am bm c+ + =
1 2 1 2and
b cm m m m
a a+ = =
7/27/2019 Prog 25 Second-Order Differential Equations
5/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Introduction
The differential equation:
can be re-written to read:
that is:
2
2
0d y dy
a b cydx dx
+ + =
2
20 provided 0
d y b dy cy a
dx a dx a+ + =
2
20
d y b dy ca y
dx a dx a
+ + =
7/27/2019 Prog 25 Second-Order Differential Equations
6/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Introduction
The differential equation can again be re-written as:
where:
( )2 2
1 2 1 22 2
1 2 1
2
0
d y b dy c d y dyy m m m m y
dx a dx a dx dxd dy dy
m y m m ydx dx dx
dzm z
dx
+ + = + +
=
=
=2 2
1 2 1
4 4, and
2 2
b b ac b b ac dym m z m y
a a dx
+ = = =
7/27/2019 Prog 25 Second-Order Differential Equations
7/26 Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Introduction
The differential equation:
has solution:
This means that:
That is:
2 0dz
m z
dx
=
2
1
m x
dyz m y
dx
Ce
=
=
2 : being the integration constantm xz Ce C=
2
1
m xdym y Ce
dx =
7/27/2019 Prog 25 Second-Order Differential Equations
8/26 Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Introduction
The differential equation:
has solution:
where: and are constantsA B
1 2
1
1 2
1 2
: if
( ) : if
m x m x
m x
y Ae Be m m
A Bx e m m
= +
= + =
2
1
m xdy m y Ce
dx
=
7/27/2019 Prog 25 Second-Order Differential Equations
9/26 Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Introduction
Homogeneous equations
The auxiliary equation
Summary
Inhomogeneous equations
7/27/2019 Prog 25 Second-Order Differential Equations
10/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Homogeneous equations
The differential equation:
Is asecond-order, constant coefficient, linear, homogeneous differential
equation. Its solution is found from the solutions to the auxiliary equation:
These are:
2
2 0
d y dy
a b cydx dx+ + =
2
0am bm c+ + =
2 2
1 2
4 4and
2 2
b b ac b b acm m
a a
+ = =
7/27/2019 Prog 25 Second-Order Differential Equations
11/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Introduction
Homogeneous equations
The auxiliary equation
Summary
Inhomogeneous equations
7/27/2019 Prog 25 Second-Order Differential Equations
12/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
The auxiliary equation
Real and different roots
Real and equal roots
Complex roots
7/27/2019 Prog 25 Second-Order Differential Equations
13/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
The auxiliary equation
Real and different roots
If the auxiliary equation:
with solution:
where:
then the solution to:
2 0am bm c+ + =
2 2
1 2
4 4and
2 2
b b ac b b acm m
a a
+ = =
1 2 1 2and are real andm m m m
1 2
2
20 is
m x m xd y dya b cy y Ae Be
dx dx+ + = = +
7/27/2019 Prog 25 Second-Order Differential Equations
14/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
The auxiliary equation
Real and equal roots
If the auxiliary equation:
with solution:
where:
then the solution to:
2 0am bm c+ + =
2 2
1 2
4 4and
2 2
b b ac b b acm m
a a
+ = =
1 2 1 2and are real andm m m m=
1
2
20 is ( )
m xd y dya b cy y A Bx e
dx dx+ + = = +
7/27/2019 Prog 25 Second-Order Differential Equations
15/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
The auxiliary equation
Complex roots
If the auxiliary equation:
with solution:
where:
Then the solutions to the auxiliary equation are complex conjugates. That is:
2 0am bm c+ + =
2 2
1 2
4 4and
2 2
b b ac b b acm m
a a
+ = =
1 2and arem m complex
1 2andm j m j = + =
7/27/2019 Prog 25 Second-Order Differential Equations
16/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
The auxiliary equation
Complex roots
Complex roots to the auxiliary equation:
means that the solution of the differential equation:
is of the form:
2 0am bm c+ + =
2
20
d y dya b cy
dx dx+ + =
( )
( ) ( )j x j x
x j x j x
y Ae Be
e Ae Be
+
= +
= +
7/27/2019 Prog 25 Second-Order Differential Equations
17/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
The auxiliary equation
Complex roots
Since:
then:
The solution to the differential equation whose auxiliary equation has complex
roots can be written as::
cos sin and cos sinj x j xe x j x e x j x = + =
( )cos sinxy e C x D x = +
( )cos ( )sin
cos sin
j x j xAe Be A B x j A B x
C x D x
+ = + + = +
7/27/2019 Prog 25 Second-Order Differential Equations
18/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Introduction
Homogeneous equations
The auxiliary equation
Summary
Inhomogeneous equations
7/27/2019 Prog 25 Second-Order Differential Equations
19/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Summary
Differential equations of the form:
Auxiliary equation:
Roots real and different: Solution
Roots real and the same: Solution
Roots complex (j): Solution
2
2
0 where , and are contantsd y dy
a b cy a b cdx dx
+ + =
2
1 20 with roots andam bm c m m+ + =
1 2m x m xy Ae Be= +
1( )m x
y A Bx e= +
( )cos sinxy e C x D x = +
7/27/2019 Prog 25 Second-Order Differential Equations
20/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Introduction
Homogeneous equations
The auxiliary equation
Summary
Inhomogeneous equations
7/27/2019 Prog 25 Second-Order Differential Equations
21/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Inhomogeneous equations
The second-order, constant coefficient, linear, inhomogeneous differential
equation is an equation of the type:
The solution is in two partsy1 +y2:
(a) part 1,y1 is the solution to the homogeneous equation and is called the
complementary function which is the solution to the homogeneous equation
(b) part 2,y2 is called theparticular integral.
2
2( )d y dya b cy f x
dx dx+ + =
7/27/2019 Prog 25 Second-Order Differential Equations
22/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Inhomogeneous equations
Complementary function
Example, to solve:
(a) Complementary function
Auxiliary equation: m2 5m + 6 = 0 solution m = 2, 3
Complementary functiony1
=Ae2x +Be3x where:
22
25 6
d y dyy x
dx dx + =
2
1 112
5 6 0d y dy
ydx dx
+ =
7/27/2019 Prog 25 Second-Order Differential Equations
23/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Inhomogeneous equations
Particular integral
(b)Particular integral
Assume a form fory2 asy2 = Cx2 +Dx +Ethen substitution in:
gives:
yielding:
so that:
222 2
225 6
d y dyy x
dx dx + =
2 26 (6 10 ) (2 5 6 ) 0 0Cx D C x C D E x x+ + + = + +
1/6 : 5/18 : 19 /108C D E= = =
2
2
5 19
6 18 108
x xy = + +
7/27/2019 Prog 25 Second-Order Differential Equations
24/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Inhomogeneous equations
Complete solution
(c) The complete solution to:
consists of:
complementary function + particular integral
That is:
2
2 3
1 25 19
6 18 108
x x x xy y y Ae Be= + = + + + +
22
2
5 6d y dy
y xdx dx
+ =
7/27/2019 Prog 25 Second-Order Differential Equations
25/26
Worked examples and exercises are in the textSTROU
Programme 25: Second-order differential equations
Inhomogeneous equations
Particular integrals
The general form assumed for the particular integral depends upon the form of
the right-hand side of the inhomogeneous equation. The following table can be
used as a guide:
2 2
( ) Assume
sin or cos sin cossinh or cosh sinh cosh
kx kx
f x y
k C
kx Cx D
kx Cx Dx E
k x k x C x D xk x k x C x D x
e Ce
++ +
++
K
K
K
K
7/27/2019 Prog 25 Second-Order Differential Equations
26/26
Worked examples and exercises are in the textSTROU
Learning outcomes
Use the auxiliary equation to solve certain second-order homogeneous equations
Use the complementary function and the particular integral to solve certain second-
order inhomogeneous equations
Programme 25: Second-order differential equations