For a fixed centre , the triangle inequality gives , so the distance-to-centre function is continuous. Its preimage of is the closed ball, hence is closed. Since that closed set contains the corresponding open ball, it contains its closure:
Here the bar on the right denotes a closed ball, while the bar on the left denotes closure.
On a product of sigma-finite measure spaces, Tonelli's theorem equates product and iterated integrals for a nonnegative measurable function, allowing infinite values. Fubini's theorem says that an absolutely integrable measurable function has integrable sections almost everywhere, their section integrals are integrable, and both iterated integrals equal the product integral. Absolute integrability may be checked first by applying Tonelli to the absolute value.
The partial sums are measurable, nonnegative and increasing. By the monotone convergence theorem,
A nonnegative measurable function with finite integral is finite almost everywhere: if it were infinite on a positive-measure set, every constant multiple of that set's indicator would be a lower bound, forcing an infinite integral. Thus the series converges almost everywhere.
An invertible matrix is an ordered basis of . After choosing independent columns, their span has elements, so the next column has choices. Thus
Starting with , choose real shifts , factor , and set
Each step is an orthogonal similarity, so the eigenvalues are preserved and all iterates are similar. If , transposing proves symmetry of , completing the induction.
The given matrix is the Householder reflection
It has eigenvalue along and on its orthogonal complement, hence . In the positive-diagonal QR convention its unshifted factorization is , , so the next iterate is again . Thus unshifted QR is stationary, despite the matrix generally having nonzero off-diagonal entries. If arbitrary diagonal signs are allowed in , a step can instead replace by for a diagonal sign matrix ; every off-diagonal magnitude remains unchanged. Such sign changes still make no progress towards diagonalization.
Only the first and third coordinates occur in the first two columns. Normalize the first column to get . Removing its component from the second column leaves , of length seven, so . The remaining orthonormal columns can be and . Taking their dot products with the columns of gives
The columns of are orthonormal, and direct multiplication gives the source matrix. Exploiting its two-coordinate first block avoids unnecessary four-dimensional elimination.
A QR factorization is , where and is upper triangular. If is orthogonal, so is . Its inverse is upper triangular, but is lower triangular, forcing to be diagonal. Orthogonality then gives
With the customary positive diagonal convention, .
The residual is orthogonal to , so Pythagoras gives
Taking nonnegative square roots proves .
The singular weight requires care about the space of admissible polynomials. Since , has finite squared norm. A polynomial has finite error relative to near zero exactly when : a nonzero constant term makes the integrand asymptotic to , whose integral diverges. If , the residual is and the integrand is .
Thus the full space is not a subspace of , so the projection theorem cannot be applied to it as written. Nevertheless a unique best finite-error approximation does exist in
For , this is the zero space and the answer is . For , is finite dimensional and its Gram matrix is positive definite, because a nonzero polynomial cannot vanish on an interval. Solving the normal equations therefore gives its unique orthogonal projection of . All omitted polynomials have infinite error, so this also minimizes the extended error over the full polynomial set. The distinction is an invalid full-space projection premise, not nonexistence of every finite-error best approximation. As throughout weighted , use equivalence classes for the underlying measure.
Write and . Orthogonality of to and gives
The Gram matrix is positive definite, with determinant , so the solution is unique. Solving yields
Use the usual weighted interpretation, identifying functions equal almost everywhere; on raw pointwise functions the displayed integral is only a seminorm. Assume . If is orthogonal to , then for every ,
Conversely, suppose minimizes the error. For and every real , compare with :
If the linear coefficient were nonzero, a sufficiently small with the appropriate sign would make the expression negative. Thus for every , proving best approximation is equivalent to orthogonality of the residual.

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