Remark 1.5 For a simple closed form expression can be obtained for the diagonal terms and the off‐diagonal terms. Using eq. (1.55) it can be shown that:
(1.71)
and all off‐diagonal terms are zero for , with the exceptions:
(1.72)
Remark 1.6 It has been proposed to make the Gram matrix perfectly diagonal by using Lagrange shape functions of degree p with the node points coincident with the Lobatto points. Therefore where is the Kronecker delta14. Then, using Lobatto points, we get:
where wi is the weight of the ith Lobatto point. There is an integration error associated with this term because the integrand is a polynomial of degree . To evaluate this integral exactly Lobatto points would be required (see Appendix E), whereas only Lobatto points are used. Throughout this book we will be concerned with errors of approximation that can be controlled by the design of mesh and the assignment of polynomial degrees. We will assume that the errors of integration and errors in mapping are negligibly small in comparison with the errors of discretization.
Exercise 1.9 Assume that is constant on Ik. Using the Lagrange shape functions of degree , with the nodes located in the Lobatto points, compute numerically using 4 Lobatto points. Determine the relative error of the numerically integrated term. Refer to Remark 1.6 and Appendix E.
Exercise 1.10 Assume that is constant on Ik. Using the Lagrange shape functions of degree , compute and in terms of ck and ℓk.
1.3.4 Computation of the right hand side vector
Computation of the right hand side vector involves evaluation of the functional , usually by numerical means. In particular, we write: