First time here? Check out the FAQ!
answered 11 years ago
Does this help ?
sage: a = (2*x^3+2*x) / (x^2+1) sage: a.full_simplify() 2*x