Collocation method

From HandWiki
Short description: Mathematical method for approximating solutions to differential and integral equations

In mathematics, a collocation method is a method for the numerical solution of ordinary differential equations, partial differential equations and integral equations. The idea is to choose a finite-dimensional space of candidate solutions (usually polynomials up to a certain degree) and a number of points in the domain (called collocation points), and to select that solution which satisfies the given equation at the collocation points.

Ordinary differential equations

Suppose that the ordinary differential equation

[math]\displaystyle{ y'(t) = f(t,y(t)), \quad y(t_0)=y_0, }[/math]

is to be solved over the interval [math]\displaystyle{ [t_0,t_0+c_k h] }[/math]. Choose [math]\displaystyle{ c_k }[/math] from 0 ≤ c1< c2< ... < cn ≤ 1.

The corresponding (polynomial) collocation method approximates the solution y by the polynomial p of degree n which satisfies the initial condition [math]\displaystyle{ p(t_0) = y_0 }[/math], and the differential equation [math]\displaystyle{ p'(t_k) = f(t_k,p(t_k)) }[/math] at all collocation points [math]\displaystyle{ t_k = t_0 + c_k h }[/math] for [math]\displaystyle{ k = 1, \ldots, n }[/math]. This gives n + 1 conditions, which matches the n + 1 parameters needed to specify a polynomial of degree n.

All these collocation methods are in fact implicit Runge–Kutta methods. The coefficients ck in the Butcher tableau of a Runge–Kutta method are the collocation points. However, not all implicit Runge–Kutta methods are collocation methods. [1]

Example: The trapezoidal rule

Pick, as an example, the two collocation points c1 = 0 and c2 = 1 (so n = 2). The collocation conditions are

[math]\displaystyle{ p(t_0) = y_0, \, }[/math]
[math]\displaystyle{ p'(t_0) = f(t_0, p(t_0)), \, }[/math]
[math]\displaystyle{ p'(t_0+h) = f(t_0+h, p(t_0+h)). \, }[/math]

There are three conditions, so p should be a polynomial of degree 2. Write p in the form

[math]\displaystyle{ p(t) = \alpha (t-t_0)^2 + \beta (t-t_0) + \gamma \, }[/math]

to simplify the computations. Then the collocation conditions can be solved to give the coefficients

[math]\displaystyle{ \begin{align} \alpha &= \frac{1}{2h} \Big( f(t_0+h, p(t_0+h)) - f(t_0, p(t_0)) \Big), \\ \beta &= f(t_0, p(t_0)), \\ \gamma &= y_0. \end{align} }[/math]

The collocation method is now given (implicitly) by

[math]\displaystyle{ y_1 = p(t_0 + h) = y_0 + \frac12h \Big (f(t_0+h, y_1) + f(t_0,y_0) \Big), \, }[/math]

where y1 = p(t0 + h) is the approximate solution at t = t1 = t0 + h.

This method is known as the "trapezoidal rule" for differential equations. Indeed, this method can also be derived by rewriting the differential equation as

[math]\displaystyle{ y(t) = y(t_0) + \int_{t_0}^t f(\tau, y(\tau)) \,\textrm{d}\tau, \, }[/math]

and approximating the integral on the right-hand side by the trapezoidal rule for integrals.

Other examples

The Gauss–Legendre methods use the points of Gauss–Legendre quadrature as collocation points. The Gauss–Legendre method based on s points has order 2s.[2] All Gauss–Legendre methods are A-stable.[3]

In fact, one can show that the order of a collocation method corresponds to the order of the quadrature rule that one would get using the collocation points as weights.

Orthogonal collocation method

In direct collocation method, we are essentially performing variational calculus with the finite-dimensional subspace of piecewise linear functions (as in trapezoidal rule), or cubic functions, or other piecewise polynomial functions. In orthogonal collocation method, we instead use the finite-dimensional subspace spanned by the first N vectors in some orthogonal polynomial basis, such as the Legendre polynomials.

Notes

References