Stokes theorem equates the circulation around the induced boundary orientation of an oriented surface to the normal flux of curl:
The usual version requires a piecewise smooth oriented surface and a vector field continuously differentiable on a neighbourhood of it. We use the upward orientation wherever the surface is a graph; each outer circle is counterclockwise viewed from above, and an inner circle is clockwise.
Write . The surface of revolution has with . For , it is a disk-shaped cap of a two-sheeted hyperboloid, running from to . For , it is a right circular cone, , including its apex. For , it is an annular strip of a one-sheet hyperboloid, between the circles and .
Figure 1.
Disk cap, cone and annular hyperboloid strip in the three positive-parameter regimes of Stokes' theorem
. Details.
For , differentiation of the graph gives and , so the upward vector surface element of a graph and its scalar area are
For this graph expression is singular at the lower circle because the surface has a vertical tangent there, rather than a singular geometric surface. A regular parametrization is
It proves that the graph surface integral is interpreted by its integrable endpoint limit. The same parametrization works away from the pole or apex in the other regimes.
Direct differentiation of the first vector field gives
Its surface integral is twice the projected area, namely for and for . On an oriented circle of radius , . The outer circulation is ; an inner circle, when present, contributes . Thus
At , excise a small apex circle of radius , apply Stokes theorem to the smooth truncated cone, and let . The removed flux and its inner circulation are both , so the limiting equality holds. This avoids silently applying a smooth-surface theorem at the cone's nonsmooth apex.
The second vector field is the azimuthal inverse-radius vector field, . Away from the axis,
The other two curl components vanish because the field is independent of and has zero component. On any positively oriented circle around the axis, , so its circulation is , independent of radius. Therefore
For the surface avoids the axis, so Stokes theorem applies directly and returns zero curl flux. For the disk cap meets the axis, and for the apex lies on it: is undefined there, so the neighbourhood hypothesis of Stokes theorem fails. Removing a small circle gives cancelling inner and outer circulations; the inner circulation remains as its radius tends to zero. Hence it cannot be discarded as it could for . A nonzero circulation here is compatible with zero curl away from the excluded axis.
Let and measure Lionel's fortune in unit stakes. This is gambler's ruin: the fortune moves by with probability and with probability , stopping at or . Let be the expected value of the absorption time starting at . It is finite: from any interior state, a run of wins or losses has a fixed positive probability of absorption within steps, giving a geometric bound on survival over successive blocks. First-step analysis therefore gives
For , the homogeneous solution of the recurrence is , and a particular solution is . Put . Imposing the two endpoint boundary conditions gives the expected duration of biased gambler's ruin
Consequently the expected number of games is
The denominator and numerator have matching signs, so this is positive. As a check its continuous limit at is , the expected duration of symmetric gambler's ruin.
Work on an interval where the change of variables is smooth and invertible, with . If , the chain rule gives and . Eliminating using the original second-order linear differential equation gives
For the real transformation as printed, take . Set , which is the Liouville transformation of a second-order equation. Differentiating twice makes the coefficient of cancel. Dividing by leaves
The additional term is exactly , as required.
On an interval with , choose and therefore up to a constant. Primes in the following expression mean derivatives with respect to . We have and , giving the WKB correction term
Neglecting gives . Since , the WKB approximation is
Changing the lower integration limit only rescales the constants. Small is the stated local approximation criterion; rapid variation or a turning point can invalidate it, and small local residual alone need not imply uniform accuracy over an arbitrarily long interval.
The printed hypothesis only says . If real on the interval, the printed square roots require a consistent complex branch. Equivalently a real WKB approximation is
This supplies the oscillatory interpretation for the negative- case instead of silently assuming that the original nonzero hypothesis means positive. Smoothness through the derivatives used above and absence of zeros are required locally.
The chain rule gives and . The coefficients of and are and . Their integer roots are and . Thus choose characteristic coordinates , , whose Jacobian determinant is . The coefficient of is , so the equation becomes , equivalently .
Integrating the transformed hyperbolic partial differential equation gives . Along the coordinates are , so the zero boundary condition gives for every real . Along they are , so , hence . The constants cancel and the unique resulting solution is
It directly satisfies both boundary conditions and .
Introduce . The pendulum with quadratic damping is the autonomous planar system
Its equilibrium points are . Since the derivative of is zero at zero, the linearization of a dynamical system at each equilibrium point is
At an odd multiple of its eigenvalues are , so it is a saddle equilibrium; the stable and unstable tangents are and . At an even multiple the eigenvalues are . This linearization is a centre and does not decide the nonlinear stability. In particular it would be incorrect to infer a linear damped focus from this Jacobian.
For the full system the mechanical energy is a Lyapunov function near an even equilibrium point:
A sufficiently small sublevel set is compact and contains only that equilibrium point. The only invariant motion with has and , hence is the equilibrium point itself. The LaSalle invariance principle proves asymptotic stability. Near it the trajectories turn clockwise and spiral inward, as the near-linear angular motion persists while energy decreases. Thus even equilibria are nonhyperbolic asymptotically stable spiral points; odd equilibria remain saddles.
Figure 1.
Local phase trajectories near a stable pendulum equilibrium and an unstable saddle with quadratic damping
. Details.
For explicit trajectories put on a branch where . The chain rule gives , so the two signs yield the first-order linear differential equations for , and for . Their integrating factors give
Only portions with a nonnegative right-hand side are physical. At a turning point the constants of the two branches are matched using ; neither expression is one global trajectory through both signs. When they reduce to energy contours, with closed orbits around the even equilibrium points. For every , the quadratic damping destroys those closed orbits and makes the centres attracting spirals. Its effect is higher order in amplitude, so decay is weaker near rest than with linear damping. The saddle equilibria remain unstable, though their separatrices change shape.
Put , and . Because , the conditional probability inequality is equivalent to . But that same inequality gives , or . Thus positive association of two events is symmetric.
For the complement of an event, , and
Therefore strictly repels ; equivalently . Both directions are stated because the wording switches the grammatical roles of attraction and repulsion. The substantive conclusion is the same: the conditional probabilities involving the complement are strictly smaller than their unconditional counterparts.
The equilibrium points are . To obtain the other solutions of this separable differential equation without losing their signs, set on an interval where . Then , so . Therefore all real solutions are
on intervals where . This family includes when . For a prescribed finite nonzero , and , so the solution exists for all future time. The cubic logistic differential equation has
These are the only possible limits. The sign cannot change by uniqueness, and the denominator tends to one. A nonzero initial condition producing a constant solution is ; also works. The central equilibrium point is unstable and the two outer equilibrium points attract solutions from their respective half-lines.
The integrating factor is , so . Integrating gives the general solution
The particular solution is only defined up to a homogeneous solution. Subtract from it, absorbing that multiple into the arbitrary constant. The same family can then be written
Holding fixed, the quotient tends to , the derivative of with respect to at . Thus the resonant family is . Direct differentiation gives , so it is the full general solution at resonance. This resonant exponential forcing in a first-order equation limit concerns a reparametrized family, not a fixed value of the original divergent constant . The initial condition gives , hence
Interpret random choice of coin as equal prior probabilities, and the tosses as independent conditional on the chosen coin. Let denote two heads. The conditional probabilities are and . For posterior coin selection from repeated tosses, Bayes' theorem gives
The tosses need not be unconditionally independent, because the same hidden coin is used twice. If the coin-choice prior were instead , the answer would be ; equal choice gives the stated .
For nondecreasing uniform samples in the lottery, all ordered samples have equal probability by the discrete uniform distribution and independence. A nondecreasing sample is uniquely specified by its multiplicities , with . The stars and bars argument places separators among identical markers, giving multiplicity vectors. There is exactly one nondecreasing ordered sample for each such vector, so the probability is
This counts samples with ties correctly; multiplying a single strictly increasing count by would not handle the repeated values.
For a nonnegative random variable with finite expected value, and , Markov's inequality states . Indeed , and taking expected values proves the bound. For a random variable with mean and finite variance , apply Markov's inequality to at threshold . This proves Chebyshev's inequality:
For independent and identically distributed random variables with finite mean and variance , the sample mean has expected value and variance . Thus
This is the weak law: , with the finite-variance hypotheses used in this direct deduction.
The more general weak law of large numbers needs only . To obtain that version, truncate . For fixed the bounded variables obey the result just proved. Their means tend to , while Markov's inequality bounds the probability that the two sample means differ by more than by . First take and then ; the integrable tail vanishes, proving the full integrable i.i.d. version as well.
Finally assume and . For every , implies , so Markov's inequality gives
If , the derivative of the right-hand side is , so its minimum is at . The Cantelli inequality follows:
If , almost surely and the same bound is immediate. The bound is sharp: put mass at and the remaining mass at ; this has exactly the prescribed mean and variance.
The proposed probability density function is nonnegative. To check its integral, put . The Gaussian integral can be evaluated by squaring and using polar coordinates:
Since , and . Thus has the standard normal distribution. Completing the square in its moment-generating function gives, for every real ,
Differentiation under the integral is justified near every finite by Gaussian decay. Expanding gives all moments:
To obtain the two-term bounds for Mills ratio, use . Integration by parts gives, for ,
The positive remainder proves . A second integration by parts gives
Substitution and division by the strictly positive show
The last integral is strictly positive for every finite , proving . Both remainders are finite for every fixed positive ; the lower bound remains valid even when it is negative.

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