HW 5 - Polynomials, Invariants, and Eigenvectors

Chapter 4 - Polynomials

2

Theorem

The subset U={0}{pP(F):deg(p)=m} is a subspace of P(F).

This is a false statement. Notice here that if we have p(z)=zm+1 and q(z)=zm then both p,qU but (p+q)(z)=zm+1zm=1U since it's degree is . Hence, U isn't closed under vector addition.

3

Theorem

The subset U={0}{pP(F):deg(p) is even} is a subspace of P(F).

This is also a false statement. Let p(z)=z4+z3 and q(z)=z4. Then (p+q)(z)=z3U, showing that U isn't closed under vector addition.

4

Theorem

Suppose m,n are positive integers where mn, and suppose λ1,...,λmF. Then there is a polynomial pP(F) with deg(p)=n such that 0=p(λ1)==p(λm) and such that p has no other zeros.

Proof
Consider if m=n. Then clearly there's a polynomial p where:

p(z)=(zλ1)(zλm)=a0++zm

coming from desiring 0=p(λ1)==p(λm). This step comes from the factorization of a polynomial over C. Here deg(p)=n as desired, and clearly p doesn't have any other zeros.

Now consider if mn. Then m<n. We need to add zeroes (to increase the degree) without adding "new" zeros. Hence use:

p(z)=(zλ1)nm+1(zλm)m1 times=a0++zn

Hence we have found a deg(p)=n polynomial where p(λ1)==p(λm)=0. As required.

6

Theorem

Suppose pP(C) has degree m. Then p has m distinct zeros iff p and it's derivative p have no zeroes in common.

Proof
Consider , so suppose p has m distinct zeros λ1,...,λm. Then:

p(z)=c(zλ1)(zλm)

Using the division algorithm, we can show that for any zero λi above that:

p(z)=(zλi)q(z)

and using the derivative on both sides:

p(z)=(zλi)q(z)+q(z)

Thus, notice that λi cannot be shared between p and p, since the above expression shows any λi zero from p must give a remainder polynomial q(z) for p unless q(z)=0, which would suggest p=0 and thus p has 0 distinct zeroes and thus is its own contradiction. Therefore, p and p have different zeroes.

Now . Suppose that p and p have no zeroes in common. Assume for contradiction that p can't have m distinct zeroes. Since p is a degree m polynomial, then we must have at least m zeroes, so therefore at least one zero λi must be repeated. Namely:

p(z)=(zλi)2q(z)

where since λi is repeated, it's must occur at least twice. Deriving it:

p(z)=(zλi)2q(z)+2(zλi)q(z)=(zλi)([zλi]q(z)+q(z))

So then clearly both p,p share the same zero λi, which contradicts our supposition from the beginning. Hence, our assumption was wrong, so p must have m distinct zeroes.

7

Theorem

Every polynomial of odd degree with real coefficients has a real zero.

Proof
Let pP(F) be and arbitrary odd degree real-coefficient polynomial. Assume for contradiction that p only contains complex zeros, ie:

p(z)=c(zλ1)(zλm)

where it is assumed that m is odd. Since any polynomial with real coefficients has pairs of zeroes (λi,λi¯) then we can, without loss of generality, say that λ2=λ1¯,λ4=λ3¯,... so that:

p(z)=c(zλ1)(zλ1¯)(zλm/2)

But look! Since we have an odd number of λi's, pairing them up this way gives one last λm/2 that has no conjugate pair, which contradicts all polynomial zeros having their conjugate pair being a zero. Hence, p must contain a non-complex zero, namely a real one.

Chapter 5.A: Invariants (Finish)

1

Suppose TL(V) and U is a subspace of V.

a

Theorem

If Unull(T) then U is invariant under T

Proof
Suppose Unull(T). Let uU be arbitrary. We'll need to show that TuU as well.

Notice that since uU, then since U is a subset of the nullspace of T then unull(T), so then Tu=0U. Hence, U is an invariant under T.

b

Theorem

If range(T)U then U is invariant under T.

Proof
Let uU be arbitrary. We'll need to show that TuU. Note that since Turange(T) then TuU as required.

2

Theorem

Suppose S,TL(V) are such that ST=TS. Then null(S) is invariant under T.

Proof
Let unull(S) be arbitrary. We'll need to show that Tunull(S), meaning that STu=0. Since unull(S) then Su=0. That means that:

T(Su)=T(0)=0STu=TSu=0

since ST=TS. Hence, Tunull(S) so then null(S) is invariant under T.

3

Theorem

Suppose S,TL(V) are such that ST=TS. Then range(S) is invariant under T.

Proof
Let urange(S) be arbitrary. We'll need to show that Turange(S). Since urange(S) then there is some vector uU such that Su=u. Then notice that:

T(Su)=TuTSu=STu=Tu

so then since Tu is just some vector vU then Sv=Tu so then clearly Turange(S). Therefore, then range(S) is invariant under T.

4

Theorem

Suppose that TL(V) and U1,,Um are subspaces of V invariant under T. Then U1++Um is invariant under T.

Proof
Let uU1++Um be arbitrary. We'll need to show that TuU1++Um.

Since uU1++Um then:

u=u1++um

where all uiUi for 1im. Since T is a linear transformation then:

Tu=T(u1++um)=Tu1++Tum

notice that Tu1U1 since U1 is u=u1++um is an invariant subspace of V under T. In general, all TuiUi for similar reasoning so then clearly:

Tu=Tu1++TumU1++Um

so then U1++Um is invariant under T.

5

Theorem

Suppose TL(V). Then the intersection of every collection of subspaces of V invariant under T is invariant under T.

Proof
Let U be in the intersection of every collection of subspaces of V invariant under T. Namely, U=iIUi where each Ui is invariant under T. Let uU be arbitrary. We want to show that TuU consequently.

Since uU then for all iI we have that uUi. Since all Ui are invariant under T, then TuUi for all iI. Therefore, we have it that TuU, showing U is invariant under T.

8

Define TL(F2) by:

T(w,z)=(z,w)

The eigenvalues and eigenvectors are found as follows. Let λ be an eigenvalue for T. Then:

T(w,z)=(z,w)=λ(w,z)=(λw,λz)

thus then:

λw=z,λz=wλ(λz)=z(λ21)z=0

so since z0 as (z,w)0 (notice if z=0 then that makes w=0) then λ21=0λ=±1 so then the eigenvalues are λ=±1.

Plugging back in to get our eigenvectors:

1(w,z)=T(w,z)=(z,w),1(w,z)=T(w,z)=(z,w)

Solve for w,z for both cases:

1(w,z)=(z,w)w=z(w,z)=(w,w)=w(1,1)

so have v1=(1,1) associated with λ=1, and then:

1(w,z)=(w,z)=(z,w)w=z(w,z)=(w,w)=w(1,1)

so have v2=(1,1) associated with λ=1.

9

Define TL(F3) by:

T(z1,z2,z3)=(2z2,0,5z3)

then we try to find the λ's for this transformation:

T(z1,z2,z3)=(2z2,0,5z3)=λ(z1,z2,z3)=(λz1,λz2,λz3)

equate coordinates:

2z2=λz1,0=λz2,5z3=λz3

So we have 3 equations and we have 3 unknowns. An easy option is if λ=0. Then:

2z2=0,0=0z2,5z3=0z=(z1,0,0)

Hence the vector (1,0,0) is associated with eigenvalue λ=0.

If instead we consider the other obvious one λ=5 then:

2z2=5z1,0=5z2,5z3=5z3z=(0,0,z3)

Hence the vector (0,0,1) is associated with the eigenvalue λ=5.

Notice that these are the only eigenvalues here. We could turn the system of equations into a matrix:

[020000005]z=λz[λ200λ000λ]z=0

and solve using the characteristic polynomial to show this. But alternatively, we can see that the first equation will never be "reduced" to a true statement for any λ, so then we only had the two obvious choices above.

11

Define T:P(R)P(R) by Tp=p. We'll find all eigenvalues and vectors for T.

We need to find when:

Tp=λpT(a0+a1x++anxn)=λ(a0+a1x++anxn)

simplifying:

T(a0)+T(a1x)+T(a2x2)++T(anxn)=λa0+λa1x+λa2x2++λanxn0+a1+2a2x++nanxn1=λa0+λa1x+λa2x2++λanxn

equating xn coefficients yields a system of equations:

{a1=λa02a2=λa13a3=λa2nan=λan10=λan

Notice that if λ=0 then we get that all ai=0 for i1 meaning p=c+0x+=c which is a constant function. Hence all constant polynomials have λ=0 as an eigenvalue.

If instead we have λ0 then we have the simplified case looking at the last equation that an=0. Hence, then nan=0 so then an1=0. Repeating, we get that an,an1,,a1,a0=0 so then p is the zero function which isn't an eigenvector. Hence there's no eigenvectors for any λ0.

Overall, the only eigenvalue is λ=0 of eigenvector p=c for any cR.

12

Define TL(P4(R)) by:

(Tp)(x)=xp(x)

for all xR. We'll find all eigenvalues and vectors of T.

(Tp)(x)=xp(x)x(a0+a1x++anxn)=λ(a0+a1x++anxn)

simplifies to:

x(0+a1+2a2x++nanxn1)=0+a1x+2a2x2++nanxn=λa0+λa1x++λanxn

We can equate coefficients to get:

{0=λa0a1=λa12a2=λa2nan=λan

But look! Clearly if λ=0 then that forces all ai=0 for i1, while a0R so then p=c which is any constant function. Hence, λ=0 corresponds to the constant function eigenvector.

If instead λ0 then this is how we can construct our eigenvalues. Notice if all aj=0 for jk while ak0 then we have true statements and have the remaining equation kak=λak. Since ak0 then we have (by dividing) that k=λ. Looking at the resulting polynomial, that gives:

pk(x)=0++akxk=akxk,T(pk)=xpk=x(akxk)=kakxk=kpk(x)

Hence, in general any pk(x) (as defined above) is an eigenvector with λ=k as it's eigenvalue.

14

Suppose V=UW, where U,W are nonzero subspaces of V. Define PL(V) by P(u+w)=u for uU and wW. Find all eigenvalues and vectors of P.

Let vV be arbitrary. Let uiU and wiW. Consider:

Pv=λvP(ui+wi)=λ(ui+wi)Since V=UWui=λ(ui+wi)Definition of Pui=λui+λwi(1λ)ui=λwi

But since we have a direct sum, we can't have ui=cwi for any constant, since if that was the case then v=ui+wi=ui+cui=(1+c)ui which isn't unique. Hence, we must have:

(1λ)ui=λwi=0

Which only happens if λ=0,1. If λ=0 then we get:

ui=0

and thus v=wi which is a (possibly) non-zero vector. Hence, any wW is an eigenvector with eigenvalue λ=0.

Similarly, if λ=1. Then we get:

wi=0

so then v=ui. Hence, any uU is an eigenvector with eigenvalue λ=1.

15

Suppose TL(V) and SL(V). Suppose S specifically is invertible.

a

Theorem

T and S1TS have the same eigenvalues.

Proof
Let λ be an arbitrary eigenvalue from T, with corresponding vV eigenvector. Thus:

Tv=λv

Because S is invertible, then S is both injective and surjective. Surjectivity will come into play here, since that means there's some voV where Svo=v. Thus:

Svo=vTSvo=TvTSvo=λvS1TSvo=S1(λv)S1TS(vo)=λS1v(S1TS)vo=λvo(Svo=vS1v=vo)

Thus vo is an eigenvector for any eigenvalue λ, for the transformation S1TS. Hence, since λ was arbitrary, it holds for all eigenvalues that λ is shared between T and S1TS.

WLOG, the reverse direction holds a similar proof and shows that S1TS eigenvalues are shared in T similarly.

b

Notice that prior that the eigenvector v from T are not the same for S1TS. Namely, the new eigenvector vo associated with S1TS is S1v=vo for each eigenvector v from T.

18

We'll show that the operator TL(C) defined by:

T(z1,z2,...)=(0,z1,z2,...)

has no eigenvalues. Assume for contradiction that it does, at least one λ, with some unknown eigenvector (z1,...). Then:

T(z1,z2,...)=λ(z1,z2,...)(0,z1,z2,...)=(λz1,λz2,λz3,...)

We can equate coefficients to get:

{0=λz1z1=λz2z2=λz3

But look at this. Clearly an option is λ=0. If that's the case then z1=z2==0 so then z=0 which isn't a valid eigenvector. So instead consider that λ0. Then from the first equation we have it that z1=0, but then from the second equation then z2=0, and so on. This means that:

z1=0z2=0i(zi=0)

Hence then z=(0,0,...)=0 which again isn't a valid eigenvector. Hence, no λ cases allow for eigenvectors to arise, so there are no valid λ.

19

Suppose n is a positive integer and TL(Fn) is defined by:

T(x1,...,xn)=(x1++xn,,x1++xn)

so then T is the operator whose matrix (w.r.t the standard basis) consists of all 1's. We'll find all eigenvalues and eigenvectors of T.

Consider when:

Tx=λxT(x1,...,xn)=λ(x1,...,xn)(x1++xn,,x1++xn)=(λx1,,λxn)

Equating rows of our vector, we have:

{x1++xn=λx1x1++xn=λx2x1++xn=λxn

Namely, x1++xn=λxi for all 1in. That means that:

x1++xn=λx1=λx2==λxn

so then we have two possibilities. If λ=0, then we just require that x1++xn=0, so then all vectors v{vFn:v1++vn=0} is a valid eigenvector with eigenvalue λ=0.

If instead we have λ0. Then the RHS of our chain of equations suggests that:

λx1==λxnx1==xn=kF

by dividing λ from all sides. If k=0 we get a vector from before, so assume that k0. If that's the case, then:

x1++xn=k++kn times=nk=x1=k=x2==xn

Thus:

nk=kn=1

So the only λ0 occurs if n=1, and in that case of T(x1)=x1 then we just get the identity map. Hence, any xF1 is an eigenvector of T with eigenvalue λ=1.

20

Consider TL(F) defined by:

T(z1,z2,z3,...)=(z2,z3,...)

We'll find all eigenvalues and eigenvectors of T:

T(z1,z2,z3,...)=λ(z1,z2,z3,...)(z2,z3,z4,...)=(λz1,λz2,λz3,...)

Equating rows gives:

{z2=λz1z3=λz2z4=λz3

If λ=0 then we get that z2=z3==0 so then we have (z1,0,0,...) is an eigenvector with eigenvalue λ=0.

If instead λ0 then notice that:

z3=λz2=λ(λz1)=λ2z1

Notice in general that we can show that zn=λn1z1. We showed our base case, so let our inductive hypothesis reign for n<k, and we'll show the k-th case:

zk=λzk1=λ(λk2z1)=λk1z1

showing the k-th case. Notice if z1=0 then all zi=0 giving the zero vector which is invalid. So suppose z10. Then for any λF{0} we can create an eigenvector zλ defined as:

zλ=(z1,λz1,λ2z1)

then this eigenvector has an associated eigenvalue of λ0. We can verify this:

T(zλ)=(λz1,λ2z1,λ3z1,...)=λ(z1,λz1,...)=λzλ

Which works. As an example, if z1=1 and λ=2 then our eigenvector z2 is:

z2=(1,2,2,22,4,...)Tz2=(2,2,22,...)=2(1,2,2,...)=2z2

as expected.

21

Suppose TL(V) is invertible.

a

Theorem

Suppose λF with λ0. Then λ is an eigenvalue of T iff 1λ is an eigenvalue of T1.

Proof
Consider , so suppose λ is an eigenvalue of T. Then there's some associated eigenvector vV. Then notice that:

Tv=λvv=T1(λv)v=λT1v1λv=T1v

thus 1λ is an eigenvalue for T1.

WLOG, going in the reverse direction shows the part.

b

Theorem

T and T1 have the same eigenvectors.

Proof
Let λ be an eigenvalue for T with eigenvector v. As shown above, we have the same eigenvalue 1λ for T1. We need to show that the eigenvector associated with that value is still vV.

Notice that:

Tv=λvv=T1(λv)v=λT1v1λv=T1v

So then 1λ's eigenvector for T1 is still v as we needed. Since λ was an arbitrary eigenvalue, then for all eigenvalues for T we have sharing eigenvectors. This works in both directions.

23

Theorem

Suppose V is finite-dimensional and S,TL(V). Then ST and TS have the same eigenvalues.

Proof
Let dim(V)=n. Let λ be an eigenvalue of ST with corresponding eigenvector vV. Notice that:

STv=λvTSTv=TλvTS(Tv)=λTv

Thus then λ is an eigenvalue for TS with the corresponding eigenvector Tv. Since λ was arbitrary, this holds true for all eigenvalues from ST to TS. A similar proof by swapping S with T shows the reverse direction.

29

Theorem

Suppose TL(V) and dim(range(T))=k. Then T has at most k+1 distinct eigenvalues.

Proof
Assume for contradiction that T has k+2 or more eigenvalues. Hence, at least λ1,...,λk+2 are all distinct eigenvalues of T. But then since dim(range(T))=k then there's a basis r1,...,rk for range(T), so then Tv1,...,Tvk is that same basis.

Notice in the best case that all v1,...,vk are eigenvectors, so then λ1,...,λk are their associated eigenvalues. But we still have λk+1,λk+2, so since this is the best case where we have the maximum number of eigenvectors for range(T) then we require that λk+1=λk+2=0 as the other vectors need to be send to the zero vector.

But look! λk+1=λk+2, so they aren't distinct! This contradicts our supposition that they be distinct, so then we must have the opposite of the assumption. Thus T has at most k+1 distinct eigenvalues.

Chapter 5.B: Eigenvectors and UT Matrices

1

Suppose TL(V) and there is some positive integer n such that Tn=0.

a

Theorem

IT is invertible and (IT)1=I+T++Tn1

Proof
We can just show that:

(I+T++Tn1)(IT)=(I+T++Tn1)T(I+T++Tn1)=(I+T++Tn1)+(TT2Tn)=I+(TT)+(T2T2)++(Tn1Tn1)Tn=I+0++0Tn=ITn=I(Tn=0)

Thus we've happened to find an invertible transformation (IT)1 as defined above, and showed that it worked. Thus, it's the inverse matrix, showing IT is invertible.

b

Usually we pull these ideas from properties of the real numbers, or other discrete math. Namely, we know that:

(1x)1=11x=i=0xi

where since we don't have an infinite vector space we need:

(1x)1=i=0nxi+xn+

where all xn,...,=0 hence the condition of Tn=0 as if that's true then Tn+i=(Tn)i=0i=0 for all i0.

2

Theorem

Suppose TL(V) and (T2I)(T3I)(T4I)=0. Suppose λ is an eigenvalue of T. Then λ=2,3, or 4.

Proof
Let λ be an eigenvalue of T. Then we know that:

(TλI)v=0

where v is λ's associated eigenvector. Now, assume for contradiction that λ2,3,4 (all). Notice that:

(T2I)(T3I)(T4I)v=0v=0

Notice that if (T4I)v=0 that would be a contradiction as then λ=4 would be a valid eigenvalue. Hence, say (T4I)v=wV where w is non-zero. Then:

(T2I)(T3I)w=0

In a similar way, if (T3I)w=0 then that would imply that λ=3 is an eigenvalue which is a contradiction. Hence, say (T2I)u=0 for nonzero uV. Then:

(T2I)u=0

so then λ=2 is an eigenvalue is a contradiction. Hence, λ=2,3,or 4.

4

Theorem

Suppose PL(V) and P2=P. Then V=null(P)range(P).

Proof
We can show this if null(P) and range(P) only contains the zero vector. Let vV be any non-zero vector. Assume for contradiction that vnull(P) and vrange(P). Then Pv=0 and further there is some vector wV where Pw=v. Notice though that:

P(Pw)=P2w=Pw

while:

P(Pw)=Pv=0

so then:

Pw=0=v

Which contradicts v being non-zero. Hence null(P) is disjoint with range(P) so then we get a direct sum. This is also a valid sum since, by the FTOLM:

dim(V)=dim(null(P))+dim(range(P))

as null(P) and range(P) are disjoint.

5

Theorem

Suppose S,TL(V) and S is invertible. Suppose pP(F) is a polynomial. Then:

p(STS1)=Sp(T)S1

Proof

First, we'll prove a small lemma, namely that (STS1)n=STnS1.

First, notice that n=1 case is satisfied. Suppose the lemma works for all cases under k. Consider the k-th case:

(STS1)k=(STS1)k1(STS1)=STk1S1STS1(inductive hypothesis)=STk1ITS1=STk1TS1=STkS1

hence completing the proof for the lemma.

We know that, supposing p(z)=a0+a1z++anzn:

p(STS1)=a0I+a1(STS1)++an(STS1)n=a0I+a1STS1++anSTnS1=a0(SIS1)+a1STS1++anSTnS1=S(a0I+a1T++anTn)S1=Sp(T)S1

Completing the proof.

7

Theorem

Suppose TL(V). Then 9 is an eigenvalue of T2 iff 3 or 3 is an eigenvalue of T.

Proof
Consider , so suppose λ=9 is an eigenvalue of T2, so then:

(T29I)v=0

for some vV. Notice that:

(T3I)(T+3I)=p(T)q(T)

where p(z)=z3 and q(z)=z+3. Notice that p(z)q(z)=z29 so then:

(pq)(T)=p(T)q(T)=(T29I)

thus:

(T29I)=(T3I)(T+3I)(T3I)(T+3I)v=0

now assume for contradiction that 3 and 3 are not eigenvalues of T. Then notice that we must have (T+3I)v0 since if it did then 3 would be a valid eigenvalue of T. Hence, call this vector wV. Then:

(T3I)w=0

So then λ=3 is an eigenvalue, which is also a contradiction. Hence, no matter what we get a contradiction, so then either 3 or 3 are eigenvalues of T.

Now consider . Suppose 3 or 3 are an eigenvalue of T. WLOG, suppose λ=3 is an eigenvalue. Then:

(T3I)v=0

for some associated eigenvector vV. Then:

Tv=3vT2v=T(3v)=3Tv=33v=9v

So then notice that T2v=9v so then λ=9 is an eigenvalue for T2.

In a similar way if 3 was the eigenvalue, then:

(T+3I)v=0Tv=3vT2v=T(3v)=3Tv=3(3)(v)=9v

so then λ=9 is still an eigenvalue for T2.

8

We want to find an example of TL(R2) where T4=1. This suggest that:

T4+I=0

Taking some inspiration from complex number's it's like we want to find the solutions to:

z4+1=0z=±±1=±±i

But notice that these won't work as standard eigenvalues, as we need to have real eigenvalue components for our vectors. But instead, this motivates us to use rotation as a way to model this transformation.

Let T be the transformation that rotates a vector π/4 radians. Note that we can find the matrix under the standard basis as:

T(1,0)=(22,22)=22(1,1)T(0,1)=(22,22)=22(1,1)

We can verify that T4=1 for any vector (a,b)R4. First notice that for any n that:

Tn(a,b)=Tn1(2/2(a,a)+2/2(b,b))=2/2Tn1(ab,a+b)

and then, reapplying the definition:

Tn(a,b)=(2/2)2Tn2((ab)(a+b),(ab)+(a+b))=1/2Tn2(2b,2a)=Tn2(b,a)

So then:

Tn(a,b)=Tn4(a,b)=Tn4(a,b)

Thus:

T4(a,b)=T0(a,b)=(a,b)

as requested.

10

Theorem

Suppose TL(V) and v is an eigenvector of T (with eigenvalue λ). Suppose pP(F). Then p(T)v=p(λ)v.

Proof
Since λ is an eigenvector of T then:

Tv=λv(TλI)v=0

We will prove the theorem by induction on deg(p)=n. Say n=1, so then:

p(z)=c(zλ1)=czλ1c

Notice then that:

p(T)=cTλ1Ic=c(Tλ1I)

Notice that since λ is an eigenvector then:

(TλI)v=0

Now consider the following cases. If λi=λ then clearly:

p(T)=c(Tλ1I)v=c(TλI)v=c0=0

and similarly:

p(λ)v=c(λλ)v=c0v=0v=0

Hence p(T)v=p(λ)v=0, showing the theorem holds.

If λiλ then we need to show that p(T)v=p(λ)v=rv for some rR. Notice that:

r=p(λ)=c(λλ1)

And notice that:

p(T)v=c(Tλ1I)v=c(Tvλ1v)=c(λvλ1v)=c(λλ1)v=p(λ)v

Hence still p(T)v=p(λ)v.

Thus, the base case is proved, so suppose that for all n<k that the theorem holds, where deg(p)=k. Consider this new case. Then:

p(z)=c(zλ1)(zλk)

and thus:

p(T)=c(Tλ1I)(TλkI)

Thus we use the inductive hypotheses below:

p(T)v=c(Tλ1I)(TλkI)v=c(Tλ1I)(Tλk1)q(T)(Tλk)r(T)v=q(T)r(T)v=r(T)(q(T)v)=r(T)(q(λ)v)(inductive hypothesis, as deg(q)=k1<k)=r(λ)q(λ)v(inductive hypothesis, as deg(r)=1<k)=p(λ)v

Thus showing the inductive step. As such, by induction, the theorem holds for all deg(p)=n.