First time here? Check out the FAQ!
answered 13 years ago
For example:
sage: var('a b c d')
sage: q=(ab+c)/(bd+a+c)
sage: expand(numerator(q)/b)/expand(denominator(q)/b)
(a + c/b)/(d + a/b + c/b)
updated 13 years ago
sage: var('a b c d')d') sage: q=(a*b+c)/(b*d+a+c) sage: q=(ab+c)/(bd+a+c)expand(numerator(q)/b)/expand(denominator(q)/b) sage: expand(numerator(q)/b)/expand(denominator(q)/b) (a + c/b)/(d + a/b + c/b)c/b)