Integrals against the square root of a quadratic between its roots #
For a < b the quadratic (x - a) (b - x) is positive exactly on (a, b), and the integrals of
√((x - a) (b - x)) and its reciprocal against 1, x and 1 / x over [a, b] have closed
forms in terms of π, a + b and the geometric mean √(a b):
∫ x in a..b, 1 / √((x - a) (b - x)) = π;∫ x in a..b, x / √((x - a) (b - x)) = π (a + b) / 2;∫ x in a..b, 1 / (x √((x - a) (b - x))) = π / √(a b)for0 < a;∫ x in a..b, √((x - a) (b - x)) / x = π ((a + b) / 2 - √(a b))for0 ≤ a.
These are the quadratures of classical mechanics in one degree of freedom between two simple
turning points: after factoring the radial kinetic energy of a Kepler orbit or an isotropic
oscillator as such a quadratic, they compute the radial action, the radial period and the angle
swept between the turning points. The integrands 1 / √((x - a) (b - x)),
(x - a) / √((x - a) (b - x)) and, for 0 < a, 1 / (x √((x - a) (b - x))) are in general
unbounded at the endpoints, but they are nonnegative derivatives of continuous functions, hence
integrable; x / √((x - a) (b - x)) is handled through the split x = (x - a) + a.
The antiderivatives are arcsin ((2 x - a - b) / (b - a)) for 1 / √((x - a) (b - x)) and
arcsin (((a + b) x - 2 a b) / ((b - a) x)) / √(a b) for 1 / (x √((x - a) (b - x))).
The quadratic is the model for every function with simple zeros at a and b. If g is continuous
on [a, b], positive on (a, b), and vanishes at a and b with nonzero one-sided derivatives
there, then g dominates a positive multiple of (x - a) (b - x) on [a, b], so by comparison
1 / √(g x) is interval integrable as well. This is the convergence of the time quadrature of a
one-dimensional motion between two simple turning points.
Main declarations #
TauCeti.integral_one_div_sqrt_mul_sub_mul_subTauCeti.integral_div_sqrt_mul_sub_mul_subTauCeti.integral_one_div_mul_sqrt_mul_sub_mul_subTauCeti.integral_sqrt_mul_sub_mul_sub_divTauCeti.intervalIntegrable_one_div_sqrt_mul_sub_mul_sub,TauCeti.intervalIntegrable_div_sqrt_mul_sub_mul_sub,TauCeti.intervalIntegrable_one_div_mul_sqrt_mul_sub_mul_subandTauCeti.intervalIntegrable_sqrt_mul_sub_mul_sub_div: the integrability of the integrands that are in general unbounded at the endpoints.TauCeti.exists_pos_forall_mul_mul_sub_mul_sub_leandTauCeti.intervalIntegrable_one_div_sqrt_of_hasDerivWithinAt: domination by the quadratic and integrability of1 / √gfor a functiongwith simple zeros at both ends.TauCeti.hasDerivAt_arcsin_two_mul_sub_sub_div_sub,TauCeti.hasDerivAt_arcsin_add_mul_sub_div_sub_mulandTauCeti.hasDerivAt_sqrt_mul_sub_mul_sub: the derivatives of the antiderivatives on(a, b).
References #
- I. S. Gradshteyn, I. M. Ryzhik, Table of Integrals, Series, and Products, 7th ed., Academic Press, 2007, Section 2.26.
x ↦ 1 / √((x - a) (b - x)) is interval integrable between a and b, although it is
in general unbounded at the endpoints.
x ↦ x / √((x - a) (b - x)) is interval integrable between a and b, although it is
in general unbounded at the endpoints.
x ↦ 1 / (x √((x - a) (b - x))) is interval integrable between positive a and b,
although it is in general unbounded at the endpoints.
x ↦ √((x - a) (b - x)) / x is interval integrable between nonnegative a and b,
although it is unbounded near 0 when an endpoint is 0.
Functions with simple zeros at both ends #
A function with simple zeros at both ends of an interval dominates the quadratic with the
same zeros. If g is continuous on [a, b], positive on (a, b), and vanishes at a and b
with nonzero one-sided derivatives there, then c (x - a) (b - x) ≤ g x on [a, b] for some
c > 0.
Quadratures across simple zeros converge. If g is continuous on [a, b], positive on
(a, b), and vanishes at a and b with nonzero one-sided derivatives there, then
x ↦ 1 / √(g x) is interval integrable on [a, b], although it is unbounded at both ends.