Division of algebraic fractions