Repository navigation
A polynomial over a power of a binomial past the cube is taken down a power at a time - #1699
Merged
Merged
Conversation
… power at a time P(x)/(a + b x^n)^k with symbols in the binomial, n >= 3, was answered by the Hermite reduction for the square and the cube only: from the fourth power its linear system grew past what it takes, and 1/(a + b x^4)^4 was declined. After it, each monomial of P now goes down the powers by the classical recurrence, int x^m/B^j = x^(m+1)/(a n (j-1) B^(j-1)) - (m + 1 - n (j-1))/(a n (j-1)) int x^m/B^(j-1), and what reaches the first power is integrated once over the binomial. Rubi's 1.1.3.8. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…-power-of-a-binomial
…-power-of-a-binomial
This was referenced Oct 2, 2026
Rafael-SOWNet
added a commit
that referenced
this pull request
Oct 3, 2026
…n a power at a time (#1703) x^4/(a + b x^2 + c x^4)^3 was declined: the Hermite reduction answers the square of a trinomial with symbols in it in one linear solve, and its system grows past what it takes at the cube. With w = x^n, T = a + b w + c w^2 and D = 4 a c - b^2, the derivative of x^(m+1) (beta0 + beta1 w) T^(p+1) is x^m T^p plus multiples of x^m and x^(m+n) over T^-(p+1), with beta0 = (b^2 - 2 a c)/(a n (p + 1) D), beta1 = b c/(a n (p + 1) D), delta0 = -((2 a c - b^2)(m + 1) + n (p + 1) D)/(a n (p + 1) D) and delta1 = b c (m + 2 n p + 3 n + 1)/(a n (p + 1) D). So each monomial goes down a power at a time as two monomials a power up, and what reaches the first power is gathered into one polynomial over T and integrated once. After the binomial's recurrence (#1699), for n >= 2. Part of #718. Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
P(x)/(a + b x^n)^k, a polynomial over a power of a binomial with symbols in it,n >= 3, is answered by the Hermite reduction for the square and the cube. From the fourth power on, its linear system grows past what it takes, and the integral was declined:1/(a + b x^4)^31/(a + b x^4)^4(c + d x)/(a + b x^4)^4(c + d x)/(a + b x^3)^4(c + d x + ... + k x^6)/(a + b x^4)^4x^2/(a + b x^5)^5What changes. After the Hermite reduction, each monomial of
Pis taken down the powers by the classical recurrence. WithB = a + b x^n:The derivative of
x^(m+1)/B^(j-1)is(m + 1) x^m/B^(j-1) - (j - 1) n b x^(m+n)/B^j, andb x^(m+n) = x^m B - a x^m. What reaches the first power is gathered into one polynomial overBand integrated once, at the binomial's roots of unity. The constant term is divided by, which is the generic case.The square and the cube keep the Hermite reduction's answers, since this runs after it.
On the 33 problems of Rubi's 1.1.3.8 with a fourth power of the binomial or more below the bar, this answers 29 where master answers 17. It loses none, and answers none wrongly. The four left have a power of
xbeside the binomial,(c + d x + e x^2)/(x^k (a + b x^3)^4), and are declined as on master.Tests:
PowerOfABinomialIntegralTest.PastTheCube, seven rows, each differentiated back withaof either sign.Measured on the Rubi corpus against master
c3f52691, the branch's base, with both builds side by side:No answer is wrong on either build.
Nine problems moved between the two runs, so I re-ran each alone on both builds. This branch answers seven of them and master one, which this branch answers too, in 0.5 s where master takes 18 s. Neither answers any wrongly.
The suite passes, 14,385 tests on a fresh build, and so does the allocation gate. Master
0dd86927is merged in since, without conflicts, and the calculus tests pass on the merge, 3,737 of them.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura