rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

Limits behave incorrectly when applied to derivatives #3600

Open rtoy opened 2 months ago

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-08 09:36:34 Created by pbruin on 2015-01-07 10:25:46 Original: https://sourceforge.net/p/maxima/bugs/2877


The following example exhibits two (possibly related) problems in combining limits with derivatives:

(%i1) dg: diff(g(x), x);
                                   d
(%o1)                              -- (g(x))
                                   dx
(%i2) lim: limit(dg, x, 0);
                                      d
(%o2)                          limit  -- (g(x))
                               x -> 0 dx
(%i3) limit(lim, x, 0);
                                          d
(%o3)                      limit  (limit  -- (g(x)))
                           x -> 0  x -> 0 dx
(%i4) limit(lim, a, 0);
                                   d
(%o4)                              -- (g(x))
                                   dx

Maxima version: branch_5_35_base_65_g7a1bf8c The above happens with both GCL and ECL.

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-08 09:36:35 Created by willisbl on 2023-11-19 12:54:10 Original: https://sourceforge.net/p/maxima/bugs/2877/#8980


Bug still present in 5.47.