Repository navigation
Integrate a sum of powers of an inverse or error function by parts down the powers - #1972
Merged
Rafael-SOWNet merged 1 commit intoOct 20, 2026
Conversation
…wn the powers A sum of terms, each a power of one function K whose derivative is free of it (an inverse trigonometric function or an error function) times a cofactor free of it, is now integrated by parts down the powers. The rule uses ∫ A K^p = F K^p - ∫ p F K^(p - 1) K', with F = ∫ A for the cofactor of the top power, and the last integral joins the terms a power below. Where every power cancels that way, the parts are the antiderivative: x^3/((1 + a^2 x^2) atan(a x)^3) - 3 x^2/(2 a atan(a x)^2) is (-x^3/(2 a atan(a x)^2))', in one step. Rubi's 5.1.4:534, 5.3.4:768 and 8.1:122/251/382 were declined or past the budget. 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.
A sum of terms, each a power of one function
Kwhose derivative is free of it (an inverse trigonometric function or an error function) times a cofactor free of it, is now integrated by parts down the powers. The rule uses∫ A K^p = F K^p - ∫ p F K^(p - 1) K', withF = ∫ Afor the cofactor of the top power, and the last integral joins the terms one power below. Where every power cancels that way, the parts alone are the antiderivative:x^3/((1 + a^2 x^2) atan(a x)^3) - 3 x^2/(2 a atan(a x)^2)is(-x^3/(2 a atan(a x)^2))', found in one step.Measured on
8a1ef454, branch against master:Re-run alone on both builds, 5 problems go from declined or timed out to answered, in 25–430 ms: Rubi's 5.1.4:534, 5.3.4:768 and 8.1:122/251/382. None goes the other way. One problem that master answered at 23.6 s timed out on the branch in the pocket (5.3.6:115); it sits at the edge of the budget and is not among the moves re-run alone. No run had a wrong answer.
ASumOfPowersOfAnInverseOrErrorFunctionByPartsDownThePowersIntegralTestdifferentiates the answers back.BREAKING-CHANGES.mdhas the entry, with the 2.5.0 column measured on v2.5.0.Part of #233.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura