A polynomial with symbols in it that is a binomial or an even quartic in a shifted variable is integrated in it - #1713
Merged
Rafael-SOWNet merged 3 commits intoOct 3, 2026
Conversation
… in a shifted variable is integrated in it 1/(c^2 x^3 + 3 b c x^2 + 3 b^2 x + 3 a b) was declined, although its denominator is ((c x + b)^3 + 3 a b c - b^3)/c and 1/(a + (b + c x)^3) is answered at once: nothing factors a polynomial with a symbol among its coefficients. In partial fractions, before the Hermite reduction, a power of one polynomial of the third to the sixth degree with a symbol in it, written out, is read in y = x + s with s = a_(n-1)/(n a_n), which takes its term of degree n - 1 away; where that leaves a binomial, or a quartic even in y -- a + 8 x - 8 x^2 + 4 x^3 - x^4 is a + 3 - 2 y^2 - y^4 in y = x - 1 -- the integral is taken in y. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…s-a-binomial-after-a-shift
…s-a-binomial-after-a-shift
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.
A polynomial below the bar with a symbol among its coefficients was declined whenever it is not already written in the form a rule reads, although some are one shift of the variable away from it:
c^2 x^3 + 3 b c x^2 + 3 b^2 x + 3 a bis((c x + b)^3 + 3 a b c - b^3)/c, and1/(a + (b + c x)^3)is answered at once.599dcb7f1/(3 a b + 3 b^2 x + 3 b c x^2 + c^2 x^3)1/(3 a b + 3 b^2 x + 3 b c x^2 + c^2 x^3)^2x/(a + 8 x - 8 x^2 + 4 x^3 - x^4)1/(a + 8 x - 8 x^2 + 4 x^3 - x^4)What changes. One step in the partial fractions, before the Hermite reduction. Where the denominator is a constant times a power of one polynomial of the third to the sixth degree with a symbol in it, written out, the polynomial is read in
y = x + swiths = a_(n-1)/(n a_n), which takes its term of degreen - 1away. Where that leaves a binomial iny, or a quartic even iny--a + 8 x - 8 x^2 + 4 x^3 - x^4isa + 3 - 2 y^2 - y^4iny = x - 1-- the integral is taken inyand written back. A polynomial over the rationals is not touched, since the steps above split it over its factors, and neither is one written in a linear already,a + (b + c x)^3.Tests:
ShiftedPolynomialIntegralTest, four rows, each differentiated back with the symbols pinned.Measured first on Rubi's 1.3.1 Rational functions, all 490 problems with answers in functions the library has, at the corpus's 5-second budget, against master
9c2509d8, the branch's base:14 more are answered and none that master answers is lost.
Measured then on the Rubi corpus against master
9c2509d8:No answer is wrong on either build. The 14 problems the two builds disagreed on, run again one build at a time, are all answered here and none on master, all in 1.3.1.
The suite passes on the commit measured,
b46c2bd5, 14,563 tests, and so does the allocation gate. Master599dcb7fis merged in since, without conflicts, and the calculus tests pass on that merge, 3,939 of them;2340e8a4, #1711, after it, with the tests the two touch passing.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura