Rational equations

For an equation with the unknown in a denominator the app first states the conditions, then multiplies the equation by the common denominator and solves it. It compares the roots with the conditions and discards those that do not satisfy them.

Examples

Conditions, common denominator, a quadratic equation.
Input: (x+3)/(x-1) = 2/(x-1) + x
(x+3)/(x-1) = 2/(x-1) + x
(x+3)/(x-1) = 2/(x-1) + x(x+3)/(x-1) = 2/(x-1) + x