Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

taylor(1/x^2,x,2,2) give unexpected results

When I calculated this by hand, the constant term is 1/4 but sage gives 3/4.

Sage: $$\newcommand{\Bold}[1]{\mathbf{#1}}\frac{3}{16} {\left(x - 2\right)}^{2} - \frac{1}{4} x + \frac{3}{4}$$

My calculation:

$$\frac{1}{4} -\frac{1}{4}(x-2)+\frac{3}{16}(x-2)^2$$

I'm learning taylor series and sage at the same time, so its quite possible I'm misusing sage. I checked the same thing on wolframalpha, and it agrees with me.

Any ideas? I running sage Sage Version 6.0,Release Date: 2013-12-17 under Ubuntu 12.10. Thanks.