Docsity

Engineering Analysis Lecture Notes (ME 501B) - Sturm-Liouville & Eigenfunction Expansions, Slides of Engineering Analysis

Toggle sidebar
bg1
Introduction/Eigenfunction Expansions January 21, 2009
ME 501B – Engineering Analysis 1
Course Introduction and
Course Introduction and
Eigenfunction Expansions
Eigenfunction Expansions
Larry Caretto
Mechanical Engineering 501B
Seminar in Engineering
Seminar in Engineering
Analysis
Analysis
January 21, 2009
2
Overview
• Course outline, schedule, grading,
exams, homework, office hours, etc.
• Problems considered
• Eigenfunction expansions
– Why do we care about this?
– Sturm-Liouville problem
– Complete orthogonal eigenfunctions
– Examples of eigenfunction expansions
• Sines and cosines
• Bessel functions
• Other eigenfunctions
3
Course Structure
• ME 501AB is a one-year course in
engineering and numerical analysis
– Review 501A topics when required
• Look at solving problems once they are
formulated
• Two overall goals
– Understand advanced mathematical and
computational approaches encountered in
your work and future course work
– Develop the ability to apply appropriate
problem-solving skills
4
Course Materials
• Web site:
http://www.csun.edu/~lcaretto/me501b
• Lecture presentations supplemented (in
some cases) by course notes
• Reading assignments in text should be
done prior to class
• Download notes prior to class
• Homework assignments and solutions
• What’s new section on home page for
recent additions
5
Instructor and Course Data
• [email protected] 818.677.6448
• Extensive email availability
• Office JD 3333, office hours MW 5 – 6
pm and TTh 2 – 3 pm other times by
drop in, phone call, or appointment
• Texts: Kreyszig, Advanced Engineering
Mathematics, and Hoffman, Numerical
Methods for Engineers and Scientists
• Grading based on homework (10%), 2
midterms (50%) and a final (40%)
• See grading criteria in outline 6
Course Objectives
• Understand and be able to apply
analytical and numerical solutions of
partial differential equations
• Read publications of applied
engineering analysis and numerical
analysis that involve ordinary and
partial differential equations
– Related topics include matrix operations
and special functions such as Bessel
functions
pf3
pf4
pf5
pf8

Partial preview of the text

Download Engineering Analysis Lecture Notes (ME 501B) - Sturm-Liouville & Eigenfunction Expansions and more Slides Engineering Analysis in PDF only on Docsity!

Course Introduction andCourse Introduction and

Eigenfunction ExpansionsEigenfunction Expansions

Larry Caretto

Mechanical Engineering 501B

Seminar in EngineeringSeminar in Engineering

AnalysisAnalysis

January 21, 2009

2

Overview

  • Course outline, schedule, grading,

exams, homework, office hours, etc.

  • Problems considered
  • Eigenfunction expansions
    • Why do we care about this?
    • Sturm-Liouville problem
    • Complete orthogonal eigenfunctions
    • Examples of eigenfunction expansions
      • Sines and cosines
      • Bessel functions
      • Other eigenfunctions

3

Course Structure

  • ME 501AB is a one-year course in

engineering and numerical analysis

  • Review 501A topics when required
  • Look at solving problems once they are

formulated

  • Two overall goals
    • Understand advanced mathematical and

computational approaches encountered in

your work and future course work

  • Develop the ability to apply appropriate

problem-solving skills

4

Course Materials

  • Web site:

http://www.csun.edu/~lcaretto/me501b

  • Lecture presentations supplemented (in

some cases) by course notes

  • Reading assignments in text should be

done prior to class

  • Download notes prior to class
  • Homework assignments and solutions
  • What’s new section on home page for

recent additions

5

Instructor and Course Data

  • [email protected] 818.677.
  • Extensive email availability
  • Office JD 3333, office hours MW 5 – 6

pm and TTh 2 – 3 pm other times by

drop in, phone call, or appointment

  • Texts: Kreyszig, Advanced Engineering

Mathematics , and Hoffman, Numerical

Methods for Engineers and Scientists

  • Grading based on homework (10%), 2

midterms (50%) and a final (40%)

  • See grading criteria in outline 6

Course Objectives

  • Understand and be able to apply

analytical and numerical solutions of

partial differential equations

  • Read publications of applied

engineering analysis and numerical

analysis that involve ordinary and

partial differential equations

  • Related topics include matrix operations

and special functions such as Bessel

functions

7

Course objectives II

  • Be familiar with algorithms and software

packages for differential equations and

understand their limitations

  • Solve engineering problems using

differential equations and understand

when numerical solutions are required

  • Understand differences between

