Direct evaluation gives and . Hence the linear functional vanishes on every polynomial of degree at most two and is nonzero on every genuine cubic polynomial.
The Peano kernel theorem with order three gives , where
The first term comes from differentiating at . On the integration interval this simplifies to
In particular . Its L1 norm is , so the sharp bound is
The printed constant is false for the printed functional. The cubic has but , and it attains the corrected bound. This is an exact Peano kernel norm calculation, not an error from numerical quadrature.
Figure 1.
The negative Peano kernel fixes the sharp error constant, while the normalized compact cubic B-spline spans four knot intervals
. Details.
Use the standard meaning of a cubic spline: a function that is cubic on each unit interval. If it vanishes on both exterior intervals, continuity of the function and its first two derivatives gives zero endpoint jets at zero and at .
Such a spline can be represented through its third-derivative jumps as
For , this must be the zero polynomial. Expanding in powers of yields the four moment conditions
If , the columns of this Vandermonde system are linearly independent, so every . No nonzero spline has such short support.
For , a nonzero null vector is , since the fourth finite difference annihilates every cubic. Thus the Cardinal cubic B-spline is
Its knot values at are , whose sum is one. It is nonzero and supported on , proving the minimal value . Equivalently, on it is , on it is , and the other half follows by symmetry .
Figure 1.
The normalized cubic spline needs four knot intervals of support
. Details.
By definition, a best uniform approximation minimizes over . Write . The equioscillation theorem says that, if , optimality is equivalent to the existence of ordered points with signed errors
The absolute-value bars on the left of the printed formula must be omitted for this alternating-sign statement. A nonnegative absolute value cannot equal a negative .
For sufficiency, suppose a polynomial had strictly smaller error. At the alternating points, must have the same sign as , since otherwise the new error would have magnitude at least . The difference polynomial therefore changes sign in all successive gaps and has at least distinct roots, impossible for a nonzero element of .
For necessity, suppose that no alternating extremal points exist. On the compact extremal set , group the signs of the error into consecutive blocks. The positive and negative extremal sets are disjoint compact sets, so sign changes are separated by positive distances; the number of blocks is finite. The absence of an alternating selection means there are at most blocks. Place a root in each gap between successive blocks and choose the overall sign of their product to agree with the error on . Then and is nonzero throughout .
By compactness and continuity, on a neighborhood of the signs still agree and is bounded below. A sufficiently small positive reduces the error there when is replaced by . On the compact complement of this neighborhood the old error is below by a fixed positive margin, and choosing smaller preserves that margin. This gives a strictly better approximation, a contradiction. If , the target already lies in and optimality is immediate.
For , the chord is . Concavity gives , with maximum at and maximum value . Shift the chord up by half that amount. The errors at are respectively , so
Figure 1.
Three alternating extremal errors certify the best uniform line
. Details.
Put . For ,
whereas the constrained rational interpolant expands as
Matching the constant term gives , and matching the coefficient of gives . Thus , , and
This is an endpoint-constrained rational approximation to a power: it matches value and derivative at and also enforces for .
There is a terminology qualification. A standard degree- Padé approximant about matches through , but the displayed constrained expression has quadratic coefficient rather than . The unconstrained Padé approximant is instead
The source's requested formula is obtained by the two stated endpoint matching conditions within its restricted family, rather than by full Padé matching. At both reduce to . At , the requested expression is one for with a removable value at zero; finite in the original restricted form do not represent that constant function. The endpoint is understood by this limit.
The best approximation in the norm is the orthogonal projection onto . Therefore
Using ,
It follows that
The error is orthogonal to every linear polynomial, so the Pythagorean identity proves optimality and uniqueness. At , this gives ; at , it gives . Both are exact because the target itself then belongs to .
The monic degree-zero polynomial is . Orthogonality of to one gives , so .
The relevant integrals are
Insert these into the three-term recurrence for monic orthogonal polynomials:
Thus
Their mutual orthogonality can also be checked directly by integrating on .
The monic orthogonal polynomials form a basis of , ordered by degree. Since is monic of degree ,
For , symmetry of multiplication by gives , because . Only and remain. Taking inner products with yields .
Similarly,
since has degree at most . Rearranging proves the three-term recurrence for monic orthogonal polynomials:
Let be the distinct roots in at which changes sign, and put . Both and change sign at each such point, while roots of even multiplicity do not change sign. Consequently has one constant sign on except at its zeros, and is not identically zero. Its integral cannot vanish.
If , however, orthogonality of the monic orthogonal polynomial to every polynomial of lower degree gives , a contradiction. Hence . Since , there must be exactly such roots, each of multiplicity one. They exhaust the degree, leaving no complex, exterior, or endpoint roots. Thus all roots are simple and lie strictly in , which proves the requested weaker inclusion in . This is the sign-change proof of the zeros of orthogonal polynomials theorem.
Use the Chebyshev polynomial identities , , and . Induction shows that has degree with leading coefficient for . The trigonometric definition also gives
Therefore
The leading coefficient is , and the degree is . The endpoints are roots through ; the other points are roots through . They are distinct, so this monic polynomial is exactly .
Differentiating the product at gives . For an interior node, differentiate the trigonometric form using :
At , this is . At either endpoint, taking the limit makes the two terms equal, doubling the value: for .
After removing the common factor , the barycentric interpolation formula therefore uses
These Chebyshev-Lobatto node weights differ in magnitude by only a factor of two.
For uniformly spaced nodes,
There are negative factors, coming from . Thus the weights fixed by part (b) satisfy this formula exactly. The printed sign agrees for even ; for odd it differs by the common factor . Rescaling all weights by gives the printed convention without changing the barycentric interpolation formula.
For even , the required magnitude is
Stirling's formula gives
Thus central weights are exponentially larger in magnitude than endpoint weights. Their alternating signs can cause severe cancellation in polynomial interpolation at equispaced nodes; they reflect the unfavorable high-degree interpolation geometry associated with Runge's phenomenon. A barycentric evaluation formula improves the implementation but does not remove the intrinsic sensitivity or guarantee convergence for every smooth function. The comparison with the bounded relative weights at Chebyshev-Lobatto nodes is decisive.
With , the Lagrange interpolation polynomial can be written, away from its nodes,
Apply the same formula to the constant data . Uniqueness of polynomial interpolation gives , and hence
Divide the two identities to obtain the barycentric interpolation formula
At , use the continuous limiting value . Multiplying every weight by the same nonzero constant cancels between numerator and denominator, so only relative weights are needed in computation.
Define the Lagrange cardinal polynomials
Distinct nodes make every denominator nonzero. At these polynomials satisfy , so the Lagrange interpolation polynomial is
It has degree at most and takes the prescribed data values. If two such polynomials existed, their difference would have distinct roots but degree at most , forcing that difference to be zero. This also proves uniqueness.
Write and define the mass matrix and reaction-diffusion stiffness matrix
Then each step is
Both component matrices are symmetric, so is symmetric. For a nonzero coefficient vector , its finite element function is nonzero and
Thus is also positive definite and every update has a unique solution. Because nonneighboring hats have disjoint interior supports, the matrix is tridiagonal in nodal order.
Test the discrete equation with . The identity yields
Since on the interval, . Therefore the requested inequality holds:
Discarding the nonnegative second term and iterating proves for every positive , with no restriction relating it to . This is unconditional stability; the initial projection also satisfies .
Use the full continuous piecewise linear space , including endpoint basis functions, because the boundary conditions are Neumann. Define
Choose as the projection of onto . For each time step seek with
This is the conforming Crank-Nicolson method. The reaction coefficient and the diffusion are both treated at the midpoint; integration by parts has removed the boundary flux through the homogeneous Neumann condition.
Compute from part (b), solve the finite element equations, and calculate the element indicators . Let . Stop when ; the proved reliability bound then certifies the requested true-error tolerance.
Otherwise mark elements carrying a chosen fraction of the total indicator, bisect them, and repeat. To ensure termination as well as a valid stopping test, include a uniform-refinement safeguard, for example bisect every element on every second unsuccessful pass. This preserves adaptive refinement on the other passes while forcing .
Here termination can be justified directly. On each element , so its global norm stays bounded if stays bounded. That stability follows from coercivity after subtracting the fixed lift one at the right endpoint. Hence
The safeguarded algorithm therefore eventually satisfies the strict tolerance. Reliable numerical evaluation of the residual integrals, or an upper bound for their quadrature errors, is part of using the certificate in an implementation.
Let , , , and . Testing the dual equation with gives
Consequently and . From ,
On an element of length , the interpolation error vanishes at both endpoints and its derivative has zero mean. Two Poincaré inequalities give
Apply Cauchy-Schwarz to the residual identity, with factors and :
If the error is nonzero, cancel its norm after the regularity estimate; if it is zero the conclusion is immediate. One explicit reliable constant is
This proves the requested dual residual bound entirely in terms of the coefficient functions.
Put and . The primal solution and its finite element approximation lie in the same affine space with value one at the right endpoint, so . Use
Define the dual solution by
Equivalently satisfies for every . Positivity of gives a unique solution, and one-dimensional regularity gives .
Then . The nodal interpolant belongs to the homogeneous finite element test space, so Galerkin orthogonality gives . Set . Using the primal weak equation,
Integrate the derivative term separately on each element. Since vanishes at every mesh node, all endpoint flux and flux-jump terms vanish. Therefore
The absence of jump terms here follows specifically from one-dimensional nodal interpolation; it is not an assumption that the finite element flux itself is continuous.
Take to be all continuous functions affine on each triangle of the stated negative-diagonal mesh. No boundary value is fixed, because the Neumann condition is natural. The discrete problem is
Its matrix is symmetric positive definite: the reaction contribution removes the constant null mode that would occur for pure Neumann Poisson equations. Thus the solution exists uniquely.
For every , expand the quadratic functional about and use the discrete weak equation to remove its linear term:
The continuous solution minimizes over the larger space , so
For smooth , Green's first identity rewrites the weak equation as
Compactly supported test functions yield . Since the test space is the full and has unrestricted boundary trace, the remaining identity gives the homogeneous Neumann condition.
For a merely weak solution on a polygon, the normal derivative is understood as its weak flux trace. Here and , so this trace is defined through Green's formula. It vanishes by the same identity. Thus the natural boundary condition is , without assuming global regularity on an arbitrary polygon.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact