Hi,

In CAS, for example, if I input

taylor(LN(1+x),x,3)the output is

x -(1/2)*x^2+(1/3)*x^3+x^4*order_size(x)as expected from the documentation. But

taylor((x+x^2+2*x^3)/(1+2*x-x^2+6*x^3), x,3)outputs

x-x^2+5*x^3-17*x^4+x^5*order_size(x)instead of

x-x^2+5*x^3+x^4*order_size(x)

Why the extra term?