Repository navigation
Integrate a polynomial beside error functions of a shifted linear - #1947
Merged
Rafael-SOWNet merged 1 commit intoOct 19, 2026
Merged
Conversation
Writes x^n erf(a + b x)^2 and its erfc and erfi kin in u = a + b x, where the unshifted rules already answer. By parts in x leaves a Gaussian of the shifted linear beside a polynomial, which nothing reads. Part of #1945. 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 #1945. Part of #1501.
(c + d x)^m erf(a + b x)^2, and the erfc and erfi forms, are now integrated by writing them in u = a + b x, where the unshifted rules already answer. Integrating by parts in x leavesx^n e^(-(a + b x)^2) erf(a + b x), which no rule handles. The rule only fires when every error function in the product has the same argument.Measured on master 4e5ae5f:
x erf(a + b x)^2integral(…), 2.4 sx^2 erf(a + b x)^2integral(…), 2.4 s(c + d x)^2 erf(a + b x)^2, and with erfc and erfix erf(b x) erf(a + b x)integral(…)The new answers check out exactly at 4 points, at 50, 300 and 2000 digits, with a, b, c, d = 13/10, 7/10, 19/10, 17/10.
Rubi checks, against master, with no wrong answers anywhere:
2.5.0 has no erf integration, so no answer changes and there is no BREAKING-CHANGES entry.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura