> > sage: foo = (x-1)^2/(x+2)^2 + 2*(x-1)/(x+2)
> > sage: bar = foo*(x+2)
> > sage: bar
> > (x + 2)*((x - 1)^2/(x + 2)^2 + 2*(x - 1)/(x + 2))
>
> > How come (x+2) isn't canceling in each of the parts?
>
> Probably because x might be -2. Also, you have to explicitly simplify
> to do any non-trivi
On Jul 14, 2009, at 9:18 AM, Doug wrote:
> Hi all; I'm brand new to sage and am finding it really fun and
> useful.
Thanks.
> Of course, I don't know anyone else who uses it and thus need
> to rely on the general community when reading documentation and
> scratching my head leave me with open q
On Jul 14, 6:18 pm, Doug wrote:
> Hi all; I'm brand new to sage and am finding it really fun and
> useful.
Great, welcome in the Sage family ;)
> Any help would be much appreciated!
>
That's simply a matter of automatic simplification. Your more complex
term with the sum is just not covered b