Repository navigation
A polynomial over a power of a trinomial past the square is integrated - #1703
Merged
Merged
Conversation
…n a power at a time 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. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…-power-of-a-trinomial
This was referenced Oct 3, 2026
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 + c x^(2n))^k, a polynomial over a power of a trinomial inx^nwith symbols in it, was declined past the square, which the Hermite reduction answers in one linear solve:x^4/(a + b x^2 + c x^4)^31/(a + b x^2 + c x^4)^3x/(a + b x^3 + c x^6)^2What changes. With
w = x^n,T = a + b w + c w^2andD = 4 a c - b^2, the derivative ofx^(m+1) (β0 + β1 w) T^(p+1)isx^m T^pplus multiples ofx^mandx^(m+n)overT^-(p+1):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
Tand integrated once. It comes after the binomial's recurrence (#1699), forn >= 2; the square keeps the Hermite reduction's answers.Tests:
PowerOfATrinomialIntegralTest, each differentiated back with the symbols pinned, each declined on master.Measured on the Rubi corpus against master
3fba4e5d, the branch's base:No answer is wrong on either build. The 12 problems the two builds disagreed on, run again one build at a time, are 8 answered here and 2 on master:
x^4/(a + b x^2 + c x^4)^3in 1.2.2.2,x^2 (A + B x^2)/(a + b x^2 + c x^4)^3in 1.2.2.4 and(d + e x + f x^2 + g x^3)/(a + b x^2 + c x^4)^3in 1.2.2.5 are this shape, declined on master;(A + B x)(d + e x)^(3/2)/(a - c x^2)^3in 1.2.1.3,sqrt(a + b sqrt(c + d x))/x^2in 1.3.2 andsin(c + d x)^3/(a - b sin(c + d x)^4)^2in 4.1.7 are answered here, declined or past the budget on master;a + b x^2 + c x^4, were declined on master after 29 s and 42 s: the first is answered here in 45 s, and the second runs past 60 s.The suite passes on the commit measured,
e53afc72, 14,473 tests, and so does the allocation gate. Master148f3007is merged in since, without conflicts, and the calculus tests pass on the merge, 3,800 of them.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura