Repository navigation
A power of a monomial in a symbolic power of x is integrated as the power of x it is - #1789
Merged
Rafael-SOWNet merged 2 commits intoOct 5, 2026
Conversation
…ower of x it is (c x^n)^b is written c^b x^(n b), and the exponent n b was left as the inner simplification leaves it: (c x^n)^(2/n) came out as c^(2/n) x^(n (2/n)), which no rule reads as x^2, and 1/(a + b (c x^n)^(2/n)) was declined where 1/(a + b c^(2/n) x^2) is answered. The exponent is simplified now. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…-of-a-monomial-has-its-exponent-simplified # Conflicts: # BREAKING-CHANGES.md
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.
1/(a + b (c x^n)^(2/n))and the rest of Rubi's 1.1.3.2 with a power of a monomial in a symbolic power ofx,(c x^n)^(k/n), were declined, where the same integrand withc^(k/n) x^kin its place is answered:2b86349c1/(a + b (c x^n)^(2/n))1/(x^2 (a + b (c x^n)^(1/n)))1/(a + b (c x^n)^(3/n))1/(1 + 4 (x^(2n))^(1/n))arctan(2 x)/2, 29 charactersEach answer is differentiated back and compared with the integrand at six points.
What changes.
DistributeAFractionalPowerwrites(c x^n)^basc^b x^(n b), and left the exponentn bas the inner simplification leaves it:(c x^n)^(2/n)came out asc^(2/n) x^(n (2/n)), which no rule reads asx^2. The exponent is simplified now where it is not a number and is small, so thatx^(n (2/n))isx^2.Tests:
DistributedPowerOfAMonomialIntegralTest, four rows with a symbolicn, one of them(x^(2n))^(1/n), differentiated back.Measured first on all of Rubi's 1.1.3.2, 2,466 problems, at the corpus's 5-second budget, against master
287c69a7, the branch's base:Measured then on the Rubi corpus against master
287c69a7:The harness counts no answer wrong in either. The 21 problems the two builds disagreed on, pocket and sample together, run again one build at a time: this answers 12 that master does not, 1.1.3.2:3708-3709, 3715-3716, 3732-3734, 3739-3740 and 3746-3748, and master none that this does not. The other nine take over 5 seconds on either build or run past the budget on both, and the load decides whether they are answered: 3.2.3:29, answered here by this and not by master, master answered in 19 seconds in another run.
The suite passes on the commit measured,
5956ceee, 14,826 tests, and the allocation gate passed. The head here,ea40df5a, merges master7269344b; the calculus and corpus tests pass on it, 4,312 tests, and the library builds fornetstandard2.0.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura