Repository navigation
A power of a constant times a whole power of a polynomial is integrated as that power - #1786
Merged
Rafael-SOWNet merged 3 commits intoOct 5, 2026
Conversation
…ed as that power (c S^k)^p, a constant times a whole power past the first of something of x by arithmetic, under a power that is not whole, was declined where it was not a function of a linear: x^2 (c (a + b x^2)^2)^(3/2) is a polynomial times a factor that is constant wherever a + b x^2 is not zero. It is integrated as K S^(k p) now, K = c^q (c S^k)^r/S^(k r) for the whole part q and the rest r of p, in front of the integral, or over it for a factor below the bar. Only factors of the integrand, only S of x by arithmetic, since a power of a function of x is the rules' for that function, which write its sign, and at the top only. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…nt-times-a-whole-power-of-a-sum-is-that-power # Conflicts: # BREAKING-CHANGES.md
…tion search The substitution search answers a power of a function of a linear, and an odd power of x beside a function of x^2, more shortly than the factor in front does: 1/(c (a + b x)^2)^(5/2) in 64 characters, where taken out it was 98. Asked after it, the rule answers what the search declines, Rubi's 1.3.2:338-352, and the test checks those on both sides of the roots of a + b x^2, where the factor changes sign. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Rafael-SOWNet
deleted the
a-power-of-a-constant-times-a-whole-power-of-a-sum-is-that-power
branch
October 29, 2026 00:43
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.
x^2 (c (a + b x^2)^2)^(3/2)is a polynomial times a factor that is constant wherevera + b x^2is not zero, and was declined, with the rest of Rubi's 1.3.2:338-352 that put a constant times a whole power of a polynomial under a power that is not whole:2b86349cx^2 (c (a + b x^2)^2)^(3/2)(c (a + b x^2)^2)^(3/2)(c (a + b x^2)^3)^(3/2)/x^2x^m (c (a + b x^2)^2)^(3/2)Each answer is differentiated back and compared with the integrand at six points.
What changes.
SolveByTakingAWholePowerOutOfAPowerOfAProduct, asked after the substitution search, writes a factor(c S^k)^p--cfree ofx,kwhole and past 1,pnot whole -- asS^(k p), and the integral asKtimes the integral with that in its place,K = c^q (c S^k)^r/S^(k r)for the whole partqofpand the restr.Kis constant on every interval whereSis not zero, its logarithmic derivative beingr (k S'/S - k S'/S); a whole power ofc S^kdistributes exactly, which is why only the rest ofpis in it. Over the integral for a factor below the bar. Only factors of the integrand, whereKis a factor of the whole; onlySofxby arithmetic, since a power of a function ofxis the rules' for that function, which write its sign; and at the top only, where the answer is the caller's. After the substitution search, which answers a power of a function of a linear, and an odd power ofxbeside a function ofx^2, more shortly:1/(c (a + b x)^2)^(5/2)in 64 characters, where the factor in front makes it 98.Tests:
WholePowerOutOfAPowerOfAProductIntegralTest, six rows of 1.3.2's shapes, differentiated back on both sides of 0 and of the roots ofa + b x^2, whereKchanges sign.Measured first on every problem with a whole power of a group of
xdirectly under another power, 141 problems, at the corpus's 5-second budget, against master287c69a7, the branch's base:The eight are 1.3.2:338-352,
x^m (c (a + b x^2)^2)^(3/2)to(c (a + b x^2)^3)^(3/2)/x^2.Measured then on the Rubi corpus against master
287c69a7:The harness counts no answer wrong in either. The 16 problems the two builds disagreed on, pocket and sample together, run again one build at a time: this answers the eight of 1.3.2 above that master does not, and master none that this does not. The other eight take 17 seconds or more on either build, or past the budget on both, and the load decides whether they are answered: two were answered here by this and not by master:
1/sqrt(b coth(c + d x)^3), which takes past 30 seconds on both builds in a probe, and 6.6.1'sx/csch(x)^(5/2) + 3 x/(5 sqrt(csch(x))), which master answered in 21 seconds in another run.The suite passes on the commit measured,
2cd0cb53, 14,828 tests, and the allocation gate passed. The head here,ba6ccad0, merges master91149594and asks the rule after the substitution search; on it the pocket gives each of its 141 problems the verdict it had, the calculus and corpus tests pass, 4,296 tests, and the library builds fornetstandard2.0.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura