On a compact interval, positive quadrature rule weights whose sum is the interval length define uniformly bounded functionals on continuous functions. If the rules eventually integrate every fixed polynomial exactly, the Weierstrass approximation theorem proves convergence for every continuous function.
Nodal-polynomial criterion for quadrature exactness Created 2026-09-24 Updated 2026-10-06
An -node quadrature rule already exact through degree is exact through degree exactly when its nodal polynomialis orthogonal to every polynomial of degree at most .
Past exam of the mathematics course of the University of Cambridge 2014 ib Paper 4 8C Solution Created 2026-09-24 Updated 2026-10-06
For any distinct nodes, the polynomial has degree , is nonnegative, and vanishes at every node. The quadrature rule sum for is zero, but because the weight is positive and is positive except at finitely many points. Therefore no such rule is exact for all polynomials of degree at most , irrespective of the chosen weights.
For the sine weight, its first four moments are . A monic degree-two orthogonal polynomial issince direct use of these moments gives . Its roots lie in and areThe weights follow by requiring exactness for and : and , and the symmetric nodes imply both weights are one. To prove cubic exactness, divide any cubic as , with of degree at most one. The integral of is zero by orthogonality, and its nodal values vanish; the remaining linear polynomial is integrated exactly. This is the two-node Gaussian quadrature with sine weight; the argument proves its Gaussian quadrature property without assuming a general quadrature theorem.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 328 1 ii Solution Created 2026-10-03 Updated 2026-10-06
Use the Bromwich inversion formula in the real variable , with :When the relevant Laplace transforms and spatial integral transforms are explicit, every sample of this integrand can be evaluated directly, without a time-stepping approximation to the partial differential equation. Split the initial condition integral at : the two pieces of are linear combinations of , so truncated spatial exponential transforms suffice. For real data the negative-frequency half is the complex conjugate of the positive-frequency half.
A practical numerical integration is to truncate to , apply an adaptive quadrature rule, and independently increase and refine the quadrature. Choose large enough to remain to the right of all singularities, but avoid an unnecessarily large . Evaluate hyperbolic function ratios in scaled form; for example,This prevents overflow when is large. The boundary contributions at an interior point are damped by or , with . Near an endpoint more frequencies are needed; at the endpoint itself use the prescribed Dirichlet boundary condition. The initial condition resolvent has a generally only tail. Treat its oscillatory tail accurately, subtract a known transform with the same leading term, or evaluate that contribution separately with the heat kernel.
An equally useful check is the eigenfunction expansion. DefineThe causal modal formula isIt follows either from the heat kernel formula or directly from integration by parts against a sine eigenfunction. Exponential-transform formulas evaluate the time integral explicitly when available. The initial condition contribution has a Gaussian function cutoff in for each positive time. Nonzero endpoint forcing produces a more slowly convergent sine series tail. A boundary lifting gives , where has zero Dirichlet boundary conditions and forcing ; expanding gives better convergence and imposes the endpoint values exactly. At very small times the method of images is often more efficient than retaining many modes.
Check convergence by increasing both the frequency cutoff and quadrature resolution, and compare with a separately truncated causal modal or image-kernel evaluation. Causality in finite-time Laplace contour inversion means a leftward contour deformation must respect both resolvent operator poles and growth of the transformed data. In particular, the transform of data extended by zero after can grow like in the left half-plane: for one cannot close that contour indiscriminately and discard its large arc. The modal forcing integral with upper limit avoids this causality error.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 341 5 iii Solution Created 2026-10-03 Updated 2026-10-06
Put and . The interior piecewise-linear hat functions areThey are a basis of the continuous piecewise-affine functions vanishing at both endpoints. The support of a function for each hat only overlaps those of neighbouring hats, so the stiffness matrix is a tridiagonal matrix. Direct integration gives the derivative contribution on the diagonal and on adjacent diagonals.
For the potential contribution, symmetry about gives . On the overlap of and , their product is symmetric about , and its integral is . This is the affine-weighted hat mass matrix calculation. Consequently,and all other entries vanish. The exact right-hand side isThus, with , the requested scalar equations areAt the endpoints the coefficient multiplying the zero boundary value is simply omitted. Since , its point values are not even well defined; replacing by would require an additional quadrature rule convention and regularity hypothesis, not present here. The exact Ritz method uses the displayed integrals. The finite element interpolation estimate and Céa lemma, using , give an energy norm error; the Aubin–Nitsche duality argument gives in the L2 norm on this interval.
Past exam of the mathematics course of the University of Cambridge 2020 ib Paper 1 18C b Solution Created 2026-09-24 Updated 2026-09-29
For fixed interpolation nodes , interpolate any asIntegrating shows that the unique weights making the quadrature rule exact through degree are
Now let the nodes be the zeros of the degree- orthogonal polynomial . Given any , polynomial division givesOrthogonality gives , while makes the quadrature sum for vanish. The rule is already exact on , so it is exact on . This is the defining precision property of Gaussian quadrature.
For the intended collocation weights, interpolation makes the associated quadrature rule exact for every polynomial of degree at most one, so the method has order at least two. It has order at least three precisely when the node polynomial is orthogonal to constants:ThusAt this is the two-stage Radau IIA method. Since one node is fixed at the endpoint, no value of makes the two-node quadrature exact through degree three, so order four cannot occur.
For completeness, the tableau exactly as printed has order zero when , since . At the two signs coincide because the second weight vanishes, and the resulting method has order two.
Past exam of the mathematics course of the University of Cambridge 2023 ib Paper 3 17B b Solution Created 2026-09-24 Updated 2026-09-25
Suppose that an -node quadrature rule were exact on . The nodal polynomial has degree , so . At every node it vanishes, and henceBut is a nonzero nonnegative polynomial, and the weight function is positive on . Thereforea contradiction. This is the degree ceiling for quadrature exactness.