#16422: cancellation of two indefinite limits
-------------------------------------------------+-------------------------
       Reporter:  dkrenn                         |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  major                          |    Milestone:  sage-6.3
      Component:  symbolics                      |   Resolution:
       Keywords:  symbolic, cancellation,        |    Merged in:
  limit, indefinite                              |    Reviewers:
        Authors:                                 |  Work issues:
Report Upstream:  N/A                            |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------
Description changed by dkrenn:

Old 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 limit 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,)
> }}}

New 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,)
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/16422#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to