Repository navigation
Integrate a power of x times the logarithm of a polynomial plus a root, by parts - #1955
Merged
Rafael-SOWNet merged 1 commit intoOct 20, 2026
Merged
Conversation
…t, by parts With D = A^2 - B^2 Q, the derivative of ln(A + B sqrt(Q)) is D'/(2 D) + (Q (A B' - A' B) + A B Q'/2)/(D sqrt(Q)), an identity of the algebra with no branch in it, so by parts what is left is a rational function and one over the root, which the rules for those answer. The search differentiated the logarithm as written, a quotient with the root in both parts, and ran past the budget. Only for a D that is not constant: the inverse hyperbolic functions, whose D is, are answered already. Rubi's 3.5: rows 136, 143, 146 and 147 go from unevaluated or timed out to solved, 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.
x^3 ln(-1 + 4 x + 4 sqrt((x - 1) x))was declined, and three more of Rubi's 3.5 with half-odd powers ofxbeside the same logarithm ran out of time. LetD = A^2 - B^2 Q. The derivative ofln(A + B sqrt(Q))isD'/(2 D) + (Q (A B' - A' B) + A B Q'/2)/(D sqrt(Q)), an identity of the algebra with no branch in it. By parts, what is left is a rational function plus one over the root, and the rules for those answer it. HereD = 8 x + 1.The new rule is
SolveByPartsAgainstALogarithmOfARadicalSum. It applies only for aDthat is not constant. The inverse hyperbolic functions have a constantD, and they are answered already:x ln(x + sqrt(x^2 + 1))is left to its existing route.Measured against master
8a1ef454:The rebase onto #1950–#1954 conflicted only on the dispatch line, at the shared anchor. I kept both. The combined tests of #1952, #1953, #1954 and this branch pass, 17/17. All four rows were declined by 2.5.0, and
BREAKING-CHANGES.mdhas the entry.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura