We construct the Galerkin projection that minimizes the L2 error for approximation of a function by the C0 basis. First we define the elemental Jacobi transform from the polynomial space to the physical space:
![]()
![]()
which we can solve for
since
is
positive definite [20]. Explicitly, we can write the
projection coefficients as:
![]()
where B is the matrix with entries
.This approximation minimizes the residual:
![]()