parabolic, hyperbolic and elliptic

equations in both analytical and

numerical approaches

8

Course objectives III

  • Understand methods used in numerical

analysis and be able to apply them in

simple cases

  • Finite difference approaches are simplest
  • Finite element approaches are used for

complex geometries

  • Both convert differential equations to a

system of algebraic equations that is

solved using numerical approaches

You cannot

teach people

anything; you

can only help

them find it within

themselves.

Galileo Galilei

http://space.about.com/od/astronomyhistory/a/galileoquotes.htm

9 1010

Goals for this Course

  • My goal is to help all students find within

themselves sufficient knowledge of

engineering analysis so that they will all

get an A grade in the course

  • What is your goal for this course?
  • What will you do to achieve that goal?

1111

How to get your A

  • Spend six to ten hours per week outside

class studying for the course

  • Prepare for lecture and be ready to ask

questions

  • Read the assigned reading before class
  • Download, print, and review the lecture

presentations before class

  • Use these as notes so that you can follow the

lecture; write additional notes on these

presentations

1212

How to Get your A, Part II

  • Study with fellow students and try to

answer each other’s questions

  • Do the homework assignments
  • Contact me by email, telephone or

office visits to ask questions

  • Develop a good working relation with

other members the class

  • Participate in class discussions

19

Vector Spaces

  • Abstract concept that generalizes usual

vectors from mechanics

  • Define linear independence
  • Basis is a “complete set” of linearly

independent “vectors” which can be

used to express any vector in the space

  • Vector dot product, a·b , generalized to

inner product ( a , b )

  • a and b orthogonal if ( a , b ) = 0
  • For functions, (f,g) = ∫fgdx

20

Orthogonal Functions

  • Functions such as sin(nπx/L) form a

vector space in the region 0 ≤ x ≤ L.

  • The inner product, defined below,

shows that this is a set of orthogonal

functions

n m

L n m

dx

L

mx

L

nx

f f nm

L

n m nm

( , ) sin sin

0

  • The set of functions at

the right is orthonormal

L

nx

L

g n

π

sin

21

The Sturm-Liouville Problem

  • Why do we care about this problem?
    • Solution of partial differential equations (PDE)

based on separation of variables

  • Obtain solutions to PDEs as product of

ordinary differential equation (ODE) solutions

  • Want to obtain solution for general initial or

boundary conditions, e.g. u(x,t=0) = f(x)

  • Will show that general solution to PDE has

the form u(x,t) = Σn Cn g n (t)w n (x) so that initial

condition is f(x) = Σn Cn g n (0)w n (x)

  • Need to have functions w (^) n (x) that allow us to

express this initial condition easily

22

The Sturm-Liouville Problem II

  • Solutions are easily used to obtain initial

or boundary conditions in PDE solutions

  • Solutions to SL provide complete set of

orthogonal eigenfunctions than can be

used to represent any other function

  • Defined for a ≤ x ≤ b
  • p(x), q(x) and r(x) continuous
  • p(x) > 0

( ) ⎟+ [ ( )+ ( )] = 0

⎠

⎞ ⎜ ⎝

⎛ qx px y

dx

dy rx

dx

d λ

Homogenous

ODE

23

The Sturm-Liouville Problem III

  • Boundary conditions

at x = a and x = b

  • At least one of k 1

or k 2

must be nonzero

  • Similar requirement

for ℓ 1

and ℓ 2

( ) 0

( ) 0

1 2

1 2

  • =

  • =

=

=

x b

xa

dx

dy yb

dx

dy kya k

l l

  • Periodic boundary conditions y(a) = y(b)

can replace those above

  • If r(a) = 0 or r(b) = 0 only require y to be

finite at boundary points where r = 0

24

Eigenvalue Problems

  • Trivial solution to the Sturm-Liouville

problem is y = 0

  • Nontrivial solutions only hold for certain

values of λ known as eigenvalues

  • Matrix eigenvalues Ax = λ x
  • Function eigenvalues defined in terms

of a linear operator L: Lf = λf

  • λ is eigenvalue of operator L
  • f is eigenfunction of operator L
  • General eigenvalue: Lf = λpf

25

Sturm-Liouville Eigenvalues

  • Boundary condition is part of definition
  • Note that y = 0 is solution
  • Start example below to show boundary

conditions restrict λ to certain values

  • p(x) = r(x) = 1 and q(x) = 0
  • Region defined as 0 ≤ x ≤ 1 (a = 0, b = 1)
  • Differential equation: d 2 y/dx^2 +λy = 0
  • Boundary conditions y(0) = y(1) = 0

qx y px y

dx

d rx

dx

d

Ly ( ) ( ) =−λ ( ) ⎥

⎦

⎤

⎢

⎣

⎡

⎟+

⎠

⎞

⎜

⎝

⎛

26

Sturm-Liouville Example

  • d

2 y/dx

2 +λy = 0 with y(0) = y(1) = 0

  • General solution is y = A sin(λ

1/

x) +

B cos(λ

1/

x)

  • For y(0) = 0 we must have B = 0
  • For y(1) = 0 we must have λ

1/

= nπ

  • n is an integer ≥ 1
  • A = 0 or n = 0 give trivial solution that y = 0
  • We call λ

1/ = nπ the eigenvalue and

sin(λ

1/ x) = sin(nπx) the eigenfunction

  • Infinite set of eigens for n = 1, 2, …

27

Self-Adjoint Operators

  • The Sturm-Liouville operator belongs to a

class of operators known as Hermitian or

self-adjoint operators: (Lx,y) = (x,Ly)

  • Define a Hermitian matrix: H = ( H *)

T

  • For real-values matrices, H = H

T

  • Column vector dot product is x

T y

  • Inner product notation: ( x , y ) = x T y
  • Can show that ( Hx , y ) = ( x , Hy )
  • Self-adjoint is general kind of operator

that includes matrix multiplication

28

Self-adjoint Operator Results

  • Eigenvalues are real
  • Eigenfunctions form an orthogonal set

over problem region a ≤ x ≤ b

  • Eigenfunctions form a complete set if the

vector space has a finite number of

dimensions as in an n x n matrix

  • Sturm-Liouville operator has a complete

set of (orthogonal) eigenfunctions over

an infinite-dimensional vector space

  • Can expand any function in terms of

solutions to a Sturm-Liouville problem

29

Orthogonal Eigenfunctions

  • Defined in terms of inner product
  • Norm of two like eigenfunctions ||y i

||

( ) (^) i ij

b

a

yi yj yi xyj xpxdx y δ

  • 2

( ) (^) ij

b

a

fi , fj= ∫ fi(x)fj(x)p(x)dx= δ

  • Convert orthogonal eigenfunctions to

orthonormal eigenfunctions

  • Orthonormal eigenfunctions have unit norm

1 / 2

( ) ( ) ( ) ⎥

⎦

⎤

⎢

⎣

⎡

= =

∫

b

a

i i

i

i

i i

y xy xpxdx

y

y

y f

30

Eigenfunction Expansions

  • Sturm-Liouville solutions are complete

sets of orthogonal eigenfunctions

  • Can expand any function in terms of

these eigenfunctions

  • Valid region is a ≤ x ≤ b defined for the

original problem

  • Problem is finding a m

in expansion for

an arbitrary function, f(x)

∑

∞

=

=

0

( ) ()

m

f x am ym x

Can start at

m = 0 or m = 1

37

Partial Sums – Small Terms

0

0.

0.

0.

0.

0.

0.

0.

0.

0.

1

1.

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 x

Series sum

Exact 1 term 2 terms 3 terms 5 terms 10 terms

38

Partial Sums – Large Terms

0

0.

0.

0.

0.

0.

0.

0.

0.

0.

1

1.

1.

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 x

Series sums

Exact 10 terms 25 terms 50 terms 100 terms

39

What kind of fit is this?

  • Eigenfunction expansions

have “mean convergence”

||f k – f|| → 0 as k → ∞ ∑

=

k

m

k m m

f a y

0

f f a y fx px dx

b

a

k

m

k m m

( ) ( )

2

0

∫ ∑^

⎟

⎠

⎞ ⎜

⎝

⎛ − = −

=

  • Bessel’s

inequality

  • Parseval’s

equality

a f ( f x) pxdx

b

a

k

m

m

(^22)

0

2

=

a f ( f x) pxdx

b

m a

m (^ ) ()

(^22)

0

2

∞

= (^40)

Sturm-Liouville Problems

  • Geometries, coordinates, solutions
    • Rectangular, any, sines and cosines
    • Cylindrical, radial, Bessel functions
    • Spherical, radial, sin(λr)/r and cos(λr)/r
    • Spherical, azimuth angle, Legendre

polynomials

  • Spherical, both angles, spherical harmonic

functions

  • Eigenfunction solutions differ with

different boundary conditions

41

Sines and Cosines

π π = = =

π = λ + λ = = =

+λ = ≤ ≤ = = =

L

n m mn

L

dx L

mx

L

nx Fory yL y y

L

nx y A x B x Fory yL y A

y a x b r q p dx

dy

0

2 2

2

( 0 ) () 0 : ( , ) sin sin

sin cos ( 0 ) () 0 : sin

= δ

π π = = =

π = λ + λ = = =

+λ = ≤ ≤ = = =

L

n m mn

L

dx L

mx

L

nx Fory yL y y

L

nx y A x B x Fory yL y A

y a x b r q p dx

dy

0

2 2

2

'( 0 ) () 0 : ( , ) cos cos

sin cos '( 0 ) () 0 : cos

= L if m = n = 0 42

Eigenfunction Expansions

  • Sine/cosine with

y(0) = y(L) = 0

( m m)

m m y y

y f a

,

( , )

∞

=

0

m

fx am ymx

L

m dx

L

mx

f x

L

a

0

()sin

L

L

m

dx m

L

mx

fx

L

fxdx m

L

a

0

0

()cos 0

  • Sine/cosine with

y’(0) = y(L) = 0

43

Bessel Functions J

n

and Y

n

( ) ( )

∫

= δ ⎟

⎛ α

⎟

⎛ α = =

⎛ α = λ + λ = =

ν ⎥ = ≤ ≤ = =− ⎦

+− +λ

R

q pq

qn n

pn p q n

pn n n p n

y R

x J R

x ForyR y y xJ

R

x y AJ x BY x ForyR y AJ

ra r NoBCbutyisfiniteatx

p x x

xy x R r x q x

n

dx

dy x dx

d

0

2

2 2

2

  • n is an integer problem parameter
  • J (^) n (αmn ) = 0 for m = 1, 2, …, ∞ so αmn are

called the zeros of the Bessel function Jn

44

More Eigenfunction Expansions

  • Bessel function with y(R)

= 0 and arbitrary value n

for parameter

( m m)

m m y y

y f a

,

( , )

∑

∞

=

0

m

fx am ymx

  • Bessel function with

y(R) = 0 and n = 0 for

parameter ⎟

⎛ α

⎛ α

∫

R

x J

R

dx R

x xfxJ

a

q

R q

q 0 1

2

0

0 0

∫

∫

⎛ α

⎛ α

R qn n

R qn n

q

dx R

x xJ

dx R

x xfxJ

a

0

2

0

45

Sphere Radial Coordinate x

( )

o i

n

n i n

i o

i o

R R

n

x

x R y

ConsiderBCyR yR x

x B x

x y A

xy R x R r x q p x dx

dy x dx

d

π λ =

λ −

λ

λ

+λ = ≤ ≤ = = =

sin

sin cos

2 22 2 2

( )

o

i

R

R o i

i

o i

i

n m dx

R R

m x R

R R x

n x R

x

y y x

sin

sin

2

( ) (^) ∫

o

i

R

R

o i mn o i

i n m mn n mn

R R

dx

R R

n x R

x

y y y x

sin

2

(^22)

46

More Eigenfunction Expansions

m m

m m y y

y f a ,

( , ) ∑ =

∞

=

0

m

fx am ymx

( )

( )

( )

( )

( )

( )

o

i

o

i

o

i

R

R o i

i

o i

R

R o i

i

R

R o i

i

n

dx

R R

n x R

x

xf x

R R

dx

R R

n x R

x

x

dx

R R

n x R

x

xf x

a

sin

sin

sin

2

2

2

2

  • Spherical shell y(R i

) = y(R o

) = 0

47

Sphere Azimuth Angle, φ

  • Based on transformation that x = cos φ
    • 0 ≤ φ ≤ π becomes 1 ≥ x ≥ -

( )

( )

( ) ( )

( )

( ) ∫

∑

−

=

−

δ = =

λ= + − = = =±

1

1

int(/ 2 )

0

2

2 2

n

y y P xP xdx

Legendrepolynomials nn m n m

n mx y P x

nn r r onlyrequireyfiniteatx

nn y x r x q p dx

dy x dx

d

mn n m n m

n

m

n

m n m

n n

[ ]

∫ ∫

∫

∫

− −

−

−

δ = = = =

1

1

1

1

1

1

2

1

1 () () 2 1

2 () ()

()

() ()

,

, fxPxdx n

fxPxdx

Px dx

fxPxdx

y y

y f a (^) n

mn n

n

n

n n

n n

48

Summary

  • Solution to Sturm-Liouville problem is set

of orthogonal eigenfunctions, y m

(x), that

can be used to express any function, f(x)

  • Homogenous equation/boundary conditions
  • Problem/expansion region is a ≤ x ≤ b
  • Weighting function p(x) from SL equation

( )

= =b

a

m m

b

a

m

m m

m m

pxy xy xdx

pxy xf xdx

y y

y f

a

∑

∞

=

0

m

fx am ymx