"In algebra, the polynomial remainder theorem or little Bézout's theorem is an application of Euclidean division of polynomials. It states that the remainder of the division of a polynomial f(x) by a linear polynomial x-a is equal to f(a). In particular, x-a is a divisor of f(x) if and only if f(a)=0." -wikipedia
The polynomial remainder theorem
Let $p(x)$ be any polynomial, and $d(x)=x-c$ for any $c.$ Then the remainder of the division $$R(\frac{p(x)}{d(x)})=p(c).$$
So I tried to prove this theorem before looking for the proof on the web. Looking through the web, I only found one traditional way to prove this, so I was wondering if my proof using polynomial division below is legitimate:
Let $p(x)= \sum_{i=0}^n a_n x^n , d(x)=x-c.$
Applying long division we have:
$a_n x^{n-1}+(a_{n-1}+a_nc)x^{n-2}+ \cdot \cdot \\ x-c| \overline{a_n x^n+a_{n-1} x^{n-1} +\cdot \cdot \cdot +a_0 } \\ \qquad a_n x^n-ca_nx^{n-1} \\ \qquad ------ \\ \qquad \quad (a_{n-1} + ca_n)x^{n-1} + a_{n-2} x^{n-2} \\ \qquad \quad (a_{n-1} + ca_n)x^{n-1}-c(a_{n-1} + ca_n)x^{n-2} \\ \qquad \quad --------------- \\ \qquad \qquad (a_{n-2}+ca_{n-1}+c^2a_n)x^{n-2}\\ \qquad \qquad \qquad \qquad . \\ \qquad \qquad \qquad \qquad . \\ \qquad \qquad \qquad \qquad . \\ \qquad \qquad \quad a_0+a_1c+a_2c^2+ \cdot \cdot \cdot + a_nc^n = p(c)$
Thus the remainder of the division is equal to $p(c)$ as the theorem states.