Professional Documents
Culture Documents
A
Ordinary Differential
Equations (ODEs)
AAsecond-order
second-orderODE
ODEisiscalled
calledlinear
linearififititcan
canbe
bewritten
written
(1)
(1) y”
y”++p(x)y’
p(x)y’++q(x)y
q(x)y==r(x)
r(x)
and
andnonlinear
nonlinearififititcannot
cannotbe
bewritten
writtenin
inthis
thisform.
form.
IfIfr(x)
r(x)≡≡00(that
(thatis,
is,r(x)
r(x)==00for
forall
allxxconsidered;
considered;read
read“r(x)
“r(x)isis
identically zero”), then (1) reduces to
identically zero”), then (1) reduces to
(2)
(2) y”
y”++p(x)y’
p(x)y’++q(x)y
q(x)y==00
and
andisiscalled
calledhomogeneous.
homogeneous.IfIfr(x)
r(x)≡≡0,0,then
then(1)
(1)isiscalled
called
nonhomogeneous.
nonhomogeneous.
An
Anexample
exampleof
ofaanonhomogeneous
nonhomogeneouslinear
linearODE
ODEisis
y”
y” + 25y = e−xcos
+ 25y = e−x
cosx,x,
and
andaahomogeneous
homogeneouslinear
linearODE
ODEisis
xy”
xy”++y’y’++xy
xy==0,0,
written
writtenin
instandard
standardform
form
1
y y y 0.
x
An
Anexample
exampleof
ofaanonlinear
nonlinearODE
ODEisis
y”y
y”y + y’2==0.0.
+ y’ 2
The
Thefunctions
functionsppand
andqqin
in(1)
(1)and
and(2)
(2)are
arecalled
calledthe
the
coefficients
coefficientsof
ofthe
theODEs.
ODEs.
Solutions
Solutionsare
aredefined
definedsimilarly
similarlyas
asfor
forfirst-order
first-orderODEs
ODEsin
in
Chap.
Chap.1.1.
AAfunction
function
yy==h(x)
h(x)
isiscalled
calledaasolution
solutionof
ofaa(linear
(linearor
ornonlinear)
nonlinear)second-order
second-order
ODE
ODEon onsome
someopen
openinterval
intervalIIififhhisisdefined
definedand
andtwice
twice
differentiable
differentiablethroughout
throughoutthat thatinterval
intervalandandisissuch
suchthat
thatthe
the
ODE
ODEbecomes
becomesan anidentity
identityififwe
wereplace
replacethetheunknown
unknownyyby byh,h,
the
thederivative
derivativey’y’by
byh’,
h’,and
andthe
thesecond
secondderivative
derivativey”
y”bybyh”.
h”.
Theorem 1
Fundamental
FundamentalTheorem
Theorem
for
forthe
theHomogeneous
HomogeneousLinear
LinearODE
ODE(2)
(2)
For
Foraahomogeneous
homogeneouslinear
linearODE
ODE(2),
(2),any
anylinear
linearcombination
combinationofof
two
twosolutions
solutionson
onananopen
openinterval
intervalIIisisagain
againaasolution
solutionofof(2)
(2)on
onI.I.
In
Inparticular,
particular,for
forsuch
suchananequation,
equation,sums
sumsandandconstant
constantmultiples
multiples
ofofsolutions
solutionsare
areagain
againsolutions.
solutions.
The
Theconditions
conditions(4)(4)are
areused
usedto
todetermine
determinethe
thetwo
twoarbitrary
arbitrary
constants
constantscc1 and
andcc2 in
inaageneral
generalsolution
solution
1 2
(5)
(5) yy==cc1yy1 ++cc2yy2
1 1 2 2
of
ofthe
theODE;
ODE;
here,
here,yy1 1and
andyy2 2arearesuitable
suitablesolutions
solutionsof
ofthe
theODE.
ODE.
This
Thisresults
resultsin inaaunique
uniquesolution,
solution,passing
passingthrough
throughthethe
point
point(x(x0,0,KK0)0)with
withKK1 1as
asthe
thetangent
tangentdirection
direction(the
(theslope)
slope)atat
that
thatpoint.
point.
That
Thatsolution
solutionisiscalled
calledaaparticular
particularsolution
solutionof ofthe
theODE
ODE(2).
(2).
Definition
General
GeneralSolution,
Solution,Basis, Basis,Particular
ParticularSolution
Solution
AAgeneral
generalsolution
solutionof ofan
anODE
ODE(2) (2)on
onananopen
openinterval
intervalIIisisaa
solution
solution(5)(5)in inwhich
whichyy1 1and
andyy2 2are
aresolutions
solutionsofof(2)
(2)on
onIIthat
thatare
are
not
notproportional,
proportional,and andcc1 1and
andcc2 2are
arearbitrary
arbitraryconstants.
constants.
These
These yy1,1,yy2 2are
arecalled
calledaabasis
basis(or(oraafundamental
fundamentalsystem)
system)of of
solutions
solutionsof of(2)(2)on
onI.I.
AAparticular
particularsolution
solutionof of(2)
(2)on
onIIisisobtained
obtainedififwe
weassign
assign
specific
specificvalues
valuesto tocc1 and
andcc2 in
in(5).
(5).
1 2
Furthermore,
Furthermore,as
asusual,
usual,yy1 1and
andyy2 2are
arecalled
called
proportional
proportionalon
onIIififfor
forall
allxxon
onI,I,
(6)
(6) (a)
(a)yy1 1==ky
ky2 2 or
or (b)
(b)yy2 2==lyly1 1
where
wherekkand
andl lare
arenumbers,
numbers,zero
zeroor
ornot.
not.(Note
(Notethat
that(a)
(a)implies
implies(b)
(b)ifif
and
andonly
onlyififkk≠≠0).
0).
Two
Twofunctions
functionsyy1 1and
andyy2 2are
arecalled
calledlinearly
linearlyindependent
independenton
onan
an
interval
intervalIIwhere
wheretheytheyare
aredefined
definedifif
(7)
(7)kk1y1y1(x)
(x)++kk2yy2(x)
(x)==00everywhere
everywhereon
onIIimplies
implieskk1 ==00and
andkk2 ==0.0.
1 2 2 1 2
And
Andyy1 1and
andyy2 2are
arecalled
calledlinearly
linearlydependent
dependenton onIIifif(7)
(7)also
also
holds
holdsfor
forsome someconstants
constantskk1,1,kk2 2not
notboth
bothzero.
zero.
Then,
Then,ififkk1 1≠≠00or
orkk2 2≠≠0,0,we
wecan
candivide
divideand
andsee
seethat
thatyy1 1and
andyy2 2are
are
proportional, k2 k1
proportional,y1 y2 or y2 y1 .
k1 k2
In
Incontrast,
contrast,in
inthe
thecase
caseof
oflinear
linearindependence
independencethesethesefunctions
functions
are
arenot
notproportional
proportionalbecause
becausethen
thenwe wecannot
cannotdivide
dividein
in(7).
(7).This
This
gives
givesthe
thefollowing
followingdefinition.
definition.((See next slide.)
See next slide.)
Section 2.1 p15 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.1 Homogeneous Linear ODEs of Second Order
Definition
Basis
Basis(Reformulated)
(Reformulated)
AAbasis
basisof
ofsolutions
solutionsof
of(2)
(2)on
onan
anopen
openinterval
intervalIIisisaapair
pairof
of
linearly
linearlyindependent
independentsolutions
solutionsofof(2)
(2)on
onI.I.
EXAMPLE 7
Reduction of Order If a Solution Is Known. Basis
Find a basis of solutions of the ODE
(x2 − x)y” − xy’ + y = 0.
EXAMPLE 7 (continued)
Solution.
Inspection shows that y1 = x is a solution because y’1 = 1 and
y”1 = 0, so that the first term vanishes identically and the
second and third terms cancel. The idea of the method is to
substitute
y = uy1 = ux, y’ = u’x + u, y” = u”x + 2u’
into the ODE. This gives
(x2 − x)(u”x + 2u’) − x(u’x + u) + ux = 0.
ux and –xu cancel and we are left with the following ODE,
which we divide by x, order, and simplify,
(x2 − x)(u”x + 2u’) − x2u’ = 0, (x2 − x)u” + (x – 2)u’ = 0.
Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Section 2.1 p19 Copyright 2011 by John Wiley & Sons. All rights reserved.
2.1 Homogeneous Linear ODEs of Second Order
EXAMPLE 7 (continued)
Solution. (continued 1)
This ODE is of first order in v = u’,
namely, (x2 − x)v’ + (x – 2)v = 0.
Separation of variables and integration gives
dv x2 1 2
2 dx dx ,
v x x x 1 x
x 1
ln v ln x 1 2 ln x ln 2 .
x
(continued)
We
Weshall
shallnow
nowconsider
considersecond-order
second-orderhomogeneous
homogeneouslinear
linear
ODEs
ODEswhose
whosecoefficients
coefficientsaaand
andbbare
areconstant,
constant,
(1)
(1) y”
y”++ay’
ay’++by
by==0.0.
These
Theseequations
equationshave
haveimportant
importantapplications
applicationsin
inmechanical
mechanical
and
andelectrical
electricalvibrations.
vibrations.
To
Tosolve
solve(1),
(1),we
werecall
recallfrom
fromSec.
Sec.1.5
1.5that
thatthe
thesolution
solutionof
ofthe
the
first-order
first-orderlinear
linearODE
ODEwith
withaaconstant
constantcoefficient
coefficientkk
y’y’++ky
ky==00
isisan
an exponential function y = ce−kx. .
exponential function y = ce −kx
This
Thisgives
givesus
usthe
theidea
ideato
totry
tryas
asaasolution
solutionof
of(1)
(1)the
thefunction
function
(2)
(2) yy==eeλxλx. .
Substituting
Substituting(2)
(2)and
andits
itsderivatives
derivatives
y’y’==λe λxand y’’ = λ e
λx 2 λx
λe and y’’ = λ2eλ x
into
intoour
ourequation
equation (1),
(1),we
we obtain
obtain
(λ 2
2+ aλ + b)e λx= 0.
λx
(λ + aλ + b)e = 0.
Hence
Henceififλλisisaasolution
solutionof ofthe
theimportant
importantcharacteristic
characteristic
equation
equation(or(orauxiliary
auxiliaryequation)
equation)
(3)
(3) λλ2 2++aλ
aλ++bb==00
then
thenthe
theexponential
exponentialfunction
function(2)
(2)isisaasolution
solutionof
ofthe
theODE
ODE
(1).
(1).
Section 2.2 p25 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.2 Homogeneous Linear ODEs
with Constant Coefficients
Now
Nowfrom
fromalgebra
algebrawe
werecall
recallthat
thatthe
theroots
rootsof
ofthis
this
quadratic
quadraticequation
equation(3)
(3)are
are
1 1
(4)
(4) 1 ( a a 4b ), 2 ( a a2 4b ).
2
2 2
(3)
(3)and
and(4)
(4)will
willbe
bebasic
basicbecause
becauseour
ourderivation
derivationshows
showsthat
that
the
thefunctions
functions
(5) y1 e 1x and y2 e 2 x
(5)
are
aresolutions
solutionsof
of(1).
(1).
From
Fromalgebra
algebrawewefurther
furtherknow
knowthat
thatthe
thequadratic
quadraticequation
equation
(3)
(3)may
mayhave
havethree
threekinds
kinds of
ofroots,
roots,depending
dependingon
on the
thesign
sign
of
ofthe
thediscriminant
discriminantaa2−−4b,
2
4b,namely,
namely,
(Case
(CaseI)I) Two
Two real roots if a2−−4b
real roots if a 2
4b>>0,0,
(Case
(CaseII)
II) AAreal
real double root if a2−−4b
double root if a 2
4b==0,0,
(Case
(CaseIII)
III) Complex
Complex conjugate roots if a2−−4b
conjugate roots if a 2
4b<<0.0.
Solution.
Solution.(continued)
(continued)
Step
Step2.2.Particular
Particular solution.
solution.
Since
Since y’(x) = c1e − 2c2e , ,we
y’(x) = c 1 e x
x− 2c2e −2x
−2x
weobtain
obtainfrom
fromthe
thegeneral
generalsolution
solution
and
andthe
theinitial
initialconditions
conditions
y(0)
y(0) ==cc1 1++cc2 2 ==4,4,
y’(0)
y’(0)==cc1 1−−2c 2c2 2==−5.
−5.
Hence
Hence c = 1and c = 3. This gives the answer y = e + 3e . .
c 1 = 1and c 2 = 3. This gives the answer y = e x
x+ 3e −2x
−2x
1 2
Solution.
Solution.(continued)
(continued)
Step
Step2.2.Particular
Particularsolution.
solution.(continued)
(continued)
Figure
Figure30 30shows
showsthat
thatthe
thecurve
curvebegins
beginsatatyy==44with
withaanegative
negative
slope
slope(−5,
(−5,but
butnote
notethat
thatthe
theaxes
axeshave
havedifferent
differentscales!),
scales!),inin
agreement
agreementwith withthe
the
initial
initialconditions.
conditions.
The
Thecorresponding
correspondinggeneral generalsolution
solutionisis
(7)
(7) yy==(c(c1 ++cc2x)e −ax/2
x)e ..
−ax/2
1 2
with
withcc2 ≠≠00isisnot
notaasolution
solutionofof(1)
(1)
2
1 1
Case III. Complex Roots a i and a i
2 2
This
This case occurs if the discriminant a2−−4b
case occurs if the discriminant a 2
4bof
ofthe
the
characteristic
characteristicequation
equation(3) (3)isisnegative.
negative.
In
Inthis
thiscase,
case,thetheroots
rootsofof(3)
(3)are
arethethecomplex
complexλλ==(−½)a (−½)a±±iωiω
that
thatgive
givethethecomplex
complexsolutions
solutionsof ofthetheODE
ODE(1).
(1).
However,
However,we wewill
willshow
showthat
thatwe wecan canobtain
obtainaabasis
basisofofreal
real
solutions
solutions −ax/2
(8)
(8) y = e
y1 = e
1 −ax/2cos ωx,
cos ωx, yy2 = e−ax/2sin
2 = e −ax/2
sinωx
ωx (ω
(ω>>0)0)
where ω 2
2= b − (¼)a .2
where ω = b − (¼)a .
2
1 1
Case III. Complex Root a i and a i
(continued)
2 2
ItItcan
canbebeverified
verifiedby
bysubstitution
substitutionthat
thatthese
theseare aresolutions
solutionsin
in
the
thepresent
presentcase.
case.
They
Theyform
formaabasis
basison
onany
anyinterval
intervalsince
sincetheir
theirquotient
quotient
cot
cotωx
ωxisisnot
notconstant.
constant.
Hence
Henceaareal
realgeneral
generalsolution
solutionin
inCase
CaseIII
IIIisis
(9)
(9) yy==ee−ax/2
−ax/2(A cos ωx + B sin ωx)
(A cos ωx + B sin ωx) (A,
(A,BBarbitrary)
arbitrary)
Real double
root
II e−ax/2, xe−ax/2 y = (c1 + c2x)e−ax/2.
λ = (−½)a
Complex
conjugate e−ax/2 cos ωx
III λ1 = (−½)a + iω e−ax/2 sin ωx y = e−ax/2 (A cos ωx + B sin ωx)
λ2 = (−½)a − iω
Section 2.2 p37 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.2 Homogeneous Linear ODEs
with Constant Coefficients
(11)
(11) eit==cos
eit
costt++i isin
sint,t,
called
calledthe
theEuler
Eulerformula.
formula.
Operational
Operationalcalculus
calculusmeans
meansthe thetechnique
techniqueandandapplication
application
of
ofoperators.
operators.
Here,
Here,an
anoperator
operatorisisaatransformation
transformationthatthattransforms
transformsaa
function
functioninto
intoanother
anotherfunction.
function.
Hence
Hencedifferential
differentialcalculus
calculusinvolves
involvesan anoperator,
operator,the
the
differential
differentialoperator
operatorD, D,which
whichtransforms
transformsaa(differentiable)
(differentiable)
function
functioninto
intoits
itsderivative.
derivative.
In
Inoperator
operatornotation
notationwe writeDD==d/dx
wewrite d/dx
and
and
(1)
(1) Dy
Dy==y’y’==dy/dx.
dy/dx.
For
Foraahomogeneous
homogeneouslinear
linearODE
ODEy”y”++ay’
ay’++by
by==00with
with
constant
constantcoefficients
coefficientswe
wecan
cannow
nowintroduce
introducethethesecond-
second-
order
orderdifferential
differentialoperator
operator
LL==P(D)
P(D) = D2++aD
= D 2
aD++bI,
bI,
where
whereIIisisthe
theidentity
identityoperator
operatordefined
definedby
byIy
Iy==y.y.
Then
Thenwe
wecan canwrite
writethat
thatODE
ODEas as
(2)
(2) Ly
Ly = P(D)y = (D2++aD
= P(D)y = (D 2
aD++bI)y
bI)y==0.0.
PPsuggests
suggests“polynomial.”
“polynomial.”LLisisaalinear
linearoperator.
operator.
By
Bydefinition
definitionthis
thismeans
meansthat
thatififLy andLw
Lyand Lwexist
exist(this
(thisisisthe
the
case
caseififyyand
andwware
aretwice
twicedifferentiable), thenL(cy
differentiable),then L(cy++kw)
kw)
exists
existsfor
forany
anyconstants
constantsccand
andk,k,and
and
L(cy
L(cy++kw)
kw)==cLy
cLy++kLw.
kLw.
The
Thepoint
pointofofthis
thisoperational
operationalcalculus
calculusisisthat
thatP(D)
P(D)can
canbe
betreated
treated
just
justlike
likean
analgebraic
algebraicquantity.
quantity.
Linear
LinearODEs
ODEswithwithconstant
constantcoefficients
coefficientshave
haveimportant
important
applications
applicationsininmechanics,
mechanics,as aswe
weshow
showin inthis
thissection
sectionas
as
well
wellas
asininSec.
Sec.2.8,
2.8,and
andin
inelectrical
electricalcircuits
circuitsas
asweweshow
showin in
Sec.
Sec.2.9.
2.9.
In
Inthis
thissection
sectionwewemodel
modeland
andsolve
solveaabasic
basicmechanical
mechanical
system
systemconsisting
consistingofofaamass
massononananelastic
elasticspring
spring(a(aso-
so-
called
called“mass–spring
“mass–springsystem,”
system,”Fig.
Fig.33),
33),which
whichmoves
movesupup
and
anddown.
down.
the
theconstant
constantof ofgravity
gravityatatthe theEarth’s
Earth’ssurface
surface(not
(notto tobe
be
confused
confused with
with the
the universal
universal gravitational
gravitational constant
constant
GG==gR
gR/M
2
2
/M==6.67
6.676· ·10
10−11nt
−11
ntm m/kg
2
2
/kg,2,which
2
which wewe shall
shall not
not need;
need;
here
hereRR==6.376.37· ·10
106m mand
andM M==5.98 5.98· ·101024kg
24
kg
are
arethe
theEarth’s
Earth’sradius
radiusand andmass,
mass,respectively).
respectively).
(3)
(3) my”
my”++ky
ky==0.0.
Fig. 34. Typical harmonic oscillations (4) and (4*) with the same y(0) = A
Fig. 34. Typical harmonic oscillations (4) and (4*) with the same y(0) = A
and different initial velocities y′(0) = ω0B, positive 1 , zero 2 , negative 3
and different initial velocities y′(0) = ω0B, positive 1 , zero 2 , negative 3
Section 2.4 p52 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.4 Modeling of Free Oscillations
of a Mass—Spring System
with C A 2 B2
with
and
andphase
phaseangle
angleδ,δ,where
wheretan
tanδδ==B/A.
B/A.
WeWesee seethat
thatin inthis
thiscase,
case,damping
dampingtakes takesout
outenergy
energyso so
quickly
quicklythat thatthe thebody
bodydoes doesnot notoscillate.
oscillate.
For
Fortt>>00bothboth exponents
exponents inin (7)
(7) are
are negative
negative because
because αα>>0,0,
ββ>>0,0,and β 2
2= α 2− k/m < α .2
2
and β = α − k/m < α .
2
This
Thissolution
solutioncan canpass
passthrough
through the
the equilibrium
equilibrium position
position
yy==00atatmost
mostonce oncebecause
becauseee−αtisisnever
−αt
neverzero
zeroandandcc1 1++cc2t2t
can
canhave
haveatatmostmostone onepositive
positivezero. zero.
IfIfboth
bothcc1 1++cc2 2are
arepositive
positive(or (orboth
bothnegative),
negative),itithashasno no
positive
positivezero,
zero,so sothat
thatyydoes
doesnot notpasspassthrough
through00atatall. all.
Section 2.4 p62 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.4 Modeling of Free Oscillations
of a Mass—Spring System
Discussion of the Three Cases (continued 3)
Case
CaseII.
II. Critical
Criticaldamping
damping(continued)
(continued)
Figure
Figure3838shows
showstypical
typical
forms
formsofof(8).
(8).Note
Notethat
that
they
theylook
lookalmost
almostlike
like
those
thosein
inthe
theprevious
previous
figure
figure(Figure
(Figure37).
37).
Euler–Cauchy
Euler–Cauchy equations
equations are
are ODEs
ODEs of
ofthe
theform
form
(1)
(1) xxy”
2
2
y”++axy’
axy’++by
by==00
with
withgiven
givenconstants
constantsaaand andbbandandunknown
unknownfunction
functiony(x).
y(x).
We
Wesubstitute
substitute m
yy==xxm, , y’y’==mx m−1
mx ,m−1, y” = m(m − 1)x
y” = m(m − 1)xm−2
m−2
into
into(1).
(1).This
This gives
gives m−2
xxm(m
2
2 − 1)x m−2+ axmx m−1+ bx m= 0
m−1
m(m − 1)x +m axmx + bx = 0
m
and
andwewenow
nowsee seethat
thatyy==xxmwas
wasaarather
rathernatural
natural choice
choice
because
becausewe wehave
haveobtained
obtainedaacommon
commonfactor factorxxm. .Dropping
m
Droppingit, it,
we
wehave
have2 the
theauxiliary
auxiliaryequation
equationm(m m(m−−1)1)++am am++bb==00or or
(2)
(2) mm2++(a(a−−1)m 1)m++bb==0.0. (Note:
(Note:aa−−1,1,not
nota.)
a.)
Euler–Cauchy
Euler–Cauchyequations
equations (continued)
(continued)
Hence
Hence y = xmisisaasolution
y = x m
solutionof
of(1)
(1)ififand
andonly
onlyififmmisisaaroot
rootof
of
(2).
(2).The
Theroots
rootsof
of(2)
(2)are
are
1 1 1 1
(3) m
(3) 1 2 (1 a ) (1 a 2
) b, m2 (1 a) (1 a2 ) b.
4 2 4
Case
CaseI.I.Real
Realdifferent
differentroots
rootsmm1 1and
andmm2 2give
givetwo
tworeal
real
solutions
solutions y ( x) x m1 and y ( x) x m2 .
1 2
These
Thesearearelinearly
linearlyindependent
independentsince sincetheir
theirquotient
quotientisisnot
not
constant.
constant.Hence
Hencethey theyconstitute
constituteaabasis
basisofofsolutions
solutionsofof(1)
(1)for
for
all
allxxfor
forwhich
whichtheytheyare
arereal.
real.The
Thecorresponding
correspondinggeneral
general
solution
solutionfor
forall
allthese
thesexxisis
(4) y1 ( x) c1 x m1 c2 x m2 (c(c1, ,cc2 arbitrary).
(4) 1 2 arbitrary).
Case
CaseII.
II.AAreal
realdouble
doubleroot
root
1 1
m1 (1 a) occurs if and only if b ( a 1) 2 because then
2 4
1
(2) becomes [ m ( a 1)]2 , as can be readily verified. Then
2
aasolution
solution is y1 = x(1−a)/2, ,and
is y1 = x(1−a)/2
and(1)
(1)isisof
ofthe
theform
form
1 a (1 a)2
(5) x y axy (1 a) y 0 or y y
2 2
y 0.
(5) 4 x 4x 2
Case
CaseII.
II.(continued)
(continued)
Thus,
Thus,yy2 2==uy
uy1 1==yy1lnlnx,x,and
andyy1 and
and yy2 are
arelinearly
linearlyindependent
independent
1 1 2
since
sincetheir
theirquotient
quotientisisnot notconstant.
constant.The Thegeneral
generalsolution
solution
corresponding
correspondingto tothis
thisbasis
basisisis
1
(6) yy==(c(c1 ++cc2 ln x)x)xx , ,
m m (1 a).
(6) 1 2 ln m
2
Case
CaseIII.
III.Complex
Complexconjugate
conjugateroots
rootsare
areofofminor
minorpractical
practical
importance,
importance,and
andwe
wediscuss
discussthe
thederivation
derivationofofreal
real
solutions
solutionsfrom
fromcomplex
complexones
onesjust
justin
interms
termsof
ofaatypical
typical
example.
example.
EXAMPLE 3
Real
RealGeneral
GeneralSolution
Solutionin inthe
theCase Caseof ofComplex
ComplexRoots Roots
The
The Euler–Cauchy equation xy”
Euler–Cauchy equation x 2
2
y”++0.6xy’
0.6xy’++16.04y
16.04y==00
has
has the auxiliary equation m2−−0.4m
the auxiliary equation m 2
0.4m++16.04
16.04==0.0.
The
Theroots
rootsare
arecomplex
complexconjugate
conjugate
mm1 ==0.2 + 4i and m = 0.2 − 4i, where i 1.
0.2 + 4i and m = 0.2 − 4i, where
1
2
2
The
Thecorresponding
correspondingreal
realgeneral
generalsolution
solutionfor
forall
allpositive
positivexxisis
(8)
(8) yy==xx0.20.2[A
[Acos
cos(4(4ln sin(4
lnx)x)++BBsin (4lnlnx)].
x)].
Figure
Figure4848shows
showstypical
typicalsolution
solutioncurves
curvesin
inthe
thethree
threecases
cases
discussed,
discussed,ininparticular
particularthe
thereal
realbasis
basisfunctions
functionsin
inExamples
Examples
11and
and3.3.
In
Inthis
thissection
sectionwe
weshall
shalldiscuss
discussthe
thegeneral
generaltheory
theoryof
of
homogeneous
homogeneouslinear
linearODEs
ODEs
(1)
(1) y”
y”++p(x)y’
p(x)y’++q(x)y
q(x)y==00
with
withcontinuous,
continuous,butbutotherwise
otherwisearbitrary,
arbitrary,variable
variable
coefficients
coefficientsppand
andq.q.
This
Thiswill
willconcern
concernthetheexistence
existenceand
andform
formofofaageneral
general
solution
solutionofof(1)
(1)as
aswell
wellasasthe
theuniqueness
uniquenessof ofthe
thesolution
solutionof
of
initial
initialvalue
valueproblems
problemsconsisting
consistingofofsuch
suchananODE
ODEandandtwo
two
initial
initialconditions
conditions
(2)
(2) y(x
y(x0)0)==KK0,0, y’(x
y’(x0)0)==KK1 1
with
withgiven
givenxx0, ,KK0, ,and
andKK1. .
0 0 1
The
Thetwo
twomain
mainresults
resultswill
willbebeTheorem
Theorem1,1,stating
statingthat
thatsuch
such
an
aninitial
initialvalue
valueproblem
problemalways
alwayshas
hasaasolution
solutionwhich
whichisis
unique,
unique,andandTheorem
Theorem4,4,stating
statingthat
thataageneral
generalsolution
solution
(3)
(3) yy==cc1yy1 ++cc2yy2 (c(c1, ,cc2 arbitrary)
1 1 2 2 1 2 arbitrary)
includes
includesall
allsolutions.
solutions.HenceHencelinear
linearODEs
ODEswithwithcontinuous
continuous
coefficients
coefficientshave
haveno no“singular
“singularsolutions”
solutions”(solutions
(solutionsnot not
obtainable
obtainablefrom
fromaageneral
generalsolution).
solution).
Theorem 1
Existence
Existenceand andUniqueness
UniquenessTheorem
Theorem
for
forInitial
InitialValue
ValueProblems
Problems
IfIfp(x)
p(x)and
andq(x)
q(x)are
arecontinuous
continuousfunctions
functionsononsome
someopen
openinterval
intervalII
(see
(seeSec.
Sec.1.1)
1.1)and
andxx0 0isison
onI,I,then
thenthe
theinitial
initialvalue
valueproblem
problem
consisting
consistingofof(1)
(1)and
and(2) (2)has
hasaaunique
uniquesolution
solutiony(x)
y(x)on
onthe
theinterval
intervalI.I.
Theorem 2
Linear
LinearDependence
Dependenceand
andIndependence
Independenceof
ofSolutions
Solutions
Let
Letthe
theODE
ODE(1) (1)have
havecontinuous
continuouscoefficients
coefficientsp(x)
p(x)andandq(x)
q(x)on
onanan
open
openinterval
intervalI.I.Then
Thentwo
twosolutions
solutionsyy1 1and
andyy2 2ofof(1)
(1)on
onIIare
arelinearly
linearly
dependent
dependenton onIIififand
andonly
onlyififtheir
their“Wronskian”
“Wronskian”
(6)
(6) W(y
W(y1,1,yy2)2)==yy1y1y2’2’−−yy2y2y1’1’
isis00atatsome
somexx0 0ininI.I.Furthermore,
Furthermore,ififW W==00atatan
anxx==xx0 0ininI,I,then
then
W W==00 on onI;I;hence,
hence,ififthere
thereisisan
anxx1 1ininIIatatwhich
whichWWisisnotnot0,0,
then
thenyy1, ,yy2 are
arelinearly
linearlyindependent
independenton onI.I.
1 2
Remark.
Determinants.
Determinants.Students
Studentsfamiliar
familiarwith
withsecond-order
second-order
determinants
determinantsmay
mayhave
havenoticed
noticedthat
that
y1 y2
W ( y1 , y2 ) y1 y2 y2 y1 .
y1 y2
This
Thisdeterminant
determinantisiscalled
calledthe
theWronski
Wronskideterminant
determinantor, or,
briefly,
briefly,the
theWronskian,
Wronskian,ofoftwo
twosolutions
solutionsyy1 1and
andyy2 2of
of(1),
(1),as
as
has
hasalready
alreadybeen
beenmentioned
mentionedin in(6).
(6).Note
Notethat
thatitsitsfour
fourentries
entries
occupy
occupythethesame
samepositions
positionsasasin
inthe
thelinear
linearsystem
system(7).(7).
Theorem 3
Existence
Existenceof
ofaaGeneral
GeneralSolution
Solution
IfIfp(x)
p(x)and
andq(x)
q(x)are
arecontinuous
continuouson
onan
anopen
openinterval
intervalI,I,then
then(1)
(1)has
hasaa
general
generalsolution
solutionon
onI.I.
Theorem 4
AAGeneral
GeneralSolution
SolutionIncludes
IncludesAll
AllSolutions
Solutions
IfIfthe
theODE
ODE(1)
(1)hashascontinuous
continuouscoefficients
coefficientsp(x)
p(x)and
andq(x)
q(x)on onsome
some
open
openinterval
intervalI,I,then
thenevery
everysolution
solutionyy==Y(x)
Y(x)ofof(1)
(1)on
onIIisisofofthe
theform
form
(8)
(8) Y(x)
Y(x)==CC1y1y1(x)
(x)++CC2yy2(x)
1 2 2(x)
where
whereyy1,1,yy2 2isisany
anybasis
basisofofsolutions
solutionsofof(1)
(1)on
onIIand
andCC1,1,CC2 2are
are
suitable
suitableconstants.
constants.
Hence
Hence(1) (1)does
doesnotnothave
havesingular
singularsolutions
solutions(that(thatis,
is,solutions
solutions
not
notobtainable
obtainablefrom fromaageneral
generalsolution).
solution).
We
Wenow
nowadvance
advancefrom
fromhomogeneous
homogeneousto
tononhomogeneous
nonhomogeneous
linear
linearODEs.
ODEs.
Consider
Considerthe
thesecond-order
second-ordernonhomogeneous
nonhomogeneouslinear linearODE
ODE
(1)
(1) y”
y”++p(x)y’
p(x)y’++q(x)y
q(x)y==r(x)
r(x)
where
wherer(x)
r(x)≠≠0.We
0.Weshall
shallsee
seethat
thataa“general
“generalsolution”
solution”of
of(1)
(1)
isisthe
thesum
sumof ofaageneral
generalsolution
solutionofofthe
thecorresponding
corresponding
homogeneous
homogeneousODE ODE
(2)
(2) y”
y”++p(x)y’
p(x)y’++q(x)y
q(x)y==00
and
andaa“particular
“particularsolution”
solution”ofof(1).
(1).These
Thesetwo
twonewnewterms
terms
“general
“generalsolution
solutionof
of(1)”
(1)”and
and“particular
“particularsolution
solutionof
of(1)”
(1)”are
are
defined
definedas
asfollows.
follows.
DEFINITION
General
GeneralSolution,
Solution,Particular
ParticularSolution
Solution
AAgeneral
generalsolution
solutionof ofthe
thenonhomogeneous
nonhomogeneousODE
ODE(1)
(1)on
onan
an
open
openinterval
intervalIIisisaasolution
solutionof
ofthe
theform
form
(3)
(3) y(x)
y(x)==yyh(x)(x)++yyp(x);
h p(x);
THEOREM 1
Relations
Relationsof ofSolutions
Solutionsof of(1)
(1)to
toThose
Thoseof of(2)
(2)
(a)
(a)The
Thesum
sumofofaasolution
solutionyyofof(1)
(1)on
onsome
someopen
openinterval
intervalIIand
andaa
solution
solutionỹỹofof(2)
(2)on
onIIisisaasolution
solutionofof(1)
(1)on
onI.I.In
Inparticular,
particular,(3)
(3)isisaa
solution
solutionofof(1)
(1)on
onI.I.
(b)
(b)The
Thedifference
differenceofoftwo
twosolutions
solutionsofof(1)
(1)on
onIIisisaasolution
solutionofof(2)
(2)on
onI.I.
THEOREM 2
AAGeneral
GeneralSolution
Solutionof
ofaaNonhomogeneous
NonhomogeneousODE
ODE
Includes
IncludesAll
AllSolutions
Solutions
IfIfthe
thecoefficients
coefficientsp(x),
p(x),q(x),
q(x),and
andthe
thefunction
functionr(x)
r(x)in
in(1)
(1)are
are
continuous
continuouson onsome
someopen
openinterval
intervalI,I,then
thenevery
everysolution
solutionofof(1)
(1)on
onIIisis
obtained
obtainedby byassigning
assigningsuitable
suitablevalues
valuestotothe
thearbitrary
arbitraryconstants
constants
cc1 and
andcc2 ininaageneral
generalsolution
solution(3)
(3)ofof(1)
(1)on
onI.I.
1 2
Choice
ChoiceRules
Rulesfor
forthe
theMethod
Methodof ofUndetermined
UndeterminedCoefficients
Coefficients
(a)
(a)Basic
BasicRule.
Rule.IfIfr(x)
r(x)in
in(4)
(4)isisone
oneofofthe
thefunctions
functionsin inthe
thefirst
first
column
columnin inTable
Table2.1,
2.1,choose
chooseyyp pin
inthe
thesame
sameline
lineand
anddetermine
determineits its
undetermined
undeterminedcoefficients
coefficientsbybysubstituting
substitutingyyp pand
andits
itsderivatives
derivativesinto
into
(4).
(4).
(b)
(b)Modification
ModificationRule. Rule.IfIfaaterm
termin inyour
yourchoice
choicefor
foryyp phappens
happenstoto
be
beaasolution
solutionofofthe
thehomogeneous
homogeneous ODE
ODE corresponding
corresponding toto(4),
(4),
multiply
multiplythis
thisterm
termbybyxx(or
(orbybyxx2ififthis
2
thissolution
solutioncorresponds
correspondstotoaa
double
doubleroot
rootofofthe
thecharacteristic
characteristicequation
equationofofthe
thehomogeneous
homogeneousODE). ODE).
(c)
(c)Sum
SumRule.
Rule.IfIfr(x)
r(x)isisaasum
sumofoffunctions
functionsininthe
thefirst
firstcolumn
columnofof
Table
Table2.1,
2.1,choose
choosefor
foryyp pthe
thesum
sumofofthe
thefunctions
functionsininthe
the
corresponding
correspondinglines
linesofofthethesecond
secondcolumn.
column.
Section 2.7 p93 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.7 Nonhomogeneous ODEs
The
TheBasic
BasicRule
Ruleapplies
applieswhenwhenr(x)r(x)isisaasingle
singleterm.
term.
The
TheModification
ModificationRule Rulehelps
helpsininthe
theindicated
indicatedcase,
case,and
andto to
recognize
recognizesuchsuchaacase,
case,we wehave
haveto tosolve
solvethe
thehomogeneous
homogeneous
ODE
ODEfirst.
first.
The
TheSum
SumRule
Rulefollows
followsby bynoting
notingthatthatthe
thesum
sumof oftwo
twosolutions
solutions
of
of(1)
(1)with
withrr==rr1 1and
andrr==rr2 2(and
(andthethesame
sameleft
leftside!)
side!)isisaasolution
solution
of
of(1)
(1)with
withrr==rr1 1++rr2.2.(Verify!)
(Verify!)
The
Themethod
methodisisself-correcting.
self-correcting.AAfalse falsechoice
choicefor
foryyp por
orone
one
with
withtoo
toofew
fewterms
termswill willlead
leadtotoaacontradiction.
contradiction.AAchoice
choicewithwith
too
toomany
manytermstermswill
willgivegiveaacorrect
correctresult,
result,with
withsuperfluous
superfluous
coefficients
coefficientscoming
comingout outzero.
zero.
Solution.
Solution.(continued)
(continued)
Step
Step2.2.Solution
Solutionyyppof ofthethenonhomogeneous
nonhomogeneousODE. ODE.
The function
The function e −1.5xon the right would normally require the
−1.5x
e on the right would normally require the
choice
choiceCeCe−1.5x. .But
−1.5x
Butwe weseeseefrom
fromyyh hthatthatthis
thisfunction
functionisisaa
solution
solutionof ofthethehomogeneous
homogeneousODE, ODE,which
whichcorresponds
correspondsto toaa
double
doubleroot
rootof ofthethecharacteristic
characteristicequation.
equation.Hence,
Hence,according
accordingto to
the
theModification
Modification Rule
Rule we
we have
have to
to multiply
multiply our
ourchoice
choice
function
functionby byxx.2.That
2
That is,
is, we
we choose
choose
yp
yp==Cx Cx2ee−1.5x
2 −1.5x
..
Then
Then yp ’ = C(2x − 1.5x ) e , yp ” = C(2 − 3x − 3x + 2.25x ) e−1.5x. .
y ’ = C(2x − 1.5x 2
)2 e−1.5x
−1.5x, y ” = C(2 − 3x − 3x + 2.25x 2
)
2 e−1.5x
p p
Solution.
Solution.(continued)
(continued)
Step
Step2.2.(continued)
(continued)
We
Wesubstitute
substitute these
these expressions
expressions into
into the
the given
given ODE
ODE and
and omit
omit
the
thefactor
factoree-1.5x. .This
-1.5x
Thisyields
yields
C(2 − 6x + 2.25x 2
)
2 + 3C(2x − 1.5x )
C(2 − 6x + 2.25x ) + 3C(2x
2
2 + 2.25Cx 2= 10.
2
−01.5x ) + 2.25Cx = 10.
Comparing
Comparingthe thecoefficients
coefficientsof ofxx,2,x,x,xx0gives
2
gives
00==0,0,00==0,0,2C2C==−10,−10,hence
hence CC==−5. −5.
solution yyp p==−5x −5xe2e−1.5x. .
2 −1.5x
This
Thisgives
givesthe thesolution
Hence
Hencethe thegiven
givenODE ODEhashasthe thegeneral
general solution
solution
yy==yyh ++yyp ==(c(c1 ++cc2x)e
x)e−1.5x−−5x
−1.5x
5xe2e−1.5x. .
2 −1.5x
h p 1 2
Solution.
Solution.(continued)
(continued)
Step
Step3.3.Solution
Solutionof ofthe
theinitial
initialvalue
valueproblem.
problem.
Setting
Settingxx==00in inyyand andusing
usingthe thefirst
firstinitial
initialcondition,
condition,
we
weobtain
obtainy(0)
y(0)==cc1 1==1.1.Differentiation
Differentiationof ofyygives
gives
y’y’==(c(c2 −−1.5c
1.5c − 1.5c
1 − 1.5c x)e
2 x)e
−1.5x
−1.5x−−10x
10x ee
−1.5x
−1.5x ++7.5x
7.5x e2e−1.5x. .
2 −1.5x
2 1 2
From
Fromthisthisand
andthe thesecond
secondinitialinitialcondition
conditionwe wehave have
y’y’(0)
(0)==cc2 2−−1.5c
1.5c1 1==0.0.Hence
Hencecc2 2==1.5c
1.5c1 1==1.5.
1.5.
This
Thisgives
givesthetheanswer
answer(Fig.(Fig. 51)
51)2 −1.5x
yy==(1 + 1.5x)
(1 + 1.5x) e e −1.5x− 5x 2e −1.5x= (1 + 1.5x − 5x )2 e −1.5x
−1.5x
− 5x e = (1 + 1.5x − 5x ) e . .
2 −1.5x
The
Thecurve
curvebegins
beginswith withaahorizontal
horizontal tangent,
tangent, crosses
crosses the
the x-axis
x-axis
atatxx==0.6217
0.6217(where
(where11++1.5x 1.5x−−5x 5x2==0)
2
0)and
andapproaches
approachesthe the
axis
axisfrom
frombelow
belowas asxxincreases.
increases.
Section 2.7 p99 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.7 Nonhomogeneous ODEs
Solution.
Solution.(continued)
(continued)
Step
Step3.3.(continued)
(continued)
In
InSec.
Sec.2.4
2.4we
weconsidered
consideredvertical
verticalmotions
motionsof ofaamass–spring
mass–spring
system
system(vibration
(vibrationof
ofaamass
massmmon onan
anelastic
elasticspring,
spring,as
asin
inFigs.
Figs.
33
33and
and53)
53)and
andmodeled
modeledititby
bythe
thehomogeneous
homogeneouslinear
linearODE
ODE
(1)
(1) my”
my”++cy’cy’++ky
ky==0.0.
Here
Herey(t)
y(t)as
asaafunction
functionof oftime
timettisisthe
the
displacement
displacementof ofthe
thebody
bodyof ofmass
massmm
from
fromrest.
rest.
The
Themass–spring
mass–springsystem
systemof ofSec.
Sec.2.4
2.4exhibited
exhibitedonly
onlyfree
freemotion.
motion.
This
Thismeans
meansnonoexternal
externalforces
forces(outside
(outsideforces)
forces)but
butonly
only
internal
internalforces
forcescontrolled
controlledthe
themotion.
motion.
The
Theinternal
internalforces
forcesare
areforces
forceswithin
withinthethesystem.
system.TheyTheyarearethe
the
force
forceof
ofinertia
inertiamy”,
my”,the
thedamping
dampingforceforcecy’
cy’(if
(ifcc>>0),
0),and
andthe
the
spring
springforce
forceky,
ky,aarestoring
restoringforce.
force.
We
Wenow
nowextend
extendour
ourmodel
modelby byincluding
includingan
anadditional
additionalforce,
force,
that
thatis,
is,the
theexternal
externalforce
forcer(t),
r(t),on
onthe
theright.
right.Then
Thenwe
wehave
have
(2*)
(2*) my”
my”++cy’
cy’++ky
ky==r(t).
r(t).
Mechanically
Mechanicallythis thismeans
meansthatthatatateach
eachinstant
instantttthetheresultant
resultantof
of
the
theinternal
internalforces
forcesisisin
inequilibrium
equilibriumwithwithr(t).
r(t).
The
Theresulting
resultingmotion
motionisiscalled
calledaaforced
forcedmotion
motionwith withforcing
forcing
function
functionr(t),
r(t),which
whichisisalso
alsoknown
knownas asinput
inputor ordriving
drivingforce,
force,
and
andthethesolution
solutiony(t)
y(t)to
tobe
beobtained
obtainedisiscalled
calledthetheoutput
outputororthe
the
response
responseofofthe
thesystem
systemtotothe
thedriving
drivingforce.
force.
Of
Ofspecial
specialinterest
interestare
areperiodic
periodicexternal
externalforces,
forces,and
andwe
weshall
shall
consider
consideraadriving
drivingforce
forceof
ofthe
theform
form
r(t)
r(t)==FF0 0cos
cosωt
ωt (F
(F0 0>>0,0,ωω>>0).
0).
Then
Thenwe
wehave
havethethenonhomogeneous
nonhomogeneousODE
ODE
(2)
(2) my”
my”++cy’
cy’++ky
ky==FF0 0cos
cosωt.
ωt.
Its
Itssolution
solutionwill
willreveal
revealfacts
factsthat
thatare
arefundamental
fundamentalin in
engineering
engineeringmathematics
mathematicsandandallow
allowus usto
tomodel
modelresonance.
resonance.
We
Wethus
thusobtain
obtainthe
thegeneral
generalsolution
solutionofofthe
the
nonhomogeneous
nonhomogeneousODE ODE(2)
(2)in
inthe
theform
form
(6)
(6) y(t)
y(t)==yyh(t)
(t)++yyp(t).
h p(t).
Here
Hereyyh hisisaageneral
generalsolution
solutionof ofthe
thehomogeneous
homogeneousODE
ODE(1)
(1)
and
andyyp isisgiven
givenby
by(3)
(3)with
withcoefficients
coefficients(5).
(5).
p
We
Wesee
seethat
thatthis
thisoutput
outputisisaasuperposition
superpositionof
oftwo
twoharmonic
harmonic
oscillations
oscillationsofofthe
thefrequencies
frequenciesjust
justmentioned.
mentioned.
aa0 depends
depends on
on ωωand andωω0. .IfIfωω→→ ωω0 , ,then
then ρρ and
and aa0 tend
tendto
to
0 0 0 0
infinity.
infinity.This
Thisexcitation
excitationof oflarge
largeoscillations
oscillationsby bymatching
matching
input
inputand
andnatural
naturalfrequencies
frequencies(ω (ω==ωω0)0)isiscalled resonance.ρρ
calledresonance.
isiscalled
calledthe
theresonance
resonancefactor factor(Fig.
(Fig.54),54),and
andfromfrom(9) (9)we
wesee
see
thatρρ/k/k==aa0/F
that
0/F 0 is
0 isthe
theratio
ratio of
ofthe
the amplitudes
amplitudes ofofthe
the
particular
particularsolution
solutionyyp pand andof ofthe
theinput
inputFF0 0coscosωt. ωt.WeWeshall
shall
see
seelater
laterininthis
thissection
sectionthat
thatresonance
resonanceisisof ofbasic
basic
importance
importancein inthethestudy
studyof ofvibrating
vibratingsystems.
systems.
Section 2.8 p110 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.8 Modeling: Forced Oscillations. Resonance
Case 1. Undamped Forced Oscillations.
Resonance (continued 3)
Resonance.
Resonance.(continued)
(continued)
We
Wesee
seethat,
that,because
becauseof ofthe
thefactor
factort,t,the
theamplitude
amplitudeofofthe
the
vibration
vibrationbecomes
becomeslarger
largerandandlarger.
larger.Practically
Practicallyspeaking,
speaking,
systems
systemswith
withvery
verylittle
littledamping
dampingmay mayundergo
undergolarge
large
vibrations
vibrationsthat
thatcan
candestroy
destroythethesystem.
system.
Section 2.8 p114 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.8 Modeling: Forced Oscillations. Resonance
Case 1. Undamped Forced Oscillations.
Resonance (continued 7)
Beats.
Beats.Another
Anotherinteresting
interestingandandhighly
highlyimportant
importanttypetypeof
of
oscillation
oscillationisisobtained
obtainedififωωisisclose
closeto
toωω0.0.Take,
Take,for
forexample,
example,
the
theparticular
particularsolution
solution[see
[see(8)]
(8)]
F0
(12) y(tt) (cos cos 0 t ) ( 0 ).
(12) m(0 )
2 2
Using
Using(12)
(12)ininApp.
App.3.1,
3.1,we
wemay
maywrite
writethis
thisas
as
2 F0 0 0
y(tt) sin( )sin( t ).
m(0 )
2 2
2 2
Fig. 56. Forced undamped oscillation when the difference of the input
Fig. 56. Forced undamped oscillation when the difference of the input
and natural frequencies is small (“beats”)
and natural frequencies is small (“beats”)
Section 2.8 p117 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.8 Modeling: Forced Oscillations. Resonance
THEOREM 1
Steady-State
Steady-StateSolution
Solution
After
Afteraasufficiently
sufficientlylong
longtime
timethe
theoutput
outputofofaadamped
dampedvibrating
vibrating
system
systemunder
underaapurely
purelysinusoidal
sinusoidaldriving
drivingforce
force[see
[see(2)]
(2)]will
will
practically
practicallybe
beaaharmonic
harmonicoscillation
oscillationwhose
whosefrequency
frequencyisisthat
thatofofthe
the
input.
input.
Amplitude
Amplitudeofofthe
theSteady-State
Steady-StateSolution.
Solution.
Practical
PracticalResonance
Resonance
Whereas
Whereasin inthe
theundamped
undampedcase casethe
theamplitude
amplitudeofofyyp p
approaches
approachesinfinity
infinityas
asωωapproaches
approachesωω0,0,this
thiswill
willnot
nothappen
happen
in
inthe
thedamped
dampedcase.case.In
Inthis
thiscase
casethe
theamplitude
amplitudewill
willalways
alwaysbe
be
finite.
finite.But
Butititmay
mayhave
haveaamaximum
maximumfor forsome
someωωdepending
dependingon on
the
thedamping
dampingconstant
constantc.c.
This
Thismay maybebecalled
calledpractical
practicalresonance.
resonance.
ItItisisof
ofgreat
greatimportance
importancebecause
becauseififccisisnot
nottoo
toolarge,
large,then
then
some
someinput inputmay
mayexcite
exciteoscillations
oscillationslarge
largeenough
enoughto todamage
damageor
or
even
evendestroy
destroythe
thesystem.
system.
To
Tostudy
studythetheamplitude
amplitudeof ofyyp pas
asaafunction
functionof ofω,ω,we
wewrite
write(3)
(3)in
in
the
theform
form
(13)
(13) yyp(t)
(t)==C*C* cos
cos (ωt
(ωt −−η).
η).
p
C*
C*isiscalled
calledthe
theamplitude
amplitudeof ofyyp pand
andηηthe thephase
phaseangle
angleor
or
phase
phaselaglagbecause
becauseititmeasures
measuresthe thelaglagof ofthe
theoutput
outputbehind
behindthethe
input.
input.According
Accordingto to(5),
(5),these
thesequantities
quantitiesare are
F0
C * ( ) a b
2 2
m 2 (0 2 2 )2 2 c 2
(14)
(14) b c
tan ( ) .
a m(0 ) 2 2
2 mF0
(16) C * (max )
(16) c 4 m20 2 c 2
We
Wesee
seethat
thatC*(ω
C*(ωmax ))isisalways
always finite
finite when
when cc>>0.0.
max
Furthermore,
Furthermore,since sincethe
theexpression
expression
cc24m
2
4m ω0 − c = c (4mk − c)2)
2
ω
2 0 2− c 4= c (4mk
2 4 2
2 − c 2
(<2mk)
(<2mk)goes
goesto tozero,
zero,the
themaximum
maximumamplitude amplitude(16) (16)increases
increases
monotone
monotoneto toinfinity,
infinity,in inagreement
agreementwith withourourresult
resultininCase
Case1.1.
Figure
Figure57 57shows
showsthetheamplification
amplificationC*/F C*/F0 0(ratio
(ratioof ofthe
the
amplitudes
amplitudesof ofoutput
outputand andinput)
input)as asaafunction
functionof ofωωfor
for
mm==1,1,kk==1,1,hence
henceωω0 0==1,1,and
andvarious
variousvalues
valuesof ofthe
thedamping
damping
constant
constantc.c.
Section 2.8 p122 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.8 Modeling: Forced Oscillations. Resonance
Figure
Figure5858shows
showsthethephase
phaseangle
angle(the
(thelag
lagof
ofthe
theoutput
outputbehind
behind
the
theinput),
input),which
whichisisless
lessthan
thanπ/2
π/2when
whenωω<<ωω0,0,and
andgreater
greater
than
thanπ/2
π/2for
forωω>>ωω0. . 0
Fig. 57. Amplification C*/F0 as a function Fig. 58. Phase lag η as a function of
Fig. 57. Amplification C*/F0 as a function Fig. 58. Phase lag η as a function of
of ω for m = 1, k = 1 and various ω for m = 1, k = 1 thus ω0 = 1, and
of ω for m = 1, k = 1 and various ω for m = 1, k = 1 thus ω0 = 1, and
values of the damping constant c various values of the damping
values of the damping constant c various values of the damping
constant c
Section 2.8 p123 constant
Advanced Engineering c
Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.9
2.9 Modeling:
Modeling: Electric
Electric Circuits
Circuits
Figure
Figure6161shows
showsananRLC-circuit,
RLC-circuit,as asititoccurs
occursas asaabasic
basic
building
buildingblock
blockof
oflarge
largeelectric
electricnetworks
networksin incomputers
computersand and
elsewhere.
elsewhere.
An
AnRLC-circuit
RLC-circuitisisobtained
obtainedfrom
froman anRL-circuit
RL-circuitby byadding
addingaa
capacitor.
capacitor.Recall
RecallExample
Example22on onthe
theRL-circuit
RL-circuitin inSec.
Sec.1.5:
1.5:The
The
model
modelof ofthe
theRL-circuit
RL-circuitisisLI’
LI’++RI
RI==E(t).
E(t).ItItwas
wasobtained
obtainedbyby
KVL
KVL(Kirchhoff’s
(Kirchhoff’sVoltage
VoltageLaw)*
Law)*by byequating
equatingthe thevoltage
voltage
drops
dropsacross
acrossthe
theresistor
resistorand
andthe
theinductor
inductorto tothe
theEMF
EMF
(electromotive
(electromotiveforce).
force).
*Kirchhoff’s
*Kirchhoff’sCurrent
CurrentLaw Law(KCL):
(KCL):
At
Atanyanypoint
pointofofaacircuit,
circuit,the
thesum
sumofofthe
theinflowing
inflowingcurrents
currentsisisequal
equal
totothe
thesum
sumofofthe
theoutflowing
outflowingcurrents.
currents.
Hence
Hencewe weobtain
obtainthe
themodel
modelofofthe
theRLC-circuit
RLC-circuitsimply
simplybyby
adding
addingthethevoltage
voltagedrop
dropQ/C
Q/Cacross
acrossthe
thecapacitor.
capacitor.
Here,
Here,CCF(farads)
F(farads)isisthe
thecapacitance
capacitanceofofthe
thecapacitor.
capacitor.
QQcoulombs
coulombsisisthe thecharge
chargeononthe
thecapacitor,
capacitor,related
relatedto
tothe
the
current
currentby by
dQ
I (t ) , equivalently Q(t) I (t)dt.
dt
See
Seealso
alsoFig.
Fig.62.
62.Assuming
Assumingaasinusoidal
sinusoidal
EMF
EMFasasin
inFig.
Fig.61,
61,we
wethus
thushave
havethe
the
model
modelofofthe
theRLC-circuit
RLC-circuit
(1’) 1
(1’) LI RI
C I dt E(t ) E0 sin t.
This
Thisisisan
an“integro-differential
“integro-differentialequation.”
equation.”To Togetgetrid
ridofofthe
the
integral,
integral,wewedifferentiate
differentiate(1’) (1’)with
withrespect
respecttotot,t,obtaining
obtaining
1
(1) LI RI I E(t ) E0 cos t.
(1) C
This
Thisshows
showsthat
thatthethecurrent
currentin inan
anRLC-circuit
RLC-circuitisisobtained
obtainedas as
the
thesolution
solutionof ofthis
thisnonhomogeneous
nonhomogeneoussecond-order
second-orderODE ODE(1)(1)
with
withconstant
constantcoefficients.
coefficients.In Inconnection
connectionwith
withinitial
initialvalue
value
problems,
problems,we weshall
shalloccasionally
occasionallyuse use
1
(1”) LQ RQ Q E(t ).
(1”) C
obtained
obtainedfrom
from(1’)(1’)and
and II==Q’.Q’.
Equation
Equation(2)
(2)with
withcoefficients
coefficientsaaandandbbgiven
givenby
by(4)
(4)isisthe
the
desired
desiredparticular
particularsolution
solutionIpIpof
ofthe
thenonhomogeneous
nonhomogeneous
ODE
ODE(1)
(1)governing
governingthethecurrent
currentIIin inananRLC-circuit
RLC-circuitwith
with
sinusoidal
sinusoidalelectromotive
electromotiveforce.
force.
R2 S2
The
Thequantity
quantity isiscalled
calledthe theimpedance.
impedance.Our Our
formula
formulashows showsthatthatthe
theimpedance
impedanceequals equalsthe theratio ratioEE0/I /I0. .
0 0
This
Thisisissomewhat
somewhatanalogous
analogousto toE/I
E/I==RR(Ohm’s(Ohm’slaw), law),and and
because
becauseof ofthis
thisanalogy,
analogy,the
theimpedance
impedanceisisalso alsoknown known
as the
theapparent
asSection apparent
2.9 p132
resistance.
resistance.Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.9 Modeling: Electric Circuits
Solving the ODE (1) for the Current
in an RLC-Circuit (continued 4)
AAgeneral
generalsolution
solutionofofthe
thehomogeneous
homogeneousequation
equation
corresponding
correspondingtoto(1)
(1)isis
I h c1e 1tt c2 e 2
where
whereλλ1 1and
andλλ2 2are
arethe
theroots
rootsof
ofthe
thecharacteristic
characteristicequation
equation
R 1
2 0.
L LC
are
areof
ofthe
thesame
sameform.
form.
Section 2.9 p135 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.9 Modeling: Electric Circuits
Analogy of Electrical
and Mechanical Quantities (continued 1)
Table
Table2.2
2.2shows
showsthe theanalogy
analogybetween
betweenthethevarious
variousquantities
quantities
involved.
involved.TheTheinductance
inductanceLLcorresponds
correspondsto tothe
themass
massmmand,and,
indeed,
indeed,ananinductor
inductoropposes
opposesaachange
changein incurrent,
current,having
havingan an
“inertia
“inertiaeffect”
effect”similar
similarto
tothat
thatof
ofaamass.
mass.The
Theresistance
resistanceRR
corresponds
correspondsto tothe
thedamping
dampingconstant
constantc,c,and
andaaresistor
resistor
causes
causesloss
lossofofenergy,
energy,just
justas
asaadamping
dampingdashpot
dashpotdoes.
does.And
And
so
soon.
on.
This
Thisanalogy
analogyisisstrictly
strictlyquantitative
quantitativein inthe
thesense
sensethat
that
to
toaagiven
givenmechanical
mechanicalsystem
systemwe wecan
canconstruct
constructan anelectric
electric
circuit
circuitwhose
whosecurrent
currentwill
willgive
givethe
theexact
exactvalues
valuesofofthe
the
displacement
displacementin inthe
themechanical
mechanicalsystem
systemwhen
whensuitable
suitablescale
scale
factors
factorsare
areintroduced.
introduced.
Section 2.9 p136 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.9 Modeling: Electric Circuits
Analogy of Electrical
and Mechanical Quantities (continued 2)
The
Thepractical
practicalimportance
importanceof ofthis
thisanalogy
analogyisisalmost
almost
obvious.
obvious.The
Theanalogy
analogymay
maybebeused
usedforforconstructing
constructinganan
“electrical
“electricalmodel”
model”ofofaagiven
givenmechanical
mechanicalmodel,
model,resulting
resulting
in
insubstantial
substantialsavings
savingsofoftime
timeand
andmoney
moneybecause
becauseelectric
electric
circuits
circuitsare
areeasy
easyto
toassemble,
assemble,and
andelectric
electricquantities
quantitiescan
canbebe
measured
measuredmuchmuchmore
morequickly
quicklyand
andaccurately
accuratelythan
than
mechanical
mechanicalones.
ones.
We
Wecontinue
continueour
ourdiscussion
discussionof
ofnonhomogeneous
nonhomogeneouslinear
linearODEs,
ODEs,
that
thatisis
(1)
(1) y”
y”++p(x)y’
p(x)y’++q(x)y
q(x)y==r(x).
r(x).
To
Toobtain whenr(x)
obtainyyp pwhen r(x)isisnot
nottootoocomplicated,
complicated,we wecan
canoften
oftenuseuse
the
themethod
methodofofundetermined
undeterminedcoefficients.
coefficients.
However,
However,since sincethis
thismethod
methodisisrestricted
restrictedto tofunctions
functionsr(x)
r(x)
whose
whosederivatives
derivativesareareof ofaaform
formsimilar
similarto tor(x)
r(x)itself
itself(powers,
(powers,
exponential
exponentialfunctions,
functions,etc.),
etc.),ititisisdesirable
desirableto tohave
haveaamethod
method
valid
validfor formore
moregeneral
generalODEsODEs(1), (1),which
whichwe weshall
shallnow
nowdevelop.
develop.
ItItisiscalled
calledthe
themethod
methodof ofvariation
variationof ofparameters
parametersand andisis
credited
creditedto toLagrange
Lagrange(Sec.
(Sec.2.1).
2.1).Here Herep,p,q,q,rrin
in(1)
(1)may
maybe be
variable
variable(given
(givenfunctions
functionsof ofx),x),butbutwe
weassume
assumethat thatthey
theyare
are
continuous
continuouson onsome
someopen
openinterval
intervalI.I.
Section 2.10 p140 Advanced Engineering Mathematics, 10/e by Edwin Kreyszig
Copyright 2011 by John Wiley & Sons. All rights reserved.
2.10 Solution by Variation of Parameters
Lagrange’s
Lagrange’smethod
methodgivesgivesaaparticular
particularsolution
solutionyyp pof
of(1)
(1)on
onII
in
inthe
theform
form
y2 r y1r
(2) y p ( x) y1 dx y2 dx
(2) W W
where
whereyy1,1,yy2 2form
formaabasis
basisof
ofsolutions
solutionsof
ofthe
thecorresponding
corresponding
homogeneous
homogeneousODE ODE
(3)
(3) y”
y”++p(x)y’
p(x)y’++q(x)yq(x)y==00
on
onI,I,and
andW
Wisisthe
theWronskian
Wronskianof ofyy1, ,yy2. . 1 2
(4)
(4) W
W==yy1y1y2’2’−−yy2y2y1’1’ (see
(seeSec.
Sec.2.6).
2.6).
EXAMPLE 1
Method
Methodof ofVariation
Variationof ofParameters
Parameters
Solve
Solvethe
thenonhomogeneous
nonhomogeneousODE ODE
1
y y sec x .
cos x
Solution.
Solution.AAbasis
basisof ofsolutions
solutionsof ofthe
thehomogeneous
homogeneousODE ODEonon
any
anyinterval
intervalisisyy1 1==cos
cosx,x,yy2 2==sin
sinx.x.This
Thisgives
givesthethe
Wronskian
Wronskian
W(
W(yy1,1,yy2)2)==cos
cosxxcos cosxx−−sinsinxx(−sin
(−sinx)x)==1.1.
From
From(2),
(2),choosing
choosingzero zeroconstants
constantsof ofintegration,
integration,we weget
getthe
the
particular
particularsolution
solutionof ofthe
thegiven
givenODE ODE
y p cos x sin x sec x dx sin x cos x sec x dx
cos x ln cos x x sin x
EXAMPLE 1 (continued)
Solution.
Solution.(continued 1)
(continued 1)
Figure
Figure70 70shows
showsyyp pandandits itsfirst
firstterm,
term,which
whichisissmall, small,so sothat
that
xxsinsinxxessentially
essentiallydetermines
determinesthe theshape
shapeofofthe thecurvecurve
of
ofyyp.p.From
Fromyyp pand
andthethegeneral
generalsolution
solutionyyh h==cc1y1y1 1++cc2y2y2 2of
ofthe
the
homogeneous
homogeneousODE ODEwe weobtain
obtainthe theanswer
answer
yy==yyh ++yyp ==(c(c1 ++ln|cos
ln|cos x|)
x|) cos
cosxx++(c(c2 ++x)x)sin sin x.x.
h p 1 2
Had
Hadwe weincluded
includedintegration
integrationconstants
constants−c −c1,1,cc2 2inin(2),
(2),
then
then(2) (2)would
wouldhavehavegivengiventhe theadditional
additional
cc1cos
cos xx++cc2sin
sinxx==cc1yy1 ++cc2yy2, ,that
thatis,
is,aageneral
general solution
solution of
of the
the
1 2 1 1 2 2
given
givenODE ODEdirectly
directlyfrom
from(2). (2).This
Thiswill
willalways
alwaysbe bethe
thecase.
case.
EXAMPLE 1 (continued)
Solution.
Solution.(continued 2)
(continued 2)
Here
Hereω*ω*isisused
usedsince
sinceωωisisneeded
neededin indriving
drivingforces.
forces.
Important
Importantapplications
applicationsof of(5)
(5)in
inmechanical
mechanicaland
andelectrical
electrical
engineering
engineeringin inconnection
connectionwithwithvibrations
vibrationsand
andresonance
resonance
are
arediscussed
discussedin inSecs.
Secs.2.4,
2.4,2.7,
2.7,and
and2.8.
2.8.