Orthogonal polynomial contrast 2026-10-07
At equally replicated quantitative treatment levels, evaluations of orthogonal polynomials generate pairwise orthogonal treatment contrasts, using the replication-weighted inner product. Five equally spaced levels give four contrast directions representing degrees one through four, besides the constant direction. This decomposes treatment variation without assuming the response has low polynomial degree.
Past exam of the mathematics course of the University of Cambridge 2002 ib Paper 3 6B Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2004 ib Paper 2 9A Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2005 ib Paper 4 8F Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2005 ii Paper 3 2F iii Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2007 ib Paper 3 19F Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2008 ib Paper 4 8D Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2009 ib Paper 4 8C Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2014 ib Paper 4 1G Solution Created 2026-09-24 Updated 2026-10-06
Linearity of the integral in each argument gives a bilinear form, and gives symmetry. Also . If a polynomial is nonzero somewhere on this interval, continuity makes strictly positive on a smaller interval, so the integral is positive. A polynomial vanishing on the whole interval is the zero polynomial. Thus the form is positive-definite and is an inner product.
Apply the Gram-Schmidt process to . Odd functions have zero integral, so is already orthogonal to , and the third orthogonal polynomial is . Their squared norms areTherefore an orthonormal basis isThese are the first three normalized Legendre polynomials. Their distinct degrees also prove that they span the three-dimensional vector space.
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 ib Paper 1 6D a Solution Created 2026-09-24 Updated 2026-10-06
A sequence of real orthogonal polynomials consists of real polynomials with degree of a polynomial andOrthogonality is relative to the specified inner product, rather than to the ordinary coefficients. A monic polynomial has leading coefficient one, so a monic orthogonal polynomial has the form . In particular, the monic degree-zero polynomial is .
Past exam of the mathematics course of the University of Cambridge 2019 ib Paper 2 16D Solution Created 2026-09-24 Updated 2026-09-29
Multiply the Gegenbauer differential equation byIt becomes the Sturm-Liouville formFor two polynomial solutions of degrees , multiply their equations crosswise, subtract, and integrate over . The boundary term vanishes because and . Since the eigenvalues are distinct,Thus , , and the displayed function is the weight.
Every interior root is simple: a solution and its derivative cannot both vanish at an ordinary point of a second-order linear differential equation unless the solution is identically zero. Let be all interior roots and put . If , then has degree below , so orthogonality givesBut has no zero and constant sign on , whence the integrand has one strict sign except at finitely many points. Its integral cannot vanish, a contradiction. Therefore : all roots are real, simple, and lie in .
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.
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 2H Solution Created 2026-09-24 Updated 2026-09-29
The Legendre polynomial is orthogonal on to every polynomial of degree below . Suppose it changes sign at only distinct interior points , and putchoosing its overall sign so that on . This product is positive except at finitely many points, socontradicting orthogonality because . Thus has at least sign-changing roots in ; its degree is , so these are all its roots and they are distinct.
For arbitrary distinct nodes , letbe the Lagrange basis polynomials. Every polynomial of degree below satisfies , so the required weights exist and areThey are unique because applying any such formula to recovers .
Now assume exactness for every of degree below and define . For every polynomial of degree below , the product has degree below and vanishes at every node. ThereforeThere is a unique monic polynomial of degree orthogonal to all lower-degree polynomials, so is the monic normalization of and the are precisely the roots of . Taking givesFinally has degree , so exactness givesThese are the positive weights of Gaussian quadrature.
Past exam of the mathematics course of the University of Cambridge 2025 ib Paper 3 17B a Solution Created 2026-09-24 Updated 2026-09-25
If the monic orthogonal polynomial had fewer than distinct sign-changing zeros in , multiply the factors corresponding to those zeros to form a polynomial of degree below . Then has one sign and is not identically zero, so its positive-weight integral cannot vanish, contradicting orthogonality. Thus all zeros are distinct and lie in the open interval.
Two-node Gaussian quadrature with sine weight Created 2026-10-06 Updated 2026-10-07
For integration against on , the monic quadratic orthogonal polynomial is . Its two roots are the Gaussian quadrature nodes , with weights one. The rule integrates every cubic exactly: divide it by the orthogonal quadratic and integrate the degree-one remainder.
Evaluating arbitrary monic polynomials of successive degrees gives the same determinant as evaluating the monomials of those degrees. The basis-change matrix is triangular with diagonal entries one, so its determinant is one. This permits an orthogonal polynomial basis to replace the monomials in eigenvalue densities.