Linear-Algebra-Done-Right Β· Unit 10 Β· Video 2 Β· Interactive Practice

Zeros, Factors and the Division Algorithm via a Basis

IKey Formulas

FormulaNameHypotheses
zkβˆ’Ξ»k=(zβˆ’Ξ»)βˆ‘j=1kΞ»jβˆ’1zkβˆ’jz^k - \lambda^k = (z - \lambda)\sum_{j=1}^{k} \lambda^{j-1} z^{k-j}Difference of powers; the sum has degree kβˆ’1k - 1, leading term zkβˆ’1z^{k-1}kβ‰₯1k \geq 1, z,λ∈Fz, \lambda \in \mathbf{F}
p(Ξ»)=0β€…β€ŠβŸΊβ€…β€Šp(z)=(zβˆ’Ξ») q(z)p(\lambda) = 0 \iff p(z) = (z - \lambda)\,q(z)Each zero gives a degree-one factor; deg⁑q=mβˆ’1\deg q = m - 1deg⁑p=mβ‰₯1\deg p = m \geq 1, λ∈F\lambda \in \mathbf{F}
deg⁑p=mβ€…β€Šβ‡’β€…β€Š\deg p = m \;\Rightarrow\; at most mm zerosZero count; hence coefficients and degree are uniquemβ‰₯1m \geq 1, induction on mm
p=sq+rp = sq + r, Β deg⁑r<deg⁑s\ \deg r < \deg sDivision algorithm; qq and rr uniquep,s∈P(F)p, s \in \mathcal{P}(\mathbf{F}), sβ‰ 0s \neq 0

Key Insight: When n=deg⁑pβ‰₯m=deg⁑sn = \deg p \geq m = \deg s, the list 1,z,…,zmβˆ’1,s,zs,…,znβˆ’ms1, z, \ldots, z^{m-1}, s, zs, \ldots, z^{n-m}s has exactly one polynomial of each degree 0,1,…,n0, 1, \ldots, n, so it is linearly independent of length n+1=dim⁑Pn(F)n + 1 = \dim \mathcal{P}_n(\mathbf{F}), hence a basis. The coordinates of pp on the first mm entries form rr; the coordinates on the ss-entries form qq.

IIEvery Difference of Powers Has the Factor zβˆ’Ξ»z - \lambda

Multiplying zβˆ’Ξ»z - \lambda by βˆ‘j=1kΞ»jβˆ’1zkβˆ’j\sum_{j=1}^{k} \lambda^{j-1} z^{k-j} leaves only zkβˆ’Ξ»kz^k - \lambda^k: the middle terms cancel in pairs.

IIIA Zero Splits Off a Factor

p(z)βˆ’p(Ξ»)p(z) - p(\lambda) always has the factor zβˆ’Ξ»z - \lambda, and it equals pp exactly when p(Ξ»)=0p(\lambda) = 0.

πŸ’‘ Challenge: find all three zeros of pp. Since deg⁑p=3\deg p = 3, the zero count says there is no fourth.

IVDividing by Reading Off Coordinates

In the basis 1,…,zmβˆ’1,s,zs,…,znβˆ’ms1, \ldots, z^{m-1}, s, zs, \ldots, z^{n-m}s, the coordinates of pp on the ss-entries form qq; the rest form rr.

VQuiz Questions

Problem 1 Β· Spot the Factor

Given: p(z)=z3βˆ’7z+6p(z) = z^3 - 7z + 6 β€” find the polynomial that is a factor of pp.

βœ… Correct! p(βˆ’3)=βˆ’27+21+6=0p(-3) = -27 + 21 + 6 = 0, so βˆ’3-3 is a zero and zβˆ’(βˆ’3)=z+3z - (-3) = z + 3 is a factor: p(z)=(z+3)(z2βˆ’3z+2)p(z) = (z + 3)(z^2 - 3z + 2).
❌ Check the sign. zβˆ’3z - 3 is a factor exactly when p(3)=0p(3) = 0, but p(3)=27βˆ’21+6=12p(3) = 27 - 21 + 6 = 12. The zero is βˆ’3-3, and the factor it gives is zβˆ’(βˆ’3)z - (-3).
❌ βˆ’1-1 is not a zero. z+1=zβˆ’(βˆ’1)z + 1 = z - (-1) is a factor exactly when p(βˆ’1)=0p(-1) = 0, but p(βˆ’1)=βˆ’1+7+6=12p(-1) = -1 + 7 + 6 = 12.
❌ The constant term is not a zero. zβˆ’6z - 6 is a factor exactly when p(6)=0p(6) = 0, but p(6)=216βˆ’42+6=180p(6) = 216 - 42 + 6 = 180.
❌ Not quite. By the factor theorem, zβˆ’Ξ»z - \lambda divides pp exactly when p(Ξ»)=0p(\lambda) = 0: evaluate pp at the Ξ»\lambda of each option.
Show solution

