

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Due Friday, Feb 6, 2009.
1 h^2
Show that a 9-point difference approximation of the form
1 h^2
α β α β γ β α β α
approximates ∆ to no better than O(h^2 ), no matter how we choose α, β and γ.
Proof. Sketch: Finding the Taylor expansions at eight points (i − 1 , j + 1), (i − 1 , j), (i − 1 , j − 1), (i, j + 1), (i, j − 1), (i + 1, j + 1), (i + 1, j), (i + 1, j − 1) truncated at O(h^5 ). We can then find that the approximation of the Laplacian using the given stencil will have a residual in terms of derivatives ui,jxxxx, ui,jxyyy,... with coefficients given by linear combinations of α, β, γ. We must appropriately choose α, β, γ so the residual would disappear to give us an approximate better than O(h^2 ), which unfortunately is impossible by looking at the requirements on α, β, γ. But it is possible to choose α, β, γ so that the truncation error is of O(h^2 ), which is the best case scenario we can have.
∆hu(x, y) =
h^2
α + 1 u(x^ +^ h, y) +^
α(α + 1) u(x^ −^ αh, y) +^
β + 1 u(x, y^ +^ h)+ 1 β(β + 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 3
, M 3 = max ¯ Ω
max
(^3) u ∂x^3
(^3) u ∂y^3
Proof. 1) Similar to (1). Finding the Taylor expansions at (x + h, y), (x − αh, y), (x, y + h), (x, y − βh) with respect to (x, y). The linear combination in the Shortly-Weller approximation will then produce a leading residual term proportional to h^2 which can eliminated by choosing α = β = 1 only.
Department of Mathematics Colorado State University
P=(x,y)
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^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 48 h
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.
Proof. Let P ∈ Ωh. From the class notes we have following general representation of approximation error at P :
v(P ) = h 2
Q∈Ω^0 h
Gh(P, Q)[−∆hv(Q)] +
Q∈Ω∗ h
Gh(P, Q)[−∆hv(Q)].
Consider the point P = (x, y) ∈ Ω∗ h as illustrated, we have
|v(P )| = |u(x, y) − uh(x, y)| = |u(x, y) − α α + 1
uh(x, y + h) − 1 α + 1
uh(x, y − αh)|
= |u(x, y) −
α α + 1 uh(x, y^ +^ h)^ −^
α + 1 u(x, y^ −^ αh)| ≤ |u(x, y) − α α + 1
u(x, y + h) − 1 α + 1
u(x, y − αh)| + α α + 1
|uh(x, y + h) − uh(x, y + h)|
≤ |u(x, y) − α α + 1
u(x, y + h) − 1 α + 1
u(x, y − αh)| + α α + 1
max P ∈Ω^0 h
|v(P )|