Repository navigation
A power of a linear beside a symbolic block is split at the linear's root - #1706
Merged
Rafael-SOWNet merged 5 commits intoOct 3, 2026
Merged
Conversation
…root 1/((x - c)(a + b x^3)) was declined: the split over written factors takes linear and quadratic blocks only, and the split beside a block at a power of x (#1700) is at 0. N/(L^k B) for a linear L = g + h x splits the same way at L's root r: N/B has a power series in s = x - r, its first k terms are the part over s^k, and (N - P B)/s^k is a polynomial over the block exactly. The coefficients at the root are read by Taylor's formula and the block is left as it is written, for the rules that read it. Writing 1/(x (a + b (c + d x)^3)) in c + d x makes this shape, as Rubi's 1.3.1 does. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…substitution of the linear 1/((c + d x)^2 (a + b (c + d x)^3)^2) is a function of c + d x, which the substitution of it reads. Split at the root of the linear, the rest would go back over the block written in x, which the rules over x search for 20 s. The block is shifted and read before the numerator, so such a question is declined before the numerator is shifted. Part of #718 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…-beside-a-symbolic-block
…-beside-a-symbolic-block
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.
N/(L^k B), a polynomial over a power of a linear beside a block past the second degree with a symbol in it, was declined unless the linear wasxitself:f21e065f1/((x - c)(a + b x^3))1/((x - c)^2 (a + b x^4))(1 + x)/((x + 2)^2 (a + b x^3))1/((g + h x)(a + b x^3))What changes. The split over written factors takes linear and quadratic blocks only, and #1700 split a power of
xbeside a block at 0: the firstkterms of the power series ofN/Bthere are the part overx^k, and the rest is a polynomial over the block exactly. A power of another linearL = g + h xis split the same way at its rootr = -g/h. Withs = x - r, the coefficients ofNandBinsare read by Taylor's formula, the series ofN/Binsgives the part overs^k, and(N - P B)/s^k, written back inx, goes over the block as it is written, for the rules that read it.The split is made only where
Ldivides neitherNnorB, whereBis past the second degree with a symbol in it, and for the question asked or one substitution below it. The power ofxkeeps its own split and its answers.Writing
1/(x (a + b (c + d x)^3))inu = c + d xmakes1/((u - c)(a + b u^3)), which is this shape. Rubi's 1.3.1 has a section of them.Tests:
SymbolicFactorsPartialFractionsTest.APowerOfALinearBesideASymbolicBlock, four rows, each differentiated back with the symbols pinned, each declined on master.A block that is a function of the linear is left alone. Where the shifted block is a polynomial in a power of
sonly,a + b (c + d x)^3beside(c + d x)^2, the whole is a function of the linear, which a substitution of it reads; split here, the rest goes back over that block written inx, which the rules overxsearch for 20 s and more. The block is shifted and read before the numerator, so such a question is declined before the numerator is shifted.Measured on the Rubi corpus against master
3fba4e5d, the branch's base:No answer is wrong on either build. The 7 problems the two builds disagreed on, run again one build at a time, are 5 answered here and 1 on master:
log(c (a + b x^3)^p)/(d + e x)^2in 3.4,(a + b atan(c x^2))/(d + e x)^2and(a + b atan(c x^3))/(d + e x)^2in 5.3.3, and(a + b atanh(c x^3))/(d + e x)^2in 7.3.3, past the budget on master; one is answered on both and two on neither.The suite passes on the commit measured,
cf795d1f, 14,471 tests, and so does the allocation gate. Masterf21e065f, with #1701 to #1704, is merged in since, without conflicts, and the calculus tests pass on the merge, 3,815 of them; and thene73a940a, with #1705.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura