Write . The target Poisson distribution and proposal geometric distribution have probability mass functions and . Their ratio is
The successive ratio shows that a maximizing integer is , with a tie at when is an integer. Thus the tight envelope is
For any fixed , draw using (ii)'s inversion formula with this new parameter, and draw an independent from the uniform distribution on . Accept when
otherwise restart. The acceptance probability is and the expected number of proposals is .
To minimize that expected count, set . The exact answer is
Here is a proof that includes the changes of maximizing integer. Each is a convex function of , since its second derivative is . Their pointwise maximum is also a convex function. When is fixed its derivative is
If , take , where changes from on the left to on the right. The left derivative is nonpositive because ; the right derivative is nonnegative because . This is a minimum. If , take . There and the active branch has except for the endpoint tie; its derivative vanishes. Convexity again proves the global minimum. The formulas agree at the boundary.
For a fully specified optimal algorithm, compute and once, then use the preceding acceptance test with and . At an integer tie either maximizing integer gives the same test. In code, factorials can be evaluated through the logarithm of the gamma function:
and acceptance is . This avoids overflowing factorials.
The optimum minimizes expected trials, the usual idealization of time when each proposal and test has constant cost. Actual runtime also depends on the implementation of discrete inversion and factorial evaluation. Simply minimizing an upper bound for would not necessarily give the exact optimum above; see optimal geometric envelope for a Poisson distribution.
Integrating the conditional distribution against the exponential distribution probability density function gives, for integer ,
Here the gamma function identity evaluates the integral. Hence
on . Put and . The geometric series gives . Its generalized inverse, the quantile function, is
This is the smallest nonnegative integer for which ; dividing by reverses the inequality. Draw from the uniform distribution on and use this formula. The commonly used expression has the same probability distribution, but differs from the exact generalized inverse when is precisely a jump value of the cumulative distribution function. Such values have probability zero for an ideal continuous uniform draw.
For the exponential distribution with rate , the cumulative distribution function is for , and zero for . Its quantile function is
For inverse transform sampling, draw from the uniform distribution on and return . Equivalently return , since has the same uniform distribution. Indeed, for , .
The integrand is positive, so the minimum-variance importance distribution is its target-weighted probability density function, normalized by :
By completing the square,
Thus is the multivariate normal distribution , where is the first standard basis vector. Its importance weight and weighted integrand are
A variance cannot be negative, and this proposal makes every summand constant, proving optimality directly. It is admissible under the arbitrary-proposal condition even though its mean vector is not zero. Although optimal proposals usually involve an unknown normalizing integral, here both that integral and the resulting normal distribution are explicit.
At equal sample count, rejection sampling eventually has smaller variance for fixed ; at equal expected proposal cost, importance sampling eventually wins. The distinction matters because a sample of the rejection sampling estimator means an accepted draw.
For the importance sampling estimator, all coordinates contribute to the importance weight although only one enters the integrand. The same normal distribution transform as in (c), now with linear coefficient for coordinate one, gives
Both estimators are unbiased estimators of , and
For fixed , the first variance grows exponentially while the second stays constant. This is the benefit of returning exact target draws in rejection sampling. However, obtaining those draws costs proposals each on average.
To compare computational work, multiply each variance by its expected proposal count. For importance sampling that count is ; for rejection sampling it is . The ratio of the resulting cost-normalized variances is
because . Thus importance sampling eventually gives better precision for the same expected number of proposals, assuming comparable work per proposal. This is an asymptotic cost comparison, not a guarantee that a fixed small computing budget produces any accepted draws. Both methods still deteriorate exponentially in this comparison. For they coincide and every proposal is accepted.
Figure 1.
Sample-count and expected-proposal-cost comparisons for the one-coordinate integrand at sigma squared equal to two
. Details.
A practical improvement is to exploit the integrand's one-coordinate structure directly: average for standard normal distribution draws , without generating unused coordinates. The optimal change of proposal distribution in (iii) improves further.
For the new integrand, and , independently of dimension. Chebyshev's inequality therefore yields
A sufficient positive integer sample count is
The ceiling function ensures that the bound is at most , so the strict-error event in the question has probability at least . The required number of accepted draws is independent of ; their expected proposal count is .
For , is an unstable stationary point and the interior minimum satisfies . Hence
The potential then diverges at . For , the turning point is specified exactly by the smaller quadratic root
For small positive , this approaches , a finite excursion even when the initial impulse is arbitrarily small. An excursion from the north pole to the outer turning angle and back has period
Near the unstable pole, with . The near-pole contribution gives , so the period diverges logarithmically as . The exactly unperturbed top can remain at the unstable vertical orientation; the limiting excursions spend ever longer close to it. The direction also precesses according to part c.
Put . Then . For it increases from zero at the north pole to infinity as and has no interior minimum. The vertical orientation is stable. Near zero,
For , away from the marginal case , this gives
The locally signed tilt oscillates at angular frequency , while the azimuth precesses approximately at . The nonnegative polar coordinate is , so its successive pole-to-pole excursions have period and angular repetition frequency . Stating this convention avoids confusing a signed small displacement with the polar-angle magnitude. The full axis direction combines that excursion with precession.
Figure 1.
The vertical spinning top changes from a stable minimum to an unstable maximum
. Dimensionless effective potentials are shown for alpha equal to 0.5 and 2. The second panel marks the off-axis minimum and the zero-energy turning angle approached by a near-separatrix excursion. Details.
With , the allowed range is , where . But an orbit starting with never crosses the midplane in finite time, because
One positive-side separatrix, with and , is
The negative-side orbit is its reflection in . For the positive branch, rises from zero asymptotically, reaches at , then returns asymptotically to zero. Thus the infimum is zero but it is not attained in finite time on this nontrivial branch. Since , the two axial-velocity zeros occur at . Motion is toward decreasing near either asymptotic midplane tail and toward increasing near the outer excursion. These directions are marked in part i.
The exactly midplane initial state , is a separate straight trajectory with ; it must not be described as a finite-time crossing of the separatrix.
Dividing the two velocities gives
Here : the orbit always advances toward increasing , except for instantaneous zeros at each midplane crossing . The transverse motion oscillates between and . At these outer turning points and the trajectory is tangent to the direction; at the midplane while , so the tangent is along . The sign of the initial only chooses the phase or reflected trace.
Figure 1.
Crossing and separatrix orbits in a reversing magnetic field
. The left panel shows the orbit with zero conserved axial canonical momentum, advancing monotonically in z. The right panel shows a positive-x separatrix with the negative extreme canonical momentum; its arrows and marked axial-velocity zeros distinguish it from an ordinary periodic orbit. Both panels use dimensionless coordinates. Details.
Fully ionized helium supplies three particles per four hydrogen masses, so . The same small , but negligible hydrogen fraction, gives , half the hydrogen-star coefficient. The relative luminosity is
Consequently
The very strong molecular-weight dependence outweighs the reduction in mass. Treating the two opacities as identical would miss a factor two, and using neutral-gas molecular weights would be inconsistent with the stated hot ionized stars.
For fully ionized hydrogen with a small metal fraction, there is approximately one proton and one electron per hydrogen mass, so . The Kramers coefficient is proportional to . Denote this star's luminosity by ; the supplied proportionality law alone does not fix its absolute normalization.
Relative to the helium-dominated comparison star, the calculation in part ii gives
If one uses a roughly solar luminosity as an illustrative calibration for this roughly solar-mass, solar-central-temperature reference, the helium star would be of order a hundred solar luminosities. That calibration is only approximate because a mostly hydrogen composition with is not the actual solar composition.
The zero trace and unit eigenvalues imply equal numbers of and eigenvalues, so is even. A two-dimensional representation is impossible: all four matrices would be traceless matrices. Anticommutation gives for distinct matrices, whereas . They would therefore be four linearly independent members of the three-dimensional complex space of traceless matrices, a contradiction.
The usual irreducible dimensional Dirac representation has . Larger representations can contain multiple copies; the requested lower bound is not itself a proof of irreducibility.
For any one of the four anticommuting matrices , choose another . Since and , cyclic invariance of the trace gives
Therefore
Equivalently, the paired positive and negative unit eigenvalues cancel. This argument does not depend on a particular matrix representation.
If for or , then implies . The polynomial has distinct roots, so such a matrix is diagonalizable and
Anticommutation with another invertible Dirac matrix maps a eigenspace to a eigenspace, so both signs occur with equal multiplicities in a nontrivial representation. A Hermitian operator is appropriate for the physical Hamiltonian and additionally guarantees an orthonormal eigenbasis.
For a free particle the Dirac matrices are constant and the momenta commute. Squaring the Hamiltonian cancels all mixed terms by their anticommutators:
Applying another time derivative to the Dirac equation therefore gives
for every component. This is the Klein-Gordon equation. Its componentwise satisfaction is a necessary consequence of the first-order Dirac equation, not a converse selecting all spinor solutions of the squared equation.
For a nonzero everywhere attractive weak potential, , the pole has with . The exterior waves decay as , giving one shallow bound state to leading weak-coupling order:
Its size is much larger than the potential range because . For an everywhere repulsive potential there is no negative-energy normalizable bound state: the kinetic and potential quadratic forms are both nonnegative. Its lower-half-plane pole is a virtual state, not a stable bound state. More complicated sign-changing potentials with a vanishing integral require higher-order analysis and are not covered by this simple leading result.
Write , so . Its nontrivial pole is
For negative this is on the positive imaginary axis, the physical bound-state sheet. For positive it lies on the negative imaginary axis and is a virtual-state pole reached by analytic continuation through the continuum cut. These different sheets can have the same negative numerical energy; specifying only would conceal the distinction. As a function of , the momentum square root also introduces the continuum threshold branch point at zero. If , numerator and denominator cancel at this order and no pole is predicted by this leading approximation.
Replace the slowly varying interior wave by and by one when both arguments lie within the range. The integral equation gives
Hence
The integrated strength has dimensions of energy times length. For , and this is exactly the result in part c. For a regular weak potential the approximation sums the important ratio without requiring it to be small, which is why it remains useful beyond the naive first Born expansion at small momentum.
Let and . Inside a region of size , the Schrödinger equation estimates the curvature as . Matching to the incoming and reflected waves constrains the slope as well. To leading order the interior wave has nearly constant value , while its small accumulated derivative change encodes the potential's integrated strength.
This is not a Born assumption that is close to one. At very low the wave can be strongly reflected even by a weak potential, and can be small. The matching solution in the next part gives . It implies a fractional variation across the range of order , which is small under the two specified conditions. Thus
The approximation requires a finite short-range potential with a controlled width and integral; it does not describe arbitrary long-range tails.

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