-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spurious I*pi in improper definite integral #23337
Comments
|
The integral does not exist but usually a divergent integral of definite sign is given as either In [98]: integrate(x, (x, 0, oo))
Out[98]: ∞
In [99]: integrate(1/x, (x, 0, 1))
Out[99]: ∞
In [100]: integrate(tan(x), (x, 0, pi/2))
Out[100]: ∞ These are all consistent with improper integrals as limits of proper integrals and the limit notion of |
It looks like the limit of |
Currently In [114]: limit(x+I, x, oo)
Out[114]: ∞
In [115]: limit(I*x+1, x, oo)
Out[115]: ∞⋅ⅈ
In [116]: limit((1+I)*x + (1-I), x, oo)
Out[116]: ∞⋅sign(1 + ⅈ) How in general would you define what should be included? Is it just that the identity
should hold? Then if either real or imaginary part has a finite limit that should be preserved regardless of if the other has an infinite limit? |
That identity should probably hold. But the implementation should not be based on |
How scale-able is this concept though . I see the error here but we might be seeing good amount of changes in even basic limits ( of functions involving branch cuts mainly) once we introduce this ! For eg
I don't see wolfram making such considerations (splitting about re and im parts ) and then computing limits |
The problem here is the
I*pi
in this integral:The antiderivative has a log term that gives an
I*pi
forx<3
:If this antiderivative is used to compute an integral where both limits are less than 3 then the term cancels:
If the upper limit is 3 though then
F(3)
is computed as something likelimit(F(b), b, 3, '-')
:Since limit removes the
I*pi
it doesn't cancel in the definite integral:Probably the fundamental theorem of calculus should be applied here as
limit(F(b) - F(1), b, 3, '-')
so that theI*pi
cancels before taking the limit:The text was updated successfully, but these errors were encountered: