Rewriting an algebraic expression without a negative exponent