Skip to content

A binomial differential with a symbol in its exponents is integrated in the third case - #1792

Merged
Rafael-SOWNet merged 2 commits into
masterfrom
a-binomial-in-the-third-case-with-a-symbolic-exponent
Oct 5, 2026
Merged

Rafael-SOWNet merged 2 commits into
masterfrom
a-binomial-in-the-third-case-with-a-symbolic-exponent

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Part of #718.

1/(a + b x^n)^((1 + 2 n)/n) is a binomial differential in Chebyshev's third case, (m + 1)/n + p + 1 a whole number, and was declined with the rest of Rubi's 1.1.3.2:3301-3304:

integrand 2.5.0 master 113ae13b this
1/(a + b x^n)^((1 + n)/n) declined declined 44 characters
1/(a + b x^n)^((1 + 2 n)/n) declined declined 117 characters
1/(a + b x^n)^((1 + 4 n)/n) declined declined 381 characters
x^2/(a + b x^n)^((3 + 2 n)/n) declined declined 141 characters
x^m (a + b x^n)^(-(m + 1)/n - 3) declined declined 470 characters
(a + b x^n) (c + d x^n)^(-3 - 1/n) declined declined 422 characters

Each is differentiated back at six points with the symbols pinned.

What changes. SolveABinomialInTheThirdCaseWithASymbolicExponent, asked after SolveAsTheDerivativeOfAProductOfPowers, reads x^m (a + b x^n)^p with a symbol among the exponents and (m + 1)/n + p + 1 = -k for a whole k from 0 to 6. At k = 0 the integral is x^(m + 1) (a + b x^n)^(p + 1)/(a (m + 1)); below it Rubi's reduction raises p by one,

J(p) = -x^(m+1) (a + b x^n)^(p+1)/(a n (p + 1)) + (m + 1 + n (p + 1))/(a n (p + 1)) J(p + 1)

and k steps of it reach the first. Each coefficient is put in lowest terms over the symbols, and the answer is differentiated back at sampled points before it is returned. With numbers for the exponents the three cases are SolveABinomialDifferential's; with a symbol, SolveAsTheDerivativeOfAProductOfPowers answers a power of x beside the binomial at k = 0, and left a power on its own and every k past 0.

Tests: BinomialInTheThirdCaseWithASymbolicExponentIntegralTest, five rows, k from 0 to 3, with and without a power of x, differentiated back at positive x.

Measured first on all of Rubi's 1.1.3.2, 2,466 problems, at the corpus's 5-second budget, against master b1af529d, the branch's base:

master this
solved 2404 2412
unevaluated 57 49
wrong 0 0
past the budget 0 0

Measured then on the Rubi corpus against master b1af529d:

master this
family 0, independent suites (1814) 1775 1775
family 1, 40 a file (1381) 1316 1320
families 2 to 8, sampled (2410) 2315 2318

The harness counts no answer wrong in either.

The 15 problems the two builds disagreed on, pocket and sample together, run again one build at a time: this answers ten that master does not -- 1.1.3.2:3274-3277 and 3301-3304, 1.1.3.3:474 and 1.2.3.2:732, binomials in the third case with a symbol among the exponents -- and master none that this does not. 1.1.2.4:343 and 7.3.2:89, past the budget on master there, are answered by both elsewhere and the load decides them; 6.6.1:24 runs past the budget on both.

The suite on the commit measured, 7605a398, passes, 14,990 tests, and so does the allocation gate: every gated benchmark allocates what the baseline says. The head here, 7659827d, merges master 113ae13b; the calculus and corpus tests pass on it, 4,339 tests, and the library builds for netstandard2.0.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

Rafael-SOWNet and others added 2 commits October 5, 2026 08:43
…in Chebyshev's third case

1/(a + b x^n)^((1 + 2 n)/n) and the rest of x^m (a + b x^n)^p with a symbol in
the exponents where (m + 1)/n + p + 1 is a whole number at most 0 were
declined, but for x^m beside the binomial at 0. Rubi's reduction raises p
by one, and as many steps of it as the number says reach
x^(m + 1) (a + b x^n)^(p + 1)/(a (m + 1)); each coefficient is put in lowest
terms over the symbols, and the answer is differentiated back.

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 5, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit 2aae852 into master Oct 5, 2026
34 checks passed
@Rafael-SOWNet
Rafael-SOWNet deleted the a-binomial-in-the-third-case-with-a-symbolic-exponent 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