• Tidak ada hasil yang ditemukan

Transition to Advanced Math - LMS-SPADA INDONESIA

N/A
N/A
Protected

Academic year: 2023

Membagikan "Transition to Advanced Math - LMS-SPADA INDONESIA"

Copied!
18
0
0

Teks penuh

(1)

Ordinary Differential Equations

Second Order Linear ODE Abadi

Universitas Negeri Surabaya

(2)

Mechanical & Electrical Vibrations

 Two important areas of application for second order linear equations with constant coefficients are in modeling

mechanical and electrical oscillations.

 We will study the motion of a mass on a spring in detail.

 An understanding of the behavior of this simple system is

the first step in investigation of more complex vibrating

systems.

(3)

Videos

(4)

Spring – Mass System

 Suppose a mass m hangs from vertical spring of

original length l. The mass causes an elongation L of the spring.

 The force FG of gravity pulls mass down. This force has magnitude mg, where g is acceleration due to gravity.

 The force FS of spring stiffness pulls mass up. For small elongations L, this force is proportional to L.

That is, Fs = kL (Hooke’s Law).

 Since mass is in equilibrium, the forces balance each other:

kL

mg

(5)

Spring Model

 We will study motion of mass when it is acted on by an external force (forcing function) or is initially displaced.

 Let u(t) denote the displacement of the mass from its equilibrium position at time t, measured downward.

 Let f be the net force acting on mass. Newton’s 2nd Law:

 In determining f, there are four separate forces to consider:

Weight: w = mg (downward force)

Spring force: Fs = - k(L+ u) (up or down force, see next slide)

Damping force: Fd(t) = -u (t) (up or down, see following slide)

External force: F(t) (up or down force, see text)

) ( )

( t f t u

m  

(6)

Spring Model:

Spring Force Details

 The spring force F

s

acts to restore spring to natural position, and is proportional to L + u. If L + u > 0, then spring is extended and the spring force acts upward. In this case

 If L + u < 0, then spring is compressed a distance of |L + u|, and the spring force acts downward. In this case

 In either case,

 

(7)

Spring Model:

Damping Force Details

 The damping or resistive force Fd acts in opposite direction as motion of mass. Can be complicated to model.

Fd may be due to air resistance, internal energy dissipation due to action of spring, friction between mass and guides, or a mechanical device (dashpot) imparting resistive force to mass.

 We keep it simple and assume Fd is proportional to velocity.

 In particular, we find that

If u > 0, then u is increasing, so mass is moving downward. Thus Fd acts upward and hence Fd = -u, where  > 0.

If u < 0, then u is decreasing, so mass is moving upward. Thus Fd

acts downward and hence Fd = -u ,  > 0.

 In either case,

 

(8)

Spring Model:

Differential Equation

 Taking into account these forces, Newton’s Law becomes:

 Recalling that mg = kL, this equation reduces to

where the constants m, , and k are positive.

 We can prescribe initial conditions also:

 It follows from Theorem 3.2.1 that there is a unique

solution to this initial value problem. Physically, if mass is set in motion with a given initial displacement and velocity, then its position is uniquely determined at all future times.

Second order ordinary

differential equation

( ) ( )( ) ( ( ) ) ( )

) (

t F t

u t

u L k mg

t F t

F t

F mg

t u

m

s d

 

 

) ( )

( )

( )

( t u t ku t F t

u

m      

0 0

, ( 0 )

) 0

( u u v

u   

(9)

Second Order Linear Homogeneous ODE with Constant Coefficients

 A second order ordinary differential equation has the general form

where f is some given function.

 This equation is said to be linear if f is linear in y and y':

Otherwise the equation is said to be nonlinear.

 A second order linear equation often appears as

 If G(t) = 0 for all t, then the equation is called homogeneous.

Otherwise the equation is nonhomogeneous.

) , ,

( t y y f

y   

y t q y

t p t

g

y   ( )  ( )   ( )

) ( )

( )

( )

(t y Q t y R t y G t

P   

(10)

Homogeneous Equations, Initial Values

 The focus of this chapter is thus on homogeneous equations; and in particular, those with constant coefficients:

Initial conditions typically take the form

 Thus solution passes through (t

0

, y

0

), and slope of solution at (t

0

, y

0

) is equal to y

0

'.

 0

 

  b y cy y

a

 

t0 y0, y

 

t0 y0

y    

(11)

Example 1: Infinitely Many Solutions (1 of

3)

Consider the second order linear differential equation

Two solutions of this equation are

Other solutions include

Based on these observations, we see that there are infinitely many solutions of the form

It will be shown in Section 3.2 that all solutions of the

differential equation above can be expressed in this form.

 0

  y y

t

t

y t e

e t

y

1

( )  ,

2

( ) 

t t

t

t y t e y t e e

e t

y3( )  3 , 4( )  5 , 5( )  3 5

t

t

c e

e c t

y ( ) 

1

2

(12)

Example 1: Initial Conditions (2 of 3)

 Now consider the following initial value problem for our equation:

 We have found a general solution of the form

 Using the initial equations,

 Thus

1 ) 0 ( , 3 )

0 ( ,

0   

 y y y

y

t

t

c e

e c t

y ( ) 

1

2

1 ,

1 2 )

0 (

3 )

0 (

2 1

2 1

2

1

  

 

 

c c

c c

y

c c

y

t

t

e

e t

y ( )  2 

(13)

Example 1: Solution Graphs (3 of 3)

 Our initial value problem and solution are

 Graphs of this solution are given below. The graph on the right suggests that both initial conditions are

satisfied.

t

t

e

e t

y y

y y

y    0 , ( 0 )  3 ,  ( 0 )  1  ( )  2 

(14)

Characteristic Equation

 To solve the 2nd order equation with constant coefficients,

we begin by assuming a solution of the form y = ert.

 Substituting this into the differential equation, we obtain

 Simplifying,

and hence

 This last equation is called the characteristic equation of the differential equation.

 We then solve for r by factoring or using quadratic formula.

,

 0

 

  b y cy y

a

2

e

rt

bre

rt

ce

rt

 0 ar

0 )

( ar

2

brce

rt

2

brc  0

ar

(15)

General Solution

 Using the quadratic formula on the characteristic equation

we obtain two solutions, r

1

and r

2

.

 There are three possible results:

 The roots r1, r2 are real and r1r2.

 The roots r1, r2 are real and r1 = r2.

 The roots r1, r2 are complex.

 In this section, we will assume r

1

, r

2

are real and r

1

r

2

.

 In this case, the general solution has the form ,

2

brc  0 ar

t r t

r

c e

e c t

y ( ) 

1 1

2 2

a

ac b

r b

2

2 4

 

(16)

Distinct Roots of Characteristic Equation

 For the initial value problem

we use the general solution

together with the initial conditions to find c

1

and c

2

. That is,

 Since we are assuming r

1

r

2

, it follows that a solution of the form y = e

rt

to the above initial value problem will always exist, for any set of initial conditions.

, )

( ,

) ( ,

0 y t

0

y

0

y t

0

y

0

cy

y b y

a         

0 2 0

1 0

2 0

1

0 2 0

1

2 1

0 1

2 0 2

1

2 0 1 0

0 2

2 1

1

0 2

1 r t

,

r t

t r t

r

t r t

r

r e r

y r

c y r e

r

r y c y

y e

r c e

r c

y e

c e

c

 

 

 

 

 

 

t r t

r

c e

e c t

y ( ) 

1 1

2 2

(17)

Example 2

 Consider the initial value problem

 Assuming exponential soln leads to characteristic equation:

 Factoring yields two solutions, r1 = -4 and r2 = 3

 The general solution has the form

 Using the initial conditions:

 Thus

1 ) 0 ( ,

0 )

0 ( , 0

12    

 

  y y y y

y

4  30

0 12

)

( ter

2

r    rr  

y

rt

t

t

c e

e c t

y ( ) 

1 4

2 3

7 , 1

7 1 1

3 4

0

2 1

2 1

2

1    



c c

c c

c c

t

t e

e t

y 4 3

7 1 7

) 1

(  

(18)

EXERCISE

Consider the initial value problem below, find the solution of IVP

1.

2.

  0 1 ,   0 3

, 0 3

2 y   y   yy  

  0 2 ,   0 3

, 0 6

5      

  y y y y

y

Referensi

Dokumen terkait