d

ID: past-exam-of-the-numerical-analysis-course-of-the-university-of-oxford/2017/1/d

Read the differential order literally: take quadrature nodes in and in . Applying Simpson's rule first in and then in multiplies the one-dimensional quadrature weights. With , this tensor-product quadrature is
Equivalently, the nine sampled function values have the quadrature weight array
with rows indexed by the quadrature nodes and columns by the quadrature nodes. The quadrature weights sum to the rectangle's area. If the intended coordinate assignment is instead , , exchange and in the formula. Both conventions give the same calculation on the unit square used below.
For the separable integrand, tensor-product quadrature factors into two one-dimensional applications of Simpson's rule:
so
The exact double integral, evaluated by Fubini's theorem and the power rule for integration, is
The factor is always integrated exactly. All quadrature error therefore comes from applying Simpson's rule to the factor.

New to topics? Read the docs here!