I started using sage today and I encountered sime strange errors:
I declared variables a,b,c,d using var('a,b,c,d'). When I tried to expand (a2+b2)(c2+d2)
(expand((a2+b2)(c2+d2)) I got the following result:
c4+2c2d2+d4+b2,
which is obviously not the correct result. Does anyone know why I got this incorrect andwer?