Skip to content

symbolic.limit wrongly gives ZeroDivisionError #15451

@dkrenn

Description

@dkrenn

We have

sage: (4-x^2)/(3-sqrt(x^2+5)).limit(x=2)
Traceback (most recent call last):
...
ZeroDivisionError: Symbolic division by zero

but

sage: limit((4-x^2)/(3-sqrt(x^2+5)), x=2)
6

Those two should give the same result (at least the docstring of x.limit says See "sage.calculus.calculus.limit", so it has the appearence that the same functions are called).

CC: @kcrisman

Component: symbolics

Keywords: symbolic, limit, wrong, zero division

Reviewer: Daniel Krenn, Akshay Ajagekar

Issue created by migration from https://trac.sagemath.org/ticket/15451

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions