Repository navigation
Integrate a power of a linear beside a quadratic's derivative over its power by parts - #1890
Merged
Rafael-SOWNet merged 4 commits intoOct 15, 2026
Conversation
…s power by parts Q' L^m/Q^n is -L^m/((n - 1) Q^(n - 1)) plus m e/(n - 1) times the integral of L^(m - 1)/Q^(n - 1): one power of the quadratic fewer. Asked right after each linear is written once, before the partial fractions take a symbolic quadratic apart twice over. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Parts raises it: (b + 2 c x)/((d + e x) Q^3) went from 6,220 characters to 14,351. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…-quadratic-over-its-power-beside-a-linear-is-integrated-by-parts # Conflicts: # Sources/AngouriMath/Functions/Continuous/Integration/Integration.Definition.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
Rubi's 1.2.1.3
(b + 2 c x)(d + e x)^m/(a + b x + c x^2)^nran past the 5 s budget for every one of its 11 rows: the partial fractions took the symbolic quadratic apart twice over. The numerator isQ', so one step of parts lowers the power of the quadratic. Withu = (d + e x)^manddv = Q'/Q^n dx:-(d + e x)^m/((n - 1) Q^(n - 1)) + m e/(n - 1) * integral (d + e x)^(m - 1)/Q^(n - 1)Over
Q^1, what is left is answered in a third of a second.SolveAPowerOfALinearBesideTheDerivativeOfAQuadraticOverItsPowerdoes that step. It reads the numerator up to a constant multiple ofQ', checks the derivative of what it returns, and runs right afterSolveByWritingEachLinearOnce, beside #1889's split. A negative whole power of the linear is left to the partial fractions: parts raises that power, and(b + 2 c x)/((d + e x) Q^3)went from 6,220 characters to 14,351.Measured
intbench, this branch against master 954a9cd, 5 s budget. The pocket was 1.2.1.2–1.2.1.4, 1.2.1.9, 1.3.1 and 1.3.2 in full (6,664 rows), plus the usual family sample:
All 11 moves held when re-run alone (master solves none of them); none went the other way. They are 1.2.1.3:1723 and 1821–1830. The
Q^2rows take about 50 ms. TheQ^3rows take 14 s, because what is left,sqrt(d + e x)/Q^2, is still slow on master.One row is slower: 1.3.2:871,
1/(x^3 sqrt(a + b sqrt(c + d x))), went from 1.4 s to 4.3 s. The rule meets this shape under a substitution, and the answer is shorter, 3,025 characters against 4,465.Exact checks (exact pins, 50 and 2,000 digits, four points, three pin sets): 72 of 72 diff 0. The gate and the suite pass (15,395) on the branch before merging master. After the merge, the dispatch puts this rule just before #1889's split, and every target of both gives the same answer as when each was measured alone.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura