Professional Documents
Culture Documents
Mathematics For Engineers I: Youngwoon Choi, PH.D
Mathematics For Engineers I: Youngwoon Choi, PH.D
Mathematics For Engineers I: Youngwoon Choi, PH.D
Engineers I
Chapter 2
Second-Order ODE*
*ODE: Ordinary Differential Equation
Overview
ODEs can be grouped into
• Nonlinear ODEs → generally difficult to solve
• Linear ODEs → relatively simple to solve
various properties can be characterized
standard methods for many of these equations
simpler solution formulas than those of nonlinear ODEs
y ( 0 ) = c1 = 3.0, y ' ( 0 ) = c2 = −0.5 ( y ' = −c1 sin x + c2 cos x ) y = 3.0 cos x − 0.5sin x
2.1 Homogeneous Linear 2nd order ODEs
⚫ Definition General Solution, Basis, Particular Solution
A general solution of an ODE on an open interval I is a solution y = c1 y1 + c2 y2
in which y1 and y2 are solutions of the equation on I that are not proportional,
and c1, c2 are arbitrary constants. These y1 and y2 are called a basis ( or a
fundamental system ) of solutions of the equation on I. A particular solution
of the equation on I is obtained if we assign specific values to c1 and c2 in
y = c1y1 + c2y2.
• y1 and y2 are called linearly dependent on I if (7) also holds for some constants,
not both zero.
so the answer is
2.1 Homogeneous Linear 2nd order ODEs
⚫ Find a Basis if One Solution Is Known. Reduction of Order
If one solution is found in some way, the 2nd order ODE is reduced to
1st order OED. → reduction of order
y = y2 = uy1 (Substitute) ( y ' = y2 ' = u ' y1 + uy1' , y '' = y2 '' = u '' y1 + 2u ' y1 '+ uy1'' )
2 y1 '+ py1
u '' y1 + u ' ( 2 y1 '+ py1 ) + u ( y1'' + py1' + qy1 ) = 0 u ''+ u ' =0 ( y1 ''+ py1 '+ qy1 = 0 )
y1
y '
U = u ', U ' = u '' U' + 2 1 + p U = 0 (Separation of variables and integration)
y1
dU y ' 1 − pdx
= − 2 1 + p dx & ln U = −2 ln y1 − pdx U= e , y2 = uy1 = y1 Udx
U y1 y12
2.1 Homogeneous Linear 2nd order ODEs
y = y2 = uy1 ( y ' = y2 ' = u ' y1 + uy1' , y '' = y2 '' = u '' y1 + 2u ' y1 '+ uy1'' )
2 y1 '+ py1
u '' y1 + u ' ( 2 y1 '+ py1 ) + u ( y1'' + py1' + qy1 ) = 0 u ''+ u ' =0 ( y1 ''+ py1 '+ qy1 = 0 )
y1
y '
U = u ', U ' = u '' U' + 2 1 + p U = 0 (Separation of variables and integration)
y1
dU y ' 1 − pdx
= − 2 1 + p dx & ln U = −2 ln y1 − pdx U= e , y2 = uy1 = y1 Udx
U y1 y12
2.1 Homogeneous Linear 2nd order ODEs
Ex7) Reduction of Order if a Solution Is Known. Basis
By the substitution
and thus,
2.1 Homogeneous Linear 2nd order ODEs
Ex7) Reduction of Order if a Solution Is Known. Basis
x 1 1 − pdx 1 x1−1dx 1 1
p=− 2 =− U= 2e = 2e = − 2
x −x x −1 y1 x x x
1
y2 = y1 Udx = x ln x + = x ln x + 1
x
2.2 Homogeneous Linear ODEs with
Constant Coefficient
2 + a + b = 0
2.2 Homogeneous Linear ODEs with
Constant Coefficient
The roots of the characteristic equation are
※ reduction of order
1 − pdx
U= e , y2 = uy1 = y1 Udx
y12
Solve the initial value problem y ''+ y '+ 0.25 y = 0, y ( 0 ) = 3.0, y ' ( 0 ) = −3.5
Solve the initial value problem y ''+ 0.4 y '+ 9.04 y = 0, y ( 0) = 0, y ' ( 0) = 3
Step 1 General solution.
2 + 0.4 + 9.04 = 0 ( Characteristic equation ) = −0.2 3i y = e−0.2 x ( A cos3x + B sin 3x )
y ( 0 ) = A = 0, y ' ( 0 ) = −0.2 A + 3B = 3
A = 0, B =1
y = e −0.2 x sin 3 x
2.2 Homogeneous Linear ODEs with
Constant Coefficient
2.4 Modeling: Free Oscillations
• We consider a basic mechanical system, a mass on an elastic spring,
which moves up and down.
⚫ Setting Up the Model ❖ Physical Information
Newton’s second law : Mass Acceleration = Force
Hook’s law: The restoring force is directly proportional to the
distance.
We choose the downward direction as the positive direction.
❖ Modeling
System in static equilibrium
• Damping force : F2=-cy (c: the damping constant), my=F1+F2 ( Newton’s second law )
my + cy + ky = 0
• Overdamping (c 2
4mk )
: y ( t ) = c1e
− ( − ) t − ( + ) t
+ c2e
c c 2 − 4mk
where = , =
2m 2m
• Critical damping
(c 2
= 4mk ) : y ( t ) = ( c1 + c2t ) e − t , =
c
2m
(c 2
)
4mk : y (t ) = e −t ( A cos * t + B sin * t ) = Ce −t cos( * t − )
and
https://www.youtube.com/watch?v=99ZE2RGwqSM
2.5 Euler-Cauchy Equations
⚫ Euler-Cauchy Equations : x2y + axy + by = 0
substitute
Ex1)
2.5 Euler-Cauchy Equations
Ex2)
2.5 Euler-Cauchy Equations
Case 3 Complex conjugate roots m = i y = x A cos ( ln x ) + B sin ( ln x )
Ex3)
(Auxiliary Equation)
2.7 Nonhomogeneous ODEs
⚫ Nonhomogeneous linear ODEs
y + p(x)y + q(x)y = r(x), r(x) 0
y ( x ) = yh ( x ) + y p ( x )
here, yh = c1 y1 + c2 y2 is a general solution of the homogeneous ODE y + p(x)y +
q(x)y = 0 on I and yp is any solution of y + p(x)y + q(x)y = r(x) on I containing no
arbitrary constants.
• The sum of a solution y of y + p(x)y + q(x)y = r(x) on some open interval I and a
solution y of y + p(x)y + q(x)y = 0 on I is a solution of y + p(x)y + q(x)y = r(x) on I.
If the coefficients p(x), q(x), and the function r(x) in y + p(x)y + q(x)y = r(x) are
continuous on some open interval I, then every solution of y + p(x)y + q(x)y = r(x)
on I is obtained by assigning suitable values to the arbitrary constants c1 and c2 in a
general solution y ( x ) = yh ( x ) + y p ( x ) of y + p(x)y + q(x)y = r(x) on I.
2.7 Nonhomogeneous ODEs
⚫ Method of Undetermined Coefficients
⚫ Choice Rules for the Method of Undetermined Coefficients
• Basic Rule. If r(x) in y + ay + by = r(x) is one of the functions in the first column in
Table 2.1, choose yp in the same line and determine its undetermined coefficients by
substituting yp and its derivatives into y + ay + by = r(x).
• Sum Rule. If r(x) is a sum of functions in the first column of Table 2.1, choose for yp
the sum of the functions in the corresponding lines of the second column.
2.7 Nonhomogeneous ODEs
Ke x Ce x
kxn ( n = 0, 1, ) K n x n + K n −1 x n −1 + + K1 x + K 0
k cos x
K cos x + M sin x
k sin x
ke x cos x
e x ( K cos x + M sin x )
ke x sin x
my + cy + ky = 0
force of inertia
damping force
external force
m (0 2 − 2 )
• Use the method of undetermined coefficients
c
y p = a cos t + b sin t , a = F0 , b = F0
m (0 − ) + c
2 2 2 2 2 2
m (0 −
2 2
)
2 2
+ 2c2
m ( 0 2 − 2 ) c k
a = F0 , b = F0 0 =
m 2 ( 0 2 − 2 ) + 2 c 2 m 2 ( 0 2 − 2 ) + 2 c 2
2 2 m
2.8 Modeling: Resonance
⚫ Undamped Forced Oscillations. Resonance
F0 F0
c=0 yp = cos t y = C cos (0t − ) + cos t
m (0 − )
2 2
m (0 − )
2 2
F0
By the modification rule, y p = t sin 0t ( = 0 )
2m0
frequencies is small.
F0 2 F0 0 + 0 −
y= ( cos t − cos t ) = sin t sin t
m (0 2 − 2 ) m (0 2 − 2 ) 2
0
2
❖ After a sufficiently long time the output of a damped vibrating system under a
purely sinusoidal driving force will practically be a harmonic oscillation whose
frequency is that of the input.
1
•Reactance : S = L −
C
E0 E0
• Impedance : R 2 + S 2 = For AC circuit: I 0 =
I0 R2 + S 2
E
Analogy to DC circuit: I =
R
2.9 Modeling: Electric Circuits
• Homogeneous solution: Ih
Characteristic equation:
roots:
steady-state current
2.9 Modeling: Electric Circuits
⚫ Analogy of Electrical and Mechanical Quantities
• Entirely different physical or other systems may have the same mathematical
model.
• Practical importance of this analogy
1. Electric circuits are easy to assemble.
2. Electric quantities can be measured much more quickly and accurately than
mechanical ones.
Inductance L Mass m
y1 y2
※ Wronskian W ( y1 , y2 ) = = y1 y2 '− y2 y1 '
y1 ' y2 '
2.10 Solution by Variation of Parameters
⚫ Method of Variation of Parameter
• p(x), q(x), r(x) in y + p(x)y + q(x)y = r(x) are continuous on some open interval I.
y2 r yr
• Solution formula : y p ( x ) = − y1 dx + y2 1 dx
W W
• The formula is obtained under the assumption that the ODE is written in standard
y2 r yr
• The integration in y p ( x ) = − y1 dx + y2 1 dx may often cause difficulties.
W W
2.10 Solution by Variation of Parameters
y p = − cos x sin x sec xdx + sin x cos x sec xdx = cos x ln cos x + x sin x