How to calculate
Divide the leading term of the dividend by the leading term of the divisor. Subtract that multiple of the divisor and repeat while the remainder has sufficient degree.
Worked example
Use Dividend x^2 + 3x + 5 · Divisor x + 2. The result is x + 1.
Input notes
Use x as the variable and ^ for exponents. You may enter up to degree 40, with parentheses and fractions.