-
-
Notifications
You must be signed in to change notification settings - Fork 641
Open
Description
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