Repository navigation
Integrate two linears to one power as one quadratic to that power - #1897
Merged
Rafael-SOWNet merged 4 commits intoOct 16, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…power-are-one-quadratic # 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.
L1^p L2^pfor two linears with numbers for coefficients, at one powerpthat is not whole and not1/2, is integrated as(L1^p L2^p/Q^p) · ∫ g Q^pwithQ = L1 L2. The quotient is constant on each interval between the roots, so its derivative is zero, and the joined integral is checked against the joined integrand.The rule is dispatched first. Square roots of two linears are left to the 1.1.1.6 rules and the combined radicals, which write the sign as
sgn. Linears with symbols in them are left to the rule for each linear, which answers them ten times faster.Rubi corpus, against master 7e5768b (both arms built and run in one chain; master then moved to 384be90, merged here):
The ten are 1.1.1.3:1073, 1111, 1112, 1114, 1115, 2986–2988, 2994 and 2995, each answered in 0.3–0.8 s. There are no losses, no wrong answers, and no solved row more than 2× slower. The performance gate and the unit suite (15,403 passed) pass.
BREAKING-CHANGES.mdhas an entry with six of the rows, measured on 2.5.0 and on this branch.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura