# Polynomial Division and Completing the Square

Source: https://cca.twango.dev/Algebra-2-Honors/lectures/polynomial-methods

# Polynomial Division and Completing the Square

## Long division

1. Arrange both polynomials in descending powers, inserting zero coefficients for missing terms.
2. Divide the leading **term** of the current remainder by the divisor's leading term.
3. Write that quotient term, multiply it by the entire divisor, and subtract the product.
4. Bring down the next term and repeat until the remainder has lower degree than the divisor.

The result satisfies $P(x)=D(x)Q(x)+R(x)$, with $\deg R<\deg D$ when $R\ne0$.

> [!note] Review clarification
> Divide leading terms, including their powers, rather than just coefficients. Subtract the product from the current dividend or remainder; do not “add it to the remainder” as the original instructions suggest.

## Synthetic division

For a linear divisor $x-c$:

1. List coefficients in descending powers, including zeros for missing terms.
2. Write $c$ outside the array.
3. Bring down the first coefficient.
4. Multiply the latest result by $c$, add it to the next coefficient, and repeat.

The last result is the remainder; the earlier results give the quotient coefficients.

## Completing the square

$$
x^2+bx=\left(x+\frac b2\right)^2-\left(\frac b2\right)^2,
$$

or equivalently,

$$
x^2+bx+\left(\frac b2\right)^2=\left(x+\frac b2\right)^2.
$$

> [!warning] Correction to the original identity
> The source incorrectly inserts an extra equality to $(b/2)^2$. The squared expression is the **entire** trinomial, not just its final term.

Related: [[rational-functions|Rational expressions]], [[../additional-topics|Translated conics]], and [[../final-notes|Final review]].
