Polynomial remainder theorem

From testwiki
Jump to navigation Jump to search

The polynomial remainder theorem states that:

for every polynomial P(x) and every real number a the remainder of division of P(x) by xa is P(a).

This theorem can easily be proven, but it is important for various calculations.

Proof

If we divided P(x) by xa, it means that we found such Q(x) and b, that

P(x)=Q(x)(xa)+b.

Let x=a. Then P(a)=Q(a)(aa)+b=0+b=b. Q.E.D.

Example

Let's divide P(x)=x22x+4 by x6.

The theorem says that the remainder will be equal to (6)22(6)+4=3612+4=28.

So, let's divide P(x)28=x22x24 by x6: x22x24=(x6)(x+4).

We get that x22x+4=(x+4)(x6)+28.

Uses

Sometimes, it can be difficult to calculate P(a) fast (if the polynomial is very big). There exist methods of fast division by xa, so the computing the remainder could be easier than the whole function.

The theorem itself is also very important for theoretical use. Its proof can easily be applied to another similar objects with little changes. It is used, for example, in the fundamental theorem of algebra, in the form of a generalisation in complex numbers.


Template:Math-stub