2016 Fall ME501 02 ODE Part2 PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 51

Chapter2

Secondorderordinarydifferentialequations(ODEs)
2.1.SecondorderODEs.Initialandboundaryvalueproblems
2.2.SecondorderlinearhomogeneousODEs
2.3.SecondorderlinearhomogeneousODEswithconstantcoefficients
2.4.EulerCauchyequations
2.5.SecondorderlinearnonhomogeneousODEs.Methodofundetermined
coefficients
2.6.SecondorderlinearnonhomogeneousODEs.Methodofvariationofparameters
2.7.Freeoscillationsinmechanicalsystems
2.8.Forcedoscillationsandresonanceinmechanicalsystems
Reading:
Kreyszig,AdvancedEngineeringMathematics,10thEd.,2011
Selectionfromchapter2
Prerequisites:
Kreyszig,AdvancedEngineeringMathematics,10thEd.,2011
1.Basicsofmatrixesandvectors:Section4.0
2.Complexnumbers:Sections13.1,13.2and13.5
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 1
2.1.SecondorderODEs.Initialandboundaryvalueproblems
General form of the 2nd order ODE
(2.1.1)
, , , 0
We will consider only equations in the explicit (normal) form, resolved with respect to the
highest derivative

(2.1.2)
, ,
The general solution of Eq. (2.1.1) or (2.1.2) depends on two arbitrary constants and and
can be represented in the form

(2.1.3)
, , , 0
Example:

, ,

Any particular choice of constants and gives a particular solution of Eq. (2.1.2).

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 2
2.1.SecondorderODEs.Initialandboundaryvalueproblems
One possible way to determine and is to specify the initial conditions

, (2.1.4)

The problem (2.1.2), (2.1.4) is called the initial value (or Cauchy) problem for the 2nd order ODE.

Note: In mechanical problems, if is time and is coordinate, then is velocity and


is acceleration. It means that in order to solve the 2nd order ODE with respect to the
coordinate (Newtons second law of motion) we need to specify the initial position of the body
and its initial velocity.

If we know the general solution, Eq. (2.1.3), then in order solve the Cauchy problem (2.1.2),
(2.1.4) we can find and by solving two equations:

, , , 0, 0

Inserting given , , and , one can obtain:


, , , 0, , , , , , , 0

: Two algebraic equations with respect to and .

Example:
, , ,
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov, 3
2.1.SecondorderODEs.Initialandboundaryvalueproblems
For ODEs of the 2nd and higher orders conditions that allow one to find a particular solution can
be specified not only in the form of the initial conditions, but also in other forms.
For example, for ODE (2.1.2) such conditions can be specified in the form of boundary
conditions
, (2.1.5)

The problem (2.1.2), (2.1.5) is called the boundary value problem. It is formulated as follows: To
find a particular solution of Eq. (2.1.2) that exists al least in the interval , and satisfies
conditions (2.1.5) at the boundaries of this interval. Another formulation: To find an integral
curve of Eq. (2.1.2), which goes through points , and , on the plane , .
InitialvalueproblemBoundaryvalueproblem

: tan

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 4
2.1.SecondorderODEs.Initialandboundaryvalueproblems
If we know the general solution of Eq. (2.1.2), then the solution of the boundary value problem
reduces to the choice of the appropriate constants and . If we know the general solution in
the form of Eq. (2.1.3) then and can be found as roots of two algebraic equation:
, , , 0, , , , 0

: Two algebraic equations with respect to and .

Note 1: Boundary conditions can be specified not only in the form of prescribed values of the
unknown function, but also in the form of the prescribed value of the derivative, or even in a
more complex form:
1. : Dirichlet boundary condition
2. : Neumann boundary condition
3. : Robin boundary condition ( , , and are arbitrary constants)

Note 2: For given boundary conditions, the solution of the boundary value problem may/may
not exist, and, if exists, it can be unique or not. Conditions that ensure existence and uniqueness
of the boundary value problems are formulated in the form of the existence and uniqueness
theorems.
Note 3: Initial and boundary value problems are general for many engineering problems.
Boundary value problems naturally appear if the want to know which initial state allows us to
reach the desired final state .
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 5
2.1.SecondorderODEs.Initialandboundaryvalueproblems
Example 1: Motion of a body (bullet).
We solve secondorder ODEs which represent Newtons second law of motion.
Initialvalueproblem: Boundaryvalueproblem:

We fix the initial position of the body and We fix the initial position of the body at
its velocity at time and want to time and want to know which
know the position of the body at time velocity allows the bullet to hit the
target in given position at time

? ?

, , , ,

Wherethefinalpositionofthemissile? Howtohitthetarget?

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 6
2.1.SecondorderODEs.Initialandboundaryvalueproblems(optional)
Example 2: Steadystate heat transfer of a sphere in a quiescent fluid.

and areboundary
conditionsfortheODEwith
respecttofluidtemperature
1. The sphere is isothermal and has temperature
2. The fluid has temperature infinitely far from the sphere.
3. Heat conduction in the fluid is described by the Fourier law, the fluid thermal conductivity, ,
is constant istheheatflux,i.e.theamount
ofenergytransferredthrougha
4 sphericalsurfaceofarea4 per
unittime
4. Energy conservation for the steadystate process
, 0 , isthe
incrementofenergy
inthesphericallayer
4 0 betweenrand
duringtime

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 7
2.1.SecondorderODEs.Initialandboundaryvalueproblems(optional)
Example 2: Steadystate heat transfer of a sphere in a quiescent fluid.

Newtonslawofcooling
:Heattransfercoefficient

0 :Steadystate,sphericallysymmetricheatconductionequation

:Boundaryconditionatthespheresurface Herewesolveaproblemwith
theDirichlet boundary
conditions
:Boundaryconditionfarfromthesphere

Solution:


Nusselt
number: 2 / 2
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 8
2.1.SecondorderODEs.Initialandboundaryvalueproblems(optional)
Example 2: Steadystate heat transfer of a sphere in a quiescent fluid.

0 General solution:

Lets use other boundary conditions at the sphere surface:


1. Neumann condition:

2. Robin condition:

The solution exists only if / , but such a solution is not unique, since arbitrary
constant (or surface temperature satisfies all boundary conditions.

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 9
2.1.SecondorderODEs.Initialandboundaryvalueproblems
We will consider only one general type of secondorder ODEs, namely, the linear 2nd order ODEs
that have the following form

(2.1.6)

We will assume that in the interval , , i.e. , where we look for the solution of
Eq. (2.1.6), 0, so that Eq. (2.1.6) can be rewritten in the standard form (coefficient at
is equal to 1):

(2.1.7)

Linear ODE (2.1.7) is called homogeneous if 0, otherwise it is called nonhomogeneous.

ME501,MechanicalEngineeringAnalysisI,AlexeyVolkov,FallSemester2014 10
2.2.SecondorderlinearhomogeneousODEs
Prerequisites:Solutionofalinearsystem

System of two linear equations:

Matrix of coefficients , RHS vector , and vector of unknowns :

Determinant:
det det
1 0
Inverse matrix: is inverse to if
0 1
1
if det 0 then
det
Solution of the linear system:
1
if det 0 then solution exists and unique:
det
For the homogeneous system ( 0, 0):
If det 0, then only trivial solution 0 exists.
If det 0, then multiple solutions exist.
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 11
2.2.SecondorderlinearhomogeneousODEs
Our goal is to study the general properties of solution of the linear homogeneous equation of
the 2nd order
0 (2.2.1)

Functions and are called coefficients of Eq. (2.2.1).


Existence and uniqueness theorem:
If and are continuous functions in some open interval , , then the initial
value problem for Eq. (2.2.1) with initial conditions

, (2.2.2)

where , has a unique solution in interval , .

We will not prove this theorem, but our goal is to use this theorem in order to study the general
form of solutions of Eq. (2.2.1).

Linear combination of functions and is a function


where and are two arbitrary constants.

Theorem: Superposition principle for solutions of linear homogeneous secondorder ODEs:


If and are two particular solutions of Eq. (2.2.1), then any their linear combination,
, is also a solution.

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 12
2.2.SecondorderlinearhomogeneousODEs
Proof:
0
Note: Superposition principle shows that the general solution of Eq. (2.2.1) includes two
arbitrary constants. The problem is that may not be the general
solution. Lets consider . Then
contains only one arbitrary constant, so two conditions of the Cauchy problem cannot be
satisfied simultaneously.
Lets consider a condition that guaranties that is the general solution
of Eq. (2.2.1). We need a few new definitions.
Two functions and are called linearly independent on an open interval , if
their linear combination is equal to 0 in any point of this interval only if 0, i.e.
0 forall , 0
Otherwise, if there are constant 0 and/or 0 for which 0 in any
point of , , functions and are called linearly dependent on , .
Note: Linearly dependent functions are proportional to each other in , :
If 0 / .
If 0 / .
Example: 2 cos and 5 sin are linearly dependent; and
are linearly independent.
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 13
2.2.SecondorderlinearhomogeneousODEs
If functions and have derivatives and then the determinant

, , (2.2.3)

is called the Wronskian of these functions in point . Wronskian = sign of linear dependency.
Theorem 1:
If and are linearly dependent on , then the Wronskian of these functions is 0
in any point , .
Proof: If and are linearly dependent, they are proportional to each other. If, e.g., 0,
/ , / , then / / 0.
Theorem 2:
If coefficients and in Eq. (2.2.1) are continuous functions in some open interval ,
and for two particular solutions of this equation and there is a , such
that 0, then and are linearly dependent solutions in , .
Proof: [We need to find nonzero and : 0 for any , ]
Lets start from point and consider a linear system with respect to and :
0
(2.2.4)
0
The determinant of the matrix of coefficients of this system is and is equal to 0.
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 14
2.2.SecondorderlinearhomogeneousODEs
Thus, we have a homogeneous linear system with zero determinant. This system has a non
trivial solution 0 and/or 0. Using this solution, lets introduce a new function

According to the superposition principle, is also a solution in Eq. (2.2.1). From Eq. (2.2.4) it
is obvious that satisfies initial conditions 0, 0. But the trivial solution

0 also satisfies these conditions. Since for continuous and the solution is

unique, 0, i.e. and are linearly dependent.
Theorem 3:
If coefficients and in Eq. (2.2.1) are continuous functions in some open interval ,
and and are two particular solutions of this equation , then
1. If there is a , such that 0, then 0 for any , .
2. If there is a , such that 0, then and are linearly independent
in , .
3. If and are linearly independent on , , then 0 in , .
Proof:
1. If 0 then and are linearly dependent in , (Theorem 2)
0 for any , (Theorem 1).
2. If we assume that and are linearly dependent, then 0 for any
, (Theorem 1). But it contradicts to the condition in statement 2, so and
should be linearly independent.
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 15
2.2.SecondorderlinearhomogeneousODEs
3. If we assume that there is a , such that 0, then and should
be linearly dependent according to Theorem 2.
Theorem 4: Structure of the general solution of a homogeneous linear ODE
If coefficients and in Eq. (2.2.1) are continuous functions in some open interval ,
then
1. Eq. (2.2.1) has a general solution in the form
(2.2.5)
where and and are two linearly independent particular solutions.
2. The general solution (2.2.5) includes all solutions, i.e. (2.2.1) has no singular solutions, and
any solution can be represented in the form (2.2.5).
Proof:
1. According to existence and uniqueness theorem, there are two unique solutions and
that satisfy the initial conditions
1, 0 and 0, 1.
For these solutions, 1 0 and, thus, they are linearly independent according to
Theorem 3 (statement 2). From the superposition principle, Eq. (1.9.5) with arbitrary and
is also a solution, thus it is the general solution.
2. Now lets proof that solution of the Cauchy problem with arbitrary initial conditions
,
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 16
2.2.SecondorderlinearhomogeneousODEs
can be represented in the form of Eq. (2.2.5). Such a solution should satisfy equations:


But since and are linearly independent, 0, and this linear system has a
unique solution. According to the existence and uniqueness theorem, the solution which we
found is unique. Thus, any solution can be represented in the form (2.2.5) with proper choice of
and .
Note 1: A pair of linearly independent solutions of Eq. (2.2.1) is called basis.
Note 2: There is no general methods to solve Eq. (2.2.1) with arbitrary and . We will
show that the general solution can be found if we know one particular solution of this equation.
Theorem: Abels formula
The Wronskian of two arbitrary solutions of Eq. (2.2.1) can be calculated as

:Abelsformula (2.2.6)
where is a constant.
Proof: If and are two solutions, then
0 | SubtractEqs.fromeachother:
0 |
=

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 17
2.2.SecondorderlinearhomogeneousODEs

Liouville theorem:
If we know one solution of Eq. (2.2.1), then another linearly independent solution
can be calculated as
(2.2.7)
Proof:

Abelsformula

Integration of the last Eq. gives us Eq. (2.2.7).


Note: The Liouville theorem allows us to find the general solution of Eq. (2.2.1) if we know one
arbitrary solution.
1. First, we need to find the second linearly independent solution from Eq. (2.2.7).
2. Second, the general solution is given by Eq. (2.2.5).
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 18
2.2.SecondorderlinearhomogeneousODEs
Example: 2 0, cos / .

1. Transform Eq. to the standard form:


2 2
0: 1

1
2. Apply Liouville theorem:

cos 1/ cos cos sin


tan
cos / cos

3. Apply theorem 4:

cos sin
General solution is

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 19
2.3.SecondorderlinearhomogeneousODEswithconstantcoefficients
Prerequisites:Complexnumbers
, : Complex number
Re : Real part
Im : Imaginary part
1 0,1 : Imaginary unit

is the complex conjugate of

Polar form of a complex number:


is modulus (absolute value),
tan / , is argument
cos sin

Complex exponential function:


cos sin
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 20
2.3.SecondorderlinearhomogeneousODEswithconstantcoefficients
Secondorder linear homogeneous ODE with constant coefficients has the standard form
0 (2.3.1)
where and are arbitrary constants. Its general solution has the form
(2.3.2)
where and are two arbitrary linearly independent particular solutions of Eq. (2.3.1).
Lets look for a particular solution in the form of the exponential function and
substitute this function into Eq. (2.3.1). Then

0 or (2.3.3)
0
Eq. (2.3.3) is called the characteristic equation for Eq. (2.3.1). The characteristic equation says us
that can be a solution only for some particular that should satisfy (2.3.3).
Characteristic equation is the quadratic equation and its roots are equal to

(2.3.4)
2 2 2 2

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 21
2.3.SecondorderlinearhomogeneousODEswithconstantcoefficients
Threecasesarepossible
Case 1: , Two distinct real roots,
Particular solutions take the form and . These solutions are linearly
independent since
0

The general solution takes the form


(2.3.5)

Case2: ,Doublerealroot /
Oneparticularsolutionis .Anotherlinearlyindependentparticularsolutioncanbe
foundwiththeLiouville theorem:

Thenthegeneralsolutiontakestheform
(2.3.6)

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 22
2.3.SecondorderlinearhomogeneousODEswithconstantcoefficients
Case 3: , Two distinct complex roots

2 2 2
Particular solutions take the form and , but in this case they are
complexvalued exponential functions. The general solution takes the form


This equation gives us a realvalued solution only if and are complex numbers as well.
Lets reduce the general solution to a form, containing only real numbers:
Trigonometric representation of the exponential function: cos sin

Then cos sin


Ifweintroduce /2, /2,then , .
Sothegeneralsolutiontakestheform

cos sin (2.3.7)


Alternativeformofthegeneralsolution:
Letsintroduce
, tan cos , sin
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 23
2.3.SecondorderlinearhomogeneousODEswithconstantcoefficients
cos cos sin sin

cos or sin (2.3.8)

wheretan / .If isthetime,then and istheangularfrequencyandphase.

Examples: 2 5 0 0.4 9.04 0

4 4 20,ThisisCase3, /2 1, 2 0 0, 0 3
.
Generalsolution: cos 2 sin 3

LetsfindasolutionoftheCauchyproblem 0 0, 0 1
cos 2 2 sin 2
0 cos 0 /2
0 cos 2 sin 1 1/2

1 1
cos 2 sin 2 Exponentialdecay+oscillation
2 2 2

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 24
2.3.SecondorderlinearhomogeneousODEswithconstantcoefficients
Physicalmeaningofroots ofthecharacteristicequationsif isthetime
Argumentsofexponential
andtrigonometricfunctions
Twodistinctcomplexroot
hasnophysicalunits.Then 1 2
and musthaveunitsof ,
time.

(2.3.8) cos 2

Im defines ,periodofoscillation(timebetweentwoneighbormaxima).
Re 1/ defines , time during which the magnitude changes in e times. If > 0, it is
the relaxation time.
Twodistinctrealroots
1

(2.3.5)
If 0, then the solution is a combination of two decays with relaxation times and .

The roots define two time scales of the dynamical process described by the ODE.
If is position, then define two length scales: Wave length and relaxation length or two
relaxation lengths.
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 25
2.4.EulerCauchyequations
The EulerCauchy equation is the secondorder linear homogeneous equation of the form
0 (2.4.1)
where and arearbitraryconstants.
EulerCauchy equation is another example of the linear homogeneous ODE of the secondorder
that can be solved algebraically. Lets try a particular solution in the form . Inserting
such function into (2.4.1) one can obtain:
1 0
Thus,weseethat isasolutiononlyif satisfiesthequadraticequation
1 0
Or
1 0

Rootsofthisequationare

1 1 1 1

2 2 2 2

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov, 26
2.4.EulerCauchyequations(optional)
Threecasesarepossible
Case 1: , Two distinct real roots,
Partial solutions take the form and . The general solution takes the
form
(2.4.2)

Case2: ,Doublerealroot /
Onepartialsolutionis .Anotherlinearlyindependentparticularsolutioncanbe
foundfromLiouville theorem:
/
ln

Thenthegeneralsolutiontakestheform
ln ln (2.4.3)

Case 3: , Two distinct complex roots


1 1

2 2

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 27
2.4.EulerCauchyequations(optional)
The general solution takes the form


cos ln sin ln cos ln sin ln
This equation gives realvalued solution only if and are complex numbers as well. Lets
reduce the general solution to the form, containing only real numbers:

Ifweintroduce /2, /2,then , .


Thus,thegeneralsolutiontakestheform

cos ln sin ln (2.4.4)

Example 1: Important examples of the EulerCauchy equation are related to the thermal
transport in spherical symmetry. Spherically symmetric steadystate heat transfer equation

0 2 0 Euler Cauchy equation

See example 2 in Section 2.1.

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 28
2.4.EulerCauchyequations(optional)
Example2:TypicalbasisfunctionsfortheEulerCauchyequations.
1. 1.5 0.5 0,Case1,Tworealroots,

2. 0.25 1 0,Case2,Doublerealroot, ln

3. 0.6 16.04 0,Case3,Twocomplexroots,

.
cos 4 ln sin 4 ln

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 29
2.5.SecondorderlinearnonhomogeneousODEs.Methodofundeterminedcoefficients
Our goal is to study the general properties of solutions of the linear nonhomogeneous equations
of the 2nd order
(2.5.1)

Assume that is some particular solution of Eq. (2.5.1). Along with this solution, lets
consider corresponding homogeneous equation
0 (2.5.2)
and let be the general solution of the homogeneous equation.
Theorem: The structure of the general solution of a nonhomogeneous linear ODE
If coefficients , , and in Eq. (2.5.1) are continuous functions in some open interval
, then the general solution of Eq. (2.5.1) has the form
(2.5.3)
The general solution (2.5.3) includes all solutions, i.e. Eq. (2.5.1) has no singular solutions, and
any solution can be represented in the form (2.5.3).

Proof:
Lets first check that the RHS of Eq. (2.5.3) is a solution of (2.5.1). Substituting Eq. (2.5.3) into Eq.
(2.5.1) one can find that equation becomes identity.

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 30
2.5.SecondorderlinearnonhomogeneousODEs.Methodofundeterminedcoefficients
Second, assume that we have some solution of the Cauchy problem for Eq. (2.5.1) with

the initial conditions and . Then is a solution of Eq.
(2.5.2) (can be proved by substitution). From Theorem 4 about the structure of the general
solution of a homogeneous equation, . This solution
satisfies the following initial conditions:




In this linear system, and are unknown. The determinant of the matrix of coefficients is
, , 0 and, thus, this system has a unique solution. We proved that for any and
solution of the nonhomogeneous equation can be represented in the form of Eq. (2.5.3).

Note: The algorithm of solving nonhomogeneous linear ODEs is a consequence of this theorem:
1. Find the general solution of the corresponding homogeneous equation
.
2. Find some (just one) particular solution of nonhomogeneous equation. Then the
general solution is given by Eq. (2.5.3).

There are two general approaches for finding :


1. Method of undetermined coefficients.
2. Lagrange method of variation of parameters.
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 31
2.5.SecondorderlinearnonhomogeneousODEs.Methodofundeterminedcoefficients
Methodofundeterminedcoefficients
Applied to nonhomogeneous equations with constant coefficients
(2.5.4)
Applied if the RHS has a special form that includes functions with "selfsimilar"
derivatives like , , cos , etc.
The particular solution can be found by a trialanderror approach with gradually increasing
complexity of guess functions. These functions contain undetermined coefficients, which
should be determined from the condition that the guess function satisfies the equation.
The method, as described in Kreyszig's textbook, Sect.2.7, pages 8182, is summarized below.

Here , , , arecoefficientsthat
aredeterminednotbytheinitialconditions,
butbytheparametersoftheequationitself.
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 32
2.5.SecondorderlinearnonhomogeneousODEs.Methodofundeterminedcoefficients
Methodofundeterminedcoefficients:Abasicparticularcase
Lets see how this method works for the equation
(2.5.4)
with the RHS in the form
cos sin (2.5.5)
where and are polynomials of degrees and , i.e.
, , ,
Algorithm:
Step 1. Lets solve the characteristic equation for the corresponding homogeneous equation,
0, and find its roots and .
Step 2. Lets introduce the complex number and an integer such that
0 if is not a root of the charcteristic equation
1 if coincides with one distinct root of the char. eq.
2 if coincides with the double root of the char. eq.
Step 3. Lets define max , and look for a particular solution in the form
cos sin (2.5.6)
Step 4. Every polynomial and of degree contains 1 undetermined
coefficients that should be defined by substituting Eq. (2.5.6) into Eq. (2.5.4).
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 33
2.5.SecondorderlinearnonhomogeneousODEs.Methodofundeterminedcoefficients
Example 1: 3 2 .
Step 1. 3 2 0, 2, 1.
Step 2. 1, 0, 1, 0.
Step 3. max 1,0 1, so that we are looking for a particular solution in the form

where and are two undetermined coefficients in the polynomial of degree 1.


Step 4. These coefficients are not arbitrary, but can be found from the condition that is a
solution of the nonhomogeneous equation:

2
After inserting into equation, can be dropped in every term, and the rest gives
2 3 2
In order to obtain identity, the groups of terms at every degree of should be equal to zero:
Ifthechoiceoftheguessfunctionfor
At : 3 2 1, i.e. 1/6. iscorrect,thenthenumberof
linearequationsisequaltothenumber
At : 2 3 3 2 0, i.e. 6 5 , 5/36. ofundeterminedcoefficients , ,etc.

Solution: 5/6 /6, 5/6 /6.


ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 34
2.5.SecondorderlinearnonhomogeneousODEs.Methodofundeterminedcoefficients
Example 2: 4 2 cos 2 .
Step 1. 4 0, 2, 2.
Step 2. 0, 2, 2 , 1.
Step 3. max 0,0 0, so that we are looking for a particular solution in the form
cos 2 sin 2
where and are two undetermined coefficients in the two polynomials of degree 0.
Step 4. These coefficients are not arbitrary, but should be found from the condition that is
a solution of the nonhomogeneous equation:
cos 2 sin 2 2 sin 2 cos 2
4 sin 2 cos 2 4 cos 2 sin 2 4 sin 2 cos 2 4
After substituting into equation, one can obtain
4 sin 2 cos 2 2 cos 2
In order to have identity, the groups of terms at sin 2 and cos 2 should be equal to zero:
At sin 2 : 4 0, i.e. 0.
At cos 2 : 4 2, i.e. 1/2.
Solution: /2 sin 2 , cos 2 /2 sin 2 .
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 35
2.6.SecondorderlinearnonhomogeneousODEs.Methodofvariationofparameters
Lagrangemethodofvariationofparameters
Lets consider the linear nonhomogeneous ODE of the 2nd order is the standard form:
(2.6.1)
and assume that is the general solution of the corresponding
homogeneous equation.
Assumption of the Lagrange method: Lets try to find the general solution of the homogeneous
equation in the same form as for the homogeneous ODE, but assuming now that and are
functions of , i.e.
(2.6.2)
Now we have two unknown functions, and , but after inserting (2.6.2) into (2.6.1) we
can obtained only one condition to which both functions should satisfy. In order to find two
functions, we need two conditions. Let choose the second condition in the form that brings
derivative of (2.6.2) to the same form as in the case of the general solution of the homogeneous
equation. In other words, lets look for and that additionally satisfy the condition
0.
Then


Inserting these derivatives into Eq. (2.6.1), one can find that

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 36
2.6.SecondorderlinearnonhomogeneousODEs.Methodofvariationofparameters
Lagrange method of variation of parameters

Many terms in this equation cancel each other since and are solutions of the
homogeneous equation.
Now we see that and should be found as solutions of two differential equations
0.

which can be rewritten in the vector form as
0
, , ,

The determinant of the matrix of coefficients is the Wronskian of two linearly independent
solutions, so that , , 0, inverse matrix exists, and the linear system has a
unique solution (for any from an interval, where and are linearly independent
solutions):
1 1
.

We see that equations for and are separated:
,
RHSs in these equations are known functions of , so that these equations can be easily solved:
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 37
2.6.SecondorderlinearnonhomogeneousODEs.Methodofvariationofparameters
Lagrange method of variation of parameters

, (2.6.3)

Substituting Eq. (2.6.3) into (2.6.2), one can write the solution of the nonhomogeneous
equation in the form

(2.6.4)

i.e. the Lagrange method allows us to find the general solution of the nonhomogeneous
equation or to represent the solution in the form given by Eq. (2.5.3) and find a particular
solution of the nonhomogeneous equation in the form

(2.6.5)

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 38
2.6.SecondorderlinearnonhomogeneousODEs.Methodofvariationofparameters
Example: 2 / 1 : The method of undetermined coefficients can not be
used.

Step 1. We need to find two linearly independent solutions of the corresponding homogeneous
equation: 2 1 0, 1, , .
Step 2. We need to calculate the Wronskian:

Step 3. We can directly apply Eqs. (2.6.3):


1 1 ln 1

1 2 1 2

arctan
1 1

Step 4: The general solution of the nonhomogeneous equation is given by Eq. (2.6.4), i.e.
ln 1
arctan
2

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 39
2.7.Freeoscillationsinmechanicalsystems
Mechanicalmassspringsystem Newtonssecondlawofmotion:

1.Elasticrestoringforce(Hookslaw):

isthespringconstant (springstiffness)

2.Damping(friction)force:

: Displacement
3.Input(driving)externalforce

Undamped oscillation: 0
Dampedoscillation: 0
Freeoscillation: 0
Forcedoscillation: 0
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 40
2.7.Freeoscillationsinmechanicalsystems
I.Undamped freeoscillation
0

cos sin cos

Thistypeofmotioniscalledharmonicoscillation:

,Magnitude(m)
,Naturalangularfrequency
/ 2 ,Naturalfrequency(Hz)
1/ ,Periodofoscillation(s)
,Phase
The initial conditions, 0 and 0 , allow one to determine unique and ,
while frequency of oscillation is determined by the properties of the system and does not
depend on the initial conditions.
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 41
2.7.Freeoscillationsinmechanicalsystems
II.Dampedfreeoscillations
0

2
0, ,

CaseII.1: ,Overdamping: CaseII.2: ,Criticaldamping:


ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 42
2.7.Freeoscillationsinmechanicalsystems
CaseII.3: ,Underdamping

cos

Note 1: Frequency of damped oscillation does not coincide with the natural frequency of the
system.

Note 2: In all three cases, since 0, 0 when . In the damped system, after a
sufficiently long time, the free oscillating mass will be at rest at its static equilibrium position.

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 43
2.8.Forcedoscillationsandresonanceinmechanicalsystems
Mechanicalmassspringsystem Newtonssecondlawofmotion:

1.Elasticrestoringforce(Hookslaw):

isthespringconstant (springstiffness)

2.Damping(friction)force:

: Displacement
3.Input(driving)externalforce

III.Forcedoscillation
Weconsideronlyaharmonicdrivingforce, cos , istheinputangularfrequency
cos (2.8.1)

Lets use the method of undetermined coefficients in order to find a particular solution of
this nonhomogeneous linear ODE.
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 44
2.8.Forcedoscillationsandresonanceinmechanicalsystems
Let'sconsiderthecasewhen
Accordingtoourbasicparticularcaseofthemethodofundeterminedcoefficients,
cos sin (2.8.2)

where and aretwocoefficientthatshouldbedefinedfromtheODE.Since


sin cos , cos sin

Substituting intotheODE,onecanobtain:
sin cos cos

Inordertoobtainidentity,coefficientsatcos andsin shouldbeequaltozero:

Atcos :
:Twoequationswithrespectto and
Atsin : 0

If ,thenthesolutionoftheseequationsis

, (2.8.3)

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 45
2.8.Forcedoscillationsandresonanceinmechanicalsystems
CaseIII.1: , Undamped forcedoscillations
, 0

cos cos (2.8.4)


Undamped forced oscillation is a superposition of two harmonic oscillations with different
frequencies.
Inthefirstterm,themagnitude isdeterminedbytheinitialconditions.
In the second term, the magnitude does not depend on the initial conditions and can be
made arbitrarily large if .
Excitation of largemagnitude oscillations by matching input and natural frequencies is called
the resonance. In the case of resonance, , and Eqs. (2.8.2)(2.8.4) are no longer valid.
According to our basic particular case, if , then 1 and we should look for a particular
solution of the nonhomogeneous ODE in the form
cos sin
and then
cos sin sin cos
2 sin cos
Coefficients and should turn the equation
2 sin cos / cos
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 46
2.8.Forcedoscillationsandresonanceinmechanicalsystems
into identity. It is possible only if 0 and / 2 . Then the particular solution of the
nonhomogeneous ODE at resonance has the form

sin
2
This result shows that the magnitude of forced oscillation at resonance linearly increases with
time.
If | | , but , then this type of motion is called beats. The general solution
takes the form
cos cos

For the sake of simplicity, lets consider the only case when initial conditions correspond to
/ and 0. Then
cos cos
Now lets show that this solution corresponds to a product of two oscillations with very
different frequencies. For this purpose we can use the following property of trigonometric
functions:
cos cos cos cos sin sin cos cos sin sin 2 sin sin

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 47
2.8.Forcedoscillationsandresonanceinmechanicalsystems

Now, if we introduce /2 and /2 (and, thus, ,


, we can rewrite the solution in the form
2 2
sin sin sin sin
2 2

In the case of beats, / / ~2 / .

ResonanceBeats

| | ,but

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 48
2.8.Forcedoscillationsandresonanceinmechanicalsystems
Resonance and beats are general phenomena specific for numerous oscillating systems.
Sometimes resonance is useful, e.g. the resonant amplification is used for registering signals
of small magnitudes (radio).
In engineering applications, resonance and beats are often dangerous phenomena that result
in reduced durability and/or catastrophic failures of engineering designs.
TacomaNarrowsbridgecollapse(http://en.wikipedia.org/wiki/Tacoma_Narrows_Bridges)
Opening day, July 1, 1940 Collapse, November 7, 1940

In order to avoid resonance and beats, the oscillating systems should be designed providing
large difference between natural frequency(s) of the system and input frequencies of various
external forces.
ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 49
2.8.Forcedoscillationsandresonanceinmechanicalsystems
CaseIII.2: , Dampedforcedoscillation

In the case of damped oscillation, 0 when , so that



i.e., after a sufficiently long time, the solution approaches a steadystate solution given only
by the particular solution of the nonhomogeneous equation.
In the steadystate, the magnitude of oscillation remains constant, but it can be very large if is
close to natural frequency . The case when provides maximum magnitude at given is
called the practical resonance.
The maximum magnitude of oscillation at practical resonance occurs if the input frequency is
close but does not coincide with the natural frequency. Lets find the input frequency
which corresponds to the maximum magnitude of oscillation. For this purpose, lets rewrite
solution (2.8.2) in the form
cos
where the magnitude and phase lag are equal to (here we use Eq. (2.8.3))

, tan

Now lets look for a maximum of . It is achieved when / 0.


ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 50
2.8.Forcedoscillationsandresonanceinmechanicalsystems
4 2
, (2.8.5)
2

We see that / 0 at , where 0 should turn the numerator in the RHS


of Eq. (2.8.5) to zero:
4 2 0

2
The maximum magnitude at practical resonance is equal to
2

4
Value / is called the amplification ( / is the amplification at practical resonance).
AmplificationPhaselag

1
1 2

1
2

ME501,MechanicalEngineeringAnalysis,AlexeyVolkov 51

You might also like