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
The integral of e^atanh(x) times a half-integer power of 1 - x has the wrong sign past x = 1 #1664
What it did: it answers (1 + x) ^ (3/2) / (3/2). That holds for x < 1. Past x = 1 the integrand is still real, since e^atanh(x) and sqrt(1 - x) are both imaginary there, and the answer has the wrong sign. Measured on master 38974356:
Simpson's rule on the integrand
F(b) − F(a)
[0.1, 0.9]
0.97685
0.97685
[1.5, 2.4]
−1.54430
+1.54430
It is the same defect as #1655, through another route. The answer is the integrand's antiderivative continued from x < 1, as if e^atanh(x) sqrt(1 - x) were sqrt(1 + x) everywhere. Simplify does not make that rewrite. It gives sqrt(1 - x) * sqrt(2 / (1 - x) - 1), which keeps the value. The eight rows that fail are the same integrand times x^m and other half-integer powers of 1 - x:
What it should have done: return an answer that holds wherever the integrand is real, or one that states where it holds, as #1663 does for the symbolic e^atanh(a x) (c - a c x)^p.
Activity