Write each option as zβˆ’Ξ»z - \lambda: the values are Ξ»=3,βˆ’1,6,βˆ’3\lambda = 3, -1, 6, -3. By the factor theorem, zβˆ’Ξ»z - \lambda is a factor of pp if and only if p(Ξ»)=0p(\lambda) = 0.

p(3)=12,p(βˆ’1)=12,p(6)=180,p(βˆ’3)=βˆ’27+21+6=0.p(3) = 12,\quad p(-1) = 12,\quad p(6) = 180,\quad p(-3) = -27 + 21 + 6 = 0.

Only Ξ»=βˆ’3\lambda = -3 is a zero, so the factor is z+3z + 3, and indeed (z+3)(z2βˆ’3z+2)=z3βˆ’7z+6(z + 3)(z^2 - 3z + 2) = z^3 - 7z + 6. (The other zeros of pp are 11 and 22, since z2βˆ’3z+2=(zβˆ’1)(zβˆ’2)z^2 - 3z + 2 = (z - 1)(z - 2).)

Problem 2 Β· The Quotient After a Zero

Given: p(z)=z3βˆ’7z+6p(z) = z^3 - 7z + 6 has the zero Ξ»=1\lambda = 1 β€” find qq with p(z)=(zβˆ’1) q(z)p(z) = (z - 1)\,q(z) for all zz.

βœ… Correct! (zβˆ’1)(z2+zβˆ’6)=z3+z2βˆ’6zβˆ’z2βˆ’z+6=z3βˆ’7z+6(z - 1)(z^2 + z - 6) = z^3 + z^2 - 6z - z^2 - z + 6 = z^3 - 7z + 6, and deg⁑q=2=mβˆ’1\deg q = 2 = m - 1.
❌ This divides by z+1z + 1. (zβˆ’1)(z2βˆ’zβˆ’6)=z3βˆ’2z2βˆ’5z+6β‰ p(z)(z - 1)(z^2 - z - 6) = z^3 - 2z^2 - 5z + 6 \neq p(z). Dividing by zβˆ’1z - 1 uses Ξ»=1\lambda = 1, not βˆ’1-1.
❌ The degree is wrong. deg⁑q\deg q must be mβˆ’1=2m - 1 = 2. Skipping the coefficient 00 of z2z^2 in pp gives zβˆ’6z - 6, and (zβˆ’1)(zβˆ’6)=z2βˆ’7z+6(z - 1)(z - 6) = z^2 - 7z + 6, which has degree 22, not 33.
❌ Check the constant term. (zβˆ’1)(z2+z+6)=z3+5zβˆ’6β‰ p(z)(z - 1)(z^2 + z + 6) = z^3 + 5z - 6 \neq p(z): the constant term of the product is βˆ’1β‹…6=βˆ’6-1 \cdot 6 = -6, but pp has constant term +6+6.
❌ Not quite. Multiply (zβˆ’1) q(z)(z - 1)\,q(z) out and compare with z3+0z2βˆ’7z+6z^3 + 0z^2 - 7z + 6.
Show solution

Following the proof, p(z)=p(z)βˆ’p(1)=(z3βˆ’13)βˆ’7(zβˆ’1)p(z) = p(z) - p(1) = (z^3 - 1^3) - 7(z - 1). With z3βˆ’1=(zβˆ’1)(z2+z+1)z^3 - 1 = (z - 1)(z^2 + z + 1),

p(z)=(zβˆ’1)(z2+z+1βˆ’7)=(zβˆ’1)(z2+zβˆ’6).p(z) = (z - 1)\big(z^2 + z + 1 - 7\big) = (z - 1)(z^2 + z - 6).

So q(z)=z2+zβˆ’6q(z) = z^2 + z - 6, of degree 3βˆ’1=23 - 1 = 2. Its leading coefficient is a3=1a_3 = 1, as the proof predicts, and q(z)=(zβˆ’2)(z+3)q(z) = (z - 2)(z + 3) carries the other two zeros of pp.

Problem 3 Β· Divide in the Basis

Given: p(z)=z3βˆ’7z+6p(z) = z^3 - 7z + 6 and s(z)=z2βˆ’3z+2s(z) = z^2 - 3z + 2, so n=3n = 3 and m=2m = 2 β€” find the basis of P3(F)\mathcal{P}_3(\mathbf{F}) used in the proof, then qq and rr with p=sq+rp = sq + r, deg⁑r<deg⁑s\deg r < \deg s.

Which list is the basis?

What are q and r?

