Professional Documents
Culture Documents
CA2123-Lec-7 R
CA2123-Lec-7 R
d3y d2y
Example : 2 3 8 2 y 0 homogeneou s
dx dx
d2y
2
y cos x not homogeneou s
dx
CA2123 Engineering Methods ➢1
Higher Order Linear Differential
Equations with Constant Coefficients
t x
y f s ds dt c1 x c2
00
In general, there are two arbitrary constants in the solution
constant coefficients.
d2y dy
a 2 b cy 0
dx dx
Basic property: If y1 and y2 are two solutions, then y c1 y1 c2 y2 is also
x dy x d2y 2 x
Make a trial solution of the form y e , then e and 2
e
dx dx
a 2 e x b e x ce x 0 a 2 b c 0 (the characteristic equation)
d3y d2y dy
Example: To solve 3
3 2 4 0
dx dx dx
Solution: Set y ex 3 3 2 4 0 4 1 0
1 0, 2 1 and 3 4. Thus the general solution is
y c1 c2 e x c3e 4 x
dy
Check : y e x c1 cos x c2 sin x e x (c1 c2 ) cos x (c2 -c1 ) sin x
dx
d2y
2
e x
c1 c 2 c 2 c1 cos x c 2 c 1 c1 c 2 sin x e x
2c2 cos x 2c1 sin x
dx
d2y dy
2
2 2 y e x
cos x 2c 2 2 c1 2c 2 2c1 e x
sin x 2c1 2c2 2c1 2c2 0
dx dx
CA2123 Engineering Methods ➢5
Higher Order Linear Differential
Equations with Constant Coefficients
d2y dy
To solve A 2 B Cy 0
dx dx
substitute y e αx and if the roots of the characteristic equation
This is not the general solution because there is only one constant.
dy dz αt x d2y dz αt x d 2 z αt x
y z x e
t x
zαt e e
αt x
2
zαt e 2 t
2 αt x
e 2e
dx dx dx dx dx
d2y dy 2 dz d 2 z dz
a 2
b cy 0 e αt x a zαt 2 t 2 b zαt cz 0
dx dx dx dx dx
CA2123 Engineering Methods ➢7
Higher Order Linear Differential
Equations with Constant Coefficients
z a b t c 2aαt b a 2 0
2 dz d 2z
t
dx dx
a t2 b t c 0 ( t is the solution of aα 2 bα c 0)
aα 2 bα c 0 aα αt 0 aα 2 2a t α a t2 0
2
b 2aαt .
d 2z
2
0 or z Ax B. Hence, the general solution is
dx
y Ax B e αt x
CA2123 Engineering Methods ➢8
Higher Order Linear Differential
Equations with Constant Coefficients
Example:
d2y dy
2
2 y0
dx dx
Solution: Set y ex 2 2 1 0
1 1 1 and 2 1 y Ax B e x
2
d3y d2y dy
Example: 3
3 2 3 y 0
dx dx dx
Solution:
Let y e αx α 3 3α 2 3α 1 0
α 1 0 1 1, 2 1, 3 1.
3
d2y dy
c1 2 c2 c3 y 0
dx dx
Trial solution : y ex c1 2 c2 c3 0
Case 3 : 1 and 1 y e x Ax B 1
d2y dy
Example: 2 y7
dx2 dx
As previous example, the solution of the associated homogeneou s equation is
yh Ax B e x
= 4×2-23
dx dx
xx 't 8 (X )
yp =
2 2 7 4y 0 Yp= xsinzxtpcoszx ( ✓,
Yp
=
xxtp ( ✓)
dx dx Yp=&sIn2x (x )
xyxztpx
to
sin if 2× =
yp
=
1
1 x
Let yh e x 2 2 7 4 0 α1 and α2 4 yh x Ae 2 Be 4 x
2
d2y dy
Example : 2
2 2 y 8 cos 3 x 19 sin 3 x
dx dx
Consider t he associated homogeneou s equation
d2y dy
2
2 2y 0
dx dx
Let y e αx α 2 2α 2 0 α1 1 i, α2 1 i
yh e x A cos x B sin x
dy p d 2 yp
Substituti on of y p , and 2
into the defferenti al equation leads to
dx dx
7α 6 β sin 3x 7 β 6α cos 3x 8 cos 3x 19 sin 3x
y h Ax B e
x
3
d2y 2 3 x
.
y 10 5 x x 16e
dx2
Solution:
2 1 0 1 yh Ae x Be x .
d 2 yp
y p Cx 2 Dx E Fe 3 x 2C 9 Fe 3 x .
dx2
C 5, D 1, E 0, F 2.
y yh y p 5 x 2 x 2e 3 x Ae x Be x .
Complex roots
d2y dy
Consider the differential equation 2
2 2y 0
dx dx
Set y eαx α 2 2α 2 0 α1 1 i, α2 1 i.
Repeated roots
d2y dy
For the differential equation a 2 b cy 0
dx dx
a α α1 0
x 2
Set y e aα bα c 0
2
1 and 1
y Ax B eα1x
Solution:
d4y d4y x w ky kw0 sin
x
EI 4 w EI 4 ky kw0 sin L
dx dx L y
d4y x
EI 4 ky kw0 sin
dx L
d4y x 4 k
4
y w0 sin
4 4
dx L EI
CA2123 Engineering Methods ➢ 26
Case studies in structural engineering
4
d y
Let yyhh ee .
rtrx
Substituting yh e into
rx
4
4
y0
dx
yields r4 4 0 r 2
2 r2 2 0
r1 , r2 , r3 i , r4 i
x x
Let y p A sin B cos . Substituting y p into the equation yields
L L
4 x
4
x x
A 4
A sin
B 4
B cos 4
w0 sin
L L L L L
L4 4 w0 L4 4 w0 x
A 4 4 4 , B0 y p 4 4 4 sin
L L L
x x L4 4 w0 x
y yh y p c1e c2e d1 cos x d 2 sin x 4 4 4 sin
L L
x x L4 4 w0 x
y c1 e c2 e d1 sin x d 2 cos x cos
L L
4 4 4
L
y 0 0 c1 c2 d1 0 d1 0
y 0 0 c1 c2 d1 0 c1 c2 0
y L 0 c1e L c2 e L d 2 sin L 0
L
y L 0
L
c
1 e c2 e d 2 sin L 0
d2 0 c1 c2 0
L L
, L L
c1 c2 0
c1e c2 e 0 c1e c2e 0
L4 4 w0 x
y 4 4 4 sin
L L
CA2123 Engineering Methods ➢ 29
Assignment 7
d2y dy d2y dy
(a) 2
7 12 y 0 ; (b) 2
3 2 y 0, y 0 2 and y' 0 1
dx dx dx dx
d2y dy d2y dy
(a) 3 2 2 y x 1 ; (b) 5 4 y 4 x 2
2x 4 .
dx dx dx 2 dx