About this solver
How to use
- Write the division as (dividend)/(divisor), or as “divide … by …”.
- Missing powers are fine: x^3 − 8 is read as x^3 + 0x^2 + 0x − 8.
- Coefficients can be integers or fractions; use one variable.
How to type math
| To enter | Type |
|---|---|
| Power | x^2 x^(n+1) |
| Root | sqrt(x) \sqrt[3]{x} |
| Fraction | (x+1)/(x-1) \frac{1}{x} |
| Functions | sin(x) ln(x) log_2(x) exp(x) |
| Absolute value | |x| abs(x) |
| Derivative | d/dx x^2 sin x (x^2+x)' |
| Integral | \int x^2 dx \int_0^1 x^2 dx |
| Limit | lim x->0 sin(x)/x \lim_{x\to\infty} 1/x |
| Degrees | sin(30°) |
| System of equations | 2x+y=5, x-y=1 |
How it works
Long division repeats three moves: divide the leading term of what is left by the leading term of the divisor, multiply the divisor by that term, and subtract. It stops when what is left has a lower degree than the divisor; that is the remainder.
When the divisor is x − a, synthetic division (Horner’s method) gives the same quotient faster: bring down the first coefficient, then multiply by a and add, one coefficient at a time. The last number is the remainder, which also equals P(a).
Frequently asked questions
Which method is shown first?
The simplest one that applies: synthetic division when the divisor is x − a, with long division next to it; long division for any other divisor. Both give the same quotient and remainder.
How can I check the answer?
Multiply the divisor by the quotient and add the remainder: the result must be the dividend. The solver does this as its last step.
What does a remainder of 0 mean?
The divisor is a factor of the dividend: the dividend equals divisor × quotient.