Instead of performing long division step by step, we can write the quotient and remainder in their most general forms with unknown coefficients, then determine those coefficients by comparing both sides of the equation term by term. This algebraic approach often reveals the structure of the division more clearly than the mechanical long-division procedure.
Quick Reference
| Step | Action |
|---|---|
| 1 | Determine and |
| 2 | Write and with unknown coefficients |
| 3 | Substitute into and expand |
| 4 | Match coefficients of each power of |
| 5 | Solve the resulting linear system |
The Method
Suppose we want to divide (degree ) by (degree , ). By the division algorithm, there exist unique polynomials and such that
where and .
We write the most general forms:
Substituting into and expanding the right side, we compare the coefficients of every power of . This gives a system of equations in unknowns ( coefficients for plus coefficients for ). Solving the system yields and .
For the equation to hold for all values of , the coefficients of every power of on both sides must be equal. This matching of coefficients is the key step.
Worked Examples
Divide by .
Solution
Since and , the quotient has degree and the remainder has degree at most 1. Set: We need: Expanding : Matching coefficients of each power of :Verification:
Divide by .
Solution
Since and , the quotient has degree and the remainder has degree at most $0$, i.e., is a constant. Set: We need: Expanding : Matching coefficients of each power of :Verification:
Comparison with Long Division
Both methods produce the same result. Their relative merits depend on context:
- Long division is mechanical and systematic; it is easy to execute once you know the steps.
- The method of undetermined coefficients is more algebraic; it makes the structure of the problem explicit and is useful when you want to work symbolically or when the divisor has a special form.
- For numerical problems with specific coefficients, long division (or synthetic division discussed later for linear divisors) is usually faster.
- For abstract proofs or when generalizing to multiple variables, undetermined coefficients is often cleaner.