Repository navigation
A linear over a linear beside the root of a cubic binomial is integrated where that is elementary - #1781
Merged
Rafael-SOWNet merged 4 commits intoOct 5, 2026
Conversation
…ted where that is elementary (1 + x + sqrt(3))/((1 + x - sqrt(3)) sqrt(1 + x^3)) and the rest of Rubi's 1.3.2 quotients of linears, and of quadratics, beside the reciprocal of the root of a + b x^3 were declined. The curve is elliptic, and the integral elementary only at coefficients where it is a constant times an arctangent or an inverse hyperbolic tangent of (1 + p x)/sqrt(a + b x^3), or of its square over the root. Rubi's 1.3.3 names those coefficients, and its rules are taken, each condition decided as a value and the answer differentiated back. Welz's (1 + x)/((x - 2) sqrt(1 + x^3)) is one of them, and is one logarithm now where the ansatz wrote three. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…ntegral-over-a-cubic-binomial-is-integrated
…ntegral-over-a-cubic-binomial-is-integrated
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Rafael-SOWNet
deleted the
a-pseudo-elliptic-integral-over-a-cubic-binomial-is-integrated
branch
October 29, 2026 00:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #718.
(1 + x + sqrt(3))/((1 + x - sqrt(3)) sqrt(1 + x^3))and the rest of Rubi's 1.3.2 quotients of linears, and of quadratics, beside the reciprocal of the root ofa + b x^3were declined. The curvey^2 = a + b x^3is elliptic, and such an integral is elementary only at the coefficients where it is a constant times an arctangent or an inverse hyperbolic tangent of(1 + p x)/y, or of its square overy:f6e1e308(1 + x + sqrt(3))/((1 + x - sqrt(3)) sqrt(1 + x^3))(c - 2 d x)/((c + d x) sqrt(c^3 + 4 d^3 x^3))(2 - 2 x - x^2)/((2 + k + k x + x^2) sqrt(1 + x^3))(1 + x)/((x - 2) sqrt(1 + x^3)), Welz'sEach answer is differentiated back and compared with the integrand at six points.
What changes.
SolveAPseudoEllipticQuotientOverTheRootOfACubicBinomialtakes Rubi's 1.3.3 rules for those coefficients:(e + f x)/((c + d x) y)whereb c^3 = 4 a d^3orb c^3 = -8 a d^3with2 d e + c f = 0, or whereb^2 c^6 - 20 a b c^3 d^3 - 8 a^2 d^6 = 0with its second condition; and(f + g x + h x^2)/((c + d x + e x^2) y)whereb g^3 = 8 a h^3,g^2 + 2 f h = 0andb d f + b c g = 4 a e h. At each the integral is a constant times that of1/(1 + K u^2)atu = (1 + p x)/yor(1 + p x)^2/y, an arctangent or an inverse hyperbolic tangent by the sign ofK. Each condition is decided as a value, and the answer is differentiated back at sampled points before it is returned. It is asked beforeSolveByReducingThePolynomialOverALinearFactor, which writes(1 + x + sqrt(3))/(1 + x - sqrt(3))as1 + 2 sqrt(3)/(1 + x - sqrt(3)): two integrals, neither elementary.Welz's
(1 + x)/((x - 2) sqrt(1 + x^3))is one of them, and is one inverse hyperbolic tangent now,-(2/3) artanh((1 + x)^2/(3 sqrt(1 + x^3))), written as a logarithm, where the logarithm ansatz wrote three logarithms.Tests:
PseudoEllipticQuotientIntegralTest, six rows over the three conditions and the quadratic, differentiated back on both sides of 0.SquareRootLogarithmAnsatzTestkeeps the ansatz's row with a cubic numerator, and holds Welz's and its sum withx^2/sqrt(1 + x^3)in a theory of their own, answered with one logarithm.Measured first on 1,060 problems, the 714 of Rubi's 1.3.2 that the harness counts and 346 of its 1.1.3, 1.1.4, 1.2.3 and 1.2.4 and Welz's, nearly all with a root of a binomial or a trinomial in them, at the corpus's 5-second budget, against master
287c69a7, the branch's base:Measured then on the Rubi corpus against master
287c69a7:The harness counts no answer wrong in either. The 46 problems the two builds disagreed on, pocket and sample together, run again one build at a time: this answers 43 that master does not, 42 of 1.3.2 and Welz's, and master none that this does not. The other three are past 20 seconds on both builds, two answered and one declined by each.
The suite passes on the commit measured,
fbabb621, 14,828 tests, and the allocation gate passed. The head here,4428111f, merges masterf6e1e308and corrects a comment; the calculus and corpus tests pass on the merge,63770bb0, 4,276 tests, and the library builds fornetstandard2.0.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura