Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2636 Taylor expansion of li[2](1-x) about x=0

None
open
nobody
None
5
2013-09-15
2013-09-15
Daisuke Nomura
No

I am having some difficulty expanding "li2" about x=0.
The results of "taylor(li2,x,0,2)" and "taylor(li2,x,0,3)"
are inconsistent: The coefficients of x do not agree.


Maxima 5.30.0 http://maxima.sourceforge.net
using Lisp SBCL 1.1.8-2.fc19
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) taylor(li2,x,0,2);
2
%pi 1 3 log(x) 1 2
(%o1)/T/ ---- + (log(x) + - + . . .) x + (-------- + - + . . .) x + . . .
6 2 2 2
(%i2) taylor(li2,x,0,3);
2
%pi 1 3 log(x) 2 2
(%o2)/T/ ---- + (log(x) + - + . . .) x + (-------- + - + . . .) x
6 3 2 3
7 log(x) 3
+ (-------- + 1 + . . .) x + . . .
3
(%i3) build_info();
(%o3)
Maxima version: "5.30.0"
Maxima build date: "2013-06-05 12:29:41"
Host type: "x86_64-redhat-linux-gnu"
Lisp implementation type: "SBCL"
Lisp implementation version: "1.1.8-2.fc19"
(%i4)

Discussion