For any , expand in . Its linear term must vanish at a minimizer, giving
Thus the required functionals are
The form is continuous, symmetric, and coercive, with . Conversely, this weak equation implies , so its unique solution is indeed the global minimizer.
Testing against compactly supported smooth functions gives the distributional identity . The right side belongs to , since and is bounded. Therefore and . This also makes the endpoint derivative traces meaningful, and integrating the weak form by parts recovers the Robin conditions.
The standard piecewise linear finite element interpolation estimate is
with constants independent of . Hence for . By Céa's lemma, with the fixed continuity and coercivity constants of ,
The constant depends on the continuous problem but not on mesh refinement.
Let be the space spanned by all hats, including the endpoint hats. The solution in a conforming finite element space satisfies for all . The continuous form remains coercive and continuous on this subspace, so the discrete solution is unique.
With , its equations are
The formula is symmetric in . For a nonzero vector , the corresponding spline is nonzero by basis independence, and
Thus is symmetric positive definite, proving algebraic solvability as well.
The Sobolev space consists of square-integrable functions whose weak first derivative is square-integrable, with norm . Its one-dimensional representatives have well-defined endpoint traces.
Multiplying by and integrating by parts gives
The two Robin conditions give and , so define
A weak solution is satisfying for every . The boundary conditions are natural; no endpoint derivative is imposed in the trial space.
Since on this interval,
This proves coercivity on the full space. Trace continuity and Cauchy-Schwarz give continuity of the form, so the Lax-Milgram theorem also ensures a unique weak solution.
A piecewise cubic supported on has the truncated-power representation with indices . Vanishing for imposes
after expanding its cubic exterior polynomial; powers of cancel. For , the Vandermonde matrix columns are independent, forcing every coefficient to be zero. For , coefficients proportional to satisfy these conditions because a fourth finite difference annihilates cubics.
Normalize to get the Cardinal cubic B-spline
At its five support knots its values are , so their sum is one. Thus four intervals are necessary and sufficient.
For , the five translates active in the interior of are indexed . Write . Nodal interpolation gives
At the left endpoint the first derivatives of the three active functions are , and their second derivatives are . The two remaining equations are
Together these five equations form the requested system; insert if numerical coefficients are desired. The first, fourth and fifth determine the first three coefficients, and the other two then determine , so the system is nonsingular.
The source only assumes , which need not have either endpoint derivative. The Hermite conditions require those derivatives to exist, or to be supplied as separate interpolation data. The nodal conditions alone remain meaningful for every continuous .
The equioscillation theorem says that a best degree-at-most- polynomial approximation to a continuous real function on has ordered extreme-error points with alternating signs and equal absolute error. Conversely such alternation proves optimality. If the error is zero, the target is already a polynomial of the required degree.
For the single-point exchange in polynomial minimax approximation, start with ordered reference points and solve the linear system
for the polynomial coefficients and . Locate a point of largest absolute error on the interval. If its magnitude is no larger than within the desired tolerance, alternation certifies the approximation.
Otherwise insert that point and delete one old reference point so that the ordered signs still alternate. If the new point lies between two reference points, delete the neighboring point with the same error sign. If it lies outside the reference range, either replace the adjacent same-sign endpoint or, for opposite sign, insert it and drop the far endpoint. Solve again and repeat. This is the one-point Remez algorithm; a global extreme-error search is required for its stopping certificate, rather than merely checking the old reference points.
The midpoint error annihilates affine functions, so here . Apply the functional to :
Thus
It is nonnegative, and symmetry gives . Therefore
For a quadratic with constant nonzero second derivative equality holds, so this midpoint quadrature rule error constant is sharp.
Figure 1.
The positive midpoint Peano kernel has area h cubed over 24
. Details.
If has one sign, the weighted mean-value theorem applied to the continuous derivative gives
for some . One may prove this by bounding the weighted integral between the minimum and maximum derivative values times the total weight, then using the intermediate value theorem. If the total weight is zero, the fixed-sign kernel is zero almost everywhere and the conclusion is immediate.
Apply the Peano kernel theorem to to get . Consequently
For a real-valued linear error functional annihilating , the Peano kernel is
where is the argument on which the functional acts. Under the standard boundedness and extension hypotheses, the Peano kernel theorem states
For example, a bounded functional on continuous functions, represented by a finite signed measure and extended to the truncated powers, has this representation. Quadrature error functionals have precisely this structure.
The source's bare linearity assumption on is not by itself a complete theorem hypothesis. Truncated powers need not belong to that domain, and interchange of the functional with an integral needs justification. For instance annihilates but would require a Dirac point mass rather than an ordinary integrable kernel. The statement above supplies the usual functional class needed for the requested theorem and applies directly to part (c).
Exactness on constants and linear functions gives
With the nodes just computed, the solution is
To prove cubic exactness rather than merely moment matching, divide a polynomial of degree at most three by the monic :
The weighted integral of vanishes by orthogonality, and its two nodal values vanish because the nodes are roots of . The remaining is integrated exactly by the two equations above. This proves Gaussian quadrature exactness through degree three.
For weight , the moments are . Monic orthogonalization gives and .
For , orthogonality to requires
Solving gives , . Hence
These are the nodes for the two-node Gaussian quadrature with quadratic weight.
The displayed recurrence requires monic normalization, which is not explicitly stated in the preamble. Arbitrary independent rescaling of orthogonal polynomials preserves orthogonality but changes the recurrence coefficients. Choose their monic representatives for this and the following calculations.
Expand in the orthogonal polynomial basis:
The leading coefficient of is one. For , , because the second factor has degree below . Thus only remain. Inner products give
The last equality uses . Rearranging yields exactly the three-term recurrence for monic orthogonal polynomials
Use the standard convention that the orthogonal polynomials are nonzero. Their exact degrees then follow from the stated assumptions by induction: is a nonzero constant, and if span , a nonzero orthogonal to all of them cannot lie in .
Let be the distinct sign-changing roots of in , and put . Then has constant sign between and across all its roots, and is not identically zero. Because in the interior, is nonzero. If , orthogonality to would make this integral zero. Thus .
A degree- polynomial cannot have more than roots counted with multiplicity, so all roots are real, simple, and strictly inside . This is the standard zeros of orthogonal polynomials argument, with the positive weight ensuring strict noncancellation.
Expand the fifth-degree Taylor polynomial in Chebyshev polynomials, using the identities for powers obtained from part (a):
Delete the last two Chebyshev terms and convert back to powers. The economized cubic is
Since ,
Equality holds at , where both deleted terms have negative sign. Thus the economization changes the polynomial by at most , exactly in supremum norm on .
For the target itself, wherever . The logarithm is singular at , so its total uniform error on all of is infinite; the finite estimate concerns the additional polynomial change, or the increase on any smaller interval where the original error is bounded.
Figure 1.
Chebyshev economization removes two bounded high-degree components
. Details.
For , set . It is monic by part (a), and its supremum norm on is . At the successive extreme points it alternates between and .
Suppose a monic degree- polynomial had . At each , the difference would have the sign of . These signs alternate, so the intermediate value theorem forces a root in each of the successive gaps. But the leading monic terms cancel, making , a contradiction. Therefore
This is the monic monic Chebyshev extremal polynomial. The positive-degree restriction matters: at the printed scaling gives the constant two, while the only monic constant is one, so that version is false. The customary theorem uses .
Put . The trigonometric identity
gives the Chebyshev polynomial recurrence . Starting from and , successive substitution yields
The recurrence also proves by induction that is a polynomial of degree , with leading coefficient for .
Define the mass matrix and stiffness matrix for . With coefficient vectors , the step system is
The matrices are symmetric, and for nonzero , proving positive definiteness.
For , the first basis function is the full tent at , and the last is the half tent ending at . Integration gives
Since , the requested matrix in this normalization is
Here the matrix symbol is distinct from the printed integer number of time steps.
Test with and apply . The exact energy identity is
The printed identity omits the last reaction contribution while explicitly describing its last term as the seminorm. It requires the full norm instead of that seminorm. With the printed seminorm its left side equals , rather than zero. The source reaction term forces this correction.
All terms other than the difference of successive squared norms are nonnegative. Consequently
The second inequality uses contractivity of the initial orthogonal projection. No restriction relates to , giving unconditional stability. The retained reaction term strengthens dissipation.
Use and its continuous piecewise linear subspace . The condition at is natural, so the last hat function remains free. Set to the orthogonal projection of onto : the stated initial data need not have nodal values.
For each , find such that
This applies Backward Euler method to diffusion and reaction together. The step bilinear form is coercive, so each step has a unique solution.
Two interval Poincaré inequalities give : the error has zero endpoint values and its derivative has zero mean. Apply Cauchy-Schwarz inequality on each interval and then to the sum:
Here . Taking and cancelling its norm, unless it is zero already, yields
For adaptive refinement, solve the discrete problem, compute , and stop when . Otherwise mark intervals carrying a fixed positive fraction of , bisect them, and repeat. Residual integration must be exact or have a certified upper bound if the stopping test is to certify the requested tolerance.
Use residual adaptation with a uniform-refinement safeguard, for example global bisection every second refinement, to ensure eventual termination. Discrete energy stability gives , so independently of the mesh. Thus tends to zero under the safeguard. Other iterations concentrate work where the residual is large.

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