Skip to content

A rational integral with a root-sum antiderivative is left unevaluated down to -oo #2646

Description

@Rafael-SOWNet

A sum over roots in an antiderivative is taken at +oo (#2630, #2636), but at -oo it leaves the bound with no value. So a rational integral down to -oo, or over the whole line, is left unevaluated wherever its antiderivative has a root sum, even though the mirror integral up to +oo is answered.

Measured on master dccddc5 with simplify:::

input master mpmath
integral(1/(x^3 + 3x - 1), x, -oo, -1) unevaluated -0.210069487870138
integral((x - 2)/(x^4 + 3x + 1), x, -oo, -2) unevaluated -0.245750699454191
integral((-x^2 - x + 2)/(x^4 + x^3 + x^2 - 2x + 3), x, -oo, 1) unevaluated 0.785199466505249

In the random sweep of rational integrands over infinite ranges, most of the remaining refusals have a bound at -oo.

integral(f(x), x, -oo, b) = integral(f(-t), t, -b, +oo), and f(-t) is again rational, so the +oo machinery answers it exactly. Over the whole line, the integral is split at 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions