Unit roots/Appendix

From testwiki
Jump to navigation Jump to search

Rule 1 of chapter 2

Given f(x)=p(x)q(x). Let:

f(x)=f0xm+f1xm1++fm1x+fm,
p(x)=p0xn+f1xn1++fm1x+fm,
q(x)=q0xmn+f1xmn1++fmn1x+fmn,

(the leading coefficients f0, p0 and q0 are nonzero). By comparing the coefficients of like terms of the expansions on both side of f(x)=p(x)q(x), we get:

f0=p0q0,
f1=p0q1+p1q0,
f2=p0q2+p1q1+p2q0,
.
fmn=p0qmn+p1qmn+1++pmnq0,

So,

q0=f0÷p0,
q1=(f1p1q0)÷p0,
q2=(f2p1q1p2q0)÷p0,
.
qmn=(fmnp1qmn+1pmnq0)÷p0.

All coefficients of q(x) can be computed by the four arithmetic operations, and all division operations are division by the same nonzero number p0. Now, all operation results of complex numbers are complex numbers, and all operation results of real numbers are real numbers, and all operation results of rational numbers are rational numbers. Therefore, we can conclude that if f(x) and p(x) have complex, real or rational coefficients, then q(x) must have complex, real or rational coefficients. On the other hand, if f(x) and p(x) have integer coefficients, and p0=1, then q(x) must also have integer coefficients.

Template:BookCat