Docsity

Advanced Numerical Methods for PDEs - Problem Set 1 | MATH 652, Assignments of Mathematics

Toggle sidebar
bg1
Department of Mathematics Colorado State University
Math652 Assignment 1
Due Friday, Feb 6, 2009.
1. The 5-point difference approximation to the Laplacian ∆ may be written in geometrical form
(called a stencil) as
1
h2
0 1 0
1−4 1
0 1 0
.
Show that a 9-point difference approximation of the form
1
h2
α β α
β γ β
α β α
approximates ∆ to no better than O(h2), no matter how we choose α, β and γ.
2. The Shortly-Weller approximation to ∆u(x, y) is given by
∆hu(x, y) = 2
h21
α+ 1u(x+h, y) + 1
α(α+ 1)u(x−αh, y) + 1
β+ 1u(x, y +h)+
1
β(β+ 1)u(x, y −βh)−1
α+1
βu(x, y).
(a) Show that this formula does not give an O(h2) approximation to ∆uif αor βis not equal to
one.
(b) Show that if u∈C3(¯
Ω), then
|∆hu(x, y)−∆u(x, y)| ≤ 2M3h
3, M3= max
¯
Ωmax
∂3u
∂x3
,
∂3u
∂y3

3. L. Collatz proposed a finite difference approximation on domains with curved boundaries. Define
P=(x,y)
1
pf2

Partial preview of the text

Download Advanced Numerical Methods for PDEs - Problem Set 1 | MATH 652 and more Assignments Mathematics in PDF only on Docsity!

Department of Mathematics Colorado State University

Math652 Assignment 1

Due Friday, Feb 6, 2009.

  1. The 5-point difference approximation to the Laplacian ∆ may be written in geometrical form

(called a stencil) as

h^2

Show that a 9-point difference approximation of the form

h^2

α β α

β γ β

α β α

approximates ∆ to no better than O(h

2 ), no matter how we choose α, β and γ.

  1. The Shortly-Weller approximation to ∆u(x, y) is given by

∆hu(x, y) =

h^2

α + 1

u(x + h, y) +

α(α + 1)

u(x − αh, y) +

β + 1

u(x, y + h)+

β(β + 1)

u(x, y − βh) −

α

β

u(x, y)

(a) Show that this formula does not give an O(h

2 ) approximation to ∆u if α or β is not equal to

one.

(b) Show that if u ∈ C

3 ( Ω), then¯

|∆hu(x, y) − ∆u(x, y)| ≤

2 M 3 h

, M 3 = max Ω^ ¯

max

3 u

∂x

3

3 u

∂y

3

  1. L. Collatz proposed a finite difference approximation on domains with curved boundaries. Define

P=(x,y)

Department of Mathematics Colorado State University

uh(P ) as the solution of

−∆huh(P ) = f (P ) ∀P ∈ Ω

0 h,

uh(P ) = g(P ) ∀P ∈ ∂Ωh,

and define uh(P ) for P ∈ Ω

∗ h as the linear interpolation of the values of^ uh^ at two neighbours of^ P^ ,

one in Ω

0 h

and another on ∂Ωh. For example, for the P = (x, y) as illustrated in the figure above,

where (x, y + h) ∈ Ω

0 h,^ (x, y^ −^ αh)^ ∈^ ∂Ωh, we define

uh(P ) =

α

α + 1

uh(x, y + h) +

α + 1

uh(x, y − αh).

Prove that the overall approximation to the Laplacian using this method has an estimate

|u(P ) − uh(P )| ≤ M 2 h

2

M 4 d

2

h

2 ,

where

M 2 = max Ω^ ¯

max

2 u

∂x^2

2 u

∂y^2

and M 4 , d are defined in class. Discuss the pros/cons of this method.