I'm using a Ubuntu 18.04.1 LTS, currently with Xfce4, but also Lxde, on a
Dell G7 with i7-8750H cpu and 16 gb of ram, and I built Sage version 8.3
from source.
The text I'm working from say that I should get this result:
sage: p.collect(x).collect(y)
sage: 2*b*y*x^2 + 2*b*y^3−(a*x−z−1)*x^2−(a
Hi.
I'm using this polynomial:
p = z*x^2 + x^2 − (x^2 + y^2 )*(a*x − 2*b*y) + z*y^2 + y^2
and when I issue this command:
p.collect(x).collect(y)
to Sage 8.3 in the terminal, I get this response:
-a*x^3 + 2*b*x^2*y + 2*b*y^3 - (a*x - z - 1)*y^2 + x^2*z + x^2
Notice that only y is collected.
He