We limit ourselves to the 2-D Poisson equation
![]() |
|||
Take an arbitrary
domain and grid using
spacing in BOTH
and
direction. The domain grid is
. Gridding
will aligned parallel to the
coordinate system. The grid is
depicted in Figure 32
|
computational cell, molecule, or stencil
Of course
is comprised of interior, boundary,
and near-boundary points. (161) approximates
on
the interior points. No finite difference approximation is needed for
the boundary points. The remaining points, the near boundary points
require a special approach since the computational stencil in
(161) is not universally applicable. We'll defer discussion
of the near-boundary point issue till later.
Suppose all values of
are either members of the set of interior or boundary points.
Boundary values are known.
Interior points are unknown and each is a linear combination
defined by (161), i.e. by its nearest neighbors:
(161) can be written as the linear algebraic system of equations
So we ask some basic questions about the resulting linear algebraic system:
Take
and arrange it into a 1-D vector of size
,
say. Note that construction of (162) is not uniquely
structured: there are
ways to arrange it.
Lemma
The matrix
in (161) is symmetric and the set of its
eigenvalues is
Let
so that
and
where
and
. Finally,
set
so that the lexicographic label
is consistent with
the position label
. Then, at each node the equations are:
Eigenvalues (general case): eigenvalues of
are independent of how
is formed
symmetric perturbations conserve
eigenvalues.
The eigenvalues problem, in terms of the original values, is
Given
we have
eigenfunctions
Why this form? Check PDE references on harmonic functions and their
connection to the equation
.
Substituting
into (163) and exploiting identity
we obtain
Corollary: The matrix
is negative definite and, a fortiori,
nonsingular.
Proof: Already established that
is symmetric. Previous
lemma showed that eigenvalues are negative and distinct
nonsingular.
(Recall that all eigenvalues of a symmetric matrix are real, all
eigenvalues of a skew-symmetric matrix are purely imaginary, all
eigenvalues of a general real matrix are either real or form
complex-conjugate pairs. Also, if all eigenvalues of symmetric matrix
matrix is positive definite. If all eigenvalues of
symmetric matrix
matrix is negative definite.)
Remarks:
for
![]() |
|||
![]() |
Theorem (Approximation error):
or
Proof: Homework exercise (hint: since
is symmetric, the
norm = spectral radius).
Near-Boundary Points:
Previous analysis works on rectangular domains,
- shaped domains,
etc, provided ratios of all sides are rational numbers. In general,
however, we expect near-boundary points in which the
-point formula
cannot be implemented. Without loss of generality
suppose we seek
approximation at
point
in Figure 34
Let's ignore
-dependence for now. Given some
, approximate
at
as linear combination of the values of
at
. Expanding
about
in Taylor series,
![]() | |||
![]() |
![]() | |||
![]() |
Note: if
, we get 5-point formula and
is an internal
point, as it should be.
A similar treatment applies in the
-direction
note that
should be small for
to be small.