Skip to content

A power of a linear beside a symbolic block is split at the linear's root - #1706

Merged
Rafael-SOWNet merged 5 commits into
masterfrom
a-power-of-a-linear-beside-a-symbolic-block
Oct 3, 2026
Merged

Rafael-SOWNet merged 5 commits into
masterfrom
a-power-of-a-linear-beside-a-symbolic-block

Conversation

@Rafael-SOWNet

@Rafael-SOWNet Rafael-SOWNet commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

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 was x itself:

integrand master f21e065f this
1/((x - c)(a + b x^3)) declined 0.7 s
1/((x - c)^2 (a + b x^4)) declined 1.9 s
(1 + x)/((x + 2)^2 (a + b x^3)) declined 0.7 s
1/((g + h x)(a + b x^3)) declined 0.8 s

What changes. The split over written factors takes linear and quadratic blocks only, and #1700 split a power of x beside a block at 0: the first k terms of the power series of N/B there are the part over x^k, and the rest is a polynomial over the block exactly. A power of another linear L = g + h x is split the same way at its root r = -g/h. With s = x - r, the coefficients of N and B in s are read by Taylor's formula, the series of N/B in s gives the part over s^k, and (N - P B)/s^k, written back in x, goes over the block as it is written, for the rules that read it.

The split is made only where L divides neither N nor B, where B is past the second degree with a symbol in it, and for the question asked or one substitution below it. The power of x keeps its own split and its answers.

Writing 1/(x (a + b (c + d x)^3)) in u = c + d x makes 1/((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 s only, a + b (c + d x)^3 beside (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 in x, which the rules over x search 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:

master this
family 0, independent suites (1814) 1758 1758
family 1, 40 a file (1381) 1238 1238
families 2 to 8, sampled (2410) 2175 2178

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)^2 in 3.4, (a + b atan(c x^2))/(d + e x)^2 and (a + b atan(c x^3))/(d + e x)^2 in 5.3.3, and (a + b atanh(c x^3))/(d + e x)^2 in 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. Master f21e065f, with #1701 to #1704, is merged in since, without conflicts, and the calculus tests pass on the merge, 3,815 of them; and then e73a940a, with #1705.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

Rafael-SOWNet and others added 4 commits October 3, 2026 00:14
…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
@Rafael-SOWNet Rafael-SOWNet added this to the 2.6.0 milestone Oct 3, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit 0585dbb into master Oct 3, 2026
34 checks passed
@Rafael-SOWNet
Rafael-SOWNet deleted the a-power-of-a-linear-beside-a-symbolic-block branch October 29, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant