Hi everyone!
I'm new to Sagemath, and I'm not sure what's going wrong. When I give the following commands
a,b,z = var('a,b,z') P = ax - bx Q = aimag(z)-bimag(z) show(P.factor()); show(Q.factor());
I get
(a−b)x 0
Why is Q factoring to 0?
Thanks for your help.