You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 25a839b
Browse filesBrowse the repository at this point in the historyBrowse files
The Gaussian, its even moments and the error functions are integrated (#1512)
* The Gaussian, its even moments and the error functions are integrated
int F^(a x^2 + b x + c) dx is F^(c - b^2/(4a)) times the Gaussian of
A = a ln F in u = x + b/(2a), and int e^(A u^2) du is
sqrt(pi)/(2 sqrt(-A)) erf(sqrt(-A) u), written with erfi and the real
root where A is decidably positive. Beside an even power of x, on either
side of 0, parts reduce it two powers at a time to the Gaussian; an odd
power ends at an elementary integral or at the exponential integral and
is not taken. erf, erfc and erfi are integrated by parts against 1.
Part of #1501.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* e^(x^2) is answered, so the examples of an unanswered integral are x^x and e^(x^3)
The documented example of Integrate(string), the transformation tests and
the exponential ansatz's declined row used e^(x^2) as the integral with no
answer; it is sqrt(pi)/2 erfi(x) now. They use x^x, which has no
antiderivative in any function the library will have, and e^(x^3) where the
row is about the ansatz's shape. y' + y = e^(x^2) moves from what the ODE
solver declines to what it solves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* The Gaussian and its moments over the half line
With #1509, a definite integral takes the limit where its antiderivative is
undefined at a bound, so the moments' x^k e^(-x^2) at +oo is 0 and the half
line gives sqrt(pi)/2, sqrt(pi)/4 and 3 sqrt(pi)/8.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments