Member Login
Username:Password:
or Sign up here
Discover

RELAXATION METHOD

In numerical mathematics, the 'relaxation method' is a method for obtaining numerical approximations to the solutions of certain types of elliptic partial differential equations, in particular Laplace's equation and its generalization, Poisson's equation. The function is assumed to be given on the boundary of a shape, and has to be computed on its interior.
This relaxation method should not be confused with the unrelated ''relaxation technique'' in mathematical optimization.

Contents
Sketch
Convergence and acceleration

Sketch


When φ is a smooth real-valued function on the real numbers, its second derivative can be approximated by:
: rac{d^2}{{dx}^2} arphi(x) = h^{-2}left( arphi(x{-}h)-2 arphi(x)+ arphi(x{+}h)
ight),+,mathcal{O}(h^2),.
Using this in both dimensions for a function φ of two arguments at the point (''x'', ''y''), and solving for φ(''x, ''y''), results in:
: arphi(x, y) = frac{1}{4}left( arphi(x{+}h,y)+ arphi(x,y{+}h)+ arphi(x{-}h,y)+ arphi(x,y{-}h)
,-,h^2{
abla}^2 arphi(x,y)
ight),+,mathcal{O}(h^4),.
To approximate the solution of the Poisson equation:
:{
abla}^2 arphi = f,
numerically on a two-dimensional grid with grid spacing ''h'', the relaxation method assigns the given values of function φ to the grid points near the boundary and arbitrary values to the interior grid points, and then repeatedly performs the assignment
φ := φ
★ on the interior points, where φ
★ is defined by:
: arphi^
★ (x, y) = frac{1}{4}left( arphi(x{+}h,y)+ arphi(x,y{+}h)+ arphi(x{-}h,y)+ arphi(x,y{-}h)
,-,h^2f(x,y)
ight),,
until convergence.
The method, sketched here for two dimensions, is readily generalized to other numbers of dimensions.

Convergence and acceleration


While the method always converges, it does so very slowly. To speed up the computation, one can first compute an approximation on a coarser grid – usually the double spacing 2''h'' – and use that solution with interpolated values for the other grid points as the initial assignment. This can then also be done recursively for the coarser computation.

This article provided by Wikipedia. To edit the contents of this article, click here for original source.