[sage-support] Re: Comparing expressions and equations

2008-12-22 Thread William Stein
On Sun, Dec 21, 2008 at 6:26 PM, evans wrote: > > All these are identical (unless there are typos)... > > x^2 + ((2-y)/3)x + 3 = 0 > > x^2 + (2/3-y/3)x + 3 = 0 > > x^2 + (\frac{2}{3}-\frac{y}{3}) x + 3 = 0 > > x^2 + \frac{(2-y)}{3}x + 3 = 0 > > x^2 + \frac{(2-y)}{3} * x + 3 = 0 > > 3 + x^2 + \fra

[sage-support] Re: Comparing expressions and equations

2008-12-22 Thread Harald Schilly
On Dec 22, 3:26 am, evans wrote: > What I need is something that could take any two of these equations > and tell me if they are equal or not. ... One thing i can think of is to store them in expressions, the left hand sides, and take differences. Then a test if it is zero. (or store the entire