AngouriMath
RothsteinTrager
Description
Summary
The integral of a rational function with rational coefficients, whatever its
denominator: the Hermite reduction for the rational part of the answer, and the
Rothstein–Trager resultant for the logarithmic part, written in real terms after Rioboo.
denominator: the Hermite reduction for the rational part of the answer, and the
Rothstein–Trager resultant for the logarithmic part, written in real terms after Rioboo.
Remarks
a biquadratic one over the reals, and stop there: Bronstein's
of that cubic anywhere in it. The logarithmic part of the integral of
resultant
field the answer needs, not the roots of
squarefree decomposition -- a root of multiplicity
irreducible factors of each squarefree part over
rational residue and a logarithm; a quadratic one is a pair of conjugate residues
is
form. A factor of higher degree puts the residues in a field this does no arithmetic in,
and those logarithms are written as a sum over the roots of the factor of the denominator
they belong to,
(IntRationalLogPart) and §2.8 (LogToReal, LogToAtan). The resultant is taken as a
Sylvester determinant rather than from a subresultant remainder sequence, so the gcd
is computed for each residue in its own field instead of being read off the
sequence -- that is the classical Rothstein–Trager rather than Lazard–Rioboo–Trager,
affordable here because the fields are of degree at most two. The answer is checked
against the integrand at sampled points before it is returned.
https://github.com/asc-community/AngouriMath/issues/718
Members
Integrate(AngouriMath.Entity,AngouriMath.Entity,AngouriMath.Entity.Variable)
MethodMaxDegree
FieldSquareFree(AngouriMath.Functions.RationalPolynomial)
MethodToInteger(AngouriMath.Functions.RationalPolynomial)
MethodTryRationalSquareRoot(PeterO.Numbers.ERational,PeterO.Numbers.ERational@)
Method
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online