rtoy / maxima

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

derivatives of Taylor polynonials #3073

Open rtoy opened 3 months ago

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-07 12:45:11 Created by willisbl on 2004-06-17 13:30:55 Original: https://sourceforge.net/p/maxima/bugs/577


Derivatives of Taylor polynomials sometimes are not simplified; an example

(%i1) taylor(x/(1+x),x,inf,4); (%o1) 1-1/x+1/x^2-1/x^3+1/x^4 (%i2) diff(%,x); (%o2) 1/x^2-2/(x^2*x)+3/(x^2*x^2)-4/(x^2*x^3)

Notice the x^2 * x, x^2 * x^2, ... terms. Sometimes derivatives of Taylor polynomials work fine

(%i3) taylor(x/(1+x),x,1,4); (%o3) 1/2+(x-1)/4-(x-1)^2/8+(x-1)^3/16-(x-1)^4/32 (%i4) diff(%,x); (%o4) 1/4-(x-1)/4+3*(x-1)^2/16-(x-1)^3/8

%i5) build_info();

Maxima version: 5.9.0.1cvs Maxima build date: 12:16 5/28/2004 host type: i686-pc-mingw32 lisp-implementation-type: Kyoto Common Lisp lisp-implementation-version: GCL 2.7.0

Barton

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-07 12:45:12 Created by robert_dodier on 2006-04-09 20:43:44 Original: https://sourceforge.net/p/maxima/bugs/577/#bd19