Repository navigation
Integrate a linear below a cube root of a quadratic in closed form - #1900
Merged
Rafael-SOWNet merged 4 commits intoOct 16, 2026
Merged
Rafael-SOWNet merged 4 commits into
Rafael-SOWNet merged 4 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…9 a e^2 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…be-root-of-a-quadratic-in-closed-form # Conflicts: # Sources/AngouriMath/Functions/Continuous/Integration/IndefiniteIntegralSolver.cs
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 #718.
1/((d + e x) (a + b x + c x^2)^(1/3))has a closed form in two cases, and both were declined. Withy = x + b/(2c),d' = d - e b/(2c)anda' = a - b^2/(4c):c d'^2 = 3 a' e^2: Rubi's arctangent and two logarithms, withq = (6 c^2 e^2/d'^2)^(1/3).c d'^2 = -9 a' e^2: witht = e y/d',u = 1 - 3t,κ = a'^(1/3)andRthe cube root,[-(3/8) ln(2R + κu) + (1/4) ln(d + e x) + (1/8) ln u - (√3/4) arctan(√3 κu/(4R - κu))]/(e κ).SolveALinearBelowACubeRootOfAQuadraticInClosedFormreads the shape, checks which relation holds, and checks the answer by differentiating it back at sampled points before returning it. It runs before the rule that writes two linears to one power as one quadratic.Checks
ALinearBelowACubeRootOfAQuadraticIntegralTest: 9 cases, including a negative control,1/((1 + x) (1 + 2x^2)^(1/3)), where neither relation holds and no closed form is claimed.Corpus, measured against master 35c9ba5 (this branch then merged 55a8044):
No losses and no row slower than 2× master + 200 ms. The seven answer in 70–450 ms. Gate passed; suite 15,419 passed, 0 failed.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura