Residual-Based Discretization Methods
General Framework
Many numerical methods for solving equations can be described from the viewpoint of the residual. Consider an operator equation
where
To compute an approximate solution, we introduce a finite-dimensional approximation space
and seek an approximate solution
Define the residual
Two general strategies are commonly used to determine
Residual Constraints via Linear Functionals
One approach is to impose
The discrete problem is formulated as
Different numerical methods correspond to different choices of the functionals
Galerkin-Type Methods
If the functionals are defined through inner products with elements of a test space
then
where
The constraints become
This condition enforces the residual to be orthogonal to the test space,
There are two types of Galerkin-Type methods:
-
If
, the method is the Galerkin (Bubnov–Galerkin) method. This formulation is widely used in finite element and spectral Galerkin methods. -
If
, the method is the Petrov–Galerkin method. Many stabilized numerical methods belong to this class, such as streamline upwind Petrov–Galerkin (SUPG) and discontinuous Petrov–Galerkin (DPG).
Collocation Methods
If the residual is a function, the functionals can be chosen as point evaluations,
the constraints become
This approach is known as the collocation method. In spectral methods it is commonly referred to as the pseudospectral method.
Optimization-Based Formulations
Another strategy is to determine
Many numerical methods can be interpreted in this framework, including least-squares formulations and various residual-minimization algorithms.
Assume that
where
This test space has dimension
In certain contexts, such as reduced-order modeling, the resulting Petrov–Galerkin structure is referred to as the Least-Squares Petrov–Galerkin (LSPG) method.
Variational Methods (Ritz Methods)
The methods discussed in the previous section are designed for solving operator equations of the form
and are based on different ways of handling the residual. However, many problems in applied mathematics are not originally formulated as equations but as optimization problems. A typical formulation is
where
Introducing a finite-dimensional approximation space
This approach is known as the Ritz method.
If the Euler–Lagrange equation associated with
which coincides with a Galerkin formulation.
Spectral Methods
In spectral methods the approximate solution is expanded as
The spectral Galerkin method enforces
Alternatively, the collocation method which is commonly referred to as the pseudospectral method, leads to
where the nodes
Finite Element Methods
Consider a general operator equation
defined on a domain
The discrete problem is formulated in weak form: find
where
-
If
, the method is the standard Galerkin finite element method. -
If
, the method falls into the Petrov–Galerkin framework. Such formulations are often used to improve numerical stability or to incorporate additional modeling considerations.
Finite element methods are also classified according to the relation between the discrete space and the underlying function space
-
If
, the method is called a conforming finite element method. In this case the discrete functions satisfy the regularity requirements of the weak formulation. -
If the inclusion does not hold,
, the method is called a nonconforming finite element method. Such methods typically enforce weaker continuity conditions while maintaining consistency.
Remark
In practice, the spaces
Finite Difference Methods
Finite difference methods approximate derivatives by difference quotients on a grid. Let
at grid points. This has a collocation-like form for the discrete operator. It does not generally imply that the original continuous residual
Linear Systems and Krylov Methods
Consider the linear system
Suppose the approximate solution is written as
The residual is defined as
There are two categories:
-
Galerkin-type Krylov methods impose
Examples include conjugate gradient (CG) methods.
-
Alternatively, minimal residual methods solve
which leads to algorithms such as MINRES and GMRES.
Linear Reduced-Order Models
In linear model reduction, a high-dimensional dynamical system
is approximated using a linear low-dimensional subspace
where
-
Galerkin projection. Substituting the approximation into the governing equation yields the time-continuous residual
The Galerkin reduced model is obtained by requiring the residual to be orthogonal to the trial space,
This leads to the reduced dynamical system
-
Least-Squares Petrov–Galerkin (LSPG). Instead of enforcing orthogonality of the time-discrete residual, LSPG minimizes the residual of a time-discrete system. For example, using a backward Euler discretization, the time-discrete residual is
The reduced state is obtained by solving
The corresponding optimality condition leads to a Petrov–Galerkin formulation in which the test space depends on the Jacobian of the residual.