Repository navigation
Integrate a power of a sum beside its derivative with symbolic powers in it - #1954
Merged
Rafael-SOWNet merged 1 commit intoOct 19, 2026
Merged
Conversation
… in it c g' g^k is c g^(k + 1)/(k + 1), and c ln(g) for k = -1, but the derivative of ln(c x^n)^q is written q ln(c x^n)^(q - 1) c n x^(n - 1)/(c x^n), which nothing brought down to the n q ln(c x^n)^(q - 1)/x the integrand writes. The terms are now read as a coefficient times powers of x and of the other functions of x in them, each base's powers merged, and a power of x common to the sum's terms is taken out of it: a x^m + b x ln(c x^n)^q is x (a x^(m - 1) + b ln(c x^n)^q). Rubi's 3.5: rows 29, 31, 38, 39 and 40 go from unevaluated or timed out to solved (family 3 1349 -> 1354 of 1382), 0 wrong. Families 0 and 1 and samples of 2-8 otherwise identical; gate and suite pass. Part of #233. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
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 #233.
(a m x^m + b n q ln(c x^n)^(q - 1))/(x (a x^m + b ln(c x^n)^q))and four more of Rubi's 3.5 were declined. Each is a constant timesg' g^kfor a sumg, but the derivative ofln(c x^n)^qis writtenq ln(c x^n)^(q - 1) c n x^(n - 1)/(c x^n). Nothing brought that down to then q ln(c x^n)^(q - 1)/xthe integrand writes, andSolveALogarithmicDerivativeWithASymbolicExponentreads only powers ofx.The new rule,
SolveAPowerOfASumBesideItsDerivativeWithSymbolicPowers, reads each term as a coefficient times powers ofxand of the other functions ofxin it, with each base's powers merged. A power ofxcommon to the sum's terms is taken out of it, soa x^m + b x ln(c x^n)^qisx (a x^(m - 1) + b ln(c x^n)^q). It applies only where a power is symbolic; otherwise the substitution answers.Measured against master
8a1ef454:Rebased onto #1950–#1953 without conflict. All six rows were declined or timed out on 2.5.0, and
BREAKING-CHANGES.mdhas the entry.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura