Put and . Galerkin orthogonality gives , so the dual identity becomes
On , is constant and is zero at both endpoints. Consequently . Defining the element residual by
gives
No derivative-jump terms survive, because this interpolation error vanishes at every mesh node. This is the mechanism of the explicit one-dimensional dual residual bound in L2.
Taking in the dual problem, and using , gives
Hence . Testing with smooth compactly supported functions identifies in distributions. Therefore and , with
integration by parts with arbitrary endpoint test values also gives the natural Neumann boundary conditions .
Write . On , the gradients are , and , respectively. Thus
The integral of an affine nodal function over a triangle equals its area times the mean of its three vertex values. Each supported triangle therefore contributes to , giving total . The reduced system is , and the complete nodal answer is
Only one algebraic unknown remains despite the two-dimensional domain.
Let , with boundary values interpreted as traces. The outward unit normal on is , so the stated derivative condition is precisely . integration by parts gives
The Dirichlet boundary has positive length, so the Poincaré inequality makes the form coercive. Let be the continuous piecewise affine space on the four triangles. The finite element approximation satisfies the same identity for every .
Nodes have zero values, leaving . Although isolated endpoints have zero boundary measure, continuity along the Dirichlet edges forces the nodal values at and to vanish.
Besides , set , and . The four triangles are , , and , each of area . The nodal function is one at , zero at every other node, and affine on each triangle. The vertex conditions give
The formulas agree on every shared edge, proving continuity.
Figure 1.
The four triangles and the single free nodal degree of freedom
. Details.
The weak equation implies in distributions, hence . Its nodal interpolant satisfies
These follow interval by interval: the interpolation error vanishes at both endpoints, and its derivative has mean zero, so two Poincaré inequalities apply. If and are the continuity and coercivity constants, Céa's lemma gives
All constants are independent of the mesh size.
Let be the continuous piecewise linear space including both endpoint hat functions. Robin conditions are natural conditions and do not restrict the endpoint values of this space. The finite element problem is , for all . coercivity restricted to gives existence and uniqueness.
Expanding gives , where
The stiffness contribution has diagonal at interior nodes, at endpoints, and adjacent entries . For completeness, the weighted mass contribution has interior diagonal , left endpoint diagonal , right endpoint diagonal , and adjacent entry . All more distant entries vanish. The Robin contribution adds one to each endpoint diagonal.
Symmetry follows from symmetry of the bilinear form. If , nodal independence makes nonzero, and . Thus the matrix is symmetric positive definite.
The Sobolev space and norm are
In one dimension these functions have continuous representatives and well-defined endpoint traces. integration by parts gives the weak problem: find such that for all , where
Indeed the integration boundary term is ; substituting and gives the two positive boundary terms on the left.
If , put . Then . If , the supplied trace inequality gives
Thus the form is coercive in both cases. The trace theorem and boundedness of give continuity of and , and the Lax-Milgram theorem gives existence and uniqueness.
Let be the centered nondimensional cubic B-spline, even and supported on . The outer cubic must be to make the function and its first two derivatives vanish at the support edge. Write its inner part as . Matching the value and first two derivatives at gives , , . Its nonzero knot values are then , so requiring their sum to be one fixes . Thus
In particular , .
With , represent the spline on as . There are unknown coefficients. interpolation at , , gives
The natural endpoint conditions, using and , give
These equations are the required matrix system: the interpolation rows have coefficients at consecutive positions and right sides ; the two endpoint rows have and zero right sides. No solution of that system is required. The scaling uses , without an extra , because normalization is by knot values rather than by integral.
Use the Taylor expansion . Expanding the rational form gives
Matching through degree two yields , , and . The last equation becomes , so
This is the Padé approximant about zero. Its pole is at four, outside the interpolation interval; its order of matching is local and does not assert uniform minimax optimality.
The endpoint chord is . Since the square-root function is concave, the gap is nonnegative. Put to obtain , whose maximum is at , or .
Shift the chord upward by half that maximum. Then
The errors at are respectively . These are three alternating extrema, so equioscillation proves optimality and uniqueness for linear polynomials. This is minimax linear approximation of a square-root endpoint profile.
Figure 1.
Shifting the chord by one eighth creates three alternating errors
. Details.
Write . orthogonality of the residual to gives
The first integral follows from ; for the second use , giving . The coefficient matrix has determinant , so solving yields
Part (a) proves this is the unique best weighted approximation. The weight is essential; using ordinary unweighted normal equations would give different coefficients.
For the weighted inner product, . Start Gram-Schmidt process with the monomials and choose monic normalization:
Its squared norm is . Next and
Therefore
Subtracting these orthogonal projections gives orthogonality by construction; independent nonzero rescalings would give equivalent unnormalized orthogonal polynomials.
If for all , then for any the difference lies in and Pythagorean theorem gives
Thus is best.
Conversely, if is best, then for every the real quadratic
has its minimum at . Its linear coefficient must vanish, giving . Hence best approximation is equivalent to orthogonality of the residual to the approximation space. The weight is positive almost everywhere, so this is a genuine positive-definite inner product on continuous functions.
The polynomial is
Subtract its monic version from :
This has degree four and hence belongs to the usual space . The error is , with norm and alternating extrema at the seven points , . Part (a), followed by uniqueness, proves
and that this is the unique best approximation of degree at most five.
If “degree five” is taken literally to exclude degree four, no best approximation exists in that nonclosed class: approaches the error as , but uniqueness in excludes attainment by any degree-five polynomial. This is why the standard at-most-degree convention matters here.
Choose the nodes as the roots of the Chebyshev polynomial . Its leading coefficient is , so the monic nodal product is . Since on , part (b) bounds this particular interpolant by
The best error cannot exceed the error of a particular member of . Therefore
The choice of Chebyshev roots controls the maximum of the nodal product, not the size of any individual interpolation coefficient.
Let . For not one of the nodes, put and define
This function has zeros at the interpolation nodes and at the additional point . Repeated Rolle's theorem gives a point between the outermost of these points such that . Since and ,
Substitution yields
At an interpolation node both sides are zero, so any gives the identity there. The assumed regularity permits all applications of Rolle's theorem.
Use the usual approximation-space convention . The source's phrase “degree ” must include lower degrees for its later space and interpolation statements; the consequence of a literal exact-degree reading is addressed in part (d).
Order the alternating points as . If had strictly smaller error than , the values
would have the alternating signs of : the second term has magnitude strictly less than . The intermediate value theorem would then give at least distinct zeros of , one in each gap. A nonzero polynomial of degree at most cannot have that many zeros. Thus no such exists, proving
The remainder of the equioscillation theorem says that a best uniform approximating polynomial exists, is unique, and is characterized by this -point alternating extreme-error condition. For positive error, alternation is necessary as well as sufficient. If itself lies in , the unique best polynomial is with zero error.
Write the Fourier coefficients as . The partial sum through frequencies is therefore a convolution with
The last expression follows by summing a finite geometric series, with its removable value at zero. Periodicity and the evenness of give
This also proves linearity and that the image lies in . We use the continuous periodic function space, consistent with the premise and the displayed maximum norm.
The convolution formula gives the upper bound
To prove sharpness within continuous functions, take
It is continuous and periodic, with norm at most one. At , dominated convergence gives . Hence that upper bound is the actual operator norm. Evenness yields
The approximating continuous signs avoid assuming that the discontinuous sign of the kernel belongs to the domain space.
The geometry of a strictly convex normed space proves uniqueness whenever a best approximation exists. If distinct both have best error , then their two residuals have norm . The defining midpoint inequality gives
contradicting best approximation because the midpoint lies in . If , both approximants equal .
The printed existence assertion is false for an arbitrary vector subspace. For a concrete counterexample take with its strictly convex Hilbert norm, let be its finite-support sequences, and take . Truncations in tend to , so the best-error infimum is zero, but and that infimum is not attained. If the finite-dimensional assumption of part (b) is retained, it supplies existence and the argument above supplies uniqueness.
For the estimate, suppose is a projection operator onto , as needed for a finite operator norm. Since ,
The triangle inequality and operator norm give
The estimate actually holds without attainment: apply it with any instead of and take the infimum. Its proof applies in every normed space. This is strict convexity separates uniqueness from existence in best approximation.

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