βœ… Correct! p=0β‹…1+0β‹…z+3s+1β‹…zsp = 0 \cdot 1 + 0 \cdot z + 3s + 1 \cdot zs, so q=3+zq = 3 + z and r=0r = 0: ss divides pp exactly.
❌ Two entries of degree 2. s=z2βˆ’3z+2s = z^2 - 3z + 2 lies in span⁑(1,z,z2)\operatorname{span}(1, z, z^2), so this list is linearly dependent, and nothing in it has degree 33.
❌ Degrees 22 to 55. z3sz^3 s has degree 55, so it is not in P3(F)\mathcal{P}_3(\mathbf{F}), and the degrees 00 and 11 are missing. The list should be mm powers 1,…,zmβˆ’11, \ldots, z^{m-1} followed by s,…,znβˆ’mss, \ldots, z^{n-m}s.
❌ Degree 11 is missing. The degrees are 0,2,3,40, 2, 3, 4; z2sz^2 s has degree 4>n4 > n, and with nβˆ’m=1n - m = 1 the ss-part stops at zszs.
❌ Check the degrees. You need one polynomial of each degree 0,1,2,30, 1, 2, 3: 1,…,zmβˆ’11, \ldots, z^{m-1}, then s,…,znβˆ’mss, \ldots, z^{n-m}s.
❌ One step too early. pβˆ’zs=3z2βˆ’9z+6p - zs = 3z^2 - 9z + 6 has degree 2=deg⁑s2 = \deg s, not less. It equals 3s3s, so the coordinate on ss is b0=3b_0 = 3, and the remainder is 00.
❌ The coordinates are in the wrong places. The coordinates are b0=3b_0 = 3 on ss and b1=1b_1 = 1 on zszs, so q=b0+b1z=3+zq = b_0 + b_1 z = 3 + z. And s(3z+1)=3z3βˆ’8z2+3z+2β‰ ps(3z + 1) = 3z^3 - 8z^2 + 3z + 2 \neq p.
❌ Check the sign. s(zβˆ’3)=z3βˆ’6z2+11zβˆ’6β‰ ps(z - 3) = z^3 - 6z^2 + 11z - 6 \neq p; the difference pβˆ’s(zβˆ’3)=6z2βˆ’18z+12p - s(z - 3) = 6z^2 - 18z + 12 has degree 22, not less than 22.
❌ Not quite. Clear the z3z^3 term with a multiple of zszs, then the z2z^2 term with a multiple of ss; what is left is rr.
Show solution

The basis. With m=2m = 2 and nβˆ’m=1n - m = 1, the list is 1,z1, z followed by s,zss, zs: degrees 0,1,2,30, 1, 2, 3, one of each, length 4=dim⁑P3(F)4 = \dim \mathcal{P}_3(\mathbf{F}).

The coordinates, from the top degree down. zs=z3βˆ’3z2+2zzs = z^3 - 3z^2 + 2z is the only entry of degree 33, and pp has z3z^3-coefficient 11, so b1=1b_1 = 1:

pβˆ’zs=3z2βˆ’9z+6=3(z2βˆ’3z+2)=3s.p - zs = 3z^2 - 9z + 6 = 3(z^2 - 3z + 2) = 3s.

So b0=3b_0 = 3, and nothing is left for 11 and zz: a0=a1=0a_0 = a_1 = 0. Hence

p=0β‹…1+0β‹…z+3s+1β‹…zs=s(z+3)+0,p = 0 \cdot 1 + 0 \cdot z + 3s + 1 \cdot zs = s(z + 3) + 0,

giving q=z+3q = z + 3 and r=0r = 0 (degree βˆ’βˆž<2-\infty < 2). This matches Problem 1: s=(zβˆ’1)(zβˆ’2)s = (z - 1)(z - 2), and 11, 22 are both zeros of pp.

Problem 4 Β· Too Many Zeros

Given: p∈P3(R)p \in \mathcal{P}_3(\mathbf{R}) satisfies p(1)=p(2)=p(βˆ’3)=p(4)=0p(1) = p(2) = p(-3) = p(4) = 0 β€” find pp.

βœ… Correct! A nonzero polynomial of degree m≀3m \leq 3 has at most m≀3m \leq 3 zeros (a nonzero constant has none), so four zeros force p=0p = 0.
❌ That has degree 4. It expands to z4βˆ’4z3βˆ’7z2+34zβˆ’24z^4 - 4z^3 - 7z^2 + 34z - 24, which is not in P3(R)\mathcal{P}_3(\mathbf{R}).
❌ Check the fourth zero. This vanishes at 11, 22, βˆ’3-3, but p(4)=64βˆ’28+6=42β‰ 0p(4) = 64 - 28 + 6 = 42 \neq 0.
❌ One polynomial qualifies. The zero polynomial lies in P3(R)\mathcal{P}_3(\mathbf{R}) (its degree is βˆ’βˆž-\infty) and vanishes everywhere.
❌ Not quite. How many zeros can a nonzero polynomial of degree at most 33 have?
Show solution

Suppose pβ‰ 0p \neq 0, and let m=deg⁑p≀3m = \deg p \leq 3. If m=0m = 0, pp is a nonzero constant and has no zeros. If mβ‰₯1m \geq 1, the zero count gives at most m≀3m \leq 3 zeros. Either way pp cannot vanish at the four distinct points 1,2,βˆ’3,41, 2, -3, 4.

So p=0p = 0. The zero polynomial does lie in P3(R)\mathcal{P}_3(\mathbf{R}), with deg⁑0=βˆ’βˆž\deg 0 = -\infty. This is the argument that makes coefficients unique: a difference of two coefficient lists that vanishes at more points than its degree must be the zero list.

Solved: 0 / 4