# divide numerator and denominator by certain value

Hi,

is it somehow possible to divide the numerator and denominator of a fraction by the same value? For example, (a*b + c)/(b*d + a + c) gets (a + c/b)/(d + a/b + c/b) if I divide it by b.

Hi,

is it somehow possible to divide the numerator and denominator of a fraction by the same value? For example, (a*b + c)/(b*d + a + c) gets (a + c/b)/(d + a/b + c/b) if I divide it by b.

add a comment

4

For example:

```
sage: var('a b c d')
sage: q=(a*b+c)/(b*d+a+c)
sage: expand(numerator(q)/b)/expand(denominator(q)/b)
(a + c/b)/(d + a/b + c/b)
```

Asked: **
2012-03-11 23:55:24 -0500
**

Seen: **126 times**

Last updated: **Mar 12 '12**

How to Rationalize the Denominator of a Fraction ?

multivariable division algorithm

Division of polynomial matrices

Any way to detect division by zero?

Display decimal as a fraction?

latex(-(x-1)/(x+1)) still broken

how to get output in a mixed fraction?

how to run fraction elenment in Multivariate Polynomial Ring in over Finite Field ring

When does 1/2=0 ? (python's integer division Vs Sage's exact fractions)

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.