Cubic exactness of Simpson's rule Created 2026-10-18 Updated 2026-10-20
Polynomial interpolation makes Simpson's rule exact for every polynomial of polynomial degree at most two. To understand the extra polynomial degree, centre the coordinate at the midpoint: , with endpoints . For any cubic polynomial , let be its interpolating quadratic polynomial. The polynomial vanishes at all three quadrature nodes, sowhere is the coefficient of in . As a function of , this is an odd function, whose integral over the symmetric interval is zero. Hence integrating also integrates exactly. This is the symmetry mechanism in the nodal-polynomial criterion for quadrature exactness.
In the worked example, the polynomial difference factors asIts definite integrals on and are respectively and . Their cancellation concerns signed integrals, rather than pointwise accuracy of polynomial interpolation.
The degree of precision of a quadrature rule stops at three: on the same interval, the monomial gives , whereas . Their difference, exact integral minus approximation, is .
Cubic polynomial 2026-10-18
A cubic polynomial in one variable has polynomial degree three. Over a splitting field, its factorization of polynomials contains three polynomial factors of polynomial degree one when multiplicity of a root is counted.
Discriminant Created 2026-10-03 Updated 2026-11-05
For a degree- polynomial over a field, with and roots in an algebraic closure, its discriminant isIt is a polynomial with integer coefficients in the coefficients of , and lies in the original coefficient field. Its vanishing is equivalent to a repeated root of a polynomial in an algebraic closure, even when the coefficient field itself contains no roots. This detects separability without solving the polynomial equation.[ref]
For a quadratic polynomial, the expression is the quadratic discriminant . For the cubic polynomial , it is . Thus has discriminant over , but after reduction to characteristic three its discriminant is zero and the resulting polynomial has a repeated root in its splitting field. Discriminants also indicate exceptional parameter values where distinct polynomial roots collide.
First Lyapunov coefficient 2026-10-31
The first Lyapunov coefficient is the cubic radial coefficient in the center-manifold normal form of a smooth Hopf bifurcation, after an appropriate normalization. In , its nonzero sign distinguishes stable and unstable bifurcating small cycles relative to the eigenvalue-crossing direction. If , higher-order terms are required and the generic cubic Hopf theorem does not apply.
Gradient descent preserves an eigenline for a cubic product Created 2026-10-25 Updated 2026-10-31
Let be real symmetric, let be a unit eigenvector satisfying , and use scalar step sizes . The gradient of the displayed cubic polynomial function isOn the eigenline, , so a gradient descent update remains on that same line and obeys the scalar recurrence in the title. Induction proves invariance for every iterate starting on the line, including an iterate that reaches zero. This is a statement about the geometry of the updates, not a convergence theorem: when , the restriction is unbounded below in one direction.
A cubic polynomial over a field is reducible if and only if it has a root in that field: a nontrivial factorization of degree three has a linear polynomial factor, and conversely a root supplies one by the factor theorem.
The rational root theorem, or part (b), shows that a rational root of this monic polynomial must be an integer. Such an integer must divide the constant coefficient , so the only candidates are . Direct evaluation givesNone vanishes. Hence there is no rational root, provingThe same no-root argument alone would not decide a quartic polynomial, which could factor as two quadratic polynomials; its sufficiency here uses degree three.
Past exam of the further mathematical biology course of the University of Oxford 2023 2 a i Solution 2026-10-25
Put . The nullclines of the space-clamped FitzHugh-Nagumo model areThe first nullcline is a downward-leading cubic polynomial, shifted vertically by ; the second nullcline is a line through the origin with slope . Their intersections satisfyWriting , differentiation givesIf , increases strictly, so there is exactly one equilibrium. If , is still strictly increasing, although its derivative vanishes at one point, so the equilibrium is again unique. If , defineHere has a local maximum at and a local minimum at ; thereforeAt either endpoint there are two distinct equilibria, one a double root. These are the saddle-node bifurcation boundaries omitted by the generic one-or-three wording. At and there is one triple root. This is the Cubic FitzHugh-Nagumo nullcline criterion.
One and three intersections of the FitzHugh-Nagumo model nullclines
. Details. Past exam of the further mathematical biology course of the University of Oxford 2023 2 b Solution 2026-10-25
There is a consistency issue in the printed model. If is imposed while retaining its evolution equation, then forces . Thus the full two-equation system has no nonconstant travelling wave with exactly constant . Its constant solution exists only when . The intended wave calculation must treat the recovery variable as externally frozen, leaving the scalar reaction-diffusion equationFor this frozen-recovery reduction, letThe cubic polynomial has a local minimum at and a local maximum at . Hence the conditiongives three distinct real roots of , withThe outer roots are stable for the scalar spatially uniform dynamics and the middle root is unstable. Seek a travelling wave , where . The travelling-wave reduction of a reaction-diffusion system givesLet and chooseIt has , andSubstitution leavesConsequently the frozen-recovery cubic front isReflection reverses the front and its speed. A nonzero speed requires ; equality gives a stationary front and is the Maxwell balance for a scalar reaction-diffusion front. Since the roots sum to , this stationary value is . For the simple admissible choice , the roots are andThis particular front moves when . At , other currents inside the displayed open interval give moving fronts.
Past exam of the mathematical physiology course of the University of Oxford 2023 2 b Solution 2026-10-25
Use the three standard reduction assumptions: relaxes much faster than and can be replaced by ; the two slower gates have the same time constant, ; and their limiting open fractions have a voltage-independent sum, . The constant-sum assumption is essential: equality of two time constants by itself does not preserve a moving voltage-dependent sum.
For , addition of the two gate ordinary differential equations givesThe specified initial condition is . Uniqueness for this first-order linear differential equation gives , hence for all time. The remaining two ordinary differential equations areThese assumptions give a planar reduction of the Hodgkin-Huxley model. The FitzHugh-Nagumo model keeps its fast activation and slow recovery variable geometry, approximating the voltage response by a cubic polynomial and the recovery response by a linear function after nondimensionalization. The polynomial equations in part (c) are a further model simplification; they are not an exact algebraic consequence of arbitrary original gate functions.
Past exam of the mathematical physiology course of the University of Oxford 2023 2 d Solution 2026-10-25
Take and let with the other parameters fixed. The nullclines are the cubic polynomial graph and the line . In the phase plane, increases below the cubic polynomial graph and decreases above it; increases below the line and decreases above it. The fast ordinary differential equation, in time , freezes and gives .
At , the fast roots are . Their linear stability follows from , and . Thus a fixed falls towards the resting branch, whereas a fixed rises towards . If , the first fast segment instead settles down towards , followed by the same recovery excursion. The threshold is the leading singular perturbation threshold; finite- corrections matter for initial values approaching with .
LetThese are the roots of . The outer branches and of the critical manifold are attracting under fast motion; the middle branch is repelling. The full excursion has four stages.
- Fast activation: nearly horizontal movement towards , on the time scale, apart from the usual matching tails.
- First slow phase: motion along from down to . Here rises and slowly falls, because on the positive outer branch. This takes order-one time for fixed .
- Fast repolarization: near the right fold point of a critical manifold, the attracting branch ends. With nearly constant, drops to the negative root of . The jump takes the fast time scale; a thin neighborhood of the fold has an intermediate fold delay.
- Second slow phase: motion along the negative attracting branch from towards from below, while falls towards zero. This is the refractory recovery and has order-one duration to a fixed small cutoff; exact return to the equilibrium takes infinite time.
For this cubic polynomial, the landing point is explicit. Since , comparison of the quadratic coefficients givesThus a graph of has a rapid rise, a slowly falling elevated plateau, a rapid fall through zero to a negative undershoot, and a slow approach back to zero. The figure shows both the phase plane and a computed time trace. The smaller initial perturbation stays near the resting branch and produces no elevated plateau.
The four-stage description concerns the singular limit. Close to a simple fold point of a critical manifold, balancing the local quadratic activation term with the slow drift gives and for fixed parameters. These layers shrink compared with the slow phases and do not alter the leading time integrals below.
Move the constant term to the left and factor the cubic polynomial:Setting each factor to zero gives all three polynomial roots:
Write the remaining quadratic polynomial as . Comparing coefficients in with the given cubic polynomial gives and , hence . The coefficient of is then , as required. Thus
Let . Its values at useful points areSince a polynomial is a continuous function, the intermediate value theorem gives one polynomial root in each of the disjoint intervals , and . A nonzero cubic polynomial has at most three distinct polynomial roots. Hence it hasThese three distinct polynomial roots already exhaust its degree of a polynomial, so each has multiplicity of a root one.
Past exam of the numerical analysis course of the University of Oxford 2015 2 c ii Solution 2026-10-31
The remainder in part (b) involves an unspecified . Its existence for every does not ensure a differentiable selection. Even if such a selection existed and had an additional derivative, the product rule and chain rule would giveThe first term cannot be discarded or bounded from the given information. Neither nor is supplied by the original theorem.
For an explicit demonstration, interpolate the cubic polynomial at zero and one. Then , andDifferentiating correctly givesTreating the remainder coefficient as a constant would omit and give a wrong answer at every interior point. An existential intermediate point cannot be frozen when differentiating. Part (i) instead applies Rolle's theorem directly to the polynomial interpolation error.
A Newton-Cotes quadrature integrates a Lagrange interpolation polynomial at equally spaced quadrature nodes. For the Newton-Cotes closed quadrature, the endpoints are included: write , , and useThese quadrature weights depend on the quadrature nodes, not on the sampled function. Open Newton-Cotes quadrature uses equally spaced interior quadrature nodes instead.
For Simpson's rule, use and set , so . The Lagrange cardinal polynomials becomeIntegrating these quadratic polynomials gives , , , respectively. The change of variable contributes , soIts degree of precision of a quadrature rule is three: it integrates every quadratic polynomial by construction, and also the cubic nodal polynomial , whose integral vanishes by odd symmetry about . Any cubic polynomial differs from its quadratic polynomial interpolant by a constant multiple of this nodal polynomial.
Past exam of the numerical analysis course of the University of Oxford 2017 1 d ii Solution 2026-10-31
At ,The factor is now a cubic polynomial. Simpson's rule still integrates it exactly because its degree of precision of a quadrature rule is three. Exactness of tensor-product quadrature depends on the polynomial degree in each variable, rather than their sum.
Write . Its three positive zeros of a function are , and expansion and differentiation giveThus its local minimum and maximum occur respectively atwith valuesThe function graph approaches the value as , decreases through its first zero to the minimum, increases through its second zero to the maximum, and then decreases through to . This fixes the shape and all axis crossings of the cubic polynomial.
Changing translates the function graph vertically without moving either stationary point. For both extrema are above the horizontal axis: their heights are approximately and . For both are below it, at approximately and . The function graph for therefore has only its final positive-axis crossing, whereas the function graph for has only its first positive-axis crossing. The original plots mark the extrema and also show the equilibrium point branches used below.
Cubic graphs and equilibrium branches
. Details. With three distinct positive roots of an equation, the negative-leading cubic polynomial has the sign patternEquivalently its derivative is negative at the first root of an equation, positive at the middle root of an equation, and negative at the final root of an equation. The phase line arrows therefore point toward the two outer equilibrium points and away from the middle one:The middle equilibrium point separates the two basin of attraction in the bistability mathematical model parameter interval.
Use mathematical induction on the iteration. Initially . If , then , , and . ThereforeA gradient descent step with any scalar step length consequently has the formThus every iterate remains on the same eigenline, withThis proves that gradient descent preserves an eigenline for a cubic product. The statement is invariance, not convergence to a minimum: along the negative direction of this line the cubic polynomial objective is unbounded below.
Simpson's rule Created 2026-10-14 Updated 2026-10-18
Simpson's rule approximates a definite integral by integrating the quadratic polynomial obtained by polynomial interpolation at two endpoints and their midpoint. For an interval with , write and . The three quadrature nodes are , and the quadrature rule isThus its quadrature weights are . Their sum is , as required for exactness on constant functions. This is the three-node Newton-Cotes closed quadrature; its degree of precision of a quadrature rule is three, even though the interpolating polynomial has polynomial degree at most two.[ref]
3.5 Quadrature, subsection (ii) Simpson’s Rule. NIST Digital Library of Mathematical Functions; §3.5(ii), equation 3.5.6: elementary Simpson rule and its fourth-derivative remainder
For an original worked example, take the cubic polynomial on the interval . Here and , so the function evaluations giveSimpson's rule givesAn antiderivative supplies an independent exact definite integral:The quadratic polynomial through the same quadrature nodes is . It differs from between the quadrature nodes, but its definite integral agrees exactly. The picture shows why: the signed polynomial interpolation error has two lobes with opposite integrals.
An original cubic and its quadratic interpolant have the same integral because the two interpolation-error lobes have signed integrals plus and minus 81 over 64
. Details. Three function evaluations therefore capture more information about an integral than about the whole function. When an antiderivative is unavailable, composite Simpson's rule repeats this inexpensive local construction over a partition of an interval. For a sufficiently smooth function, halving the node spacing reduces its truncation error by approximately a factor of sixteen.



