Professional Documents
Culture Documents
com
( )
) ( )
( )
The first stage in the development of the collocation method is to represent (and thereby approximate) the functions ( ) and ( ) using a linear sum of basis functions2. The most simple functional approximations are piecewise constant, piecewise linear or piecewise quadratic3.
For polynomial basis functions, the function ( ) and its approximation are matched at a set of points and the basis functions 1, 2 ,, n are usually chosen so that ( ) and in
( ) ( )
{ this case
where
( )
The piecewise polynomial representation of ( ) is then substituted into the integral equation: ( ) It follows that ( ) ( ( ) ( ) ) ( ) ( )( ( )) ( )
, which are
www.numerical-methods.com
The integral equation can now be written as a linear system of equations, as follows; ( where ( ) ( ) and ( ) )
In most practical examples the are computed by a numerical integration4 method. The set of n equations can then be written concisely using matrices and vectors5 as follows
which can be solved using standard methods for solving linear systems of equations6. The method of collocation is applied to an integral equation in the following example and the solution of the integral equation is implemented on an accompanying Excel spreadsheet7. Example In this example the method of collocation is applied to the following integral equation ( )
( )
( )
for which we are required to find an approximation to ( ) on [0,1]. The analytic solution to the integral equation is ( ) Using the most simple piecewise constant basis functions, the integral equation can be written in discrete form ( )
( )
where
on
By letting take the value of the collocation point ( obtain the following set of equations
( )
for
, we
Numerical Integration or Quadrature Matrix Definitions 6 Solution of Linear Systems of Equations 7 Solution of Fredholm Integral Equations by Collocation.xlsx
4 5
www.numerical-methods.com
The system of equations can now be written more concisely in matrix-vector form, as follows: ( where
and
( )
Let the integrals be computed using a quadrature rule with m points and weights, defined on [-1,1]; and . In order to compute , first the domain of the integral [ ( ) , ] is transformed
onto the standard domain [-1, 1] using the substitution ( Applying the quadrature rule gives ( )
( ) ( )
) (
On the spreadsheet the solution is developed on two separate sheets, one with four collocation points and one with eight collocation points. The integration rule that is used on both sheets is the 2-point Gaussian quadrature rule [ref Gaussian Quadrature ] and is coloured in blue. The results for the 4 collocation point method is shown in the following table
www.numerical-methods.com
The results for the 8 collocation point method is shown in the following table
It can be observed that doubling the number of collocation points reduces the error to about . The method appears to be ( ) [ref Big O notation in Mathematics ], where the length of each element of the approximating function.