Hi all; I'm brand new to sage and am finding it really fun and
useful.  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 questions.  Here's my first:

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?  It does simplify
if I multiply each additive part of foo separately:

sage: foo1 = (x-1)^2/(x+2)^2
sage: bar1 = foo1*(x+2)
sage: bar1
(x - 1)^2/(x + 2)

sage: foo2 = 2*(x-1)/(x+2)
sage: bar2 = foo2*(x+2)
sage: bar2
2*x - 2

Any help would be much appreciated!

-Doug

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to