Advanced Mathematics for GEOENGINE Module 1, Skripte von Höhere Mathematik

Unvollständige Textvorschau

Nur auf Docsity: Lade Advanced Mathematics for GEOENGINE Module 1 und mehr Skripte als PDF für Höhere Mathematik herunter!

Version 1.

GEOENGINE Module 1

Advanced

Mathematics

Ordinary differential

equations

The chapter covers the

elementary theory of

ordinary differential

equations.

Obviously, both functions y 1

( x ) = sin x and y 2

( x ) = cos x are

solutions of (1.2). Because of

y 1

′′ + y 1

= − sin x + sin x = 0 y ′′

2

  • y 2

= − cos x + cos x = 0.

Now define y = Ay 1

  • By 2

and insert it into the ODE

y ′′ + y = Ay ′′ 1

  • By ′′ 2

  • Ay 1

  • By 2

= A ( y ′′ 1

  • y 1

) + B ( y ′′ 2

  • y 2

= A (−sin x + sin x ) + B (−cos x + cos x )

Consequently, any linear combination of the two solutions is

again a solution.

This is the simplest example of the so-called superposition

principle:

Theorem : For a homogeneous linear ODE

(1.3) y ′′ + py ′ + q y = 0

any linear combination of two solutions on an open interval I is

again a solution of the homogeneous ODE.

Proof:

Let y 1

and y 2

be two solutions of (1.3). Define y = Ay 1

  • By 2

.Then it holds:

y ′′ + py ′ + qy = ( Ay ′′ 1

  • By ′′ 2

) + p ( Ay ′ 1

  • By ′ 2

) + q ( Ay 1

  • By 2

= A ( y ′′ 1

  • py ′ 1

  • qy 1

= 0

  • B ( y ′′ 2

  • py ′ 2

  • qy 2

= 0

Remark: The superposition principle does not hold neither for

non-homogeneous nor for nonlinear ODEs:

The non-homogeneous linear ODE y ′′ + y = 1 has the two

solutions

y 1

= 1 + cos x , y 2

= 1 + sin x

but for their sum holds:

y ′′ + y = y ′′ 1

  • y 1

  • y ′′ 2

  • y 2

= − sin x − cos x + 1 + sin x + 1 + cos x

The homogeneous nonlinear ODE y ′′ y − x y = 0 has the two

solutions

y 1

= 1, y 2

= x

2

But for their sum y = y 1

  • y 2

= 1 + x

2

holds:

y ′′ y − x y ′ = 2 ( 1 + x

2

) − x ( 2 x ) = 2 ≠ 0

Self test

Classify the following ODEs

  1. y

00

  • 25y = e

x

cos x

  1. xy

00

  • y

0

  • xy = 0
  1. y

00

y + (y

0

)

2

= 0

REVIEW 1. 1 Classify

Check Answer

Question 1 of 3

ODE 1

A. linear

B. nonlinear

C. homogeneous

D. non-homogeneous

holds. Hence,

C

2

C

1

tan x

must hold. This leads to x = kπ , k ∈ Z , with the consequence

0 = C

1

cos kπ + C 2

sin kπ = C 1

k

,

which is only possible for C 1

= 0. This is a contradiction to the

assumption that sin x , cos x are linearly dependent and therefore

they are linearly independent.

Consequently the general solution is y = C 1

cos x + C 2

sin x

Step 2: Initial values, particular solution

The constants C 1

, C

2

in the general solution have to be chosen

so, that the initial conditions are fulfilled.

3 = y ( 0 ) = C 1

cos 0 + C 2

sin 0 = C 1

1

2

= y ′( 0 ) = − C 1

sin 0 + C 2

cos 0 = C 2

Step 3: y = C 1

cos x + C 2

sin x = 3 cos x −

sin x

As we have seen before, the essential step is the determination

of two linear independent solution of the homogeneous linear

ODE.

In some cases one solution is known, or can be guessed. The

method of Reduction of order is a systematic tool to construct

the second independent solution.

Motivation

Consider the ODE ( x

2

− x ) y ′′ − x y ′ + y = 0. Obviously, y 1

= x is a

solution, because of

( x

2

− x ) y ′′

1

− x y ′

1

  • y 1

= ( x

2

− x ) ⋅ 0 − x + x = 0.

For the second solution we make the guess y 2

= uy 1

with the

unknown function u. Hence, we have

y ′ 2

= u ′ x + u , y ′′ 2

= u ′′ x + 2 u ′

If we insert this into the ODE, we obtain

0 = ( x

2

− x )( u ′′ + 2 u ′) − x ( u ′ + u ) + u x

= ( x

2

− x )( u ′′ + 2 u ′) − x

2

u ′

= ( x

2

− x ) u ′′ + ( x − 2 ) u ′

This again a second order ODE for the unknown function u. But

in contrast to the original ODE the ODE for the unknown

function u , does not contain the unknown function u itself.

Therefore, by the subtitution v = u ′a first oder ODE for the

auxiliary function v can be generated. This motivates the name

Reduction of order.

The first order ODE for v is

( x

2

− x ) v ′ + ( x − 2 ) v = 0

This first order ODE can be solved by separation of variables:

( x

2

− x )

dv

dx

= ( 2 − x ) v

( x

2

− x )

dv

v

= ( 2 − x ) d x

dv

v

2 − x

x

2 − x

d x

dv

v

1

x − 1

2

x )^

d x

Now, on both sides can be integrated

ln( | v | ) = ln( | x − 1 | ) − 2 ln( | x | ) = ln(

| x − 1 |

x

2

Section 3

Reduction of order

Step 6: Integrate

ln( | v | ) = − 2 ln( | y 1

pd x

Step 7: Compute the exponential

v =

y

2

1

e

− ∫ pdx

Step 8: Compute u by integration of v

u =

y

2

1

e

− ∫ pdx

d x

Step 9: Compute y 2

y 2

= uy 1

y

2

1

e

− ∫ pdx

d x y 1

Motivation

If no solution of the homogeneous ODE is known, both

solutions have to be determined in a jointly process. This is only

possible for some special kinds of homogeneous linear ODEs.

The simplest of these cases is the case of constant coefficients,

ie. the case that

p ( x ) = a , q ( x ) = b

holds. In this case the following guess

(1.8) y = e

λx

with the unknown parameter λ is made. As always, the

derivatives of first and second order are computed

y ′ = λe

λx

, y ′′ = λ

2

e

λx

and inserted into the ODE

0 = y ′′ + ay ′ + b

= λ

2

e

λx

  • aλe

λx

  • be

λx

= e

λx

( λ

2

  • aλ + b )

Since the factor e

λx

is always different from zero the guess

y = e

λx

is a solution of the homogeneous ODE, if and only if the

parameter λ is a root of the characteristic polynomial

(1.9) λ

2

  • aλ + b = 0

A quadratic polynomial can have three different types of roots

  1. Two distinct real roots λ 1

, λ 2

  1. A real double root λ
  2. Two conjugate complex roots λ 1

= u + ıv , λ 2

= u − ıv

Depending on the nature of the roots, the ODE has different

solutions.

Two real roots

Then y 1

= e

λ 1

x

and y 2

= e

λ 2

x

are two linear independent solutions

and the general solution of the homogeneous ODE is

(1.10) y = C 1

e

λ 1

x

  • C 2

e

λ 2

x

Section 4

Homogeneous linear ODE

with constant coefficients

(1.13) y 2

= ( d 1

  • d 2

x ) e

−

a x

2 .

This leads to the general solution

(1.14) y = ( C 1

+ C

2

x ) e

−

− a x

2 .

Example

Consider the initial value problem

y ′′ + y ′ −

y = 0, y ( 0 ) = 3, y ′( 0 ) = −

The characteristic equation is

λ

2

  • λ −

withe the real double root λ = −

. Consequently, the general

solution is

y = ( C 1

+ C

2

x ) e

−

x

2 .

The constants C 1

, C

2

are fixed with the help of the initial

conditions

3 = y ( 0 ) = C 1

7

2

= C

2

1

2

C

1

Hence, the solution of the initial value problem is

y = ( 3 − 2 x ) e

−

x

2 .

Conjugate complex roots

1

a + ı ω , λ

1

a − ı ω , ω = 4 b − a

2

Hence, the general solution is

y = C 1

e

λ 1

x

  • C 2

e

λ 2

x

= C

1

e

−

1

2

ax

e

ıωx

  • C 2

e

−

1

2

ax

e

− ıωx

C 1

  • C 2

2

C 1

− C 2

2 )^

e

−

1

2

ax

e

ıωx

(

C 1

  • C 2

2

C 1

− C 2

2 )^

e

−

1

2

ax

e

− ıωx

C 1

  • C 2

2

e

−

1

2

ax

e

ıωx

  • e

− ıωx

C 1

− C 2

2

e

−

1

2

ax

e

ıωx

− e

− ıωx

= ( C

1

+ C

2

) e

−

a

2

x

cos( ωx ) + ( C 1

− C

2

) ıe

−

a

2

x

sin( ωx )

If now C 1

, C

2

are chosen conjugate complex

C

1

A

  • ı

B

, C

2

A

− ı

B

we arrive at the real solution

(1.16) y = Ae

−

a

2

x

cos( ωx ) − Be

−

a

2

x

sin( ωx ),

which is a harmonic oscillation with an in time exponential

increasing or decreasing amplitude.

Example

Let the following ODE be given

y ′′ +

y ′ +

y = 0 ,

then its characteristic polynomial is

λ

2

λ +

with the conjugate complex roots

λ 1

1

4

  • ı

10

16

1

16

1

4

  • ı

3

4

λ 1

1

4

  • ı

10

16

1

16

1

4

− ı

3

4

This gives the general real solution

y = Ae

−

1

4

x

cos(

x ) + Be

−

1

4

x

sin(

x )

Summary

Case Roots Basis general Solution

I real

II

real double

III

conjugate

complex

1

2

e

1

, e

2

y = C 1

e

1

  • C 2

e

2

a

2

e

ax

2 , xe

ax

(^2) y = (C 1

+ C

2

x)e

ax

2

1

=

a

2

  • ı!

2

=

a

2

ı!

e

ax

2 cos(!x)

e

ax

2 sin(!x)

y = e

ax

(^2) (C 1

cos(!x) + C 2

sin(!x))

Case I:

In this case we have the two independent solutions

(1.21) y 1

= x

λ 1 , y 2

= x

λ 2

and the general solution is

(1.22) y = C 1

x

λ 1

  • C 2

x

λ 2

Example:

The Euler equation

x

2

y ′′ +

x y ′ −

generates the characteristic polynomial

λ

2

λ −

with the real roots

λ 1

1

4

1

16

8

16

1

2

λ 2

1

4

1

16

8

16

which leads to the general solution

y = C 1

x +

C

2

x

Case II:

The condition

( 1 − a )

2

− b = 0 helps to express b by a :

b =

( 1 − a )

2

.

Therefore, the characteristic polynomial simplifies to

0 = λ

2

  • ( a − 1 ) λ +

( a − 1 )

2

,

with the real double root λ =

( 1 − a ). This leads to one solution

(1.23) y 1

= x

1 − a

2 .

The second solution can be derived by the method of reduction

of order. We make the guess y 2

= u x

1 − a

2 with the unknown

function u. Differentiation of the guess yields

y ′ 2

= u ′ x

1 − a

2

1 − a

u x

−

1 + a

2

y ′′

2

= u ′′ x

1 − a

2

  • ( 1 − a ) u ′ x

−

1 + a

2 −

( 1 − a

2

)

u x

−

3 + a

2

Inserting this into (1.17) yields

0 = x

2

y ′′ 2

  • a x y ′ 2

1

4

( 1 − a

2

) y 2

= u ′′ x

5 − a

2

  • u ′( 1 − a ) x

−

a − 3

2 − u

1 − a

2

4

x

−

a − 1

2

  • au ′ x

3 − a

2

  • au

a − 1

2

x

−

a + 1

2

1

4

( 1 − a

2

) u x

1 − a

2

= u ′′ x

5 − a

2

  • u ′ a x

3 − a

2

This is equivalent to

u ′′ x + u ′ = 0.

This can be converted into a ODE of first order by the

substitution v = u ′. ˝he first order ODE

v ′ x + v = 0

has the solution

v =

x

Integration gives the unknown function u :

u =

vd x =

x

d x = ln( x ),

which yields the second solution

(1.24) y 2

= ln( x ) x

1 − a

2 .

Summing up the general solution in the case of a real double

root is

(1.25) y = ( C 1

  • c 2

ln( x )) x

1 − a

2 .

Example

The differential equation

x

2

y ′′ + 2 x y ′ +

y = 0

generates then characteristic polynomial

λ

2

  • λ +

with the real double root λ = −

This means the differential equation has the general solution

y = ( C 1

+ C

2

ln( x ))

x

Case III:

In the case

( 1 − a )

2

− b < 0 we have two conjugate complex

roots

Consider the initial value problem

(1.28) y ′′ + p ( x ) y ′ + q ( x ) y = 0

(1.29) y ( x 0

) = K

0

, y ′( x 0

) = K

1

Theorem: If the coefficients p ( x ), q ( x ) are continuous on an open

interval I , than the initial value problem (1.28), (1.29) has a

unique solution.

Definition: Two functions y 1

( x ), y 2

( x ), defined on an open interval

I are called linear dependent on I , if there are two not identically

vanishing real numbers k 1

, k 2

with

(1.30) k 1

y 1

( x ) + k 2

y 2

( x ) = 0, ∀ x ∈ I ,

otherwise the two functions are called linear independent on I.

Theorem: Let the coefficients p ( x ), q ( x ) be continuous on an

open interval I. Then two solutions y 1

, y 2

of(1.28) are linear

dependent, if their Wronskian

(1.31) W ( y 1

, y 2

) := y 1

y ′

2

− y 2

y ′

1

vanishes for some x 0

∈ I.

Furthermore, if W ( y 1

, y 2

)( x 0

) = 0 for some x 0

∈ I , then

W ( y 1

, y 2

)( x ) = 0, ∀ x ∈ I.

Consequently, if there is a x 1

∈ I with W ( y 1

, y 2

)( x 1

) ≠ 0 , then y 1

, y 2

are linear independent.

Proof:

a) Let y 1

, y 2

be linear dependent on I. Then there are two not

identical vanishing real numbers k 1

, k 2

, with

0 = k 1

y 1

  • k 2

y 2

Without any restriction of generality, assume k 1

≠ 0. Hence,

y 1

k 2

k 1

y 2

If this inserted into the Wronskian, we obtain

Section 6

Existence, Uniqueness,

Wronskian

W ( y 1

, y 2

k 2

k 1

y 2

y ′ 2

k 2

k 1

y 2

y ′ 2

b) Assume that for some x 0

∈ I the relation

W ( y 1

, y 2

)( x 0

holds. In this case consider the homogeneous linear equations

[

y 1

( x 0

) y 2

( x 0

y ′ 1

( x 0

) y ′ 2

( x 0

]

[

k 1

k 2

]

Since

det

[

y 1

( x 0

) y 2

( x 0

y ′ 1

( x 0

) y ′ 2

( x 0

]

= W ( y 1

, y 2

)( x 0

holds, there is a nontrivial solution k 1

, k 2

. With this coefficients

define the function

y ( x ) = k 1

y 1

( x ) + k 2

y 2

( x ).

Obviously, y solves (1.28) and fulfils the initial conditions

(1.31) y ( x 0

) = 0, y ′( x 0

But also the trivial solution y 0

( x ) = 0 solves (1.28),(1.31). Since

the solution of an initial value problem is unique

0 = y 0

( x ) = y ( x ) = k 1

y 1

( x ) + k 2

y 2

( x ), ∀ x ∈ I

must hold. Hence, the function y 1

, y 2

are linear dependent.

Theorem: If the coefficients p ( x ), q ( x ) are continuous on an

open interval I , Then there are two linear independent solution

y 1

, y 2

of (1.28).

Proof: Consider the two initial value problems

y ′′

1

  • py ′

1

  • qy 1

= 0, y 1

( x 0

) = 1, y ′

1

( x 0

y ′′ 2

  • py ′ 2

  • qy 2

= 0, y 2

( x 0

) = 0, y ′ 2

( x 0

Due to the existence and the uniqueness theorems the two

solutions y 1

, y 2

exist and are uniquely defined.

Their Wronskian is

W ( y 1

, y 2

)( x 0

) = y 1

( x 0

) y ′

2

( x 0

) − y 2

( x 0

) y ′

1

( x 0

does not vanish. Hence, they are linear independent.

Theorem: If the coefficients p ( x ), q ( x ) are continuous on an

open interval I and if y 1

, y 2

are linear independent solutions of

(1.28). Then for any is an arbitrary solution Y of (1.28) their

are real constants C 1

, C

2

with

Y ( x ) = C 1

y 1

( x ) + C 2

y 2

( x )