Markov's inequality: if and , then . Pointwise,
Taking expected values, using their monotonicity and the identity , gives . Division by the positive threshold proves the inequality. If the expectation is infinite, the extended-valued bound remains true but uninformative.
Differentiate the probability generating function equation:
At , , giving
The derivative is finite because and the explicit square root has no singularity at . Alternatively, the expected population in generation is , so the expected number of splits in that generation is . Summing this nonnegative geometric series gives the same answer without initially assuming a finite expected value.
If the initial individual has no offspring, . If it splits, count that one event and the splitting events in its two independent descendant trees. Thus
where are independent copies of . Taking the probability generating function gives
For , the quadratic equation has two algebraic branches. A probability generating function must remain finite at , where it equals , so the admissible branch is
The rationalized formula is also defined directly at zero. At , , so , consistent with almost-sure finiteness. Extinction occurs after a finite number of generations almost surely, and each generation is finite, which justifies that finiteness claim for the number of splitting events in a binary branching process.
This is a Galton-Watson process with offspring count with probability and with probability . The descendants of distinct initial individuals evolve independently, so
for every finite initial size . Conditioning on the first individual's outcome and applying the law of total probability gives
The equation factors as
Its roots are and . Since , the second root exceeds one and cannot be a probability. Therefore and for every finite initial size. The population reaches the absorbing state zero almost surely; no choice between two admissible fixed-point probabilities remains in this subcritical case.
Let denote the selected die. Bayes' theorem gives
Only the first roll is conditioned on here; the second outcome has not been observed.
The two outcomes are not independent. Conditional on the selected die, the rolls are independent, but sharing the unknown die creates statistical dependence. Each nonfavored face has probability .
The unconditional marginal distribution assigns the following probability to a on either roll:
However, by the law of total probability,
Thus the joint probability does not factor into the two marginals. Conditional independence given a shared latent choice does not imply unconditional independence.
Let be the indicator that black bead belongs to the white bead's connected component. The number of such black beads is . By linearity of expectation, no independence between these indicators is needed.
For , the six oriented distances give respective probabilities
Their sum is , the expected number of black beads in the white component. As a check, summing the formula from (i) and using gives the general value , again equal to when .
View the necklace as a cycle graph. Between the white bead and there are two edge-disjoint paths, containing and links. The beads remain connected if and only if at least one of these paths is uncut.
There are equally likely cut sets. Keeping the -link path uncut requires all three cuts to be among its complementary links, giving choices. Keeping the other path uncut gives choices. These two events are disjoint because three links are cut and they cannot all lie in both complementary paths. Therefore
Use for . The answer is unchanged by exchanging and , so either orientation around the necklace gives the same value. This is the connectivity calculation for random cuts of a cycle.
For and , independence gives the cumulative distribution function
The cumulative distribution function is zero below and one above . Differentiating on the interior gives
up to irrelevant endpoint values. There are no endpoint atoms. This maximum is an order statistic.
Split the unit square into and . The maximum is on the first triangle and on the second, so
The shared boundary has zero probability, so it is not counted twice in this joint density calculation.
For , decreasing the second parameter by one gives another valid beta distribution density and
Normalization therefore gives
The restriction is essential for this finite expected value; when , the singularity near instead makes the expectation infinite.
Multiplying the beta distribution density by gives a constant multiple of the normalized density with parameters :
Integrating and using the fact that the latter probability density function integrates to one gives
This is a normalization-ratio argument, requiring no explicit integration of the polynomial density.
At , gradient descent remains a plausible large-scale choice; dense Newton method and full-memory BFGS are generally impractical. A dense double-precision matrix alone contains entries, about TB. Dense factorization also has order arithmetic work. Full BFGS avoids factorization but retains quadratic storage and update work, so it does not solve that scaling problem.
Gradient descent uses linear working storage in , though the cost of reading the data and evaluating the gradient is still for dense . Sparsity or streaming can be important. Limited-memory BFGS, a distinct limited-memory variant, stores only a fixed number of recent update pairs and uses storage and update work, making it a realistic alternative to full BFGS.[ref]
The available Hessian matrix factorization also permits a matrix-free Hessian-vector product:
It costs for dense data without forming . A suitable iterative, safeguarded Newton method can exploit this structure, so the conclusion rules out the dense implementation rather than every possible second-order algorithm.
These methods seek a local solution and require convergence checks appropriate to nonconvex optimization. The formula does not even ensure a finite minimizer exists: with one positive coefficient and nonzero , the positive exponential loss approaches zero along an unbounded direction without attaining it. Dimension alone cannot supply a convergence guarantee.
At , gradient descent and full BFGS are practical candidates; a dense Newton method can also be feasible, but its extra work and indefinite curvature need attention. The number of examples , data sparsity and conditioning still matter.
For dense , a gradient evaluation costs arithmetic, with working storage beyond the data and accumulation buffers. Gradient descent is inexpensive per iteration and, with an appropriate line search, follows a descent direction, but poor conditioning can make it slow.
Forming the Hessian matrix explicitly costs arithmetic, and a dense Newton method solve costs . A -square double-precision matrix uses about MB, so storage alone is manageable, but repeated factorization may be expensive. Because the Hessian matrix can be indefinite or singular, an unmodified Newton step need not decrease the loss; a modified Hessian, damping or a trust region is appropriate.
Full BFGS uses gradients and an curvature approximation, avoiding explicit second derivatives. Its rank-two updates and direction calculation cost per step and require roughly the same matrix storage. A positive-definite initial approximation with safeguarded curvature updates and a suitable line search preserves descent directions. For this scale it is often a good compromise, without guaranteeing a global minimum.[ref]
Differentiating the gradient term by term gives the Hessian matrix
Take row of to be . Then
Indeed, entry of this product is , exactly the entry of the displayed sum of outer products. Explicitly,
These coefficients may have either sign, so a positive-definite Hessian matrix cannot be assumed. This is an instance of the Hessian of a sum of functions of linear forms.
Use a column gradient. By the multivariable chain rule,
The scalar coefficients multiply the constant vectors . In particular , although explicit differentiation of is not required.
About five steps are certified by the uniform worst-case estimate; the actual iteration reaches double-precision accuracy in about four. Put . The initial enclosure gives , and repeated squaring yields
For this is about , while for it is below . Thus five ideal-arithmetic steps push this bound well below the approximately relative resolution of double-precision floating-point format.
The bound is conservative. Factoring identifies
High-precision evaluation of the actual successive errors gives approximately , , , and . Thus the fourth step would already exceed double-precision accuracy in exact arithmetic. In floating-point evaluation, cancellation in the residual and other roundoff errors prevent the subsequent theoretical digits from being realized.
On , and , since . Hence increases and has minimum . Also
with equality at . Therefore
There is a unique root in : , , and the function is strictly decreasing. Moreover , so .
It remains to justify that the iteration stays where the error estimate applies. Because is a concave function, its graph lies below each tangent line. At any , the tangent has nonpositive value at , negative slope, and nonnegative value at . Its zero therefore satisfies
By mathematical induction, the Newton root-finding iteration stays in and decreases to some limit . Continuity in implies , so uniqueness gives .
Now the supplied error bound applies at every step:
This proves at least quadratic convergence, with an invariant interval and a nonvanishing derivative explicitly established.
The Newton root-finding iteration is
It is defined when . Finding an exact zero of a function is a stopping condition, rather than a reason to continue dividing.

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