For there are no edges. Every finite tree with at least two vertices has a leaf of a graph: an endpoint of a longest simple path cannot have another neighbor, since that would either create a cycle or extend the path. Delete that leaf of a graph and its sole edge. The remaining graph is still a tree, so induction gives remaining edges and original edges. Alternatively the decoding construction in (i) inserts exactly edges and then the final edge.
A label appears in the code exactly its degree minus one times, as proved in (i). It is a leaf of a graph exactly when it never appears. Therefore
For example the code in (ii) uses three distinct labels, so its ten-vertex tree has seven leaves of a graph.
There are ten labels. The successive deleted leaves of a graph are , paired with the respective entries . The final two labels are . Thus the tree has edge set
Here denotes the unordered edge ; the last edge is written with a separator to distinguish label ten. Equivalently its adjacency lists are , , , with all other vertices leaves of a graph. These lists make the constructed tree unambiguous.
Encode a labelled tree by repeatedly deleting its smallest-labelled leaf of a graph and recording its neighbor, stopping when two vertices remain. This produces a sequence of length with entries in .
Conversely, given such a sequence, at each step choose the smallest unused label not occurring in the remaining sequence, join it to the first sequence entry, delete that chosen label and the first entry, and continue. Finally join the two labels left over. A label outside the remaining sequence always exists because two more labels than entries remain. The process never uses a previously deleted label as a sequence entry. Each step attaches a new leaf of a graph to the eventual remaining graph, so backward induction shows that the result is connected and acyclic, hence a tree.
In a tree encoding, a vertex occurs once for every incident edge except the edge by which it is eventually removed, or the final surviving edge. Thus its number of occurrences is its degree minus one. The labels absent from the current remaining sequence are exactly the current leaves of a graph. Both procedures therefore choose the same smallest leaf of a graph and edge at every stage. They are inverse maps, proving the claimed bijection, including the empty sequence when .
Use the degree-ordered orthogonal polynomials identified in (b); otherwise the printed nodes need not exist. Let be the degree- Lagrange interpolation polynomial with and set .
For any , polynomial division gives with and . Orthogonality gives , while this product also vanishes at every node. The interpolation formula for then proves
Apply this exactness to , of degree at most . It gives , because is not the zero polynomial. Thus all quadrature weights are actually strictly positive, stronger than the requested nonnegativity. Here exactness is for the weighted integral defined at the start of the question.
An arbitrary orthonormal basis does not have the printed property. For example on with , take the usual normalized constant and linear Legendre polynomials and swap their labels . The resulting family is still an orthonormal basis but has one zero, rather than zero. The necessary intended hypothesis is that has degree , or equivalently that the basis is obtained by orthogonalizing in that order.
Under this hypothesis, is orthogonal to every polynomial of degree less than . Let be its sign-changing zeros in and put . If , then has a constant nonzero sign except at finitely many points: each interior sign change has been canceled, and all remaining zeros have even multiplicity or occur at endpoints. Since , its integral cannot vanish. But orthogonality to , of degree , says that integral is zero, a contradiction. Thus . Since the polynomial has degree , it follows that
This proves the requested conclusion in its standard intended setting and explains why it does not follow from the literal basis statement alone.
Assume the intended nondegenerate interval and real-valued continuous functions. The integral is bilinear and symmetric. Since , it gives . If a continuous is nonzero at some point, continuity makes strictly positive on a subinterval of positive length, so its integral is positive. Hence forces , proving positive definiteness. Orthogonality means . If , the displayed integral is identically zero and is not an inner product on the stated function space; that degenerate case must be excluded.
Suppose both attain the minimum distance . Apply (b) to and :
The midpoint belongs to , so its squared distance is at least . Thus , forcing . Existence will also follow constructively in (d)(i).
Expand using the inner product. The two cross terms cancel:
Adding proves , for real or complex inner products.
A best approximation to from is an element satisfying . This is a minimum over the specified approximation subspace, not over all of .
For a fixed , the likelihood ratio against the null is
strictly increasing in . The Neyman–Pearson critical region is therefore an upper tail in , and its null threshold depends only on the desired size, not on which was chosen. Thus the same test is uniformly most powerful for the entire one-sided alternative.
Under the null with the second parameter interpreted as rate. Its continuous distribution permits the exact threshold
Under any fixed alternative its rejection probability is . Applying the lemma separately to each such shows that every level- test has power at most this value there. The constructed test attains the bound for all simultaneously.
For a rejection function , its power is . A test has level at most if ; its size is that supremum. In a simple null the significance probability is just the rejection probability under that null.
For two simple hypotheses with joint sample densities , the Neyman–Pearson lemma states that a test rejecting where , accepting where , and randomizing if necessary on equality to have size , is most powerful among level- tests. Let be that test and any competitor. Pointwise,
Integration gives
since , the first test has size , and the other has size at most . This proves the claimed power bound, allowing null-density-zero regions as well. Equality implies agreement away from the likelihood-ratio boundary, up to null sets, when the inequalities are strict.

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