Inertia is resistance to a change of motion. Translational inertia is measured by mass in Newton's second law; rotational inertia about a specified fixed axis is measured by the moment of inertiawhere is perpendicular distance from that axis. For a thin uniform rod, take axes perpendicular to the rod. With linear mass density ,The second result uses the parallel axis theorem; direct integration over gives the same value. The axis specification is essential: an ideal thin rod has zero moment of inertia about its own longitudinal axis.
During the short elastic collision, neglect the impulse from gravity. The pivot can exert an external impulse, so total linear momentum of rod plus particle need not be conserved. Its torque about the pivot is zero, so conservation of angular momentum about that point applies. Let be the particle's signed outgoing horizontal velocity, and the rod's outgoing angular velocity, positive towards the incident motion. ThenSubstituting into the kinetic energy equation givesDiscarding the zero-impulse branch , the actual collision givesThe rod's lower end initially moves forward at , so the bodies separate. Afterwards the free particle undergoes projectile motion. With the pivot as origin and downward, its trajectory is , , where at the collision. The rod instead swings about the fixed pivot in a vertical plane as a physical pendulum.
The rod's initial rotational kinetic energy is . Reaching the horizontal raises its centre of mass by , increasing gravitational potential energy by . Consequently,For the threshold case, measure the rod's angle from the downward vertical and reset at its first horizontal turning point, so and . The restoring torque about the pivot gives the exact equation of motionAt the horizontal, , so the rod immediately swings back. Conservation of mechanical energy yieldsOn the initial descent its explicit time dependence is specified by the definite integralIt continues through the vertical to , reverses, and repeats without damping. An alternative expression valid throughout the oscillation uses the Jacobi elliptic sine. Put , , and let denote the complete elliptic integral of the first kind. ThenThis is not simple harmonic motion at an amplitude of . Its oscillation period exceeds its own small-amplitude value by the factor .
A simple pendulum of length obeys . At the same amplitude , its oscillation period is , soThe rod swings more slowly. Its equivalent simple pendulum length is , not the distance to its centre of mass. The same oscillation period ratio holds in the common small-amplitude limit, but replacing the actual 90-degree motion by that limit would underestimate both oscillation periods.
For equal intervals, the composite trapezoidal rule isAdding the missing term therefore gives the exact relationSince is continuous, its Riemann sums, and hence its endpoint-averaged trapezoidal sums, converge to its definite integral. Thus and , givingNo pre-existing formula for the sum of squares is needed.
With step size , the composite trapezoidal rule gives half weight to the two endpoints:ThereforeIt exceeds the exact definite integral by , as expected because is a convex function and each trapezoid lies above the curve.
Let . The expression in part (ii) givesBecause is continuous on , the composite trapezoidal rule converges to its definite integral, which is by part (i). In fact its standard composite trapezoidal error bound is , since . Therefore
For the composite trapezoidal rule, the mesh width is and the nodes are . The endpoint weights are halves and the interior weights are ones, soThis formula is an approximation to the definite integral, not an exact equality with it for finite .
The cosine function is positive on and negative on . Thus any nonzero makes negative on an interval of positive length. Taking makes the total definite integral zero. HenceNormalization alone would suggest , but that candidate still violates nonnegativity and therefore is not a probability density function.
A probability density function must be nonnegative and have definite integral one. HereThereforeThis value is positive, so the nonnegativity requirement also holds.
Choose equation (1), evaluated by refined composite Simpson's rule. It gives directly as a one-dimensional definite integral with fixed endpoints and a smooth integrand. It therefore avoids root finding altogether. Before evaluating, use the trigonometric identityThis equivalent integrand is nonnegative throughout , avoiding cancellation between the original two terms. Equation (2) instead subtracts two potentially large exponential functions, while equation (3) would ordinarily put a numerical integration inside a root finding loop.
For even , let , , and computeThen double . The integrand has bounded derivatives of every fixed order on the integration interval; in the fourth-order error regime, the estimated remaining truncation error in is . The factor follows by eliminating the leading term between the two mesh widths.[ref]
Stop when this estimate is comparable to and further refinement shows stagnation at the roundoff error scale. Check that the differences previously decreased consistently with fourth-order convergence; differences alone are not a rigorous error certificate if cancellation or roundoff error dominates. Compensated summation helps keep the summation error near the precision limit. Refining indefinitely after this point increases work without reliably adding meaningful digits. This answers the requested choice and termination strategy without requiring an explicit value of .
Résumé des leçons sur le calcul infinitésimal by Augustin-Louis Cauchy Created 2026-10-24 Updated 2026-11-05
Original full title: Résumé des leçons données à l’École Royale Polytechnique sur le calcul infinitésimal. Volume I. Cited for the definitions of derivatives and definite integrals, especially the twenty-first lesson. Searchable original OCR: www.e-rara.ch/zut/download/ftpack/plain/8350182 .
Online source: www.e-rara.ch/zut/content/titleinfo/8350182
Richardson extrapolation 2026-10-14
Richardson extrapolation improves an approximation by combining two resolutions so that their leading truncation errors cancel. The useful surprise is that the size of that leading error need not be known: its scaling under refinement is enough. This lets an existing finite difference method or quadrature rule produce a more accurate answer from two runs, without first deriving a new method from scratch.
Suppose approximates a fixed limit as the positive resolution parameter tends to zero, with an asymptotic expansionHere is known, is independent of , and denotes Big O notation. The same asymptotic expansion, with the same , must describe both and . Nested grids make it natural to reuse samples, although nesting itself does not establish this error model. Define the linear combinationThe weights sum to one, preserving , while . Thus Richardson extrapolation gives : the next available term in the asymptotic expansion determines the improved order. Justin Solomon's numerical analysis text develops this cancellation for finite differences and applies it to numerical integration.[ref]
https://people.csail.mit.edu/jsolomon/share/book/numerical_book.pdf. Justin Solomon, Numerical Algorithms, §14.3.3 and Exercise 14.9
Geometrically, regard the approximation as a function of . Its first two terms are a straight line . The two computed points lie at positive ; extending the line through them to gives . This is why the operation is extrapolation: it estimates a value outside the sampled parameter interval. The remaining curvature corresponds to the uncancelled terms of the asymptotic expansion.
Worked example: a centered derivative of sine. For the smooth function , the exact derivative at is . The centered difference quotient, a central finite difference, isThe Taylor series of sine gives the signed truncation errorThus , and . Halving divides the leading truncation error by four. Combining the two centered difference quotients with Richardson extrapolation givesIndeed, the coefficient becomes ; the coefficient vanishes. This is the even-power case of Richardson extrapolation discussed in Persson's authored lecture notes.[ref]
https://persson.berkeley.edu/math128a/lecture_notes/math128a_lecture_notes_chapter_4.html. Per-Olof Persson, Math 128A, Chapter 4, §§4.1–4.2
For and , the actual computations areThe absolute error drops from about for to for , an improvement by roughly a factor of 498. Refining again gives , whose absolute error is about . The refined truncation errors decrease by nearly four for and nearly sixteen for , reflecting their second and fourth orders.
Centered sine derivative errors: second order before Richardson extrapolation and fourth order after cancellation
. Source. Details. The logarithmic scale on each axis turns power laws into straight lines. The dashed reference curves are and , the magnitudes of the leading truncation errors. The plotted errors are computed with 70-digit decimal arithmetic, rather than clipped to a display floor; this isolates the asymptotic expansion from roundoff error.
Worked example: integrating an exponential. Approximate the definite integral of the exponential function on :For numerical integration, the composite trapezoidal rule adds the areas of trapezoids between successive samples; this is the quadrature use of the endpoint average that also occurs in the ODE trapezoidal rule. On equal intervals, with , defineSumming the geometric series gives . Expanding the exponential function near zero yieldsThe leading truncation error again has , . On the uniform nested grids with and intervals, Richardson extrapolation therefore givesThis linear combination is exactly composite Simpson's rule on the finer grid, whose spacing is . On each coarse panel, an old endpoint receives weight and the new midpoint weight ; shared old endpoints receive weight . These are the usual Simpson's rule weights multiplied by . The equivalence is explained directly in LeMesurier's university notes.[ref]
https://lemesurierb.people.charleston.edu/elementary-numerical-analysis-python/notebooks/definite-integrals-3-simpson-richardson.html. Brenton LeMesurier, MATH 375, §19.1: The Basic Simpson's Rule by Richardson Extrapolation
For two coarse panels and four fine panels,The absolute errors are about , and , respectively. Reusing the fine-grid samples makes Richardson extrapolation especially attractive here: the resulting Simpson's rule needs no samples beyond those already used by .
Exponential quadrature on nested grids: trapezoidal areas, reused sample nodes, and the fourth-order Simpson combination
. Source. Details. When the improvement is justified. Richardson extrapolation requires the stated asymptotic expansion and the correct positive . If the actual leading exponent is , its coefficient after combination is , so the leading truncation error generally remains. Merely knowing does not supply a common coefficient or a higher-order remainder. A discontinuity of a function, a singular endpoint, or unrelated changes between grids can invalidate the assumed asymptotic expansion; refinement alone does not guarantee improvement for every numerical problem.
Roundoff error and errors in the sampled values survive the cancellation of truncation error. If the coarse and fine values have absolute perturbations bounded by , the perturbation in is bounded by ; for this is . In floating-point arithmetic, a centered difference quotient can also amplify sample errors through division by , so an indefinitely smaller need not be more accurate. Persson's notes describe this balance between truncation error and roundoff error.[ref]
https://persson.berkeley.edu/math128a/lecture_notes/math128a_lecture_notes_chapter_4.html. Per-Olof Persson, Math 128A, Chapter 4, §4.1: Roundoff Error Instability
The same cancellation idea appears in step-doubling error estimation. For an order- one-step method for an ordinary differential equation, two half steps each contribute local truncation error of order , so their accumulated leading local error has ratio to one full step. This explains the denominator there; the appropriate exponent follows from that local error model, rather than automatically from a generic use of Richardson extrapolation.
Signed area under a graph 2026-10-14
For and a real-valued function with a finite Riemann integral or Lebesgue integral on , the signed area under a graph is its definite integral: geometric area above the horizontal axis contributes positively, and geometric area below it contributes negatively. If these two nonnegative areas are and , thenThe second expression is the total geometric area under a graph. Taking the absolute value of the first expression does not usually give the second: cancellation has already removed information about how much area lies on each side.[ref]
For an exact example, take the polynomial function on . Its polynomial roots are and : it is negative between them and positive on the two outer intervals. An antiderivative is , so the fundamental theorem of calculus givesThus and . The signed area under a graph is , whereas the total geometric area under a graph is . To compute the latter with antiderivatives, split at each sign-changing polynomial root and reverse the sign of the negative contribution.
The polynomial x squared minus one has signed integral 4/3 and total geometric area 4 on the interval from minus two to two
. Details. Cancellation is useful information when the integrand represents a signed contribution. For the polynomial function on , the two triangular areas give , although . Zero net signed area therefore means balanced positive and negative contributions, rather than an empty region.
The short algebraic justification uses the positive part and negative part : and . Their integrals give and , and linearity of integration gives the difference and sum formulas. For Lebesgue integration, require both contributions to be finite to avoid the undefined subtraction .[ref]
Simpson's rule Created 2026-10-14 Updated 2026-10-18
Simpson's rule approximates a definite integral by integrating the quadratic polynomial obtained by polynomial interpolation at two endpoints and their midpoint. For an interval with , write and . The three quadrature nodes are , and the quadrature rule isThus its quadrature weights are . Their sum is , as required for exactness on constant functions. This is the three-node Newton-Cotes closed quadrature; its degree of precision of a quadrature rule is three, even though the interpolating polynomial has polynomial degree at most two.[ref]
3.5 Quadrature, subsection (ii) Simpson’s Rule. NIST Digital Library of Mathematical Functions; §3.5(ii), equation 3.5.6: elementary Simpson rule and its fourth-derivative remainder
For an original worked example, take the cubic polynomial on the interval . Here and , so the function evaluations giveSimpson's rule givesAn antiderivative supplies an independent exact definite integral:The quadratic polynomial through the same quadrature nodes is . It differs from between the quadrature nodes, but its definite integral agrees exactly. The picture shows why: the signed polynomial interpolation error has two lobes with opposite integrals.
An original cubic and its quadratic interpolant have the same integral because the two interpolation-error lobes have signed integrals plus and minus 81 over 64
. Details. Three function evaluations therefore capture more information about an integral than about the whole function. When an antiderivative is unavailable, composite Simpson's rule repeats this inexpensive local construction over a partition of an interval. For a sufficiently smooth function, halving the node spacing reduces its truncation error by approximately a factor of sixteen.
Sine-weighted power integral recurrence 2026-10-18
Define the definite integral . For real , two applications of integration by parts giveThe boundary term vanishes at both endpoints. At , direct integration gives , consistent with the displayed relation; is finite because at zero. This recurrence and evaluate every nonnegative integer moment, with separate even and odd chains.
On a uniform partition of with width , the right Riemann sum and the composite trapezoidal rule have equal weights at every interior mesh point. They differ only by adding half a final-endpoint weight and removing half an initial-endpoint weight. This proves the displayed identity. For continuous , both converge to its definite integral; their finite endpoint correction need not be confused with the smaller trapezoidal discretization error for a smooth integrand.
Trigonometric substitution 2026-10-18
A trigonometric substitution is integration by substitution using a trigonometric function to simplify an integrand, especially a square root. For example, , with and , changes to and to . The interval restriction fixes the sign of the square root. Similarly simplifies . The transformed integral must include the differential and, for a definite integral, the new limits.



