Skip to content

Integrate a power of a sum beside its derivative with symbolic powers in it - #1954

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
a-function-times-its-derivative-with-symbolic-powers
Oct 19, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
a-function-times-its-derivative-with-symbolic-powers

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

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 times g' g^k for a sum g, 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). Nothing brought that down to the n q ln(c x^n)^(q - 1)/x the integrand writes, and SolveALogarithmicDerivativeWithASymbolicExponent reads only powers of x.

The new rule, SolveAPowerOfASumBesideItsDerivativeWithSymbolicPowers, reads each term as a coefficient times powers of x and of the other functions of x in it, with each base's powers merged. A power of x common to the sum's terms is taken out of it, so a x^m + b x ln(c x^n)^q is x (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:

master this branch
Rubi family 3, all 1,382 rows 1,349 1,354
moves, each re-run alone 1 of 6 6 of 6, 0 wrong (3.5:29, 31, 38, 39, 40; 3.5:37 holds)
families 0 (whole) and 1 (40 a file), samples of 2–8 identical
performance gate passed
suite 15,599 passed, 0 failed

Rebased onto #1950–#1953 without conflict. All six rows were declined or timed out on 2.5.0, and BREAKING-CHANGES.md has the entry.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

… 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
@Rafael-SOWNet Rafael-SOWNet added this to the 2.6.0 milestone Oct 19, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit da07bd9 into master Oct 19, 2026
34 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in AngouriMath Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant