Skip to content

cancellation of two indefinite limits #16422

@dkrenn

Description

@dkrenn

We get

sage: limit(cos(x),x=oo) - limit(sin(x),x=oo)
0

This comes from the fact that the return value of each of these limits is a symbolic variable:

sage: limit(sin(x), x=oo)
ind
sage: type(limit(sin(x), x=oo))
<type 'sage.symbolic.expression.Expression'>
sage: limit(sin(x), x=oo).variables()
(ind,)

CC: @sagetrac-jakobkroeker

Component: symbolics

Keywords: symbolic, cancellation, limit, indefinite

Stopgaps: wrongBehaviourMarker

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

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