Or use polynomial variables rather than symbolic variables.

```
sage: R.<a, b, c> = PolynomialRing(QQ)
sage: f = 1/(a-b) + 2/(b-c) + 3/(c-a)
sage: f
(-2*a^2 + 4*a*b - 3*b^2 + 2*b*c - c^2)/(-a^2*b + a*b^2 + a^2*c - b^2*c - 
a*c^2 + b*c^2)
sage: g = f*(a-b)*(b-c)*(c-a)
sage: g
-2*a^2 + 4*a*b - 3*b^2 + 2*b*c - c^2
sage: f.numerator()
-2*a^2 + 4*a*b - 3*b^2 + 2*b*c - c^2
```

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/25c0a3b5-8df3-40af-a056-20c9dd997007n%40googlegroups.com.

Reply via email to