An importance weight has expected value . From the ratio in (a),
The supplied normal distribution transform applies with quadratic coefficient , giving each factor . Thus
For , the base exceeds one because : importance weight variance increases exponentially with dimension. For , the importance weight is identically one and its variance is zero. This calculation concerns the importance weight, rather than the weighted integrand.
The moment-generating function of a standard normal distribution gives . Using independence of the coordinates,
The accepted draws are independent and identically distributed random variables, so their sample mean is an unbiased estimator and has variance
This counts accepted draws, requiring proposals in expectation.
Write . The two multivariate normal distribution probability density functions have ratio
Here is the Euclidean norm. Consequently the smallest rejection sampling envelope constant, and its acceptance probability, are
The supremum is attained at ; hence no smaller constant can dominate the ratio. Draw and an independent from the uniform distribution on . Accept when
otherwise repeat with fresh independent random variables. One can generate using a random vector with independent standard normal distribution coordinates.
For any measurable set , the joint acceptance probability is . Dividing by proves that the returned random vector has probability density function . The number of proposals has a geometric distribution on the positive integers, with expected value . When , every proposal is accepted.
With the apsidal origin chosen as specified, . For , rearrangement gives
Let . Since , the equation is . Its solution, continued through points where the intermediate division fails, is
As printed, has units of inverse length and is not the usual dimensionless eccentricity. Writing gives the standard form with . The orbit is an ellipse for , parabolic for unit magnitude and hyperbolic for magnitude greater than one on its allowed angular interval. The purely radial case must be handled separately and is excluded by these divisions.
In the equatorial plane,
Differentiating the given combination produces a cosine term
and a sine term . Thus . The expression is a Cartesian component of the Laplace-Runge-Lenz vector with a conventional overall normalization, reflecting the additional symmetry of the inverse-square-force problem.
The radial and azimuthal Hamilton equations give
Also and . Differentiating the angular-momentum square,
Therefore both and are constants. Rotational symmetry conserves the full angular-momentum vector; these are its axial component and squared magnitude in spherical canonical variables.
Apply the chain rule to the phase-space function:
Thus . If an explicitly time-dependent function is allowed, the correct equation is , so a vanishing bracket alone would not suffice. The source specifies , for which that extra term is absent.
For each canonical coordinate and momentum, Hamilton's equations are
They use canonical rather than arbitrary mechanical momenta, a distinction important in a magnetic field. The bracket convention printed in the source is consistent with for a function with no explicit time dependence.
Use the conserved in the canonical-momentum equation. For a nonzero tilt,
Cancelling with the half-angle identities gives
Its regular limit at the north pole is , although the azimuth itself is not a uniquely defined coordinate at that pole.
At the initially vertical configuration, the two conserved momenta coincide:
The apparent angular term at is interpreted by its regular limit with these equal momenta. Substitution into energy conservation, followed by , gives
Writing yields
The zero of the potential at the vertical configuration includes the initially specified transverse kinetic energy separately as .
Differentiation gives
The angles and are cyclic, so their canonical momenta are conserved. The Lagrangian is autonomous, so the total energy is also conserved. The momentum is not generally constant because gravity and the angular kinetic terms depend on .
Since initially and remains constant, the motion stays in a plane of constant . Setting and gives
The allowed interval obeys . The sign of is set by the initial direction and changes at a turning point. The specified fixes the starting position on the energy orbit, but the data do not specify which sign of the initial transverse velocity is chosen.

There are unlisted articles, also show them or only show them.