Another similar issues is this:

sage: x1,x2,t = var('x1,x2,t')
sage: ((1/(1-x2*x1^t)).taylor(x2,1,4).taylor(x1,1,4)).substitute(x2=1).
coefficient((x1 - 1))
0


sage: x1,x2,t = var('x1,x2,t')
sage: ((1/(1-x2*x1^t)).taylor(x2,1,4).taylor(x1,1,4)).substitute(x2=1)
-1/480*(t^8 - 10*t^6 + 9*t^4)*(x1 - 1)^4/t^5 + 1/720*(t^8 - 20*t^6 + 
19*t^4)*(x1 - 1)^3/t^5 - 1/(t*(x1 - 1)) + 1/24*(t^6 - t^4)*(x1 - 1)^2/t^5 + 
1/2*(t^4 - t^3)/t^4 - 1/12*(t^6 - t^4)*(x1 - 1)/t^5

As you can see, the latter clearly has a (x1 - 1) term, however when I try 
to find it's coefficient in the code in the beginning, it returns 0. Am I 
making a mistake here? 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to