Every problem in the chapter beside the book’s answer, a chapter at a time as you scroll.

Chapter 3: Maps Between Spaces

365 problems · 29 figures

Three.I.1.12 §I.1 source ↗

Verify, using Example 1.4 as a model, that the two correspondences given before the definition are isomorphisms.

(a)

Example 1.1

(b)

Example 1.2

Answer (2 parts)

(a)

Call the map f⁠.

(ab)⟼f(ab)

It is one-to-one because if f sends two members of the domain to the same image, that is, if f((ab))=f((cd))⁠, then the definition of f gives that

(ab)=(cd)

and since column vectors are equal only if they have equal components, we have that a=c and that b=d⁠. Thus, if f maps two row vectors from the domain to the same column vector then the two row vectors are equal: (ab)=(cd)⁠.

To show that f is onto we must show that any member of the codomain ℝ2 is the image under f of some row vector. That’s easy;

(xy)

is f((xy))⁠.

The computation for preservation of addition is this.

f((ab)+(cd))=f((a+cb+d))=(a+cb+d)=(ab)+(cd)=f((ab))+f((cd))

The computation for preservation of scalar multiplication is similar.

f(r⋅(ab))=f((rarb))=(rarb)=r⋅(ab)=r⋅f((ab))

(b)

Denote the map from Example 1.2 by f⁠. To show that it is one-to-one, assume that f(a0+a1x+a2x2)= f(b0+b1x+b2x2)⁠. Then by the definition of the function,

(a0a1a2)=(b0b1b2)

and so a0=b0 and a1=b1 and a2=b2⁠. Thus a0+a1x+a2x2=b0+b1x+b2x2⁠, and consequently f is one-to-one.

The function f is onto because there is a polynomial sent to

(abc)

by f⁠, namely, a+bx+cx2⁠.

As for structure, this shows that f preserves addition

f((a0+a1x+a2x2)+(b0+b1x+b2x2))=f((a0+b0)+(a1+b1)x+(a2+b2)x2)=(a0+b0a1+b1a2+b2)=(a0a1a2)+(b0b1b2)=f(a0+a1x+a2x2)+f(b0+b1x+b2x2)

and this shows

f(r(a0+a1x+a2x2))=f((ra0)+(ra1)x+(ra2)x2)=(ra0ra1ra2)=r⋅(a0a1a2)=rf(a0+a1x+a2x2)

that it preserves scalar multiplication.

Three.I.1.13 §I.1 source ↗

For the map f:𝒫1→ℝ2 given by

a+bx⟼f(a−bb)

Find the image of each of these elements of the domain.

(a)

3−2x

(b)

2+2x

(c)

x

Show that this map is an isomorphism.

Answer (5 parts)

These are the images.

(a)

(5−2)

(b)

(02)

(c)

(−11)

To prove that f is one-to-one, assume that it maps two linear polynomials to the same image f(a1+b1x)=f(a2+b2x)⁠. Then

(a1−b1b1)=(a2−b2b2)

and so, since column vectors are equal only when their components are equal, b1=b2 and a1=a2⁠. That shows that the two linear polynomials are equal, and so f is one-to-one.

To show that f is onto, note that this member of the codomain

(st)

is the image of this member of the domain (s+t)+tx⁠.

To check that f preserves structure, we can use item (2) of Lemma 1.11.

f(c1⋅(a1+b1x)+c2⋅(a2+b2x))=f((c1a1+c2a2)+(c1b1+c2b2)x)=((c1a1+c2a2)−(c1b1+c2b2)c1b1+c2b2)=c1⋅(a1−b1b1)+c2⋅(a2−b2b2)=c1⋅f(a1+b1x)+c2⋅f(a2+b2x)

Three.I.1.14 §I.1 source ↗

Show that the natural map f1 from Example 1.5 is an isomorphism.

Answer

To verify it is one-to-one, assume that f1(c1x+c2y+c3z)= f1(d1x+d2y+d3z)⁠. Then c1+c2x+c3x2=d1+d2x+d3x2 by the definition of f1⁠. Members of 𝒫2 are equal only when they have the same coefficients, so this implies that c1=d1 and c2=d2 and c3=d3⁠. Therefore f1(c1x+c2y+c3z)= f1(d1x+d2y+d3z) implies that c1x+c2y+c3z=d1x+d2y+d3z⁠, and so f1 is one-to-one.

To verify that it is onto, consider an arbitrary member of the codomain a1+a2x+a3x2 and observe that it is indeed the image of a member of the domain, namely, it is f1(a1x+a2y+a3z)⁠. (For instance, 0+3x+6x2=f1(0x+3y+6z)⁠.)

The computation checking that f1 preserves addition is this.

f1((c1x+c2y+c3z)+(d1x+d2y+d3z))=f1((c1+d1)x+(c2+d2)y+(c3+d3)z)=(c1+d1)+(c2+d2)x+(c3+d3)x2=(c1+c2x+c3x2)+(d1+d2x+d3x2)=f1(c1x+c2y+c3z)+f1(d1x+d2y+d3z)

The check that f1 preserves scalar multiplication is this.

f1(r⋅(c1x+c2y+c3z))=f1((rc1)x+(rc2)y+(rc3)z)=(rc1)+(rc2)x+(rc3)x2=r⋅(c1+c2x+c3x2)=r⋅f1(c1x+c2y+c3z)

Three.I.1.15 §I.1 source ↗

Show that the map t:𝒫2→𝒫2 given by t(ax2+bx+c)= bx2− (a+c)x+ a is an isomorphism.

Answer

To see that the map is one-to-one suppose that t(v→1)=t(v→2)⁠, aiming to conclude that v→1=v→2⁠. That is, t(a1x2+b1x+c1)= t(a2x2+b2x+c2)⁠. Then b1x2− (a1+c1)x+ a1= b2x2− (a2+c2)x+ a2 and because quadratic polynomials are equal only if they have have the same quadratic terms, the same constant terms, and the same linear terms we conclude that b1=b2⁠, that a1=a2⁠, and from that, c1=c2⁠. Therefore a1x2+b1x+c1=a2x2+b2x+c2 and the function is one-to-one.

To see that the map is onto, we suppose that we are given a member w→ of the codomain and we find a member v→ of the domain that maps to it. Let the member of the codomain be w→=px2+qx+r⁠. Observe that where v→=rx2+px+(−q−r) then t(v→)=w→⁠. Thus t is onto.

To see that the map is a homomorphism we show that it respects linear combinations of two elements. By Lemma 1.11 this will show that the map preserves the operations.

t(r1(a1x2+b1x+c1)+r2(a2x2+b2x+c2))=t((r1a1+r2a2)x2+(r1b1+r2b2)x+(r1c1+r2c2))=(r1b1+r2b2)x2−((r1a1+r2a2)+(r1c1+r2c2))x+(r1a1+r2a2)=(r1b1)x2−(r1a1+r1c1)x+r1a1+(r2b2)x2−(r2a2+r2c2)x+r2a2=r1t(a1x2+b1x+c1)+r2t(a2x2+b2x+c2)

Three.I.1.16 §I.1 source ↗

Verify that this map is an isomorphism: h:ℝ4→ℳ2×2 given by

(abcd)↦(ca+dbd)

Answer

We first verify that h is one-to-one. To do this we will show that h(v→1)=h(v→2) implies that v→1=v→2⁠. So assume that

h(v→1)=h((a1b1c1d1))=h((a2b2c2d2))=h(v→2)

which gives

(c1a1+d1b1d1)=(c2a2+d2b2d2)

from which we conclude that c1=c2 (by the upper-left entries), b1=b2 (by the lower-left entries), d1=d2 (by the lower-right entries), and with this last we get a1=a2 (by the upper right). Therefore v→1=v→2⁠.

Next we will show that the map is onto, that every member of the codomain ℳ2×2 is the image of some four-tall member of the domain. So, given

w→=(mnpq)∈ℳ2×2

observe that it is the image of this domain vector.

v→=(n−qpmq)

To finish we verify that the map preserves linear combinations. By Lemma 1.11 this will show that the map preserves the operations.

h(r1⋅(a1b1c1d1)+r2⋅(a2b2c2d2))=h((r1a1+r2a2r1b1+r2b2r1c1+r2c2r1d1+r2d2))=(r1c1+r2c2(r1a1+r2a2)+(r1d1+r2d2)r1b1+r2b2r1d1+r2d2)=r1(c1a1+d1b1d1)+r2(c2a2+d2b2d2)=r1⋅h((a1b1c1d1))+r2⋅h((a2b2c2d2))

Three.I.1.17 §I.1 source ↗

Decide whether each map is an isomorphism. If it is an isomorphism then prove it and if it isn’t then state a condition that it fails to satisfy.

(a)

f:ℳ2×2→ℝ given by

(abcd)↦ad−bc

(b)

f:ℳ2×2→ℝ4 given by

(abcd)↦(a+b+c+da+b+ca+ba)

(c)

f:ℳ2×2→𝒫3 given by

(abcd)↦c+(d+c)x+(b+a)x2+ax3

(d)

f:ℳ2×2→𝒫3 given by

(abcd)↦c+(d+c)x+(b+a+1)x2+ax3

Answer (4 parts)

(a)

No; this map is not one-to-one. In particular, the matrix of all zeroes is mapped to the same image as the matrix of all ones.

(b)

Yes, this is an isomorphism.

It is one-to-one:

if f((a1b1c1d1))=f((a2b2c2d2)) then (a1+b1+c1+d1a1+b1+c1a1+b1a1)=(a2+b2+c2+d2a2+b2+c2a2+b2a2)

gives that a1=a2⁠, and that b1=b2⁠, and that c1=c2⁠, and that d1=d2⁠.

It is onto, since this shows

(xyzw)=f((wz−wy−zx−y))

that any four-tall vector is the image of a 2×2⁠ matrix.

Finally, it preserves combinations

f(r1⋅(a1b1c1d1)+r2⋅(a2b2c2d2))=f((r1a1+r2a2r1b1+r2b2r1c1+r2c2r1d1+r2d2))=(r1a1+⋯+r2d2r1a1+⋯+r2c2r1a1+⋯+r2b2r1a1+r2a2)=r1⋅(a1+⋯+d1a1+⋯+c1a1+b1a1)+r2⋅(a2+⋯+d2a2+⋯+c2a2+b2a2)=r1⋅f((a1b1c1d1))+r2⋅f((a2b2c2d2))

and so item (2) of Lemma 1.11 shows that it preserves structure.

(c)

Yes, it is an isomorphism.

To show that it is one-to-one, we suppose that two members of the domain have the same image under f⁠.

f((a1b1c1d1))=f((a2b2c2d2))

This gives, by the definition of f⁠, that c1+ (d1+c1)x+ (b1+a1)x2+ a1x3= c2+ (d2+c2)x+ (b2+a2)x2+ a2x3 and then the fact that polynomials are equal only when their coefficients are equal gives a set of linear equations

c1=c2d1+c1=d2+c2b1+a1=b2+a2a1=a2

that has only the solution a1=a2⁠, b1=b2⁠, c1=c2⁠, and d1=d2⁠.

To show that f is onto, we note that p+qx+rx2+sx3 is the image under f of this matrix.

(sr−spq−p)

We can check that f preserves structure by using item (2) of Lemma 1.11.

f(r1⋅(a1b1c1d1)+r2⋅(a2b2c2d2))=f((r1a1+r2a2r1b1+r2b2r1c1+r2c2r1d1+r2d2))=[t](r1c1+r2c2)+(r1d1+r2d2+r1c1+r2c2)x+(r1b1+r2b2+r1a1+r2a2)x2+(r1a1+r2a2)x3=[t]r1⋅(c1+(d1+c1)x+(b1+a1)x2+a1x3)+r2⋅(c2+(d2+c2)x+(b2+a2)x2+a2x3)=r1⋅f((a1b1c1d1))+r2⋅f((a2b2c2d2))

(d)

No, this map does not preserve structure. For instance, it does not send the matrix of all zeroes to the zero polynomial.

Three.I.1.18 §I.1 source ↗

Show that the map f:ℝ1→ℝ1 given by f(x)=x3 is one-to-one and onto. Is it an isomorphism?

Answer

It is one-to-one and onto, a correspondence, because it has an inverse (namely, f−1(x)=x3⁠). However, it is not an isomorphism. For instance, f(1)+f(1)≠f(1+1)⁠.

Three.I.1.19 §I.1 source ↗

Refer to Example 1.1. Produce two more isomorphisms (of course, you must also verify that they satisfy the conditions in the definition of isomorphism).

Answer

Many maps are possible. Here are two.

(ab)↦(ba)and(ab)↦(2ab)

The verifications are straightforward adaptations of the others above.

Three.I.1.20 §I.1 source ↗

Refer to Example 1.2. Produce two more isomorphisms (and verify that they satisfy the conditions).

Answer

Here are two.

a0+a1x+a2x2↦(a1a0a2)anda0+a1x+a2x2↦(a0+a1a1a2)

Verification is straightforward (for the second, to show that it is onto, note that

(stu)

is the image of (s−t)+tx+ux2⁠).

Three.I.1.21 §I.1 source ↗

Show that, although ℝ2 is not itself a subspace of ℝ3⁠, it is isomorphic to the xy⁠-plane subspace of ℝ3⁠.

Answer

The space ℝ2 is not a subspace of ℝ3 because it is not a subset of ℝ3⁠. The two-tall vectors in ℝ2 are not members of ℝ3⁠.

The natural isomorphism ι:ℝ2→ℝ3 (called the injection map) is this.

(xy)⟼ι(xy0)

This map is one-to-one because

f((x1y1))=f((x2y2))implies(x1y10)=(x2y20)

which in turn implies that x1=x2 and y1=y2⁠, and therefore the initial two two-tall vectors are equal.

Because

(xy0)=f((xy))

this map is onto the xy⁠-plane.

To show that this map preserves structure, we will use item (2) of Lemma 1.11 and show

f(c1⋅(x1y1)+c2⋅(x2y2))=f((c1x1+c2x2c1y1+c2y2))=(c1x1+c2x2c1y1+c2y20)=c1⋅(x1y10)+c2⋅(x2y20)=c1⋅f((x1y1))+c2⋅f((x2y2))

that it preserves combinations of two vectors.

Three.I.1.22 §I.1 source ↗

Find two isomorphisms between ℝ16 and ℳ4×4⁠.

Answer

Here are two:

(r1r2⋮r16)↦(r1r2……r16)and(r1r2⋮r16)↦(r1r2⋮⋮r16)

Verification that each is an isomorphism is easy.

Three.I.1.23 §I.1 source ↗

For what k is ℳm×n isomorphic to ℝk⁠?

Answer

When k is the product k=mn⁠, here is an isomorphism.

(r1r2…⋮…rm⋅n)↦(r1r2⋮rm⋅n)

Checking that this is an isomorphism is easy.

Three.I.1.24 §I.1 source ↗

For what k is 𝒫k isomorphic to ℝn⁠?

Answer

If n≥1 then 𝒫n−1≅ℝn⁠. (If we take 𝒫−1 and ℝ0 to be trivial vector spaces, then the relationship extends one dimension lower.) The natural isomorphism between them is this.

a0+a1x+⋯+an−1xn−1↦(a0a1⋮an−1)

Checking that it is an isomorphism is straightforward.

Three.I.1.25 §I.1 source ↗

Prove that the map in Example 1.9, from 𝒫5 to 𝒫5 given by p(x)↦p(x−1)⁠, is a vector space isomorphism.

Answer

This is the map, expanded.

f(a0+a1x+a2x2+a3x3+a4x4+a5x5)=a0+a1(x−1)+a2(x−1)2+a3(x−1)3+a4(x−1)4+a5(x−1)5=a0+a1(x−1)+a2(x2−2x+1)+a3(x3−3x2+3x−1)+a4(x4−4x3+6x2−4x+1)+a5(x5−5x4+10x3−10x2+5x−1)=(a0−a1+a2−a3+a4−a5)+(a1−2a2+3a3−4a4+5a5)x+(a2−3a3+6a4−10a5)x2+(a3−4a4+10a5)x3+(a4−5a5)x4+a5x5

This map is a correspondence because it has an inverse, the map p(x)↦p(x+1)⁠.

To finish checking that it is an isomorphism we apply item (2) of Lemma 1.11 and show that it preserves linear combinations of two polynomials. Briefly, f(c⋅(a0+ a1x+ ⋯+ a5x5)+ d⋅(b0+ b1x+ ⋯+ b5x5)) equals this

(ca0−ca1+ca2−ca3+ca4−ca5+db0−db1+db2−db3+db4−db5)+⋯+(ca5+db5)x5

which equals c⋅f(a0+a1x+⋯+a5x5)+ d⋅f(b0+b1x+⋯+b5x5)⁠.

Three.I.1.26 §I.1 source ↗

Why, in Lemma 1.10, must there be a v→∈V⁠? That is, why must V be nonempty?

Answer

No vector space has the empty set underlying it. We can take v→ to be the zero vector.

Three.I.1.27 §I.1 source ↗

Are any two trivial spaces isomorphic?

Answer

Yes; where the two spaces are {a→} and {b→}⁠, the map sending a→ to b→ is clearly one-to-one and onto, and also preserves what little structure there is.

Three.I.1.28 §I.1 source ↗

In the proof of Lemma 1.11, what about the zero-summands case (that is, if n is zero)?

Answer

A linear combination of n=0 vectors adds to the zero vector and so Lemma 1.10 shows that the three statements are equivalent in this case.

Three.I.1.29 §I.1 source ↗

Show that any isomorphism f:𝒫0→ℝ1 has the form a↦ka for some nonzero real number k⁠.

Answer

Consider the basis ⟨1⟩ for 𝒫0 and let f(1)∈ℝ be k⁠. For any a∈𝒫0 we have that f(a)=f(a⋅1)=af(1)=ak and so f⁠’s action is multiplication by k⁠. Note that k≠0 or else the map is not one-to-one. (Incidentally, any such map a↦ka is an isomorphism, as is easy to check.)

Three.I.1.30 §I.1 source ↗

These prove that isomorphism is an equivalence relation.

(a)

Show that the identity map id:V→V is an isomorphism. Thus, any vector space is isomorphic to itself.

(b)

Show that if f:V→W is an isomorphism then so is its inverse f−1:W→V⁠. Thus, if V is isomorphic to W then also W is isomorphic to V⁠.

(c)

Show that a composition of isomorphisms is an isomorphism: if f:V→W is an isomorphism and g:W→U is an isomorphism then so also is g∘f:V→U⁠. Thus, if V is isomorphic to W and W is isomorphic to U⁠, then also V is isomorphic to U⁠.

Answer (4 parts)

In each item, following item (2) of Lemma 1.11, we show that the map preserves structure by showing that the it preserves linear combinations of two members of the domain.

(a)

The identity map is clearly one-to-one and onto. For linear combinations the check is easy.

id(c1⋅v→1+c2⋅v→2)=c1v→1+c2v→2=c1⋅id(v→1)+c2⋅id(v→2)

(b)

The inverse of a correspondence is also a correspondence (as stated in the appendix), so we need only check that the inverse preserves linear combinations. Assume that w→1=f(v→1) (so f−1(w→1)=v→1⁠) and assume that w→2=f(v→2)⁠.

f−1(c1⋅w→1+c2⋅w→2)=f−1(c1⋅f(v→1)+c2⋅f(v→2))=f−1(f(c1v→1+c2v→2))=c1v→1+c2v→2=c1⋅f−1(w→1)+c2⋅f−1(w→2)

(c)

The composition of two correspondences is a correspondence (as stated in the appendix), so we need only check that the composition map preserves linear combinations.

g∘f(c1⋅v→1+c2⋅v→2)=g(f(c1v→1+c2v→2))=g(c1⋅f(v→1)+c2⋅f(v→2))=c1⋅g(f(v→1))+c2⋅g(f(v→2))=c1⋅g∘f(v→1)+c2⋅g∘f(v→2)

Three.I.1.31 §I.1 source ↗

Suppose that f:V→W preserves structure. Show that f is one-to-one if and only if the unique member of V mapped by f to 0→W is 0→V⁠.

Answer

One direction is easy: by definition, if f is one-to-one then for any w→∈W at most one v→∈V has f(v→)=w→⁠, and so in particular, at most one member of V is mapped to 0→W⁠. The proof of Lemma 1.10 does not use the fact that the map is a correspondence and therefore shows that any structure-preserving map f sends 0→V to 0→W⁠.

For the other direction, assume that the only member of V that is mapped to 0→W is 0→V⁠. To show that f is one-to-one assume that f(v→1)=f(v→2)⁠. Then f(v→1)−f(v→2)=0→W and so f(v→1−v→2)=0→W⁠. Consequently v→1−v→2=0→V⁠, so v→1=v→2⁠, and so f is one-to-one.

Three.I.1.32 §I.1 source ↗

Suppose that f:V→W is an isomorphism. Prove that the set {v→1,…,v→k}⊆V is linearly dependent if and only if the set of images {f(v→1),…,f(v→k)}⊆W is linearly dependent.

Answer

We will prove something stronger — not only is the existence of a dependence preserved by isomorphism, but each instance of a dependence is preserved, that is,

v→i=c1v→1+⋯+ci−1v→i−1+ci+1v→i+1+⋯+ckv→k⟺f(v→i)=c1f(v→1)+⋯+ci−1f(v→i−1)+ci+1f(v→i+1)+⋯+ckf(v→k).

The ⟹ direction of this statement holds by item (3) of Lemma 1.11. The ⟸ direction holds by regrouping

f(v→i)=c1f(v→1)+⋯+ci−1f(v→i−1)+ci+1f(v→i+1)+⋯+ckf(v→k)=f(c1v→1+⋯+ci−1v→i−1+ci+1v→i+1+⋯+ckv→k)

and applying the fact that f is one-to-one, and so for the two vectors v→i and c1v→1+ ⋯+ ci−1v→i−1+ ci+1fv→i+1+ ⋯+ ckf(v→k to be mapped to the same image by f⁠, they must be equal.

Three.I.1.33 §I.1 source ↗

Show that each type of map from Example 1.8 is an automorphism.

(a)

Dilation ds by a nonzero scalar s⁠.

(b)

Rotation tθ through an angle θ⁠.

(c)

Reflection fℓ over a line through the origin.

Hint. For the second and third items, polar coordinates are useful.

Answer (3 parts)

(a)

This map is one-to-one because if ds(v→1)=ds(v→2) then by definition of the map, s⋅v→1=s⋅v→2 and so v→1=v→2⁠, as s is nonzero. This map is onto as any w→∈ℝ2 is the image of v→=(1/s)⋅w→ (again, note that s is nonzero). (Another way to see that this map is a correspondence is to observe that it has an inverse: the inverse of ds is d1/s⁠.)

To finish, note that this map preserves linear combinations

ds(c1⋅v→1+c2⋅v→2)=s(c1v→1+c2v→2)=c1sv→1+c2sv→2=c1⋅ds(v→1)+c2⋅ds(v→2)

and therefore is an isomorphism.

(b)

As in the prior item, we can show that the map tθ is a correspondence by noting that it has an inverse, t−θ⁠.

That the map preserves structure is geometrically easy to see. For instance, adding two vectors and then rotating them has the same effect as rotating first and then adding. For an algebraic argument, consider polar coordinates: the map tθ sends the vector with endpoint (r,ϕ) to the vector with endpoint (r,ϕ+θ)⁠. Then the familiar trigonometric formulas cos⁡(ϕ+θ)= cos⁡ϕcos⁡θ− sin⁡ϕsin⁡θ and sin⁡(ϕ+θ)= sin⁡ϕcos⁡θ+ cos⁡ϕsin⁡θ show how to express the map’s action in the usual rectangular coordinate system.

(xy)=(rcos⁡ϕrsin⁡ϕ)⟼tθ(rcos⁡(ϕ+θ)rsin⁡(ϕ+θ))=(xcos⁡θ−ysin⁡θxsin⁡θ+ycos⁡θ)

Now the calculation for preservation of addition is routine.

(x1+x2y1+y2)⟼tθ((x1+x2)cos⁡θ−(y1+y2)sin⁡θ(x1+x2)sin⁡θ+(y1+y2)cos⁡θ)=(x1cos⁡θ−y1sin⁡θx1sin⁡θ+y1cos⁡θ)+(x2cos⁡θ−y2sin⁡θx2sin⁡θ+y2cos⁡θ)

The calculation for preservation of scalar multiplication is similar.

(c)

This map is a correspondence because it has an inverse (namely, itself).

As in the last item, that the reflection map preserves structure is geometrically easy to see: adding vectors and then reflecting gives the same result as reflecting first and then adding, for instance. For an algebraic proof, suppose that the line ℓ has slope k (the case of a line with undefined slope can be done as a separate, but easy, case). We can follow the hint and use polar coordinates: where the line ℓ forms an angle of ϕ with the x⁠-axis, the action of fℓ is to send the vector with endpoint (rcos⁡θ,rsin⁡θ) to the one with endpoint (rcos⁡(2ϕ− θ), rsin⁡(2ϕ− θ))⁠.

To convert to rectangular coordinates, we will use some trigonometric formulas, as we did in the prior item. First observe that cos⁡ϕ and sin⁡ϕ can be determined from the slope k of the line. This picture

gives that cos⁡ϕ=1/1+k2 and sin⁡ϕ=k/1+k2⁠. Now,

cos⁡(2ϕ−θ)=cos⁡(2ϕ)cos⁡θ+sin⁡(2ϕ)sin⁡θ=(cos2⁡ϕ−sin2⁡ϕ)cos⁡θ+(2sin⁡ϕcos⁡ϕ)sin⁡θ=((11+k2)2−(k1+k2)2)cos⁡θ+(2k1+k211+k2)sin⁡θ=(1−k21+k2)cos⁡θ+(2k1+k2)sin⁡θ

and thus the first component of the image vector is this.

r⋅cos⁡(2ϕ−θ)=1−k21+k2⋅x+2k1+k2⋅y

A similar calculation shows that the second component of the image vector is this.

r⋅sin⁡(2ϕ−θ)=2k1+k2⋅x−1−k21+k2⋅y

With this algebraic description of the action of fℓ

(xy)⟼fℓ((1−k2/1+k2)⋅x+(2k/1+k2)⋅y(2k/1+k2)⋅x−(1−k2/1+k2)⋅y)

checking that it preserves structure is routine.

Three.I.1.34 §I.1 source ↗

Produce an automorphism of 𝒫2 other than the identity map, and other than a shift map p(x)↦p(x−k)⁠.

Answer

First, the map p(x)↦p(x+k) doesn’t count because it is a version of p(x)↦p(x−k)⁠. Here is a correct answer (many others are also correct): a0+a1x+a2x2↦a2+a0x+a1x2⁠. Verification that this is an isomorphism is straightforward.

Three.I.1.35 §I.1 source ↗

(a)

Show that a function f:ℝ1→ℝ1 is an automorphism if and only if it has the form x↦kx for some k≠0⁠.

(b)

Let f be an automorphism of ℝ1 such that f(3)=7⁠. Find f(−2)⁠.

(c)

Show that a function f:ℝ2→ℝ2 is an automorphism if and only if it has the form

(xy)↦(ax+bycx+dy)

for some a,b,c,d∈ℝ with ad−bc≠0⁠. Hint. Exercises in prior subsections have shown that

(bd) is not a multiple of (ac)

if and only if ad−bc≠0⁠.

(d)

Let f be an automorphism of ℝ2 with

f((13))=(2−1)andf((14))=(01).

Find

f((0−1)).

Answer (4 parts)

(a)

For the ‘only if’ half, let f:ℝ1→ℝ1 to be an isomorphism. Consider the basis ⟨1⟩⊆ℝ1⁠. Designate f(1) by k⁠. Then for any x we have that f(x)=f(x⋅1)=x⋅f(1)=xk⁠, and so f⁠’s action is multiplication by k⁠. To finish this half, just note that k≠0 or else f would not be one-to-one.

For the ‘if’ half we only have to check that such a map is an isomorphism when k≠0⁠. To check that it is one-to-one, assume that f(x1)=f(x2) so that kx1=kx2 and divide by the nonzero factor k to conclude that x1=x2⁠. To check that it is onto, note that any y∈ℝ1 is the image of x=y/k (again, k≠0⁠). Finally, to check that such a map preserves combinations of two members of the domain, we have this.

f(c1x1+c2x2)=k(c1x1+c2x2)=c1kx1+c2kx2=c1f(x1)+c2f(x2)

(b)

By the prior item, f⁠’s action is x↦(7/3)x⁠. Thus f(−2)=−14/3⁠.

(c)

For the ‘only if’ half, assume that f:ℝ2→ℝ2 is an automorphism. Consider the standard basis ℰ2 for ℝ2⁠. Let

f(e→1)=(ac)andf(e→2)=(bd).

Then the action of f on any vector is determined by by its action on the two basis vectors.

f((xy))=f(x⋅e→1+y⋅e→2)=x⋅f(e→1)+y⋅f(e→2)=x⋅(ac)+y⋅(bd)=(ax+bycx+dy)

To finish this half, note that if ad−bc=0⁠, that is, if f(e→2) is a multiple of f(e→1)⁠, then f is not one-to-one.

For ‘if’ we must check that the map is an isomorphism, under the condition that ad−bc≠0⁠. The structure-preservation check is easy; we will here show that f is a correspondence. For the argument that the map is one-to-one, assume this.

f((x1y1))=f((x2y2))and so(ax1+by1cx1+dy1)=(ax2+by2cx2+dy2)

Then, because ad−bc≠0⁠, the resulting system

a(x1−x2)+b(y1−y2)=0c(x1−x2)+d(y1−y2)=0

has a unique solution, namely the trivial one x1−x2=0 and y1−y2=0 (this follows from the hint).

The argument that this map is onto is closely related — this system

ax1+by1=xcx1+dy1=y

has a solution for any x and y if and only if this set

{(ac),(bd)}

spans ℝ2⁠, i.e., if and only if this set is a basis (because it is a two-element subset of ℝ2⁠), i.e., if and only if ad−bc≠0⁠.

(d)

f((0−1))=f((13)−(14))=f((13))−f((14))=(2−1)−(01)=(2−2)

Three.I.1.36 §I.1 source ↗

Refer to Lemma 1.10 and Lemma 1.11. Find two more things preserved by isomorphism.

Answer

There are many answers; two are linear independence and subspaces.

First we show that if a set {v→1,…,v→n} is linearly independent then its image {f(v→1),…,f(v→n)} is also linearly independent. Consider a linear relationship among members of the image set.

0=c1f(v→1)+⋯+cnf(vn→)=f(c1v→1)+⋯+f(cnvn→)=f(c1v→1+⋯+cnvn→)

Because this map is an isomorphism, it is one-to-one. So f maps only one vector from the domain to the zero vector in the range, that is, c1v→1+⋯+cnv→n equals the zero vector (in the domain, of course). But, if {v→1,…,v→n} is linearly independent then all of the c⁠’s are zero, and so {f(v→1),…,f(v→n)} is linearly independent also. (Remark. There is a small point about this argument that is worth mention. In a set, repeats collapse, that is, strictly speaking, this is a one-element set: {v→,v→}⁠, because the things listed as in it are the same thing. Observe, however, the use of the subscript n in the above argument. In moving from the domain set {v→1,…,v→n} to the image set {f(v→1),…,f(v→n)}⁠, there is no collapsing, because the image set does not have repeats, because the isomorphism f is one-to-one.)

To show that if f:V→W is an isomorphism and if U is a subspace of the domain V then the set of image vectors f(U)= {w→∈W|w→= f(u→) for some u→∈U} is a subspace of W⁠, we need only show that it is closed under linear combinations of two of its members (it is nonempty because it contains the image of the zero vector). We have

c1⋅f(u→1)+c2⋅f(u→2)=f(c1u→1)+f(c2u→2)=f(c1u→1+c2u→2)

and c1u→1+c2u→2 is a member of U because of the closure of a subspace under combinations. Hence the combination of f(u→1) and f(u→2) is a member of f(U)⁠.

Three.I.1.37 §I.1 source ↗

We show that isomorphisms can be tailored to fit in that, sometimes, given vectors in the domain and in the range we can produce an isomorphism associating those vectors.

(a)

Let B=⟨β→1,β→2,β→3⟩ be a basis for 𝒫2 so that any p→∈𝒫2 has a unique representation as p→=c1β→1+c2β→2+c3β→3⁠, which we denote in this way.

RepB⁡(p→)=(c1c2c3)

Show that the RepB⁡(⋅) operation is a function from 𝒫2 to ℝ3 (this entails showing that with every domain vector v→∈𝒫2 there is an associated image vector in ℝ3⁠, and further, that with every domain vector v→∈𝒫2 there is at most one associated image vector).

(b)

Show that this RepB⁡(⋅) function is one-to-one and onto.

(c)

Show that it preserves structure.

(d)

Produce an isomorphism from 𝒫2 to ℝ3 that fits these specifications.

x+x2↦(100)and1−x↦(010)

Answer (4 parts)

(a)

The association

p→=c1β→1+c2β→2+c3β→3⟼RepB⁡(⋅)(c1c2c3)

is a function if every member p→ of the domain is associated with at least one member of the codomain, and if every member p→ of the domain is associated with at most one member of the codomain. The first condition holds because the basis B spans the domain — every p→ can be written as at least one linear combination of β→⁠’s. The second condition holds because the basis B is linearly independent — every member p→ of the domain can be written as at most one linear combination of the β→⁠’s.

(b)

For the one-to-one argument, if RepB⁡(p→)=RepB⁡(q→)⁠, that is, if RepB⁡(p1β→1+ p2β→2+ p3β→3)= RepB⁡(q1β→1+ q2β→2+ q3β→3) then

(p1p2p3)=(q1q2q3)

and so p1=q1 and p2=q2 and p3=q3⁠, which gives the conclusion that p→=q→⁠. Therefore this map is one-to-one.

For onto, we can just note that

(abc)

equals RepB⁡(aβ→1+bβ→2+cβ→3)⁠, and so any member of the codomain ℝ3 is the image of some member of the domain 𝒫2⁠.

(c)

This map respects addition and scalar multiplication because it respects combinations of two members of the domain (that is, we are using item (2) of Lemma 1.11): where p→=p1β→1+p2β→2+p3β→3 and q→=q1β→1+q2β→2+q3β→3⁠, we have this.

RepB⁡(c⋅p→+d⋅q→)=RepB⁡((cp1+dq1)β→1+(cp2+dq2)β→2+(cp3+dq3)β→3)=(cp1+dq1cp2+dq2cp3+dq3)=c⋅(p1p2p3)+d⋅(q1q2q3)=RepB⁡(p→)+RepB⁡(q→)

(d)

Use any basis B for 𝒫2 whose first two members are x+x2 and 1−x⁠, say B=⟨x+x2,1−x,1⟩⁠.

Three.I.1.38 §I.1 source ↗

Prove that a space is n⁠-dimensional if and only if it is isomorphic to ℝn⁠. Hint. Fix a basis B for the space and consider the map sending a vector over to its representation with respect to B⁠.

Answer

See the next subsection.

Three.I.1.39 §I.1 source ↗

(Requires the subsection on Combining Subspaces, which is optional.) Let U and W be vector spaces. Define a new vector space, consisting of the set U×W= {(u→,w→)|u→∈U and w→∈W} along with these operations.

(u→1,w→1)+(u→2,w→2)=(u→1+u→2,w→1+w→2)andr⋅(u→,w→)=(ru→,rw→)

This is a vector space, the external direct sum of U and W⁠.

(a)

Check that it is a vector space.

(b)

Find a basis for, and the dimension of, the external direct sum 𝒫2×ℝ2⁠.

(c)

What is the relationship among dim⁡(U)⁠, dim⁡(W)⁠, and dim⁡(U×W)⁠?

(d)

Suppose that U and W are subspaces of a vector space V such that V=U⊕︎W (in this case we say that V is the internal direct sum of U and W⁠). Show that the map f:U×W→V given by

(u→,w→)⟼fu→+w→

is an isomorphism. Thus if the internal direct sum is defined then the internal and external direct sums are isomorphic.

Answer (4 parts)

(a)

Most of the conditions in the definition of a vector space are routine. We here sketch the verification of part (1) of that definition.

For closure of U×W⁠, note that because U and W are closed, we have that u→1+u→2∈U and w→1+w→2∈W and so (u→1+u→2,w→1+w→2)∈U×W⁠. Commutativity of addition in U×W follows from commutativity of addition in U and W⁠.

(u→1,w→1)+(u→2,w→2)=(u→1+u→2,w→1+w→2)=(u→2+u→1,w→2+w→1)=(u→2,w→2)+(u→1,w→1)

The check for associativity of addition is similar. The zero element is (0→U,0→W)∈U×W and the additive inverse of (u→,w→) is (−u→,−w→)⁠.

The checks for the second part of the definition of a vector space are also straightforward.

(b)

This is a basis

⟨(1,(00)),(x,(00)),(x2,(00)),(1,(10)),(1,(01))⟩

because there is one and only one way to represent any member of 𝒫2×ℝ2 with respect to this set; here is an example.

(3+2x+x2,(54))=3⋅(1,(00))+2⋅(x,(00))+(x2,(00))+5⋅(1,(10))+4⋅(1,(01))

The dimension of this space is five.

(c)

We have dim⁡(U×W)= dim⁡(U)+ dim⁡(W) as this is a basis.

⟨(μ→1,0→W),…,(μ→dim⁡(U),0→W),(0→U,ω→1),…,(0→U,ω→dim⁡(W))⟩

(d)

We know that if V=U⊕︎W then each v→∈V can be written as v→=u→+w→ in one and only one way. This is just what we need to prove that the given function an isomorphism.

First, to show that f is one-to-one we can show that if f((u→1,w→1))= ((u→2,w→2))⁠, that is, if u→1+w→1=u→2+w→2 then u→1=u→2 and w→1=w→2⁠. But the statement ‘each v→ is such a sum in only one way’ is exactly what is needed to make this conclusion. Similarly, the argument that f is onto is completed by the statement that ‘each v→ is such a sum in at least one way’.

This map also preserves linear combinations

f(c1⋅(u→1,w→1)+c2⋅(u→2,w→2))=f((c1u→1+c2u→2,c1w→1+c2w→2))=c1u→1+c2u→2+c1w→1+c2w→2=c1u→1+c1w→1+c2u→2+c2w→2=c1⋅f((u→1,w→1))+c2⋅f((u→2,w→2))

and so it is an isomorphism.

Three.I.2.10 §I.2 source ↗

Decide if the spaces are isomorphic.

(a)

ℝ2⁠, ℝ4

(b)

𝒫5⁠, ℝ5

(c)

ℳ2×3⁠, ℝ6

(d)

𝒫5⁠, ℳ2×3

(e)

ℳ2×k⁠, ℳk×2

Answer (6 parts)

Each pair of spaces is isomorphic if and only if the two have the same dimension. We can, when there is an isomorphism, state a map, but it isn’t strictly necessary.

(a)

No, they have different dimensions.

(b)

No, they have different dimensions.

(c)

Yes, they have the same dimension. One isomorphism is this.

(abcdef)↦(a⋮f)

(d)

Yes, they have the same dimension. This is an isomorphism.

a+bx+⋯+fx5↦(abcdef)

(e)

Yes, both have dimension 2k⁠.

Three.I.2.11 §I.2 source ↗

Which of these spaces are isomorphic to each other?

(a)

ℝ3

(b)

ℳ2×2

(c)

𝒫3

(d)

ℝ4

(e)

𝒫2

Answer (6 parts)

Just find the dimension of each space, for instance by finding a basis, and then spaces with the same dimension are isomorphic. This lists the dimension of each space.

(a)

3

(b)

4

(c)

4

(d)

4

(e)

3

Three.I.2.12 §I.2 source ↗

Consider the isomorphism RepB⁡(⋅):𝒫1→ℝ2 where B=⟨1,1+x⟩⁠. Find the image of each of these elements of the domain.

(a)

3−2x⁠;

(b)

2+2x⁠;

(c)

x

Answer (3 parts)

(a)

RepB⁡(3−2x)=(5−2)

(b)

(02)

(c)

(−11)

Three.I.2.13 §I.2 source ↗

For which n is the space isomorphic to ℝn⁠?

(a)

𝒫4

(b)

𝒫1

(c)

ℳ2×3

(d)

the plane 2x−y+z=0 subset of ℝ3

(e)

the vector space of linear combinations of three letters {ax+by+cz|a,b,c∈ℝ}

Answer (6 parts)

For each, the simplest thing is to find the dimension of the space by finding a basis. For each basis given below, We will omit the verification that it is a basis.

(a)

It is isomorphic to ℝ5⁠. One basis for 𝒫4 is {x4,x3,x2,x,1} so the space has dimension 5⁠.

(b)

It is isomorphic to ℝ2 since one basis for the space 𝒫1={a+bx|a,b∈ℝ} is {1,x}⁠.

(c)

It is isomorphic to ℝ6⁠. One basis has these six matrices.

(100000),(010000),⋯(000001)

(d)

It is a plane so it is isomorphic to ℝ2⁠. For a more extensive answer, parametrizing the plane gives this vector description

{(xyz)=(1/210)y+(−1/201)z|y,z∈ℝ}

and so it has a basis consisting of those two vectors.

(e)

It is isomorphic to ℝ3⁠. One basis is the set of linear combinations {x,y,z}⁠, that is, {x+ 0y+ 0z, 0x+ y+ 0z, 0x+ 0y+ z}⁠.

Three.I.2.14 §I.2 source ↗

Show that if m≠n then ℝm≇ℝn⁠.

Answer

They have different dimensions.

Three.I.2.15 §I.2 source ↗

Is ℳm×n≅ℳn×m⁠?

Answer

Yes, both are mn⁠-dimensional.

Three.I.2.16 §I.2 source ↗

Are any two planes through the origin in ℝ3 isomorphic?

Answer

Yes, any two (nondegenerate) planes are both two-dimensional vector spaces.

Three.I.2.17 §I.2 source ↗

Find a set of equivalence class representatives other than the set of ℝn⁠’s.

Answer

There are many answers, one is the set of 𝒫k (taking 𝒫−1 to be the trivial vector space).

Three.I.2.18 §I.2 source ↗

True or false: between any n⁠-dimensional space and ℝn there is exactly one isomorphism.

Answer

False (except when n=0⁠). For instance, if f:V→ℝn is an isomorphism then multiplying by any nonzero scalar, gives another, different, isomorphism. (Between trivial spaces the isomorphisms are unique; the only map possible is 0→V↦0W⁠.)

Three.I.2.19 §I.2 source ↗

Can a vector space be isomorphic to one of its proper subspaces?

Answer

No. A proper subspace has a strictly lower dimension than it’s superspace; if U is a proper subspace of V then any linearly independent subset of U must have fewer than dim⁡(V) members or else that set would be a basis for V⁠, and U wouldn’t be proper.

Three.I.2.20 §I.2 source ↗

This subsection shows that for any isomorphism, the inverse map is also an isomorphism. This subsection also shows that for a fixed basis B of an n⁠-dimensional vector space V⁠, the map RepB:V→ℝn is an isomorphism. Find the inverse of this map.

Answer

Where B=⟨β→1,…,β→n⟩⁠, the inverse is this.

(c1⋮cn)↦c1β→1+⋯+cnβ→n

Three.I.2.21 §I.2 source ↗

Prove these facts about matrices.

(a)

The row space of a matrix is isomorphic to the column space of its transpose.

(b)

The row space of a matrix is isomorphic to its column space.

Answer

All three spaces have dimension equal to the rank of the matrix.

Three.I.2.22 §I.2 source ↗

Show that the function from Theorem 2.3 is well-defined.

Answer

We must show that if a→=b→ then f(a→)=f(b→)⁠. So suppose that a1β→1+ ⋯+ anβ→n= b1β→1+ ⋯+ bnβ→n⁠. Each vector in a vector space (here, the domain space) has a unique representation as a linear combination of basis vectors, so we can conclude that a1=b1⁠, …, an=bn⁠. Thus,

f(a→)=(a1⋮an)=(b1⋮bn)=f(b→)

and so the function is well-defined.

Three.I.2.23 §I.2 source ↗

Is the proof of Theorem 2.3 valid when n=0⁠?

Answer

Yes, because a zero-dimensional space is a trivial space.

Three.I.2.24 §I.2 source ↗

For each, decide if it is a set of isomorphism class representatives.

(a)

{ℂk|k∈ℕ}

(b)

{𝒫k|k∈{−1,0,1,…}}

(c)

{ℳm×n|m,n∈ℕ}

Answer (3 parts)

(a)

No, this collection has no spaces of odd dimension.

(b)

Yes, because 𝒫k≅ℝk+1⁠.

(c)

No, for instance, ℳ2×3≅ℳ3×2⁠.

Three.I.2.25 §I.2 source ↗

Let f be a correspondence between vector spaces V and W (that is, a map that is one-to-one and onto). Show that the spaces V and W are isomorphic via f if and only if there are bases B⊂V and D⊂W such that corresponding vectors have the same coordinates: RepB⁡(v→)=RepD⁡(f(v→))⁠.

Answer

One direction is easy: if the two are isomorphic via f then for any basis B⊆V⁠, the set D=f(B) is also a basis (this is shown in Lemma 2.4). The check that corresponding vectors have the same coordinates: f(c1β→1+⋯+cnβ→n)= c1f(β→1)+ ⋯+ cnf(β→n)= c1δ→1+ ⋯+ cnδ→n is routine.

For the other half, assume that there are bases such that corresponding vectors have the same coordinates with respect to those bases. Because f is a correspondence, to show that it is an isomorphism, we need only show that it preserves structure. Because RepB⁡(v→)=RepD⁡(f(v→))⁠, the map f preserves structure if and only if representations preserve addition: RepB⁡(v→1+v→2)= RepB⁡(v→1)+ RepB⁡(v→2) and scalar multiplication: RepB⁡(r⋅v→)=r⋅RepB⁡(v→) The addition calculation is this: (c1+d1)β→1+ ⋯+ (cn+dn)β→n= c1β→1+ ⋯+ cnβ→n+ d1β→1+ ⋯+ dnβ→n⁠, and the scalar multiplication calculation is similar.

Three.I.2.26 §I.2 source ↗

Consider the isomorphism RepB:𝒫3→ℝ4⁠.

(a)

Vectors in a real space are orthogonal if and only if their dot product is zero. Give a definition of orthogonality for polynomials.

(b)

The derivative of a member of 𝒫3 is in 𝒫3⁠. Give a definition of the derivative of a vector in ℝ4⁠.

Answer (2 parts)

(a)

Pulling the definition back from ℝ4 to 𝒫3 gives that a0+a1x+a2x2+a3x3 is orthogonal to b0+b1x+b2x2+b3x3 if and only if a0b0+a1b1+a2b2+a3b3=0⁠.

(b)

A natural definition is this.

D((a0a1a2a3))=(a12a23a30)

Three.I.2.27 §I.2 source ↗

Does every correspondence between bases, when extended to the spaces, give an isomorphism? That is, suppose that V is a vector space with basis B=⟨β→1,…,β→n⟩ and that f:B→W is a correspondence such that D=⟨f(β→1),…,f(β→n)⟩ is basis for W⁠. Must fˆ:V→W sending v→=c1β→1+⋯+cnβ→n to fˆ(v→)= c1f(β→1)+ ⋯+ cnf(β→n) be an isomorphism?

Answer

Yes.

First, fˆ is well-defined because every member of V has one and only one representation as a linear combination of elements of B⁠.

Second we must show that fˆ is one-to-one and onto. It is one-to-one because every member of W has only one representation as a linear combination of elements of D⁠, since D is a basis. And fˆ is onto because every member of W has at least one representation as a linear combination of members of D⁠.

Finally, preservation of structure is routine to check. For instance, here is the preservation of addition calculation.

fˆ((c1β→1+⋯+cnβ→n)+(d1β→1+⋯+dnβ→n))=fˆ((c1+d1)β→1+⋯+(cn+dn)β→n)=(c1+d1)f(β→1)+⋯+(cn+dn)f(β→n)=c1f(β→1)+⋯+cnf(β→n)+d1f(β→1)+⋯+dnf(β→n)=fˆ(c1β→1+⋯+cnβ→n)++fˆ(d1β→1+⋯+dnβ→n)

(The second equality is the definition of fˆ⁠.) Preservation of scalar multiplication is similar.

Three.I.2.28 §I.2 source ↗

(Requires the subsection on Combining Subspaces, which is optional.) Suppose that V=V1⊕︎V2 and that V is isomorphic to the space U under the map f⁠. Show that U=f(V1)⊕︎f(V2)⁠.

Answer

Because V1∩V2={0→V} and f is one-to-one we have that f(V1)∩f(V2)={0→U}⁠. To finish, count the dimensions: dim⁡(U)= dim⁡(V)= dim⁡(V1)+ dim⁡(V2)= dim⁡(f(V1))+ dim⁡(f(V2))⁠, as required.

Three.I.2.29 §I.2 source ↗

Show that this is not a well-defined function from the rational numbers to the integers: with each fraction, associate the value of its numerator.

Answer

Rational numbers have many representations, e.g., 1/2=3/6⁠, and the numerators can vary among representations.

Three.II.1.18 §II.1 source ↗

Decide if each h:ℝ3→ℝ2 is linear.

(a)

h((xyz))=(xx+y+z)

(b)

h((xyz))=(00)

(c)

h((xyz))=(11)

(d)

h((xyz))=(2x+y3y−4z)

Answer (4 parts)

(a)

Yes. The verification is straightforward.

h(c1⋅(x1y1z1)+c2⋅(x2y2z2))=h((c1x1+c2x2c1y1+c2y2c1z1+c2z2))=(c1x1+c2x2c1x1+c2x2+c1y1+c2y2+c1z1+c2z2)=c1⋅(x1x1+y1+z1)+c2⋅(x2c2+y2+z2)=c1⋅h((x1y1z1))+c2⋅h((x2y2z2))

(b)

Yes. The verification is easy.

h(c1⋅(x1y1z1)+c2⋅(x2y2z2))=h((c1x1+c2x2c1y1+c2y2c1z1+c2z2))=(00)=c1⋅h((x1y1z1))+c2⋅h((x2y2z2))

(c)

No. An example of an addition that is not respected is this.

h((000)+(000))=(11)≠h((000))+h((000))

(d)

Yes. The verification is straightforward.

h(c1⋅(x1y1z1)+c2⋅(x2y2z2))=h((c1x1+c2x2c1y1+c2y2c1z1+c2z2))=(2(c1x1+c2x2)+(c1y1+c2y2)3(c1y1+c2y2)−4(c1z1+c2z2))=c1⋅(2x1+y13y1−4z1)+c2⋅(2x2+y23y2−4z2)=c1⋅h((x1y1z1))+c2⋅h((x2y2z2))

Three.II.1.19 §II.1 source ↗

Decide if each map h:ℳ2×2→ℝ is linear.

(a)

h((abcd))=a+d

(b)

h((abcd))=ad−bc

(c)

h((abcd))=2a+3b+c−d

(d)

h((abcd))=a2+b2

Answer (5 parts)

For each, we must either check that the map preserves linear combinations or give an example of a linear combination that is not.

(a)

Yes. The check that it preserves combinations is routine.

h(r1⋅(a1b1c1d1)+r2⋅(a2b2c2d2))=h((r1a1+r2a2r1b1+r2b2r1c1+r2c2r1d1+r2d2))=(r1a1+r2a2)+(r1d1+r2d2)=r1(a1+d1)+r2(a2+d2)=r1⋅h((a1b1c1d1))+r2⋅h((a2b2c2d2))

(b)

No. For instance, not preserved is multiplication by the scalar 2⁠.

h(2⋅(1001))=h((2002))=4while2⋅h((1001))=2⋅1=2

(c)

Yes. This is the check that it preserves combinations of two members of the domain.

h(r1⋅(a1b1c1d1)+r2⋅(a2b2c2d2))=h((r1a1+r2a2r1b1+r2b2r1c1+r2c2r1d1+r2d2))=2(r1a1+r2a2)+3(r1b1+r2b2)+(r1c1+r2c2)−(r1d1+r2d2)=r1(2a1+3b1+c1−d1)+r2(2a2+3b2+c2−d2)=r1⋅h((a1b1c1d1)+r2⋅h((a2b2c2d2))

(d)

No. An example of a combination that is not preserved is that doing it one way gives this

h((1000)+(1000))=h((2000))=4

while the other way gives this.

h((1000))+h((1000))=1+1=2

Three.II.1.20 §II.1 source ↗

Show that these are homomorphisms. Are they inverse to each other?

(a)

d/dx:𝒫3→𝒫2 given by a0+a1x+a2x2+a3x3 maps to a1+2a2x+3a3x2

(b)

∫:𝒫2→𝒫3 given by b0+b1x+b2x2 maps to b0x+(b1/2)x2+(b2/3)x3

Answer

The check that each is a homomorphisms is routine. Here is the check for the differentiation map.

ddx(r⋅(a0+a1x+a2x2+a3x3)+s⋅(b0+b1x+b2x2+b3x3))=ddx((ra0+sb0)+(ra1+sb1)x+(ra2+sb2)x2+(ra3+sb3)x3)=(ra1+sb1)+2(ra2+sb2)x+3(ra3+sb3)x2=r⋅(a1+2a2x+3a3x2)+s⋅(b1+2b2x+3b3x2)=r⋅ddx(a0+a1x+a2x2+a3x3)+s⋅ddx(b0+b1x+b2x2+b3x3)

(An alternate proof is to simply note that this is a property of differentiation that is familiar from calculus.)

These two maps are not inverses as this composition does not act as the identity map on this element of the domain.

1∈𝒫3⟼d/dx0∈𝒫2⟼∫0∈𝒫3

Three.II.1.21 §II.1 source ↗

Is (perpendicular) projection from ℝ3 to the xz⁠-plane a homomorphism? Projection to the yz⁠-plane? To the x⁠-axis? The y⁠-axis? The z⁠-axis? Projection to the origin?

Answer

Each of these projections is a homomorphism. Projection to the xz⁠-plane and to the yz⁠-plane are these maps.

(xyz)↦(x0z)(xyz)↦(0yz)

Projection to the x⁠-axis, to the y⁠-axis, and to the z⁠-axis are these maps.

(xyz)↦(x00)(xyz)↦(0y0)(xyz)↦(00z)

And projection to the origin is this map.

(xyz)↦(000)

Verification that each is a homomorphism is straightforward. (The last one, of course, is the zero transformation on ℝ3⁠.)

Three.II.1.22 §II.1 source ↗

Verify that each map is a homomorphism.

(a)

h:𝒫2→ℝ2 given by

ax2+bx+c↦(a+ba+c)

(b)

f:ℝ2→ℝ3 given by

(xy)↦(0x−y3y)

Answer (2 parts)

(a)

This verifies that the map preserves linear combinations. By Lemma 1.7 that suffices to show that it is a homomorphism.

h(d1(a1x2+b1x+c1)+d2(a2x2+b2x+c2))=h((d1a1+d2a2)x2+(d1b1+d2b2)x+(d1c1+d2c2))=((d1a1+d2a2)+(d1b1+d2b2)(d1a1+d2a2)+(d1c1+d2c2))=(d1a1+d1b1d1a1+d1c1)+(d2a2+d2b2d2a2+d2c2)=d1(a1+b1a1+c1)+d2(a2+b2a2+c2)=d1⋅h(a1x2+b1x+c1)+d2⋅h(a2x2+b2x+c2)

(b)

It preserves linear combinations.

f(a1(x1y1)+a2(x2y2))=f((a1x1+a2x2a1y1+a2y2))=(0(a1x1+a2x2)−(a1y1+a2y2)3(a1y1+a2y2))=a1(0x1−y13y1)+a2(0x2−y23y2)=a1f((x1y1))+a2f((x2y2))

Three.II.1.23 §II.1 source ↗

Show that, while the maps from Example 1.3 preserve linear operations, they are not isomorphisms.

Answer

The first is not onto; for instance, there is no polynomial that is sent the constant polynomial p(x)=1⁠. The second is not one-to-one; both of these members of the domain

(1000)and(0001)

map to the same member of the codomain, 1∈ℝ⁠.

Three.II.1.24 §II.1 source ↗

Is an identity map a linear transformation?

Answer

Yes; in any space id(c⋅v→+d⋅w→)= c⋅v→+ d⋅w→= c⋅id(v→)+ d⋅id(w→)⁠.

Three.II.1.25 §II.1 source ↗

Stating that a function is ‘linear’ is different than stating that its graph is a line.

(a)

The function f1:ℝ→ℝ given by f1(x)=2x−1 has a graph that is a line. Show that it is not a linear function.

(b)

The function f2:ℝ2→ℝ given by

(xy)↦x+2y

does not have a graph that is a line. Show that it is a linear function.

Answer (2 parts)

(a)

This map does not preserve structure since f(1+1)=3⁠, while f(1)+f(1)=2⁠.

(b)

The check is routine.

f(r1⋅(x1y1)+r2⋅(x2y2))=f((r1x1+r2x2r1y1+r2y2))=(r1x1+r2x2)+2(r1y1+r2y2)=r1⋅(x1+2y1)+r2⋅(x2+2y2)=r1⋅f((x1y1))+r2⋅f((x2y2))

Three.II.1.26 §II.1 source ↗

Part of the definition of a linear function is that it respects addition. Does a linear function respect subtraction?

Answer

Yes. Where h:V→W is linear, h(u→−v→)= h(u→+(−1)⋅v→)= h(u→)+ (−1)⋅h(v→)= h(u→)− h(v→)⁠.

Three.II.1.27 §II.1 source ↗

Assume that h is a linear transformation of V and that ⟨β→1,…,β→n⟩ is a basis of V⁠. Prove each statement.

(a)

If h(β→i)=0→ for each basis vector then h is the zero map.

(b)

If h(β→i)=β→i for each basis vector then h is the identity map.

(c)

If there is a scalar r such that h(β→i)=r⋅β→i for each basis vector then h(v→)=r⋅v→ for all vectors in V⁠.

Answer (3 parts)

(a)

Let v→∈V be represented with respect to the basis as v→=c1β→1+⋯+cnβ→n⁠. Then h(v→)= h(c1β→1+⋯+cnβ→n)= c1h(β→1)+ ⋯+ cnh(β→n)= c1⋅0→+ ⋯+ cn⋅0→= 0→⁠.

(b)

This argument is similar to the prior one. Let v→∈V be represented with respect to the basis as v→=c1β→1+⋯+cnβ→n⁠. Then h(c1β→1+⋯+cnβ→n)= c1h(β→1)+ ⋯+ cnh(β→n)= c1β→1+ ⋯+ cnβ→n= v→⁠.

(c)

As above, only c1h(β→1)+ ⋯+ cnh(β→n)= c1rβ→1+ ⋯+ cnrβ→n= r(c1β→1+⋯+cnβ→n)= rv→⁠.

Three.II.1.28 §II.1 source ↗

Consider the vector space ℝ+ where vector addition and scalar multiplication are not the ones inherited from ℝ but rather are these: a+b is the product of a and b⁠, and r⋅a is the r⁠-th power of a⁠. (This was shown to be a vector space in an earlier exercise.) Verify that the natural logarithm map ln⁡:ℝ+→ℝ is a homomorphism between these two spaces. Is it an isomorphism?

Answer

That it is a homomorphism follows from the familiar rules that the logarithm of a product is the sum of the logarithms ln⁡(ab)=ln⁡(a)+ln⁡(b) and that the logarithm of a power is the multiple of the logarithm ln⁡(ar)=rln⁡(a)⁠. This map is an isomorphism because it has an inverse, namely, the exponential map, so it is a correspondence, and therefore it is an isomorphism.

Three.II.1.29 §II.1 source ↗

Consider this transformation of the plane ℝ2⁠.

(xy)↦(x/2y/3)

Find the image under this map of this ellipse.

{(xy)|(x2/4)+(y2/9)=1}

Answer

Where xˆ=x/2 and yˆ=y/3⁠, the image set is

{(xˆyˆ)|(2xˆ)24+(3yˆ)29=1}={(xˆyˆ)|xˆ2+yˆ2=1}

the unit circle in the xˆyˆ⁠-plane.

Three.II.1.30 §II.1 source ↗

Imagine a rope wound around the earth’s equator so that it fits snugly (suppose that the earth is a sphere). How much extra rope must we add so that around the entire world the rope will now be six feet off the ground?

Answer

The circumference function r↦2πr is linear. Thus we have 2π⋅(rearth+6)− 2π⋅(rearth)= 12π⁠. Observe that it takes the same amount of extra rope to raise the circle from tightly wound around a basketball to six feet above that basketball as it does to raise it from tightly wound around the earth to six feet above the earth.

Three.II.1.31 §II.1 source ↗

Verify that this map h:ℝ3→ℝ

(xyz)↦(xyz)∙(3−1−1)=3x−y−z

is linear. Generalize.

Answer

Verifying that it is linear is routine.

h(c1⋅(x1y1z1)+c2⋅(x2y2z2))=h((c1x1+c2x2c1y1+c2y2c1z1+c2z2))=3(c1x1+c2x2)−(c1y1+c2y2)−(c1z1+c2z2)=c1⋅(3x1−y1−z1)+c2⋅(3x2−y2−z2)=c1⋅h((x1y1z1))+c2⋅h((x2y2z2))

The natural guess at a generalization is that for any fixed k→∈ℝ3 the map v→↦v→∙k→ is linear. This statement is true. It follows from properties of the dot product we have seen earlier: (v→+u→)∙k→=v→∙k→+u→∙k→ and (rv→)∙k→=r(v→∙k→)⁠. (The natural guess at a generalization of this generalization, that the map from ℝn to ℝ whose action consists of taking the dot product of its argument with a fixed vector k→∈ℝn is linear, is also true.)

Three.II.1.32 §II.1 source ↗

Show that every homomorphism from ℝ1 to ℝ1 acts via multiplication by a scalar. Conclude that every nontrivial linear transformation of ℝ1 is an isomorphism. Is that true for transformations of ℝ2⁠? ℝn⁠?

Answer

Let h:ℝ1→ℝ1 be linear. A linear map is determined by its action on a basis, so fix the basis ⟨1⟩ for ℝ1⁠. For any r∈ℝ1 we have that h(r)=h(r⋅1)=r⋅h(1) and so h acts on any argument r by multiplying it by the constant h(1)⁠. If h(1) is not zero then the map is a correspondence — its inverse is division by h(1) — so any nontrivial transformation of ℝ1 is an isomorphism.

This projection map is an example that shows that not every transformation of ℝn acts via multiplication by a constant when n>1⁠, including when n=2⁠.

(x1x2⋮xn)↦(x10⋮0)

Three.II.1.33 §II.1 source ↗

Show that for any scalars a1,1,…,am,n this map h:ℝn→ℝm is a homomorphism.

(x1⋮xn)↦(a1,1x1+⋯+a1,nxn⋮am,1x1+⋯+am,nxn)

Answer

Where c and d are scalars, we have this.

h(c⋅(x1⋮xn)+d⋅(y1⋮yn))=h((cx1+dy1⋮cxn+dyn))=(a1,1(cx1+dy1)+⋯+a1,n(cxn+dyn)⋮am,1(cx1+dy1)+⋯+am,n(cxn+dyn))=c⋅(a1,1x1+⋯+a1,nxn⋮am,1x1+⋯+am,nxn)+d⋅(a1,1y1+⋯+a1,nyn⋮am,1y1+⋯+am,nyn)=c⋅h((x1⋮xn))+d⋅h((y1⋮yn))

Three.II.1.34 §II.1 source ↗

Consider the space of polynomials 𝒫n⁠.

(a)

Show that for each i⁠, the i⁠-th derivative operator di/dxi is a linear transformation of that space.

(b)

Conclude that for any scalars ck,…,c0 this map is a linear transformation of that space.

f↦ckdkdxkf+ck−1dk−1dxk−1f+⋯+c1ddxf+c0f

Answer (2 parts)

(a)

Each power i of the derivative operator is linear because of these rules familiar from calculus.

didxi(f(x)+g(x))=didxif(x)+didxig(x)didxir⋅f(x)=r⋅didxif(x)

(b)

Any linear combination of linear maps is also a linear map. Thus, the given map is a linear transformation of 𝒫n⁠.

Three.II.1.35 §II.1 source ↗

Lemma 1.17 shows that a sum of linear functions is linear and that a scalar multiple of a linear function is linear. Show also that a composition of linear functions is linear.

Answer

(This argument has already appeared, as part of the proof that isomorphism is an equivalence.) Let f:U→V and g:V→W be linear. The composition preserves linear combinations

g∘f(c1u→1+c2u→2)=g(f(c1u→1+c2u→2))=g(c1f(u→1)+c2f(u→2))=c1⋅g(f(u→1))+c2⋅g(f(u→2))=c1⋅g∘f(u→1)+c2⋅g∘f(u→2)

where u→1,u→2∈U and scalars c1,c2

Three.II.1.36 §II.1 source ↗

Where f:V→W is linear, suppose that f(v→1)=w→1⁠, …, f(v→n)=w→n for some vectors w→1⁠, …, w→n from W⁠.

(a)

If the set of w→⁠’s is independent, must the set of v→⁠’s also be independent?

(b)

If the set of v→⁠’s is independent, must the set of w→⁠’s also be independent?

(c)

If the set of w→⁠’s spans W⁠, must the set of v→⁠’s span V⁠?

(d)

If the set of v→⁠’s spans V⁠, must the set of w→⁠’s span W⁠?

Answer (4 parts)

(a)

Yes. The set of w→⁠’s cannot be linearly independent if the set of v→⁠’s is linearly dependent because any nontrivial relationship in the domain 0→V=c1v→1+⋯+cnv→n would give a nontrivial relationship in the range f(0→V)= 0→W= f(c1v→1+⋯+cnv→n)= c1f(v→1)+ ⋯+ cnf(v→n)= c1w→+ ⋯+ cnw→n⁠.

(b)

Not necessarily. For instance, the transformation of ℝ2 given by

(xy)↦(x+yx+y)

sends this linearly independent set in the domain to a linearly dependent image.

{v→1,v→2}={(10),(11)}↦{(11),(22)}={w→1,w→2}

(c)

Not necessarily. An example is the projection map π:ℝ3→ℝ2

(xyz)↦(xy)

and this set that does not span the domain but maps to a set that does span the codomain.

{(100),(010)}⟼π{(10),(01)}

(d)

Not necessarily. For instance, the injection map ι:ℝ2→ℝ3 sends the standard basis ℰ2 for the domain to a set that does not span the codomain. (Remark. However, the set of w→⁠’s does span the range. A proof is easy.)

Three.II.1.37 §II.1 source ↗

Generalize Example 1.16 by proving that for every appropriate domain and codomain the matrix transpose map is linear. What are the appropriate domains and codomains?

Answer

Recall that the entry in row i and column j of the transpose of M is the entry mj,i from row j and column i of M⁠. Now, the check is routine. Start with the transpose of the combination.

[r⋅( ⋮⋯ai,j⋯⋮)+s⋅( ⋮⋯bi,j⋯⋮)]𝖳

Combine and take the transpose.

=( ⋮⋯rai,j+sbi,j⋯⋮)𝖳=( ⋮⋯raj,i+sbj,i⋯⋮)

Then bring out the scalars, and un-transpose.

=r⋅( ⋮⋯aj,i⋯⋮)+s⋅( ⋮⋯bj,i⋯⋮)=r⋅( ⋮⋯aj,i⋯⋮)𝖳+s⋅( ⋮⋯bj,i⋯⋮)𝖳

The domain is ℳm×n while the codomain is ℳn×m⁠.

Three.II.1.38 §II.1 source ↗

(a)

Where u→,v→∈ℝn⁠, by definition the line segment connecting them is the set ℓ= {t⋅u→+ (1− t)⋅v→|t∈[0..1]}⁠. Show that the image, under a homomorphism h⁠, of the segment between u→ and v→ is the segment between h(u→) and h(v→)⁠.

(b)

A subset of ℝn is convex if, for any two points in that set, the line segment joining them lies entirely in that set. (The inside of a sphere is convex while the skin of a sphere is not.) Prove that linear maps from ℝn to ℝm preserve the property of set convexity.

Answer (2 parts)

(a)

For any homomorphism h:ℝn→ℝm we have

h(ℓ)={h(t⋅u→+(1−t)⋅v→)|t∈[0..1]}={t⋅h(u→)+(1−t)⋅h(v→)|t∈[0..1]}

which is the line segment from h(u→) to h(v→)⁠.

(b)

We must show that if a subset of the domain is convex then its image, as a subset of the range, is also convex. Suppose that C⊆ℝn is convex and consider its image h(C)⁠. To show h(C) is convex we must show that for any two of its members, d→1 and d→2⁠, the line segment connecting them

ℓ={t⋅d→1+(1−t)⋅d→2|t∈[0..1]}

is a subset of h(C)⁠.

Fix any member tˆ⋅d→1+(1−tˆ)⋅d→2 of that line segment. Because the endpoints of ℓ are in the image of C⁠, there are members of C that map to them, say h(c→1)=d→1 and h(c→2)=d→2⁠. Now, where tˆ is the scalar that we fixed in the first sentence of this paragraph, observe that h(tˆ⋅c→1+(1−tˆ)⋅c→2)= tˆ⋅h(c→1)+ (1−tˆ)⋅h(c→2)= tˆ⋅d→1+ (1−tˆ)⋅d→2 Thus, any member of ℓ is a member of h(C)⁠, and so h(C) is convex.

Three.II.1.39 §II.1 source ↗

Let h:ℝn→ℝm be a homomorphism.

(a)

Show that the image under h of a line in ℝn is a (possibly degenerate) line in ℝm⁠.

(b)

What happens to a k⁠-dimensional linear surface?

Answer (2 parts)

(a)

For v→0,v→1∈ℝn⁠, the line through v→0 with direction v→1 is the set {v→0+t⋅v→1|t∈ℝ}⁠. The image under h of that line {h(v→0+t⋅v→1)|t∈ℝ}= {h(v→0)+t⋅h(v→1)|t∈ℝ} is the line through h(v→0) with direction h(v→1)⁠. If h(v→1) is the zero vector then this line is degenerate.

(b)

A k⁠-dimensional linear surface in ℝn maps to a k⁠-dimensional linear surface in ℝm (possibly it is degenerate). The proof is just like that the one for the line.

Three.II.1.40 §II.1 source ↗

Prove that the restriction of a homomorphism to a subspace of its domain is another homomorphism.

Answer

Suppose that h:V→W is a homomorphism and suppose that S is a subspace of V⁠. Consider the map hˆ:S→W defined by hˆ(s→)=h(s→)⁠. (The only difference between hˆ and h is the difference in domain.) Then this new map is linear: hˆ(c1⋅s→1+c2⋅s→2)= h(c1s→1+c2s→2)= c1h(s→1)+ c2h(s→2)= c1⋅hˆ(s→1)+ c2⋅hˆ(s→2)⁠.

Three.II.1.41 §II.1 source ↗

Assume that h:V→W is linear.

(a)

Show that the range space of this map {h(v→)|v→∈V} is a subspace of the codomain W⁠.

(b)

Show that the null space of this map {v→∈V|h(v→)=0→W} is a subspace of the domain V⁠.

(c)

Show that if U is a subspace of the domain V then its image {h(u→)|u→∈U} is a subspace of the codomain W⁠. This generalizes the first item.

(d)

Generalize the second item.

Answer (5 parts)

This will appear as a lemma in the next subsection.

(a)

The range is nonempty because V is nonempty. To finish we need to show that it is closed under combinations. A combination of range vectors has the form, where v→1,…,v→n∈V⁠,

c1⋅h(v→1)+⋯+cn⋅h(v→n)=h(c1v→1)+⋯+h(cnv→n)=h(c1⋅v→1+⋯+cn⋅v→n),

which is itself in the range as c1⋅v→1+⋯+cn⋅v→n is a member of domain V⁠. Therefore the range is a subspace.

(b)

The null space is nonempty since it contains 0→V⁠, as 0→V maps to 0→W⁠. It is closed under linear combinations because, where v→1,…,v→n∈V are elements of the inverse image {v→∈V|h(v→)=0→W}⁠, for c1,…,cn∈ℝ

0→W=c1⋅h(v→1)+⋯+cn⋅h(v→n)=h(c1⋅v→1+⋯+cn⋅v→n)

and so c1⋅v→1+⋯+cn⋅v→n is also in the inverse image of 0→W⁠.

(c)

This image of U nonempty because U is nonempty. For closure under combinations, where u→1,…,u→n∈U⁠,

c1⋅h(u→1)+⋯+cn⋅h(u→n)=h(c1⋅u→1)+⋯+h(cn⋅u→n)=h(c1⋅u→1+⋯+cn⋅u→n)

which is itself in h(U) as c1⋅u→1+⋯+cn⋅u→n is in U⁠. Thus this set is a subspace.

(d)

The natural generalization is that the inverse image of a subspace of is a subspace.

Suppose that X is a subspace of W⁠. Note that 0→W∈X so that the set {v→∈V|h(v→)∈X} is not empty. To show that this set is closed under combinations, let v→1,…,v→n be elements of V such that h(v→1)=x→1⁠, …, h(v→n)=x→n and note that

h(c1⋅v→1+⋯+cn⋅v→n)=c1⋅h(v→1)+⋯+cn⋅h(v→n)=c1⋅x→1+⋯+cn⋅x→n

so a linear combination of elements of h−1(X) is also in h−1(X)⁠.

Three.II.1.42 §II.1 source ↗

Consider the set of isomorphisms from a vector space to itself. Is this a subspace of the space ℒ(V,V) of homomorphisms from the space to itself?

Answer

No; the set of isomorphisms does not contain the zero map (unless the space is trivial).

Three.II.1.43 §II.1 source ↗

Does Theorem 1.9 need that ⟨β→1,…,β→n⟩ is a basis? That is, can we still get a well-defined and unique homomorphism if we drop either the condition that the set of β→⁠’s be linearly independent, or the condition that it span the domain?

Answer

If ⟨β→1,…,β→n⟩ doesn’t span the space then the map needn’t be unique. For instance, if we try to define a map from ℝ2 to itself by specifying only that e→1 maps to itself, then there is more than one homomorphism possible; both the identity map and the projection map onto the first component fit this condition.

If we drop the condition that ⟨β→1,…,β→n⟩ is linearly independent then we risk an inconsistent specification (i.e, there could be no such map). An example is if we consider ⟨e→2,e→1,2e→1⟩⁠, and try to define a map from ℝ2 to itself that sends e→2 to itself, and sends both e→1 and 2e→1 to e→1⁠. No homomorphism can satisfy these three conditions.

Three.II.1.44 §II.1 source ↗

Let V be a vector space and assume that the maps f1,f2:V→ℝ1 are linear.

(a)

Define a map F:V→ℝ2 whose component functions are the given linear ones.

v→↦(f1(v→)f2(v→))

Show that F is linear.

(b)

Does the converse hold — is any linear map from V to ℝ2 made up of two linear component maps to ℝ1⁠?

(c)

Generalize.

Answer (3 parts)

(a)

Briefly, the check of linearity is this.

F(r1⋅v→1+r2⋅v→2)=(f1(r1v→1+r2v→2)f2(r1v→1+r2v→2))=r1(f1(v→1)f2(v→1))+r2(f1(v→2)f2(v→2))=r1⋅F(v→1)+r2⋅F(v→2)

(b)

Yes. Let π1:ℝ2→ℝ1 and π2:ℝ2→ℝ1 be the projections

(xy)⟼π1xand(xy)⟼π2y

onto the two axes. Now, where f1(v→)=π1(F(v→)) and f2(v→)=π2(F(v→)) we have the desired component functions.

F(v→)=(f1(v→)f2(v→))

They are linear because they are the composition of linear functions, and the fact that the composition of linear functions is linear was part of the proof that isomorphism is an equivalence relation (alternatively, the check that they are linear is straightforward).

(c)

In general, a map from a vector space V to an ℝn is linear if and only if each of the component functions is linear. The verification is as in the prior item.

Three.II.2.21 §II.2 source ↗

Let h:𝒫3→𝒫4 be given by p(x)↦x⋅p(x)⁠. Which of these are in the null space? Which are in the range space?

(a)

x3

(b)

0

(c)

7

(d)

12x−0.5x3

(e)

1+3x2−x3

Answer (6 parts)

First, to answer whether a polynomial is in the null space, we have to consider it as a member of the domain 𝒫3⁠. To answer whether it is in the range space, we consider it as a member of the codomain 𝒫4⁠. That is, for p(x)=x4⁠, the question of whether it is in the range space is sensible but the question of whether it is in the null space is not because it is not even in the domain.

(a)

The polynomial x3∈𝒫3 is not in the null space because h(x3)=x4 is not the zero polynomial in 𝒫4⁠. The polynomial x3∈𝒫4 is in the range space because x2∈𝒫3 is mapped by h to x3⁠.

(b)

The answer to both questions is, “Yes, because h(0)=0⁠.” The polynomial 0∈𝒫3 is in the null space because it is mapped by h to the zero polynomial in 𝒫4⁠. The polynomial 0∈𝒫4 is in the range space because it is the image, under h⁠, of 0∈𝒫3⁠.

(c)

The polynomial 7∈𝒫3 is not in the null space because h(7)=7x is not the zero polynomial in 𝒫4⁠. The polynomial 7∈𝒫4 is not in the range space because there is no member of the domain that when multiplied by x gives the constant polynomial p(x)=7⁠.

(d)

The polynomial 12x−0.5x3∈𝒫3 is not in the null space because h(12x−0.5x3)=12x2−0.5x4⁠. The polynomial 12x−0.5x3∈𝒫4 is in the range space because it is the image of 12−0.5x2⁠.

(e)

The polynomial 1+3x2−x3∈𝒫3 is not in the null space because h(1+3x2−x3)=x+3x3−x4⁠. The polynomial 1+3x2−x3∈𝒫4 is not in the range space because of the constant term.

Three.II.2.22 §II.2 source ↗

Find the range space and the rank of each homomorphism.

(a)

h:𝒫3→ℝ2 given by

ax2+bx+c↦(a+ba+c)

(b)

f:ℝ2→ℝ3 given by

(xy)↦(0x−y3y)

Answer (2 parts)

(a)

The range of h is all of the codomain ℝ2 because given

(xy)∈ℝ2

it is the image under h of the domain vector 0x2+bx+c⁠. So the rank of h is 2⁠.

(b)

The range is the yz⁠ plane. Any

(0ab)

is the image under f of this domain vector.

(a+b/3b/3)

So the rank of the map is 2⁠.

Three.II.2.23 §II.2 source ↗

Find the range space and rank of each map.

(a)

h:ℝ2→𝒫3 given by

(ab)↦a+ax+ax2

(b)

h:ℳ2×2→ℝ given by

(abcd)↦a+d

(c)

h:ℳ2×2→𝒫2 given by

(abcd)↦a+b+c+dx2

(d)

the zero map Z:ℝ3→ℝ4

Answer (4 parts)

(a)

The range space is

ℛ(h)={a+ax+ax2∈𝒫3|a,b∈ℝ}={a⋅(1+x+x2)|a∈ℝ}

and so the rank is one.

(b)

The range space

ℛ(h)={a+d|a,b,c,d∈ℝ}

is all of ℝ (we can get any real number by taking d to be 0 and taking a to be the desired number). Thus, the rank is one.

(c)

The range space is ℛ(h)={r+sx2|r,s∈ℝ}⁠. The rank is two.

(d)

The range space is the trivial subspace of ℝ4 so the rank is zero.

Three.II.2.24 §II.2 source ↗

For each linear map in the prior exercise, find the null space and nullity.

Answer (4 parts)

(a)

The null space is

𝒩(h)={(ab)∈ℝ2|a+ax+ax2+0x3=0+0x+0x2+0x3}={(0b)|b∈ℝ}

and so the nullity is one.

(b)

The null space is this.

𝒩(h)={(abcd)|a+d=0}={(−dbcd)|b,c,d∈ℝ}

Thus the nullity is three.

(c)

The null space

𝒩(h)={(abcd)|a+b+c=0,d=0}={(−b−cbc0)|b,c∈ℝ}

is a dimension 2 space, so the nullity is two.

(d)

Every vector in the domain is mapped to the zero vector so the nullspace is 𝒩(h)=ℝ3⁠.

Three.II.2.25 §II.2 source ↗

Find the nullity of each map below.

(a)

h:ℝ5→ℝ8 of rank five

(b)

h:𝒫3→𝒫3 of rank one

(c)

h:ℝ6→ℝ3⁠, an onto map

(d)

h:ℳ3×3→ℳ3×3⁠, onto

Answer (5 parts)

For each, use the result that the rank plus the nullity equals the dimension of the domain.

(a)

0

(b)

3

(c)

3

(d)

0

Three.II.2.26 §II.2 source ↗

What is the null space of the differentiation transformation d/dx:𝒫n→𝒫n⁠? What is the null space of the second derivative, as a transformation of 𝒫n⁠? The k⁠-th derivative?

Answer

Because

ddx(a0+a1x+⋯+anxn)=a1+2a2x+3a3x2+⋯+nanxn−1

we have this.

𝒩(ddx)={a0+⋯+anxn|a1+2a2x+⋯+nanxn−1=0+0x+⋯+0xn−1}={a0+⋯+anxn|a1=0, and a2=0, …, an=0}={a0+0x+0x2+⋯+0xn|a0∈ℝ}

In the same way,

𝒩(dkdxk)={a0+a1x+⋯+ak−1xk−1|a0,…,ak−1∈ℝ}

for k≤n⁠.

Three.II.2.27 §II.2 source ↗

For the map h:ℝ3→ℝ2 given by

(xyz)↦(x+yx+z)

find the range space, rank, null space, and nullity.

Answer

To see that the range space is all of ℝ2 note that for any u,v∈ℝ this system has a solution.

x+y=ux+z=v⟶−ρ1+ρ2x+y=u−y+z=−u+v

(In fact, because there is a free variable, z⁠, it has infinitely many solutions.) Thus the rank, the dimension of the range space, is 2⁠.

Since the rank plus the nullity equals the dimension of the domain, we know that the nullity is 1⁠. Finding the null space verifies that:

x+y=0x+z=0⟶−ρ1+ρ2x+y=0−y+z=0

the nullspace is this set

{(−111)⋅z|z∈ℝ}

which is one-dimensional.

Three.II.2.28 §II.2 source ↗

Example 2.7 restates the first condition in the definition of homomorphism as ‘the shadow of a sum is the sum of the shadows’. Restate the second condition in the same style.

Answer

The shadow of a scalar multiple is the scalar multiple of the shadow.

Three.II.2.29 §II.2 source ↗

For the homomorphism h:𝒫3→𝒫3 given by h(a0+a1x+a2x2+a3x3)= a0+ (a0+a1)x+ (a2+a3)x3 find these.

(a)

𝒩(h)

(b)

h−1(2−x3)

(c)

h−1(1+x2)

Answer (3 parts)

(a)

Setting a0+ (a0+a1)x+ (a2+a3)x3= 0+ 0x+ 0x2+ 0x3 gives a0=0 and a0+a1=0 and a2+a3=0⁠, so the null space is {−a3x2+a3x3|a3∈ℝ}⁠.

(b)

Setting a0+ (a0+a1)x+ (a2+a3)x3= 2+ 0x+ 0x2− x3 gives that a0=2⁠, and a1=−2⁠, and a2+a3=−1⁠. Taking a3 as a parameter, and renaming it a3=a gives this set description {2− 2x+ (− 1− a)x2+ ax3|a∈ℝ}= {(2− 2x− x2)+ a⋅(− x2+ x3)|a∈ℝ}⁠.

(c)

This set is empty because the range of h includes only those polynomials with a 0x2 term.

Three.II.2.30 §II.2 source ↗

For the map f:ℝ2→ℝ given by

f((xy))=2x+y

sketch these inverse image sets: f−1(−3)⁠, f−1(0)⁠, and f−1(1)⁠.

Answer

All inverse images are lines with slope −2⁠.

Three.II.2.31 §II.2 source ↗

Each of these transformations of 𝒫3 is one-to-one. For each, find the inverse.

(a)

a0+ a1x+ a2x2+ a3x3↦a0+ a1x+ 2a2x2+ 3a3x3

(b)

a0+ a1x+ a2x2+ a3x3↦a0+ a2x+ a1x2+ a3x3

(c)

a0+ a1x+ a2x2+ a3x3↦a1+ a2x+ a3x2+ a0x3

(d)

a0+ a1x+ a2x2+ a3x3↦a0+ (a0+a1)x+ (a0+a1+a2)x2+ (a0+a1+a2+a3)x3

Answer (6 parts)

These are the inverses.

(a)

a0+ a1x+ a2x2+ a3x3↦a0+ a1x+ (a2/2)x2+ (a3/3)x3

(b)

a0+ a1x+ a2x2+ a3x3↦a0+ a2x+ a1x2+ a3x3

(c)

a0+ a1x+ a2x2+ a3x3↦a3+ a0x+ a1x2+ a2x3

(d)

a0+ a1x+ a2x2+ a3x3↦a0+ (a1−a0)x+ (a2−a1)x2+ (a3−a2)x3

For instance, for the second one, the map given in the question sends 0+ 1x+ 2x2+ 3x3↦0+ 2x+ 1x2+ 3x3 and then the inverse above sends 0+ 2x+ 1x2+ 3x3↦0+ 1x+ 2x2+ 3x3⁠. So this map is actually self-inverse.

Three.II.2.32 §II.2 source ↗

Describe the null space and range space of a transformation given by v→↦2v→⁠.

Answer

For any vector space V⁠, the null space

{v→∈V|2v→=0→}

is trivial, while the range space

{w→∈V|w→=2v→ for some v→∈V}

is all of V⁠, because every vector w→ is twice some other vector, specifically, it is twice (1/2)w→⁠. (Thus, this transformation is actually an automorphism.)

Three.II.2.33 §II.2 source ↗

List all pairs (rank(h),nullity(h)) that are possible for linear maps from ℝ5 to ℝ3⁠.

Answer

Because the rank plus the nullity equals the dimension of the domain (here, five), and the rank is at most three, the possible pairs are: (3,2)⁠, (2,3)⁠, (1,4)⁠, and (0,5)⁠. Coming up with linear maps that show that each pair is indeed possible is easy.

Three.II.2.34 §II.2 source ↗

Does the differentiation map d/dx:𝒫n→𝒫n have an inverse?

Answer

No (unless 𝒫n is trivial), because the two polynomials f0(x)=0 and f1(x)=1 have the same derivative; a map must be one-to-one to have an inverse.

Three.II.2.35 §II.2 source ↗

Find the nullity of this map h:𝒫n→ℝ⁠.

a0+a1x+⋯+anxn↦∫x=0x=1a0+a1x+⋯+anxndx

Answer

The null space is this.

{a0+a1x+⋯+anxn|a0(1)+a12(12)+⋯+ann+1(1n+1)=0}={a0+a1x+⋯+anxn|a0+(a1/2)+⋯+(an/n+1)=0}

Thus the nullity is n⁠.

Three.II.2.36 §II.2 source ↗

(a)

Prove that a homomorphism is onto if and only if its rank equals the dimension of its codomain.

(b)

Conclude that a homomorphism between vector spaces with the same dimension is one-to-one if and only if it is onto.

Answer (2 parts)

(a)

One direction is obvious: if the homomorphism is onto then its range is the codomain and so its rank equals the dimension of its codomain. For the other direction assume that the map’s rank equals the dimension of the codomain. Then the map’s range is a subspace of the codomain, and has dimension equal to the dimension of the codomain. Therefore, the map’s range must equal the codomain, and the map is onto. (The ‘therefore’ is because there is a linearly independent subset of the range that is of size equal to the dimension of the codomain, but any such linearly independent subset of the codomain must be a basis for the codomain, and so the range equals the codomain.)

(b)

By Theorem 2.20, a homomorphism is one-to-one if and only if its nullity is zero. Because rank plus nullity equals the dimension of the domain, it follows that a homomorphism is one-to-one if and only if its rank equals the dimension of its domain. But this domain and codomain have the same dimension, so the map is one-to-one if and only if it is onto.

Three.II.2.37 §II.2 source ↗

Show that a linear map is one-to-one if and only if it preserves linear independence.

Answer

We are proving that h:V→W is one-to-one if and only if for every linearly independent subset S of V the subset h(S)={h(s→)|s→∈S} of W is linearly independent.

One half is easy — by Theorem 2.20, if h is not one-to-one then its null space is nontrivial, that is, it contains more than just the zero vector. So where v→≠0→V is in that null space, the singleton set {v→} is independent while its image {h(v→)}={0→W} is not.

For the other half, assume that h is one-to-one and so by Theorem 2.20 has a trivial null space. Then for any v→1,…,v→n∈V⁠, the relation

0→W=c1⋅h(v→1)+⋯+cn⋅h(v→n)=h(c1⋅v→1+⋯+cn⋅v→n)

implies the relation c1⋅v→1+⋯+cn⋅v→n=0→V⁠. Hence, if a subset of V is independent then so is its image in W⁠.

Remark. The statement is that a linear map is one-to-one if and only if it preserves independence for all sets (that is, if a set is independent then its image is also independent). A map that is not one-to-one may well preserve some independent sets. One example is this map from ℝ3 to ℝ2⁠.

(xyz)↦(x+y+z0)

Linear independence is preserved for this set

{(100)}↦{(10)}

and (in a somewhat more tricky example) also for this set

{(100),(010)}↦{(10)}

(recall that in a set, repeated elements do not appear twice). However, there are sets whose independence is not preserved under this map

{(100),(020)}↦{(10),(20)}

and so not all sets have independence preserved.

Three.II.2.38 §II.2 source ↗

Corollary 2.17 says that for there to be an onto homomorphism from a vector space V to a vector space W⁠, it is necessary that the dimension of W be less than or equal to the dimension of V⁠. Prove that this condition is also sufficient; use Theorem 1.9 to show that if the dimension of W is less than or equal to the dimension of V⁠, then there is a homomorphism from V to W that is onto.

Answer

(We use the notation from Theorem 1.9.) Fix a basis ⟨β→1,…,β→n⟩ for V and a basis ⟨w→1,…,w→k⟩ for W⁠. If the dimension k of W is less than or equal to the dimension n of V then the theorem gives a linear map from V to W determined in this way.

β→1↦w→1,…,β→k↦w→kandβ→k+1↦w→k,…,β→n↦w→k

We need only to verify that this map is onto.

We can write any member of W as a linear combination of basis elements c1⋅w→1+⋯+ck⋅w→k⁠. This vector is the image, under the map described above, of c1⋅β→1+ ⋯+ ck⋅β→k+ 0⋅β→k+1⋯+ 0⋅β→n⁠. Thus the map is onto.

Three.II.2.39 §II.2 source ↗

Recall that the null space is a subset of the domain and the range space is a subset of the codomain. Are they necessarily distinct? Is there a homomorphism that has a nontrivial intersection of its null space and its range space?

Answer

Yes. For the transformation of ℝ2 given by

(xy)⟼h(0x)

we have this.

𝒩(h)={(0y)|y∈ℝ}=ℛ(h)

Remark. We will see more of this in the fifth chapter.

Three.II.2.40 §II.2 source ↗

Prove that the image of a span equals the span of the images. That is, where h:V→W is linear, prove that if S is a subset of V then h([S]) equals [h(S)]⁠. This generalizes Lemma 2.1 since it shows that if U is any subspace of V then its image {h(u→)|u→∈U} is a subspace of W⁠, because the span of the set U is U⁠.

Answer

This is a simple calculation.

h([S])={h(c1s→1+⋯+cns→n)|c1,…,cn∈ℝ and s→1,…,s→n∈S}={c1h(s→1)+⋯+cnh(s→n)|c1,…,cn∈ℝ and s→1,…,s→n∈S}=[h(S)]

Three.II.2.41 §II.2 source ↗

(a)

Prove that for any linear map h:V→W and any w→∈W⁠, the set h−1(w→) has the form

h−1(w→)={v→+n→|v→,n→∈V and n→∈𝒩(h) and h(v→)=w→}

(if h is not onto and w→ is not in the range of h then this set is empty since its third condition cannot be satisfied). Such a set is a coset of 𝒩(h) and we denote it as v→+𝒩(h)⁠.

(b)

Consider the map t:ℝ2→ℝ2 given by

(xy)⟼t(ax+bycx+dy)

for some scalars a⁠, b⁠, c⁠, and d⁠. Prove that t is linear.

(c)

Conclude from the prior two items that for any linear system of the form

ax+by=ecx+dy=f

we can write the solution set (the vectors are members of ℝ2⁠)

{p→+h→|h→ satisfies the associated homogeneous system}

where p→ is a particular solution of that linear system (if there is no particular solution then the above set is empty).

(d)

Show that this map h:ℝn→ℝm is linear

(x1⋮xn)↦(a1,1x1+⋯+a1,nxn⋮am,1x1+⋯+am,nxn)

for any scalars a1,1⁠, …, am,n⁠. Extend the conclusion made in the prior item.

(e)

Show that the k⁠-th derivative map is a linear transformation of 𝒫n for each k⁠. Prove that this map is a linear transformation of the space

f↦dkdxkf+ck−1dk−1dxk−1f+⋯+c1ddxf+c0f

for any scalars ck⁠, …, c0⁠. Draw a conclusion as above.

Answer (5 parts)

(a)

We will show the sets are equal h−1(w→)= {v→+n→|n→∈𝒩(h)} by mutual inclusion. For the {v→+ n→|n→∈𝒩(h)}⊆h−1(w→) direction, just note that h(v→+n→)=h(v→)+h(n→) equals w→⁠, and so any member of the first set is a member of the second. For the h−1(w→)⊆{v→+ n→|n→∈𝒩(h)} direction, consider u→∈h−1(w→)⁠. Because h is linear, h(u→)=h(v→) implies that h(u→−v→)=0→⁠. We can write u→−v→ as n→⁠, and then we have that u→∈{v→+n→|n→∈𝒩(h)}⁠, as desired, because u→=v→+(u→−v→)⁠.

(b)

This check is routine.

(c)

This is immediate.

(d)

For the linearity check, briefly, where c,d are scalars and x→,y→∈ℝn have components x1,…,xn and y1,…,yn⁠, we have this.

h(c⋅x→+d⋅y→)=(a1,1(cx1+dy1)+⋯+a1,n(cxn+dyn)⋮am,1(cx1+dy1)+⋯+am,n(cxn+dyn))=(a1,1cx1+⋯+a1,ncxn⋮am,1cx1+⋯+am,ncxn)+(a1,1dy1+⋯+a1,ndyn⋮am,1dy1+⋯+am,ndyn)=c⋅h(x→)+d⋅h(y→)

The appropriate conclusion is that General= Particular+ Homogeneous⁠.

(e)

Each power of the derivative is linear because of the rules

dkdxk(f(x)+g(x))=dkdxkf(x)+dkdxkg(x)anddkdxkrf(x)=rdkdxkf(x)

from calculus. Thus the given map is a linear transformation of the space because any linear combination of linear maps is also a linear map by Lemma 1.17. The appropriate conclusion is General= Particular+ Homogeneous⁠, where the associated homogeneous differential equation has a constant of 0⁠.

Three.II.2.42 §II.2 source ↗

Prove that for any transformation t:V→V that is rank one, the map given by composing the operator with itself t∘t:V→V satisfies t∘t=r⋅t for some real number r⁠.

Answer

Because the rank of t is one, the range space of t is a one-dimensional set. Taking ⟨h(v→)⟩ as a basis (for some appropriate v→⁠), we have that for every w→∈V⁠, the image h(w→)∈V is a multiple of this basis vector — associated with each w→ there is a scalar cw→ such that t(w→)=cw→t(v→)⁠. Apply t to both sides of that equation and take r to be ct(v→)

t∘t(w→)=t(cw→⋅t(v→))=cw→⋅t∘t(v→)=cw→⋅ct(v→)⋅t(v→)=cw→⋅r⋅t(v→)=r⋅cw→⋅t(v→)=r⋅t(w→)

to get the desired conclusion.

Three.II.2.43 §II.2 source ↗

Let h:V→ℝ be a homomorphism, but not the zero homomorphism. Prove that if ⟨β→1,…,β→n⟩ is a basis for the null space and if v→∈V is not in the null space then ⟨v→,β→1,…,β→n⟩ is a basis for the entire domain V⁠.

Answer

By assumption, h is not the zero map and so a vector v→∈V exists that is not in the null space. Note that ⟨h(v→)⟩ is a basis for ℝ⁠, because it is a size-one linearly independent subset of ℝ⁠. Consequently h is onto, as for any r∈ℝ we have r=c⋅h(v→) for some scalar c⁠, and so r=h(cv→)⁠.

Thus the rank of h is one. Because the nullity is n⁠, the dimension of the domain of h⁠, the vector space V⁠, is n+1⁠. We can finish by showing {v→,β→1,…,β→n} is linearly independent, as it is a size n+1 subset of a dimension n+1 space. Because {β→1,…,β→n} is linearly independent we need only show that v→ is not a linear combination of the other vectors. But c1β→1+⋯+cnβ→n=v→ would give −v→+c1β→1+⋯+cnβ→n=0→ and applying h to both sides would give a contradiction.

Three.II.2.44 §II.2 source ↗

Show that for any space V of dimension n⁠, the dual space

ℒ(V,ℝ)={h:V→ℝ|h is linear}

is isomorphic to ℝn⁠. It is often denoted V∗⁠. Conclude that V∗≅V⁠.

Answer

Fix a basis ⟨β→1,…,β→n⟩ for V⁠. We shall prove that this map

h⟼Φ(h(β→1)⋮h(β→n))

is an isomorphism from V∗ to ℝn⁠.

To see that Φ is one-to-one, assume that h1 and h2 are members of V∗ such that Φ(h1)=Φ(h2)⁠. Then

(h1(β→1)⋮h1(β→n))=(h2(β→1)⋮h2(β→n))

and consequently, h1(β→1)=h2(β→1)⁠, etc. But a homomorphism is determined by its action on a basis, so h1=h2⁠, and therefore Φ is one-to-one.

To see that Φ is onto, consider

(x1⋮xn)

for x1,…,xn∈ℝ⁠. This function h from V to ℝ

c1β→1+⋯+cnβ→n⟼hc1x1+⋯+cnxn

is linear and Φ maps it to the given vector in ℝn⁠, so Φ is onto.

The map Φ also preserves structure: where

c1β→1+⋯+cnβ→n⟼h1c1h1(β→1)+⋯+cnh1(β→n)c1β→1+⋯+cnβ→n⟼h2c1h2(β→1)+⋯+cnh2(β→n)

we have

(r1h1+r2h2)(c1β→1+⋯+cnβ→n)=c1(r1h1(β→1)+r2h2(β→1))+⋯+cn(r1h1(β→n)+r2h2(β→n))=r1(c1h1(β→1)+⋯+cnh1(β→n))+r2(c1h2(β→1)+⋯+cnh2(β→n))

so Φ(r1h1+r2h2)= r1Φ(h1)+ r2Φ(h2)⁠.

Three.II.2.45 §II.2 source ↗

Show that any linear map is the sum of maps of rank one.

Answer

Let h:V→W be linear and fix a basis ⟨β→1,…,β→n⟩ for V⁠. Consider these n maps from V to W

h1(v→)=c1⋅h(β→1),h2(v→)=c2⋅h(β→2),…,hn(v→)=cn⋅h(β→n)

for any v→=c1β→1+⋯+cnβ→n⁠. Clearly h is the sum of the hi⁠’s. We need only check that each hi is linear: where u→=d1β→1+⋯+dnβ→n we have hi(rv→+su→)= rci+ sdi= rhi(v→)+ shi(u→)⁠.

Three.II.2.46 §II.2 source ↗

Is ‘is homomorphic to’ an equivalence relation? (Hint: the difficulty is to decide on an appropriate meaning for the quoted phrase.)

Answer

Either yes (trivially) or no (nearly trivially).

If we take V ‘is homomorphic to’ W to mean there is a homomorphism from V into (but not necessarily onto) W⁠, then every space is homomorphic to every other space as a zero map always exists.

If we take V ‘is homomorphic to’ W to mean there is an onto homomorphism from V to W then the relation is not an equivalence. For instance, there is an onto homomorphism from ℝ3 to ℝ2 (projection is one) but no homomorphism from ℝ2 onto ℝ3 by Corollary 2.17, so the relation is not reflexive.

Three.II.2.47 §II.2 source ↗

Show that the range spaces and null spaces of powers of linear maps t:V→V form descending

V⊇ℛ(t)⊇ℛ(t2)⊇…

and ascending

{0→}⊆𝒩(t)⊆𝒩(t2)⊆…

chains. Also show that if k is such that ℛ(tk)=ℛ(tk+1) then all following range spaces are equal: ℛ(tk)=ℛ(tk+1)=ℛ(tk+2)…⁠. Similarly, if 𝒩(tk)=𝒩(tk+1) then 𝒩(tk)= 𝒩(tk+1)= 𝒩(tk+2)= …⁠.

Answer

That they form the chains is obvious. For the rest, we show here that ℛ(tj+1)=ℛ(tj) implies that ℛ(tj+2)=ℛ(tj+1)⁠. Induction then applies.

Assume that ℛ(tj+1)=ℛ(tj)⁠. Then t:ℛ(tj+1)→ℛ(tj+2) is the same map, with the same domain, as t:ℛ(tj)→ℛ(tj+1)⁠. Thus it has the same range: ℛ(tj+2)=ℛ(tj+1)⁠.

Three.III.1.13 §III.1 source ↗

Multiply the matrix

(1310−12110)

by each vector, or state “not defined.”

(a)

(210)

(b)

(−2−2)

(c)

(000)

Answer (3 parts)

(a)

(1⋅2+3⋅1+1⋅00⋅2+(−1)⋅1+2⋅01⋅2+1⋅1+0⋅0)= (5−13)

(b)

Not defined.

(c)

(000)

Three.III.1.14 §III.1 source ↗

Multiply this matrix by each vector or state “not defined.”

(3124)

(a)

(121)

(b)

(0−1)

(c)

(000)

Answer (3 parts)

(a)

This is not defined.

(b)

This is defined.

(3124)(0−1)=(−1−4)

(c)

Not defined.

Three.III.1.15 §III.1 source ↗

Perform, if possible, each matrix-vector multiplication.

(a)

(213−1/2)(42)

(b)

(110−210)(131)

(c)

(11−21)(131)

Answer (3 parts)

(a)

(2⋅4+1⋅23⋅4−(1/2)⋅2)= (1011)

(b)

(41)

(c)

Not defined.

Three.III.1.16 §III.1 source ↗

This matrix equation expresses a linear system. Solve it.

(2110131−12)(xyz)=(844)

Answer

Matrix-vector multiplication gives rise to a linear system.

2x+y+z=8y+3z=4x−y+2z=4

Gaussian reduction shows that z=1⁠, y=1⁠, and x=3⁠.

Three.III.1.17 §III.1 source ↗

For a homomorphism from 𝒫2 to 𝒫3 that sends

1↦1+x,x↦1+2x,andx2↦x−x3

where does 1−3x+2x2 go?

Answer

Here are two ways to get the answer.

First, obviously 1−3x+2x2=1⋅1−3⋅x+2⋅x2⁠, and so we can apply the general property of preservation of combinations to get h(1−3x+2x2)= h(1⋅1−3⋅x+2⋅x2)= 1⋅h(1)− 3⋅h(x)+ 2⋅h(x2)= 1⋅(1+x)− 3⋅(1+2x)+ 2⋅(x−x3)= − 2− 3x− 2x3⁠.

The other way uses the computation scheme developed in this subsection. Because we know where these elements of the space go, we consider this basis B=⟨1,x,x2⟩ for the domain. Arbitrarily, we can take D=⟨1,x,x2,x3⟩ as a basis for the codomain. With those choices, we have that

RepB,D⁡(h)=(11012100000−1)B,D

and, as

RepB⁡(1−3x+2x2)=(1−32)B

the matrix-vector multiplication calculation gives this.

RepD⁡(h(1−3x+2x2))=(11012100000−1)B,D(1−32)B=(−2−30−2)D

Thus, h(1−3x+2x2)= − 2⋅1− 3⋅x+ 0⋅x2− 2⋅x3= − 2− 3x− 2x3⁠, as above.

Three.III.1.18 §III.1 source ↗

Let h:ℝ2→ℳ2×2 be the linear transformation with this action.

(10)↦(1201)(01)↦(0−110)

What is its effect on the general vector with entries x and y⁠?

Answer

Fix this natural basis for ℳ2×2⁠.

D=⟨(1000),(0100),(0010),(0001)⟩

The representation of the map h with respect to ℰ2,D is this.

Repℰ2,D⁡(h)=(102−10110)

Since the general vector is represented with respect to ℰ2 by itself, and similarly every matrix is represented with respect to D by itself, we have this for the effect of the map.

RepD⁡(h((xy)))=(102−10110)(xy)=(x2x−yyx)

Three.III.1.19 §III.1 source ↗

Assume that h:ℝ2→ℝ3 is determined by this action.

(10)↦(220)(01)↦(01−1)

Using the standard bases, find

(a)

the matrix representing this map;

(b)

a general formula for h(v→)⁠.

Answer (3 parts)

Again, as recalled in the subsection, with respect to ℰi⁠, a column vector represents itself.

(a)

To represent h with respect to ℰ2,ℰ3 take the images of the basis vectors from the domain, and represent them with respect to the basis for the codomain. The first is this

Repℰ3⁡(h(e→1))=Repℰ3⁡((220))=(220)

while the second is this.

Repℰ3⁡(h(e→2))=Repℰ3⁡((01−1))=(01−1)

Adjoin these to make the matrix.

Repℰ2,ℰ3⁡(h)=(20210−1)

(b)

For any v→ in the domain ℝ2⁠,

Repℰ2⁡(v→)=Repℰ2⁡((v1v2))=(v1v2)

and so

Repℰ3⁡(h(v→))=(20210−1)(v1v2)=(2v12v1+v2−v2)

is the desired representation.

Three.III.1.20 §III.1 source ↗

Represent the homomorphism h:ℝ3→ℝ2 given by this formula and with respect to these bases.

(xyz)↦(x+yx+z)B=⟨(111),(110),(100)⟩D=⟨(10),(02)⟩

Answer

The action of the map on the domain’s basis vectors is this.

(111)↦(22)(110)↦(21)(100)↦(11)

Represent those with respect to the codomain’s basis.

RepD⁡((22))=(21)DRepD⁡((21))=(21/2)DRepD⁡((11))=(11/2)D

Concatenate them together into a matrix.

RepB,D⁡(h)=(22111/21/2)

Three.III.1.21 §III.1 source ↗

Let d/dx:𝒫3→𝒫3 be the derivative transformation.

(a)

Represent d/dx with respect to B,B where B=⟨1,x,x2,x3⟩⁠.

(b)

Represent d/dx with respect to B,D where D=⟨1,2x,3x2,4x3⟩⁠.

Answer (2 parts)

(a)

We must first find the image of each vector from the domain’s basis, and then represent that image with respect to the codomain’s basis.

RepB⁡(d1dx)=(0000)RepB⁡(dxdx)=(1000)RepB⁡(dx2dx)=(0200)RepB⁡(dx3dx)=(0030)

Those representations are then adjoined to make the matrix representing the map.

RepB,B⁡(ddx)=(0100002000030000)

(b)

Proceeding as in the prior item, we represent the images of the domain’s basis vectors

RepD⁡(d1dx)=(0000)RepD⁡(dxdx)=(1000)RepD⁡(dx2dx)=(0100)RepD⁡(dx3dx)=(0010)

and adjoin to make the matrix.

RepB,D⁡(ddx)=(0100001000010000)

Three.III.1.22 §III.1 source ↗

Represent each linear map with respect to each pair of bases.

(a)

d/dx:𝒫n→𝒫n with respect to B,B where B=⟨1,x,…,xn⟩⁠, given by

a0+a1x+a2x2+⋯+anxn↦a1+2a2x+⋯+nanxn−1

(b)

∫:𝒫n→𝒫n+1 with respect to Bn,Bn+1 where Bi=⟨1,x,…,xi⟩⁠, given by

a0+a1x+a2x2+⋯+anxn↦a0x+a12x2+⋯+ann+1xn+1

(c)

∫01:𝒫n→ℝ with respect to B,ℰ1 where B=⟨1,x,…,xn⟩ and ℰ1=⟨1⟩⁠, given by

a0+a1x+a2x2+⋯+anxn↦a0+a12+⋯+ann+1

(d)

eval3:𝒫n→ℝ with respect to B,ℰ1 where B=⟨1,x,…,xn⟩ and ℰ1=⟨1⟩⁠, given by

a0+a1x+a2x2+⋯+anxn↦a0+a1⋅3+a2⋅32+⋯+an⋅3n

(e)

slide−1:𝒫n→𝒫n with respect to B,B where B=⟨1,x,…,xn⟩⁠, given by

a0+a1x+a2x2+⋯+anxn↦a0+a1⋅(x+1)+⋯+an⋅(x+1)n

Answer (6 parts)

For each, we must find the image of each of the domain’s basis vectors, represent each image with respect to the codomain’s basis, and then adjoin those representations to get the matrix.

(a)

The basis vectors from the domain have these images

1↦0x↦1x2↦2x…

and these images are represented with respect to the codomain’s basis in this way.

RepB⁡(0)=(000⋮  )RepB⁡(1)=(100⋮  )RepB⁡(2x)=(020⋮  )…RepB⁡(nxn−1)=(000⋮n0)

The matrix

RepB,B⁡(ddx)=(010…0002…0⋮000…n000…0)

has n+1 rows and columns.

(b)

Once the images under this map of the domain’s basis vectors are determined

1↦xx↦x2/2x2↦x3/3…

then they can be represented with respect to the codomain’s basis

RepBn+1⁡(x)=(010⋮ )RepBn+1⁡(x2/2)=(001/2⋮ )…RepBn+1⁡(xn+1/(n+1))=(000⋮1/(n+1))

and put together to make the matrix.

RepBn,Bn+1⁡(∫)=(00…0010…0001/2…00⋮00…01/(n+1))

(c)

The images of the basis vectors of the domain are

1↦1x↦1/2x2↦1/3…

and they are represented with respect to the codomain’s basis as

Repℰ1⁡(1)=1Repℰ1⁡(1/2)=1/2…

so the matrix is

RepB,ℰ1⁡(∫)=(11/2⋯1/n1/(n+1))

(this is an 1×(n+1) matrix).

(d)

The images of the domain’s basis vectors are

1↦1x↦3x2↦9…

and they are represented in the codomain as

Repℰ1⁡(1)=1Repℰ1⁡(3)=3Repℰ1⁡(9)=9…

and so the matrix is this.

RepB,ℰ1⁡(eval3)=(139⋯3n)

(e)

The images of the basis vectors from the domain are 1↦1⁠, and x↦x+1=1+x⁠, and x2↦(x+1)2=1+2x+x2⁠, and x3↦(x+1)3=1+3x+3x2+x3⁠, etc. The representations are here.

RepB⁡(1)=(1000⋮0)RepB⁡(1+x)=(1100⋮0)RepB⁡(1+2x+x2)=(1210⋮0)…

The resulting matrix

RepB,B⁡(slide−1)=(1111…10123…(n1)0013…(n2)⋮000…1)

is Pascal’s triangle (recall that (nr) is the number of ways to choose r things, without order and without repetition, from a set of size n⁠).

Three.III.1.23 §III.1 source ↗

Represent the identity map on any nontrivial space with respect to B,B⁠, where B is any basis.

Answer

Where the space is n⁠-dimensional,

RepB,B⁡(id)=(10…001…0⋮00…1)B,B

is the n×n identity matrix.

Three.III.1.24 §III.1 source ↗

Represent, with respect to the natural basis, the transpose transformation on the space ℳ2×2 of 2×2 matrices.

Answer

Taking this as the natural basis

B=⟨β→1,β→2,β→3,β→4⟩=⟨(1000),(0100),(0010),(0001)⟩

the transpose map acts in this way

β→1↦β→1β→2↦β→3β→3↦β→2β→4↦β→4

so that representing the images with respect to the codomain’s basis and adjoining those column vectors together gives this.

RepB,B⁡(trans)=(1000001001000001)B,B

Three.III.1.25 §III.1 source ↗

Assume that B=⟨β→1,β→2,β→3,β→4⟩ is a basis for a vector space. Represent with respect to B,B the transformation that is determined by each.

(a)

β→1↦β→2⁠, β→2↦β→3⁠, β→3↦β→4⁠, β→4↦0→

(b)

β→1↦β→2⁠, β→2↦0→⁠, β→3↦β→4⁠, β→4↦0→

(c)

β→1↦β→2⁠, β→2↦β→3⁠, β→3↦0→⁠, β→4↦0→

Answer (3 parts)

(a)

With respect to the basis of the codomain, the images of the members of the basis of the domain are represented as

RepB⁡(β→2)=(0100)RepB⁡(β→3)=(0010)RepB⁡(β→4)=(0001)RepB⁡(0→)=(0000)

and consequently, the matrix representing the transformation is this.

(0000100001000010)

(b)

(0000100000000010)

(c)

(0000100001000000)

Three.III.1.26 §III.1 source ↗

Example 1.10 shows how to represent the rotation transformation of the plane with respect to the standard basis. Express these other transformations also with respect to the standard basis.

(a)

the dilation map ds⁠, which multiplies all vectors by the same scalar s

(b)

the reflection map fℓ⁠, which reflects all all vectors across a line ℓ through the origin

Answer (2 parts)

(a)

The picture of ds:ℝ2→ℝ2 is this.

This map’s effect on the vectors in the standard basis for the domain is

(10)⟼ds(s0)(01)⟼ds(0s)

and those images are represented with respect to the codomain’s basis (again, the standard basis) by themselves.

Repℰ2⁡((s0))=(s0)Repℰ2⁡((0s))=(0s)

Thus the representation of the dilation map is this.

Repℰ2,ℰ2⁡(ds)=(s00s)

(b)

The picture of fℓ:ℝ2→ℝ2 is this.

Some calculation (see Exercise I.1.33) shows that when the line has slope k

(10)⟼fℓ((1−k2)/(1+k2)2k/(1+k2))(01)⟼fℓ(2k/(1+k2)−(1−k2)/(1+k2))

(the case of a line with undefined slope is separate but easy) and so the matrix representing reflection is this.

Repℰ2,ℰ2⁡(fℓ)=11+k2⋅(1−k22k2k−(1−k2))

Three.III.1.27 §III.1 source ↗

Consider a linear transformation of ℝ2 determined by these two.

(11)↦(20)(10)↦(−10)

(a)

Represent this transformation with respect to the standard bases.

(b)

Where does the transformation send this vector?

(05)

(c)

Represent this transformation with respect to these bases.

B=⟨(1−1),(11)⟩D=⟨(22),(−11)⟩

(d)

Using B from the prior item, represent the transformation with respect to B,B⁠.

Answer (5 parts)

Call the map t:ℝ2→ℝ2⁠.

(a)

To represent this map with respect to the standard bases, we must find, and then represent, the images of the vectors e→1 and e→2 from the domain’s basis. The image of e→1 is given.

One way to find the image of e→2 is by eye — we can see this.

(11)−(10)=(01)⟼t(20)−(−10)=(30)

A more systematic way to find the image of e→2 is to use the given information to represent the transformation, and then use that representation to determine the image. Taking this for a basis,

C=⟨(11),(10)⟩

the given information says this.

RepC,ℰ2⁡(t)(2−100)

As

RepC⁡(e→2)=(1−1)C

we have that

Repℰ2⁡(t(e→2))=(2−100)C,ℰ2(1−1)C=(30)ℰ2

and consequently we know that t(e→2)=3⋅e→1 (since, with respect to the standard basis, this vector is represented by itself). Therefore, this is the representation of t with respect to ℰ2,ℰ2⁠.

Repℰ2,ℰ2⁡(t)=(−1300)ℰ2,ℰ2

(b)

To use the matrix developed in the prior item, note that

Repℰ2⁡((05))=(05)ℰ2

and so we have this is the representation, with respect to the codomain’s basis, of the image of the given vector.

Repℰ2⁡(t((05)))=(−1300)ℰ2,ℰ2(05)ℰ2=(150)ℰ2

Because the codomain’s basis is the standard one, and so vectors in the codomain are represented by themselves, we have this.

t((05))=(150)

(c)

We first find the image of each member of B⁠, and then represent those images with respect to D⁠. For the first step, we can use the matrix developed earlier.

Repℰ2⁡((1−1))=(−1300)ℰ2,ℰ2(1−1)ℰ2=(−40)ℰ2sot((1−1))=(−40)

Actually, for the second member of B there is no need to apply the matrix because the problem statement gives its image.

t((11))=(20)

Now representing those images with respect to D is routine.

RepD⁡((−40))=(−12)DandRepD⁡((20))=(1/2−1)D

Thus, the matrix is this.

RepB,D⁡(t)=(−11/22−1)B,D

(d)

We know the images of the members of the domain’s basis from the prior item.

t((1−1))=(−40)t((11))=(20)

We can compute the representation of those images with respect to the codomain’s basis.

RepB⁡((−40))=(−2−2)BandRepB⁡((20))=(11)B

Thus this is the matrix.

RepB,B⁡(t)=(−21−21)B,B

Three.III.1.28 §III.1 source ↗

Suppose that h:V→W is one-to-one so that by Theorem 2.20, for any basis B=⟨β→1,…,β→n⟩⊂V the image h(B)=⟨h(β→1),…,h(β→n)⟩ is a basis for h(V)⁠. (If h is onto then h(V)=W⁠.)

(a)

Represent the map h with respect to ⟨B,h(B)⟩⁠.

(b)

For a member v→ of the domain, where the representation of v→ has components c1⁠, …, cn⁠, represent the image vector h(v→) with respect to the image basis h(B)⁠.

Answer (2 parts)

(a)

The images of the members of the domain’s basis are

β→1↦h(β→1)β→2↦h(β→2)…β→n↦h(β→n)

and those images are represented with respect to the codomain’s basis in this way.

Reph(B)⁡(h(β→1))=(10⋮0)Reph(B)⁡(h(β→2))=(01⋮0)…Reph(B)⁡(h(β→n))=(00⋮1)

Hence, the matrix is the identity.

RepB,h(B)⁡(h)=(10…0010⋱001)

(b)

Using the matrix in the prior item, the representation is this.

Reph(B)⁡(h(v→))=(c1⋮cn)h(B)

Three.III.1.29 §III.1 source ↗

Give a formula for the product of a matrix and e→i⁠, the column vector that is all zeroes except for a single one in the i⁠-th position.

Answer

The product

(h1,1…h1,i…h1,nh2,1…h2,i…h2,n⋮hm,1…hm,i…h1,n)(0⋮1⋮0)=(h1,ih2,i⋮hm,i)

gives the i⁠-th column of the matrix.

Three.III.1.30 §III.1 source ↗

For each vector space of functions of one real variable, represent the derivative transformation with respect to B,B⁠.

(a)

{acos⁡x+bsin⁡x|a,b∈ℝ}⁠, B=⟨cos⁡x,sin⁡x⟩

(b)

{aex+be2x|a,b∈ℝ}⁠, B=⟨ex,e2x⟩

(c)

{a+ bx+ cex+ dxex|a, b, c, d∈ℝ}⁠, B=⟨1,x,ex,xex⟩

Answer (3 parts)

(a)

The images of the basis vectors for the domain are cos⁡x⟼d/dx−sin⁡x and sin⁡x⟼d/dxcos⁡x⁠. Representing those with respect to the codomain’s basis (again, B⁠) and adjoining the representations gives this matrix.

RepB,B⁡(ddx)=(01−10)B,B

(b)

The images of the vectors in the domain’s basis are ex⟼d/dxex and e2x⟼d/dx2e2x⁠. Representing with respect to the codomain’s basis and adjoining gives this matrix.

RepB,B⁡(ddx)=(1002)B,B

(c)

The images of the members of the domain’s basis are 1⟼d/dx0⁠, x⟼d/dx1⁠, ex⟼d/dxex⁠, and xex⟼d/dxex+xex⁠. Representing these images with respect to B and adjoining gives this matrix.

RepB,B⁡(ddx)=(0100000000110001)B,B

Three.III.1.31 §III.1 source ↗

Find the range of the linear transformation of ℝ2 represented with respect to the standard bases by each matrix.

(a)

(1000)

(b)

(0032)

(c)

a matrix of the form (ab2a2b)

Answer (3 parts)

(a)

It is the set of vectors of the codomain represented with respect to the codomain’s basis in this way.

{(1000)(xy)|x,y∈ℝ}={(x0)|x,y∈ℝ}

As the codomain’s basis is ℰ2⁠, and so each vector is represented by itself, the range of this transformation is the x⁠-axis.

(b)

It is the set of vectors of the codomain represented in this way.

{(0032)(xy)|x,y∈ℝ}={(03x+2y)|x,y∈ℝ}

With respect to ℰ2 vectors represent themselves so this range is the y⁠ axis.

(c)

The set of vectors represented with respect to ℰ2 as

{(ab2a2b)(xy)|x,y∈ℝ}={(ax+by2ax+2by)|x,y∈ℝ}={(ax+by)⋅(12)|x,y∈ℝ}

is the line y=2x⁠, provided either a or b is not zero, and is the set consisting of just the origin if both are zero.

Three.III.1.32 §III.1 source ↗

Can one matrix represent two different linear maps? That is, can RepB,D⁡(h)= RepBˆ,Dˆ⁡(hˆ)⁠?

Answer

Yes, for two reasons.

First, the two maps h and hˆ need not have the same domain and codomain. For instance,

(1234)

represents a map h:ℝ2→ℝ2 with respect to the standard bases that sends

(10)↦(13)and(01)↦(24)

and also represents a hˆ:𝒫1→ℝ2 with respect to ⟨1,x⟩ and ℰ2 that acts in this way.

1↦(13)andx↦(24)

The second reason is that, even if the domain and codomain of h and hˆ coincide, different bases produce different maps. An example is the 2×2 identity matrix

I=(1001)

which represents the identity map on ℝ2 with respect to ℰ2,ℰ2⁠. However, with respect to ℰ2 for the domain but the basis D=⟨e→2,e→1⟩ for the codomain, the same matrix I represents the map that swaps the first and second components

(xy)↦(yx)

(that is, reflection about the line y=x⁠).

Three.III.1.33 §III.1 source ↗

Prove Theorem 1.5.

Answer

We mimic Example 1.1, just replacing the numbers with letters.

Write B as ⟨β→1,…,β→n⟩ and D as ⟨δ→1,…,δ→m⟩⁠. By definition of representation of a map with respect to bases, the assumption that

RepB,D⁡(h)=(h1,1…h1,n⋮⋮hm,1…hm,n)

means that h(β→i)= hi,1δ→1+ ⋯+ hi,nδ→n⁠. And, by the definition of the representation of a vector with respect to a basis, the assumption that

RepB⁡(v→)=(c1⋮cn)

means that v→=c1β→1+⋯+cnβ→n⁠. Substituting gives

h(v→)=h(c1⋅β→1+⋯+cn⋅β→n)=c1⋅h(β→1)+⋯+cn⋅β→n=c1⋅(h1,1δ→1+⋯+hm,1δ→m)+⋯+cn⋅(h1,nδ→1+⋯+hm,nδ→m)=(h1,1c1+⋯+h1,ncn)⋅δ→1+⋯+(hm,1c1+⋯+hm,ncn)⋅δ→m

and so h(v→) is represented as required.

Three.III.1.34 §III.1 source ↗

Example 1.10 shows how to represent rotation of all vectors in the plane through an angle θ about the origin, with respect to the standard bases.

(a)

Rotation of all vectors in three-space through an angle θ about the x⁠-axis is a transformation of ℝ3⁠. Represent it with respect to the standard bases. Arrange the rotation so that to someone whose feet are at the origin and whose head is at (1,0,0)⁠, the movement appears clockwise.

(b)

Repeat the prior item, only rotate about the y⁠-axis instead. (Put the person’s head at e→2⁠.)

(c)

Repeat, about the z⁠-axis.

(d)

Extend the prior item to ℝ4⁠. (Hint: we can restate ‘rotate about the z⁠-axis’ as ‘rotate parallel to the xy⁠-plane’.)

Answer (4 parts)

(a)

The picture is this.

The images of the vectors from the domain’s basis

(100)↦(100)(010)↦(0cos⁡θ−sin⁡θ)(001)↦(0sin⁡θcos⁡θ)

are represented with respect to the codomain’s basis (again, ℰ3⁠) by themselves, so adjoining the representations to make the matrix gives this.

Repℰ3,ℰ3⁡(rθ)=(1000cos⁡θsin⁡θ0−sin⁡θcos⁡θ)

(b)

The picture is similar to the one in the prior answer. The images of the vectors from the domain’s basis

(100)↦(cos⁡θ0sin⁡θ)(010)↦(010)(001)↦(−sin⁡θ0cos⁡θ)

are represented with respect to the codomain’s basis ℰ3 by themselves, so this is the matrix.

(cos⁡θ0−sin⁡θ010sin⁡θ0cos⁡θ)

(c)

To a person standing up, with the vertical z⁠-axis, a rotation of the xy⁠-plane that is clockwise proceeds from the positive y⁠-axis to the positive x⁠-axis. That is, it rotates opposite to the direction in Example 1.10. The images of the vectors from the domain’s basis

(100)↦(cos⁡θ−sin⁡θ0)(010)↦(sin⁡θcos⁡θ0)(001)↦(001)

are represented with respect to ℰ3 by themselves, so the matrix is this.

(cos⁡θsin⁡θ0−sin⁡θcos⁡θ0001)

(d)

(cos⁡θsin⁡θ00−sin⁡θcos⁡θ0000100001)

Three.III.1.35 §III.1 source ↗

(Schur’s Triangularization Lemma)

(a)

Let U be a subspace of V and fix bases BU⊆BV⁠. What is the relationship between the representation of a vector from U with respect to BU and the representation of that vector (viewed as a member of V⁠) with respect to BV⁠?

(b)

What about maps?

(c)

Fix a basis B=⟨β→1,…,β→n⟩ for V and observe that the spans

[⌀]={0→}⊂[{β→1}]⊂[{β→1,β→2}]⊂⋯⊂[B]=V

form a strictly increasing chain of subspaces. Show that for any linear map h:V→W there is a chain W0={0→}⊆W1⊆⋯⊆Wm=W of subspaces of W such that

h([{β→1,…,β→i}])⊆Wi

for each i⁠.

(d)

Conclude that for every linear map h:V→W there are bases B,D so the matrix representing h with respect to B,D is upper-triangular (that is, each entry hi,j with i>j is zero).

(e)

Is an upper-triangular representation unique?

Answer (5 parts)

(a)

Write the basis BU as ⟨β→1,…,β→k⟩ and then write BV as the extension ⟨β→1,…,β→k,β→k+1,…,β→n⟩⁠. If

RepBU⁡(v→)=(c1⋮ck)

so that v→=c1⋅β→1+⋯+ck⋅β→k then

RepBV⁡(v→)=(c1⋮ck0⋮0)

because v→= c1⋅β→1+ ⋯+ ck⋅β→k+ 0⋅β→k+1+ ⋯+ 0⋅β→n⁠.

(b)

We must first decide what the question means. Compare h:V→W with its restriction to the subspace h↾U:U→W⁠. The range space of the restriction is a subspace of W⁠, so fix a basis Dh(U) for this range space and extend it to a basis DV for W⁠. We want the relationship between these two.

RepBV,DV⁡(h)andRepBU,Dh(U)⁡(h↾U)

The answer falls right out of the prior item: if

RepBU,Dh(U)⁡(h↾U)=(h1,1…h1,k⋮⋮hp,1…hp,k)

then the extension is represented in this way.

RepBV,DV⁡(h)=(h1,1…h1,kh1,k+1…h1,n⋮⋮hp,1…hp,khp,k+1…hp,n0…0hp+1,k+1…hp+1,n⋮⋮0…0hm,k+1…hm,n)

(c)

Take Wi to be the span of {h(β→1),…,h(β→i)}⁠.

(d)

Apply the answer from the second item to the third item.

(e)

No. For instance πx:ℝ2→ℝ2⁠, projection onto the x⁠ axis, is represented by these two upper-triangular matrices

Repℰ2,ℰ2⁡(πx)=(1000)andRepC,ℰ2⁡(πx)=(0100)

where C=⟨e→2,e→1⟩⁠.

Three.III.2.12 §III.2 source ↗

For each matrix, state the dimension of the domain and codomain of any map that the matrix represents.

(a)

(2134)

(b)

(11−3250)

(c)

(13141−1)

(d)

(000000)

(e)

(1−1450000)

Answer (5 parts)

(a)

domain: 2⁠, codomain: 2

(b)

domain: 3⁠, codomain: 2

(c)

domain: 2⁠, codomain: 3

(d)

domain: 3⁠, codomain: 2

(e)

domain: 4⁠, codomain: 2

Three.III.2.13 §III.2 source ↗

Consider a linear map f:V→W represented with respect to some bases B,D by the matrix. Decide if that map is nonsingular.

(a)

(2134)

(b)

(11−3−3)

(c)

(300210444)

(d)

(20−211041−4)

Answer (5 parts)

For each we just have to decide if the matrix is nonsingular, perhaps by doing Gauss’s Method. (In truth, we can do each of these by eye.)

(a)

This matrix is nonsingular, since the second row is not a multiple of the first, so the map is nonsingular.

(b)

The matrix is singular so the map is singular.

(c)

Nonsingular.

(d)

Nonsingular.

Three.III.2.14 §III.2 source ↗

Let h be the linear map defined by this matrix on the domain 𝒫1 and codomain ℝ2 with respect to the given bases.

H=(2142)B=⟨1+x,x⟩,D=⟨(11),(10)⟩

What is the image under h of the vector v→=2x−1⁠?

Answer

With respect to B the vector’s representation is this.

RepB⁡(2x−1)=(−13)

Using the matrix-vector product we can compute RepD⁡(h(v→))

RepD⁡(h(2x−1))=(2142)(−13)B=(12)D

From that representation we can compute h(v→)⁠.

h(2x−1)=1⋅(11)+2⋅(10)=(31)

Three.III.2.15 §III.2 source ↗

Decide if each vector lies in the range of the map from ℝ3 to ℝ2 represented with respect to the standard bases by the matrix.

(a)

(113014)⁠, (13)

(b)

(203406)⁠, (11)

Answer (3 parts)

As described in the subsection, with respect to the standard bases, representations are transparent, and so, for instance, the first matrix describes this map.

(100)=(100)ℰ3↦(10)ℰ2=(10)(010)↦(11)(001)↦(34)

So, for this first one, we are asking whether there are scalars such that

c1(10)+c2(11)+c3(34)=(13)

that is, whether the vector is in the column space of the matrix.

(a)

Yes. We can get this conclusion by setting up the resulting linear system and applying Gauss’s Method, as usual. Another way to get it is to note by inspection of the equation of columns that taking c3=3/4⁠, and c1=−5/4⁠, and c2=0 will do. Still a third way to get this conclusion is to note that the rank of the matrix is two, which equals the dimension of the codomain, and so the map is onto — the range is all of ℝ2 and in particular includes the given vector.

(b)

No; note that all of the columns in the matrix have a second component that is twice the first, while the vector does not. Alternatively, the column space of the matrix is

{c1(24)+c2(00)+c3(36)|c1,c2,c3∈ℝ}={c(12)|c∈ℝ}

(which is the fact already noted, but we got it by calculation rather than inspiration), and the given vector is not in this set.

Three.III.2.16 §III.2 source ↗

Consider this matrix, representing a transformation of ℝ2 with respect to the bases.

12⋅(11−11)B=⟨(01),(10)⟩D=⟨(11),(1−1)⟩

(a)

To what vector in the codomain is the first member of B mapped?

(b)

The second member?

(c)

Where is a general vector from the domain (a vector with components x and y⁠) mapped? That is, what transformation of ℝ2 is represented with respect to B,D by this matrix?

Answer (3 parts)

(a)

The first member of the basis

(01)=(10)B

maps to

(1/2−1/2)D

which is this member of the codomain.

12⋅(11)−12⋅(1−1)=(01)

(b)

The second member of the basis maps

(10)=(01)B↦((1/21/2)D

to this member of the codomain.

12⋅(11)+12⋅(1−1)=(10)

(c)

Because the map that the matrix represents is the identity map on the basis, it must be the identity on all members of the domain. We can come to the same conclusion in another way by considering

(xy)=(yx)B

which maps to

((x+y)/2(x−y)/2)D

which represents this member of ℝ2⁠.

x+y2⋅(11)+x−y2⋅(1−1)=(xy)

Three.III.2.17 §III.2 source ↗

Consider a homomorphism h:ℝ2→ℝ2 represented with respect to the standard bases ℰ2,ℰ2 by this matrix.

(1324)

Find the image under h of each vector.

(a)

(23)

(b)

(01)

(c)

(−11)

Answer (4 parts)

Since, with respect to the standard basis ℰ2⁠, a matrix is represented by itself, we just need to do the matrix-vector multiplication.

(a)

Repℰ2⁡(h((23)))=Repℰ2,ℰ2⁡(h)Repℰ2⁡((23))=(1324)ℰ2,ℰ2(23)ℰ2=(1116)ℰ2=(1116)

(b)

(1324)(01)=(34)

(c)

(1324)(−11)=(22)

Three.III.2.18 §III.2 source ↗

What transformation of F={acos⁡θ+bsin⁡θ|a,b∈ℝ} is represented with respect to B=⟨cos⁡θ−sin⁡θ,sin⁡θ⟩ and D=⟨cos⁡θ+sin⁡θ,cos⁡θ⟩ by this matrix?

(0010)

Answer

A general member of the domain, represented with respect to the domain’s basis as

acos⁡θ+bsin⁡θ=(aa+b)B

maps to

(0a)Drepresenting0⋅(cos⁡θ+sin⁡θ)+a⋅(cos⁡θ)

and so the linear map represented by the matrix with respect to these bases

acos⁡θ+bsin⁡θ↦acos⁡θ

is projection onto the first component.

Three.III.2.19 §III.2 source ↗

Decide whether 1+2x is in the range of the map from ℝ3 to 𝒫2 represented with respect to ℰ3 and ⟨1,1+x2,x⟩ by this matrix.

(130010101)

Answer

Denote the given basis of 𝒫2 by B⁠. Application of the linear map is represented by matrix-vector multiplication. Thus the first vector in ℰ3 maps to the element of 𝒫2 represented with respect to B by

(130010101)(100)=(101)

and that element is 1+x⁠. Calculate the other two images of basis vectors in the same way.

(130010101)(010)=(310)=RepB⁡(4+x2)(130010101)(001)=(001)=RepB⁡(x)

So the range of h is the span of three polynomials 1+x⁠, 4+x2⁠, and x⁠. We can thus decide if 1+2x is in the range of the map by looking for scalars c1⁠, c2⁠, and c3 such that

c1⋅(1+x)+c2⋅(4+x2)+c3⋅(x)=1+2x

and obviously c1=1⁠, c2=0⁠, and c3=1 suffice. Thus 1+2x is in the range, since it is the image of this vector.

1⋅(100)+0⋅(010)+1⋅(001)

Comment. A slicker argument is to note that the matrix is nonsingular, so it has rank 3⁠, so the range has dimension 3⁠, and since the codomain has dimension 3 the map is onto. Thus every polynomial is the image of some vector and in particular 1+2x is the image of a vector in the domain.

Three.III.2.20 §III.2 source ↗

Find the map that this matrix represents with respect to B,B⁠.

(21−10)B=⟨(10),(11)⟩

Answer

Where B=⟨β→1,β→2⟩ we can find RepB⁡(v→) by eye, where v→ is the general vector, with entries x and y⁠.

(xy)=a⋅(10)+b⋅(11)givesb=y,a=x−y

Thus the representation of general vector with respect to B is this.

RepB⁡((xy))=(x−yy)

Compute the effect of the map with matrix-vector multiplication.

(21−10)B(x−yy)B=(2(x−y)+y−(x−y))B=(2x−y−x+y)B

Finish by converting back to the standard vector representation.

(2x−y−x+y)B=(2x−y)⋅(10)+(−x+y)⋅(11)=(x−x+y)

Three.III.2.21 §III.2 source ↗

Example 2.11 gives a matrix that is singular and is therefore associated with maps that are singular. We cannot state the action of the associated map g on domain elements v→∈V⁠, because do not know the domain V or codomain W or the starting and ending bases B and D⁠. But we can compute what happens to the representations RepB,D⁡(v→)⁠.

(a)

Find the set of column vectors representing the members of the null space of any map g represented by this matrix.

(b)

Find the nullity of any such map g⁠.

(c)

Find the set of column vectors representing the members of the range space of any map g represented by the matrix.

(d)

Find the rank of any such map g⁠.

(e)

Check that rank plus nullity equals the dimension of the domain.

Answer (6 parts)

Let the matrix be G⁠, and suppose that it represents g:V→W with respect to bases B and D⁠. Because G has two columns, the domain V is two-dimensional. Because G has two rows, the codomain W is two-dimensional. The action of g on a representation RepB,D⁡(v→) of a general member of the domain is this.

(xy)B↦(x+2y3x+6y)D

(a)

No matter what is the codomain’s basis D⁠, the only representation of the zero vector 0→W is

RepD⁡(0→)=(00)D

and so the set of representations of members of the null space is this.

{(xy)B|x+2y=0 and 3x+6y=0}={y⋅(−1/21)D|y∈ℝ}

(b)

The nullity is 1⁠. The representation map RepD:W→ℝ2 and its inverse are isomorphisms and so preserve the dimension of subspaces. The subspace of ℝ2 that is in the prior item is one-dimensional. Therefore, the image of that subspace under the inverse of the representation map — the null space of G⁠, is also one-dimensional.

(c)

The set of representations of members of the range space is this.

{(x+2y3x+6y)D|x,y∈ℝ}={x⋅(13)D+y⋅(26)D|x,y∈ℝ}={k⋅(13)D|k∈ℝ}

(d)

Of course, Theorem 2.4 gives that the rank of the map equals the rank of the matrix, which is one. Alternatively, the same argument that we used above for the null space gives here that the dimension of the range space is one.

(e)

One plus one equals two.

Three.III.2.22 §III.2 source ↗

Take each matrix to represent h:ℝm→ℝn with respect to the standard bases. For each (i) state m and n⁠. Then set up an augmented matrix with the given matrix on the left and a vector representing a range space element on the right (e.g., if the codomain is ℝ3 then in the right-hand column put the three entries a⁠, b⁠, and c⁠). Perform Gauss-Jordan reduction. Use that to (ii) find ℛ(h) and rank⁡(h) (and state whether the underlying map is onto), and (iii) find 𝒩(h) and nullity⁡(h) (and state whether the underlying map is one-to-one).

(a)

(21−13)

(b)

(013234−2−12)

(c)

(112131)

Answer (3 parts)

(a)

(i) Where h:ℝm→ℝn (with respect to the standard bases) the dimension of the domain space is the number of columns, m=2⁠, and the dimension of the codomain space is the number of rows, n=2⁠.

For the rest, we consider this matrix-vector equation.

(21−13)(xy)=(ab)(∗)

We solve for x and y⁠.

(21a−13b)⟶(1/2)ρ1+ρ2⟶(2/7)ρ2(1/2)ρ1⟶−(1/2)ρ2+ρ1(10(3/7)a−(1/7)b01(1/7)a+(2/7)b)

(ii) For all

(ab)∈ℝ2

in equation (∗⁠) the system has a solution, by the calculation. So the range space is all of the codomain ℛ(h)=ℝ2⁠. The map’s rank is the dimension of the range, 2⁠. The map is onto because the range space is all of the codomain.

(iii) Again by the calculation, to find the nullspace, setting a=b=0 in equation (∗⁠) gives that x=y=0⁠. The null space is the trivial subspace of the domain.

𝒩(h)={(00)}

The nullity is the dimension of that null space, 0⁠. The map is one-to-one because the null space is trivial.

(b)

(i) The dimension of the domain space is the number of matrix columns, m=3⁠, and the dimension of the codomain space is the number of rows, n=3⁠.

The calculation is this.

(013a234b−2−12c)⟶ρ1↔ρ2⟶ρ1+ρ3⟶−2ρ2+ρ3⟶(1/2)ρ1⟶−(3/2)ρ2+ρ1(10−5/2−(3/2)a+(1/2)b013a000−2a+b+c)

(ii) There are codomain triples

(abc)∈ℝ3

for which the system does not have a solution, specifically the system only has a solution if −2a+b+c=0⁠.

ℛ(h)={(abc)|a=(b+c)/2}={(1/210)b+(1/201)c|b,c∈ℝ}

The map’s rank is the range’s dimension, 2⁠. The map is not onto because the range space is not all of the codomain.

(iii) Setting a=b=c=0 in the calculation gives infinitely many solutions. Parametrizing using the free variable z leads to this description of the nullspace.

𝒩(h)={(xyz)|y=−3z and x=(5/2)z}={(5/2−31)z|z∈ℝ}

The nullity is the dimension of that null space, 1⁠. The map is not one-to-one because the null space is not trivial.

(c)

(i) The domain has dimension m=2 while the codomain has dimension n=3⁠. Here is the calculation.

(11a21b31c)⟶−3ρ1+ρ3−2ρ1+ρ2⟶−2ρ2+ρ3⟶−ρ2⟶−ρ2+ρ1(10−a+b012a−b00a−2b+c)

(ii) The range is this subspace of the codomain.

ℛ(h)={(2b−cbc)|b,c∈ℝ}={(210)b+(−101)c|b,c∈ℝ}

The rank is 2⁠. The map is not onto.

(iii) The null space is the trivial subspace of the domain.

𝒩(h)={(xy)=(00)}

The nullity is 0⁠. The map is one-to-one.

Three.III.2.23 §III.2 source ↗

Use the method from the prior exercise on this matrix.

(10−1210222)

Answer

Here is the Gauss-Jordan reduction.

(10−1a210b222c)⟶−2ρ1+ρ3−2ρ1+ρ2(10−1a012−2a+b024−2a+c)⟶−2ρ2+ρ3(10−1a012−2a+b0002a−2b+c)

(i) The dimensions are m=n=3⁠. (ii) The range space is the set containing all of the members of the codomain for which this system has a solution.

ℛ(h)={(b−(1/2)cbc)|b,c∈ℝ}

The rank is 2. Because the rank is less than the dimension n=3 of the codomain, the map is not onto.

(iii) The null space is the set of members of the domain that map to a=0⁠, b=0⁠, and c=0⁠.

𝒩(h)={(z−2zz)|z∈ℝ}

The nullity is 1⁠. Because the nullity is not 0 the map is not one-to-one.

Three.III.2.24 §III.2 source ↗

Verify that the map represented by this matrix is an isomorphism.

(210311721)

Answer

For any map represented by this matrix, the domain and codomain are each of dimension 3⁠. To show that the map is an isomorphism, we must show it is both onto and one-to-one. For that we don’t need to augment the matrix with a⁠, b⁠, and c⁠; this calculation

(210311721)⟶−(7/2)ρ1+ρ3−(3/2)ρ1+ρ2⟶−3ρ2+ρ3⟶−2ρ2−(1/2)ρ3(1/2)ρ1⟶2ρ3+ρ2⟶−(1/2)ρ2+ρ1(100010001)

gives that for each codomain vector there is one and only one associated domain vector.

Three.III.2.25 §III.2 source ↗

This is an alternative proof of Lemma 2.9. Given an n×n matrix H⁠, fix a domain V and codomain W of appropriate dimension n⁠, and bases B,D for those spaces, and consider the map h represented by the matrix.

(a)

Show that h is onto if and only if there is at least one RepB⁡(v→) associated by H with each RepD⁡(w→)⁠.

(b)

Show that h is one-to-one if and only if there is at most one RepB⁡(v→) associated by H with each RepD⁡(w→)⁠.

(c)

Consider the linear system H⋅RepB⁡(v→)=RepD⁡(w→)⁠. Show that H is nonsingular if and only if there is exactly one solution RepB⁡(v→) for each RepD⁡(w→)⁠.

Answer (3 parts)

(a)

The defined map h is onto if and only if for every w→∈W there is a v→∈V such that h(v→)=w→⁠. Since for every vector there is exactly one representation, converting to representations gives that h is onto if and only if for every representation RepD⁡(w→) there is a representation RepB⁡(v→) such that H⋅RepB⁡(v→)=RepD⁡(w→)⁠.

(b)

This is just like the prior part.

(c)

As described at the start of this subsection, by definition the map h defined by the matrix H associates this domain vector v→ with this codomain vector w→⁠.

RepB⁡(v→)=(v1⋮vn)RepD⁡(w→)=H⋅RepB⁡(v→)=(h1,1v1+⋯+h1,nvn⋮hm,1v1+⋯+hm,nvn)

Fix w→∈W and consider the linear system defined by the above equation.

h1,1v1+⋯+h1,nvn=w1h2,1v1+⋯+h2,nvn=w2⋮hn,1v1+⋯+hn,nvn=wn

(Again, here the wi are fixed and the vj are unknowns.) Now, H is nonsingular if and only if for all w1⁠, …, wn this system has a solution and the solution is unique. By the first two parts of this exercise this is true if and only if the map h is onto and one-to-one. This in turn is true if and only if h is an isomorphism.

Three.III.2.26 §III.2 source ↗

Because the rank of a matrix equals the rank of any map it represents, if one matrix represents two different maps H= RepB,D⁡(h)= RepBˆ,Dˆ⁡(hˆ) (where h,hˆ:V→W⁠) then the dimension of the range space of h equals the dimension of the range space of hˆ⁠. Must these equal-dimensional range spaces actually be the same?

Answer

No, the range spaces may differ. Example 2.3 shows this.

Three.III.2.27 §III.2 source ↗

Let V be an n⁠-dimensional space with bases B and D⁠. Consider a map that sends, for v→∈V⁠, the column vector representing v→ with respect to B to the column vector representing v→ with respect to D⁠. Show that map is a linear transformation of ℝn⁠.

Answer

Recall that the representation map

V⟼RepBℝn

is an isomorphism. Thus, its inverse map RepB−1:ℝn→V is also an isomorphism. The desired transformation of ℝn is then this composition.

ℝn⟼RepB−1V⟼RepDℝn

Because a composition of isomorphisms is also an isomorphism, this map RepD∘RepB−1 is an isomorphism.

Three.III.2.28 §III.2 source ↗

Example 2.3 shows that changing the pair of bases can change the map that a matrix represents, even though the domain and codomain remain the same. Could the map ever not change? Is there a matrix H⁠, vector spaces V and W⁠, and associated pairs of bases B1,D1 and B2,D2 (with B1≠B2 or D1≠D2 or both) such that the map represented by H with respect to B1,D1 equals the map represented by H with respect to B2,D2⁠?

Answer

Yes. Consider

H=(1001)

representing a map from ℝ2 to ℝ2⁠. With respect to the standard bases B1=ℰ2,D1=ℰ2 this matrix represents the identity map. With respect to

B2=D2=⟨(11),(1−1)⟩

this matrix again represents the identity. In fact, as long as the starting and ending bases are equal — as long as Bi=Di — then the map represented by H is the identity.

Three.III.2.29 §III.2 source ↗

A square matrix is a diagonal matrix if it is all zeroes except possibly for the entries on its upper-left to lower-right diagonal — its 1,1 entry, its 2,2 entry, etc. Show that a linear map is an isomorphism if there are bases such that, with respect to those bases, the map is represented by a diagonal matrix with no zeroes on the diagonal.

Answer

This is immediate from Lemma 2.9.

Three.III.2.30 §III.2 source ↗

Describe geometrically the action on ℝ2 of the map represented with respect to the standard bases ℰ2,ℰ2 by this matrix.

(3002)

Do the same for these.

(1000)(0110)(1301)

Answer

The first map

(xy)=(xy)ℰ2↦(3x2y)ℰ2=(3x2y)

stretches vectors by a factor of three in the x⁠ direction and by a factor of two in the y⁠ direction. The second map

(xy)=(xy)ℰ2↦(x0)ℰ2=(x0)

projects vectors onto the x⁠ axis. The third

(xy)=(xy)ℰ2↦(yx)ℰ2=(yx)

interchanges first and second components (that is, it is a reflection about the line y=x⁠). The last

(xy)=(xy)ℰ2↦(x+3yy)ℰ2=(x+3yy)

stretches vectors parallel to the y⁠ axis, by an amount equal to three times their distance from that axis (this is a skew.)

Three.III.2.31 §III.2 source ↗

The fact that for any linear map the rank plus the nullity equals the dimension of the domain shows that a necessary condition for the existence of a homomorphism between two spaces, onto the second space, is that there be no gain in dimension. That is, where h:V→W is onto, the dimension of W must be less than or equal to the dimension of V⁠.

(a)

Show that this (strong) converse holds: no gain in dimension implies that there is a homomorphism and, further, any matrix with the correct size and correct rank represents such a map.

(b)

Are there bases for ℝ3 such that this matrix

H=(100200010)

represents a map from ℝ3 to ℝ3 whose range is the xy⁠ plane subspace of ℝ3⁠?

Answer (2 parts)

(a)

This is immediate from Theorem 2.4.

(b)

Yes. This is immediate from the prior item.

To give a specific example, we can start with ℰ3 as the basis for the domain, and then we require a basis D for the codomain ℝ3⁠. The matrix H gives the action of the map as this

(100)=(100)ℰ3↦(120)D(010)=(010)ℰ3↦(001)D(001)=(001)ℰ3↦(000)D

and there is no harm in finding a basis D so that

RepD⁡((100))=(120)DandRepD⁡((010))=(001)D

that is, so that the map represented by H with respect to ℰ3,D is projection down onto the xy⁠ plane. The second condition gives that the third member of D is e→2⁠. The first condition gives that the first member of D plus twice the second equals e→1⁠, and so this basis will do.

D=⟨(201),(−1/20−1/2),(010)⟩

Three.III.2.32 §III.2 source ↗

Let V be an n⁠-dimensional space and suppose that x→∈ℝn⁠. Fix a basis B for V and consider the map hx→:V→ℝ given v→↦x→∙RepB⁡(v→) by the dot product.

(a)

Show that this map is linear.

(b)

Show that for any linear map g:V→ℝ there is an x→∈ℝn such that g=hx→⁠.

(c)

In the prior item we fixed the basis and varied the x→ to get all possible linear maps. Can we get all possible linear maps by fixing an x→ and varying the basis?

Answer (3 parts)

(a)

Recall that the representation map RepB:V→ℝn is linear (it is actually an isomorphism, but we do not need that it is one-to-one or onto here). Considering the column vector x to be a n×1 matrix gives that the map from ℝn to ℝ that takes a column vector to its dot product with x→ is linear (this is a matrix-vector product and so Theorem 2.2 applies). Thus the map under consideration hx→ is linear because it is the composition of two linear maps.

v→↦RepB⁡(v→)↦x→⋅RepB⁡(v→)

(b)

Any linear map g:V→ℝ is represented by some matrix

(g1g2⋯gn)

(the matrix has n columns because V is n⁠-dimensional and it has only one row because ℝ is one-dimensional). Then taking x→ to be the column vector that is the transpose of this matrix

x→=(g1⋮gn)

has the desired action.

v→=(v1⋮vn)↦(g1⋮gn)∙(v1⋮vn)=g1v1+⋯+gnvn

(c)

No. If x→ has any nonzero entries then hx→ cannot be the zero map (and if x→ is the zero vector then hx→ can only be the zero map).

Three.III.2.33 §III.2 source ↗

Let V,W,X be vector spaces with bases B,C,D⁠.

(a)

Suppose that h:V→W is represented with respect to B,C by the matrix H⁠. Give the matrix representing the scalar multiple rh (where r∈ℝ⁠) with respect to B,C by expressing it in terms of H⁠.

(b)

Suppose that h,g:V→W are represented with respect to B,C by H and G⁠. Give the matrix representing h+g with respect to B,C by expressing it in terms of H and G⁠.

(c)

Suppose that h:V→W is represented with respect to B,C by H and g:W→X is represented with respect to C,D by G⁠. Give the matrix representing g∘h with respect to B,D by expressing it in terms of H and G⁠.

Answer

See the following section.

Three.IV.1.8 §IV.1 source ↗

Perform the indicated operations, if defined, or state “not defined.”

(a)

(5−12611)+(214305)

(b)

6⋅(2−1−1123)

(c)

(2103)+(2103)

(d)

4(123−1)+5(−14−21)

(e)

3(2130)+2(114305)

Answer (5 parts)

(a)

(706916)

(b)

(12−6−661218)

(c)

(4206)

(d)

(−12821)

(e)

Not defined.

Three.IV.1.9 §IV.1 source ↗

Give the matrix representing the zero map from ℝ4 to ℝ2⁠, with respect to the standard bases.

Answer

The bases don’t matter. The only thing that matters is getting the dimensions right.

(00000000)

Three.IV.1.10 §IV.1 source ↗

Prove Theorem 1.4.

(a)

Prove that matrix addition represents addition of linear maps.

(b)

Prove that matrix scalar multiplication represents scalar multiplication of linear maps.

Answer (3 parts)

Represent the domain vector v→∈V and the maps g,h:V→W with respect to bases B,D in the usual way.

(a)

The representation of (g+h)(v→)=g(v→)+h(v→)

((g1,1v1+⋯+g1,nvn)δ→1+⋯+(gm,1v1+⋯+gm,nvn)δ→m)+((h1,1v1+⋯+h1,nvn)δ→1+⋯+(hm,1v1+⋯+hm,nvn)δ→m)

regroups

=((g1,1+h1,1)v1+⋯+(g1,1+h1,n)vn)⋅δ→1+⋯+((gm,1+hm,1)v1+⋯+(gm,n+hm,n)vn)⋅δ→m

to the entry-by-entry sum of the representation of g(v→) and the representation of h(v→)⁠.

(b)

The representation of (r⋅h)(v→)=r⋅(h(v→))

r⋅((h1,1v1+h1,2v2+⋯+h1,nvn)δ→1+⋯+(hm,1v1+hm,2v2+⋯+hm,nvn)δ→m)=(rh1,1v1+⋯+rh1,nvn)⋅δ→1+⋯+(rhm,1v1+⋯+rhm,nvn)⋅δ→m

is the entry-by-entry multiple of r and the representation of h⁠.

Three.IV.1.11 §IV.1 source ↗

Prove each, assuming that the operations are defined, where G⁠, H⁠, and J are matrices, where Z is the zero matrix, and where r and s are scalars.

(a)

Matrix addition is commutative G+H=H+G⁠.

(b)

Matrix addition is associative G+(H+J)=(G+H)+J⁠.

(c)

The zero matrix is an additive identity G+Z=G⁠.

(d)

0⋅G=Z

(e)

(r+s)G=rG+sG

(f)

Matrices have an additive inverse G+(−1)⋅G=Z⁠.

(g)

r(G+H)=rG+rH

(h)

(rs)G=r(sG)

Answer (9 parts)

First, each of these properties is easy to check in an entry-by-entry way. For example, writing

G=(g1,1…g1,n⋮⋮gm,1…gm,n)H=(h1,1…h1,n⋮⋮hm,1…hm,n)

then, by definition we have

G+H=(g1,1+h1,1…g1,n+h1,n⋮⋮gm,1+hm,1…gm,n+hm,n)

and

H+G=(h1,1+g1,1…h1,n+g1,n⋮⋮hm,1+gm,1…hm,n+gm,n)

and the two are equal since their entries are equal gi,j+hi,j=hi,j+gi,j⁠. That is, each of these is easy to check by using Definition 1.3 alone.

However, each property is also easy to understand in terms of the represented maps, by applying Theorem 1.4 as well as the definition.

(a)

The two maps g+h and h+g are equal because g(v→)+h(v→)=h(v→)+g(v→)⁠, as addition is commutative in any vector space. Because the maps are the same, they must have the same representative.

(b)

As with the prior answer, except that here we apply that vector space addition is associative.

(c)

As before, except that here we note that g(v→)+ z(v→)= g(v→)+ 0→= g(v→)⁠.

(d)

Apply that 0⋅g(v→)=0→=z(v→)⁠.

(e)

Apply that (r+s)⋅g(v→)= r⋅g(v→)+ s⋅g(v→)⁠.

(f)

Apply the prior two items with r=1 and s=−1⁠.

(g)

Apply that r⋅(g(v→)+h(v→))= r⋅g(v→)+ r⋅h(v→)⁠.

(h)

Apply that (rs)⋅g(v→)=r⋅(s⋅g(v→))⁠.

Three.IV.1.12 §IV.1 source ↗

Fix domain and codomain spaces. In general, one matrix can represent many different maps with respect to different bases. However, prove that a zero matrix represents only a zero map. Are there other such matrices?

Answer

For any V,W with bases B,D⁠, the (appropriately-sized) zero matrix represents this map.

β→1↦0⋅δ→1+⋯+0⋅δ→m⋯β→n↦0⋅δ→1+⋯+0⋅δ→m

This is the zero map.

There are no other matrices that represent only one map. For, suppose that H is not the zero matrix. Then it has a nonzero entry; assume that hi,j≠0⁠. With respect to bases B,D⁠, it represents h1:V→W sending

β→j↦h1,jδ→1+⋯+hi,jδ→i+⋯+hm,jδ→m

and with respect to B,2⋅D it also represents h2:V→W sending

β→j↦h1,j⋅(2δ→1)+⋯+hi,j⋅(2δ→i)+⋯+hm,j⋅(2δ→m)

(the notation 2⋅D means to double all of the members of D). These maps are easily seen to be unequal.

Three.IV.1.13 §IV.1 source ↗

Let V and W be vector spaces of dimensions n and m⁠. Show that the space ℒ(V,W) of linear maps from V to W is isomorphic to ℳm×n⁠.

Answer

Fix bases B and D for V and W⁠, and consider RepB,D:ℒ(V,W)→ℳm×n associating each linear map with the matrix representing that map h↦RepB,D⁡(h)⁠. From the prior section we know that (under fixed bases) the matrices correspond to linear maps, so the representation map is one-to-one and onto. That it preserves linear operations is Theorem 1.4.

Three.IV.1.14 §IV.1 source ↗

Show that it follows from the prior question that for any six transformations t1,…,t6:ℝ2→ℝ2 there are scalars c1,…,c6∈ℝ such that not every ci equals 0 but c1t1+⋯+c6t6 is the zero map. (Hint: the six is slightly misleading.)

Answer

Fix bases and represent the transformations with 2×2 matrices. The space of matrices ℳ2×2 has dimension four, and hence any six-element set is linearly dependent. By the prior exercise that extends to a dependence of maps. (The misleading part is only that there are six transformations, not five, so that we have more than we need to give the existence of the dependence.)

Three.IV.1.15 §IV.1 source ↗

The trace of a square matrix is the sum of the entries on the main diagonal (the 1,1 entry plus the 2,2 entry, etc.; we will see the significance of the trace in Chapter Five). Show that trace(H+G)= trace(H)+ trace(G)⁠. Is there a similar result for scalar multiplication?

Answer

That the trace of a sum is the sum of the traces holds because both trace(H+G) and trace(H)+trace(G) are the sum of h1,1+g1,1 with h2,2+g2,2⁠, etc. For scalar multiplication we have trace(r⋅H)=r⋅trace(H)⁠; the proof is easy. Thus the trace map is a homomorphism from ℳn×n to ℝ⁠.

Three.IV.1.16 §IV.1 source ↗

Recall that the transpose of a matrix M is another matrix, whose i,j entry is the j,i entry of M⁠. Verify these identities.

(a)

(G+H)𝖳=G𝖳+H𝖳

(b)

(r⋅H)𝖳=r⋅H𝖳

Answer (2 parts)

(a)

The i,j entry of (G+H)𝖳 is gj,i+hj,i⁠. That is also the i,j entry of G𝖳+H𝖳⁠.

(b)

The i,j entry of (r⋅H)𝖳 is rhj,i⁠, which is also the i,j entry of r⋅H𝖳⁠.

Three.IV.1.17 §IV.1 source ↗

A square matrix is symmetric if each i,j entry equals the j,i entry, that is, if the matrix equals its transpose.

(a)

Prove that for any square H⁠, the matrix H+H𝖳 is symmetric. Does every symmetric matrix have this form?

(b)

Prove that the set of n×n symmetric matrices is a subspace of ℳn×n⁠.

Answer (2 parts)

(a)

For H+H𝖳⁠, the i,j entry is hi,j+hj,i and the j,i entry of is hj,i+hi,j⁠. The two are equal and thus H+H𝖳 is symmetric.

Every symmetric matrix does have that form, since we can write H=(1/2)⋅(H+H𝖳)⁠.

(b)

The set of symmetric matrices is nonempty as it contains the zero matrix. Clearly a scalar multiple of a symmetric matrix is symmetric. A sum H+G of two symmetric matrices is symmetric because hi,j+gi,j=hj,i+gj,i (since hi,j=hj,i and gi,j=gj,i⁠). Thus the subset is nonempty and closed under the inherited operations, and so it is a subspace.

Three.IV.1.18 §IV.1 source ↗

(a)

How does matrix rank interact with scalar multiplication — can a scalar product of a rank n matrix have rank less than n⁠? Greater?

(b)

How does matrix rank interact with matrix addition — can a sum of rank n matrices have rank less than n⁠? Greater?

Answer (2 parts)

(a)

Scalar multiplication leaves the rank of a matrix unchanged except that multiplication by zero leaves the matrix with rank zero. (This follows from the first theorem of the book, that multiplying a row by a nonzero scalar doesn’t change the solution set of the associated linear system.)

(b)

A sum of rank n matrices can have rank less than n⁠. For instance, for any matrix H⁠, the sum H+(−1)⋅H has rank zero.

A sum of rank n matrices can have rank greater than n⁠. Here are rank one matrices that sum to a rank two matrix.

(1000)+(0001)=(1001)

Three.IV.2.14 §IV.2 source ↗

Compute, or state “not defined”.

(a)

(31−42)(0500.5)

(b)

(11−1403)(2−1−1311311)

(c)

(2−774)(105−111384)

(d)

(5231)(−123−5)

Answer (4 parts)

(a)

(015.50−19)

(b)

(2−1−117−1−1)

(c)

Not defined.

(d)

(1001)

Three.IV.2.15 §IV.2 source ↗

Where

A=(1−120)B=(5244)C=(−23−41)

compute or state “not defined.”

(a)

AB

(b)

(AB)C

(c)

BC

(d)

A(BC)

Answer (4 parts)

(a)

(1−2104)

(b)

(1−2104)(−23−41)= (61−3634)

(c)

(−1817−2416)

(d)

(1−120)(−1817−2416)= (61−3634)

Three.IV.2.16 §IV.2 source ↗

Which products are defined?

(a)

3×2⁠ times 2×3

(b)

2×3⁠ times 3×2

(c)

2×2⁠ times 3×3

(d)

3×3⁠ times 2×2

Answer (4 parts)

(a)

Yes.

(b)

Yes.

(c)

No.

(d)

No.

Three.IV.2.17 §IV.2 source ↗

Give the size of the product or state “not defined”.

(a)

a 2×3 matrix times a 3×1 matrix

(b)

a 1×12 matrix times a 12×1 matrix

(c)

a 2×3 matrix times a 2×1 matrix

(d)

a 2×2 matrix times a 2×2 matrix

Answer (4 parts)

(a)

2×1

(b)

1×1

(c)

Not defined.

(d)

2×2

Three.IV.2.18 §IV.2 source ↗

Find the system of equations resulting from starting with

h1,1x1+h1,2x2+h1,3x3=d1h2,1x1+h2,2x2+h2,3x3=d2

and making this change of variable (i.e., substitution).

x1=g1,1y1+g1,2y2x2=g2,1y1+g2,2y2x3=g3,1y1+g3,2y2

Answer

We have

h1,1⋅(g1,1y1+g1,2y2)+h1,2⋅(g2,1y1+g2,2y2)+h1,3⋅(g3,1y1+g3,2y2)=d1h2,1⋅(g1,1y1+g1,2y2)+h2,2⋅(g2,1y1+g2,2y2)+h2,3⋅(g3,1y1+g3,2y2)=d2

which, after expanding and regrouping about the y⁠’s yields this.

(h1,1g1,1+h1,2g2,1+h1,3g3,1)y1+(h1,1g1,2+h1,2g2,2+h1,3g3,2)y2=d1(h2,1g1,1+h2,2g2,1+h2,3g3,1)y1+(h2,1g1,2+h2,2g2,2+h2,3g3,2)y2=d2

We can express the starting system and the system used for the substitutions in matrix language, as

(h1,1h1,2h1,3h2,1h2,2h2,3)(x1x2x3)=H(x1x2x3)=(d1d2)

and

(g1,1g1,2g2,1g2,2g3,1g3,2)(y1y2)=G(y1y2)=(x1x2x3)

and with this, the substitution is d→=Hx→=H(Gy→)=(HG)y→⁠.

Three.IV.2.19 §IV.2 source ↗

Consider the two linear functions h:ℝ3→𝒫2 and g:𝒫2→ℳ2×2 given as here.

(abc)↦(a+b)x2+(2a+2b)x+cpx2+qx+r↦(pp−2qq0)

Use these bases for the spaces.

B=⟨(111),(011),(001)⟩C=⟨1+x,1−x,x2⟩D=⟨(1000),(0200),(0030),(0004)⟩

(a)

Give the formula for the composition map g∘h:ℝ3→ℳ2×2 derived directly from the above definition.

(b)

Represent h and g with respect to the appropriate bases.

(c)

Represent the map g∘h computed in the first part with respect to the appropriate bases.

(d)

Check that the product of the two matrices from the second part is the matrix from the third part.

Answer (4 parts)

(a)

Following the definitions gives this.

(abc)↦(a+b)x2+(2a+2b)x+c↦(a+b(a+b)−2(2a+2b)2a+2b0)=(a+b−3a−3b2a+2b0)

(b)

Because

(111)↦2x2+4x+1(011)↦x2+2x+1(001)↦0x2+0x+1

we get this representation for h⁠.

RepB,C⁡(h)=(5/23/21/2−3/2−1/21/2210)

Similarly, because

1+x↦(0−210)1−x↦(02−10)x2↦(1100)

this is the representation of g⁠.

RepC,D⁡(g)=(001−111/21/3−1/30000)

(c)

The action of g∘h on the domain basis is this.

(111)↦(2−640)(011)↦(1−320)(001)↦(0000)

We have this.

RepB,D⁡(g∘h)=(210−3−3/204/32/30000)

(d)

The matrix multiplication is routine, just take care with the order.

(001−111/21/3−1/30000)(5/23/21/2−3/2−1/21/2210)=(210−3−3/204/32/30000)

Three.IV.2.20 §IV.2 source ↗

As Definition 2.3 points out, the matrix product operation generalizes the dot product. Is the dot product of a 1×n row vector and a n×1 column vector the same as their matrix-multiplicative product?

Answer

Technically, no. The dot product operation yields a scalar while the matrix product yields a 1×1 matrix. However, we usually will ignore the distinction.

Three.IV.2.21 §IV.2 source ↗

Represent the derivative map on 𝒫n with respect to B,B where B is the natural basis ⟨1,x,…,xn⟩⁠. Show that the product of this matrix with itself is defined; what map does it represent?

Answer

The action of d/dx on B is 1↦0⁠, x↦1⁠, x2↦2x⁠, … and so this is its (n+1)×(n+1) matrix representation.

RepB,B⁡(ddx)=(01000020⋱000n0000)

The product of this matrix with itself is defined because the matrix is square.

(01000020⋱000n0000)2=(0020000060⋱000n(n−1)00000000)

The map so represented is the composition

p⟼ddxdpdx⟼ddxd2pdx2

which is the second derivative operation.

Three.IV.2.22 §IV.2 source ↗

[Cleary] Match each type of matrix with all these descriptions that could fit, say ‘None’ if it applies: (i) can be multiplied by its transpose to make a 1×1 matrix, (ii) can represent a linear map from ℝ3 to ℝ2 that is not onto, (iii) can represent an isomorphism from ℝ3 to 𝒫2⁠.

(a)

a 2×3 matrix whose rank is 1

(b)

a 3×3 matrix that is nonsingular

(c)

a 2×2 matrix that is singular

(d)

an n×1 column vector

Answer (4 parts)

(a)

ii

(b)

iii

(c)

None

(d)

None, or (i) if we include multiplication from the left.

Three.IV.2.23 §IV.2 source ↗

Matrix multiplication is associative, (AB)C=A(BC)⁠. But computing them may take different times. Let A be 3×2⁠, B be 2×3⁠, and C be 3×1⁠. How many multiplications does (AB)C take? A(BC)⁠?

Answer

The matrix AB is 3×3⁠, and each entry takes 2 multiplications, for a total of 18⁠. The matrix (AB)C is 3×1 and each entry needs 3 multiplications, so that is 9⁠. Overall there are 27⁠.

For the other calculation, the matrix BC is 2×1 and each entry takes 3 products, for a total of 6⁠. Then A(BC) is 3×1 and each entry uses 2 products, for a total of 6⁠. Overall here, there are 12 products.

Three.IV.2.24 §IV.2 source ↗

Show that composition of linear transformations on ℝ1 is commutative. Is this true for any one-dimensional space?

Answer

It is true for all one-dimensional spaces. Let f and g be transformations of a one-dimensional space. We must show that g∘f(v→)=f∘g(v→) for all vectors. Fix a basis B for the space and then the transformations are represented by 1×1 matrices.

F=RepB,B⁡(f)=(f1,1)G=RepB,B⁡(g)=(g1,1)

Therefore, the compositions can be represented as GF and FG⁠.

GF=RepB,B⁡(g∘f)=(g1,1f1,1)FG=RepB,B⁡(f∘g)=(f1,1g1,1)

These two matrices are equal and so the compositions have the same effect on each vector in the space.

Three.IV.2.25 §IV.2 source ↗

Why is matrix multiplication not defined as entry-wise multiplication? That would be easier, and commutative too.

Answer

It would not represent linear map composition; Theorem 2.7 would fail.

Three.IV.2.26 §IV.2 source ↗

(a)

Prove that HpHq=Hp+q and (Hp)q=Hpq for positive integers p,q⁠.

(b)

Prove that (rH)p=rp⋅Hp for any positive integer p and scalar r∈ℝ⁠.

Answer

Each follows easily from the associated map fact. For instance, p applications of the transformation h⁠, following q applications, is simply p+q applications.

Three.IV.2.27 §IV.2 source ↗

(a)

How does matrix multiplication interact with scalar multiplication: is r(GH)=(rG)H⁠? Is G(rH)=r(GH)⁠?

(b)

How does matrix multiplication interact with linear combinations: is F(rG+sH)=r(FG)+s(FH)⁠? Is (rF+sG)H=rFH+sGH⁠?

Answer (3 parts)

Although we can do these by going through the indices, they are best understood in terms of the represented maps. That is, fix spaces and bases so that the matrices represent linear maps f,g,h⁠.

(a)

Yes; we have both r⋅(g∘h)(v→)= r⋅g(h(v→))= (r⋅g)∘h(v→) and g∘(r⋅h)(v→)= g(r⋅h(v→))= r⋅g(h(v→))= r⋅(g∘h)(v→) (the second equality holds because of the linearity of g⁠).

(b)

Both answers are yes. First, f∘(rg+sh) and r⋅(f∘g)+s⋅(f∘h) both send v→ to r⋅f(g(v→))+s⋅f(h(v→))⁠; the calculation is as in the prior item (using the linearity of f for the first one). For the other, (rf+sg)∘h and r⋅(f∘h)+s⋅(g∘h) both send v→ to r⋅f(h(v→))+s⋅g(h(v→))⁠.

Three.IV.2.28 §IV.2 source ↗

We can ask how the matrix product operation interacts with the transpose operation.

(a)

Show that (GH)𝖳=H𝖳G𝖳⁠.

(b)

A square matrix is symmetric if each i,j entry equals the j,i entry, that is, if the matrix equals its own transpose. Show that the matrices HH𝖳 and H𝖳H are symmetric.

Answer (3 parts)

We have not seen a map interpretation of the transpose operation, so we will verify these by considering the entries.

(a)

The i,j entry of GH𝖳 is the j,i entry of GH⁠, which is the dot product of the j⁠-th row of G and the i⁠-th column of H⁠. The i,j entry of H𝖳G𝖳 is the dot product of the i⁠-th row of H𝖳 and the j⁠-th column of G𝖳⁠, which is the dot product of the i⁠-th column of H and the j⁠-th row of G⁠. Dot product is commutative and so these two are equal.

(b)

By the prior item each equals its transpose, e.g., (HH𝖳)𝖳=H𝖳𝖳H𝖳=HH𝖳⁠.

Three.IV.2.29 §IV.2 source ↗

Rotation of vectors in ℝ3 about an axis is a linear map. Show that linear maps do not commute by showing geometrically that rotations do not commute.

Answer

Consider rx,ry:ℝ3→ℝ3 rotating all vectors π/2⁠ radians counterclockwise about the x and y⁠ axes (counterclockwise in the sense that a person whose head is at e→1 or e→2 and whose feet are at the origin sees, when looking toward the origin, the rotation as counterclockwise).

Rotating rx first and then ry is different than rotating ry first and then rx⁠. In particular, rx(e→3)=−e→2 so ry∘rx(e→3)=−e→2⁠, while ry(e→3)=e→1 so rx∘ry(e→3)=e→1⁠, and hence the maps do not commute.

Three.IV.2.30 §IV.2 source ↗

In the proof of Theorem 2.12 we used some maps. What are the domains and codomains?

Answer

It doesn’t matter (as long as the spaces have the appropriate dimensions).

For associativity, suppose that F is m×r⁠, that G is r×n⁠, and that H is n×k⁠. We can take any r⁠ dimensional space, any m⁠ dimensional space, any n⁠ dimensional space, and any k⁠ dimensional space — for instance, ℝr⁠, ℝm⁠, ℝn⁠, and ℝk will do. We can take any bases A⁠, B⁠, C⁠, and D⁠, for those spaces. Then, with respect to C,D the matrix H represents a linear map h⁠, with respect to B,C the matrix G represents a g⁠, and with respect to A,B the matrix F represents an f⁠. We can use those maps in the proof.

The second half is similar, except that we add G and H and so we must take them to represent maps with the same domain and codomain.

Three.IV.2.31 §IV.2 source ↗

How does matrix rank interact with matrix multiplication?

(a)

Can the product of rank n matrices have rank less than n⁠? Greater?

(b)

Show that the rank of the product of two matrices is less than or equal to the minimum of the rank of each factor.

Answer (2 parts)

(a)

The product of rank n matrices can have rank less than or equal to n but not greater than n⁠.

To see that the rank can fall, consider the maps πx,πy:ℝ2→ℝ2 projecting onto the axes. Each is rank one but their composition πx∘πy⁠, which is the zero map, is rank zero. That translates over to matrices representing those maps in this way.

Repℰ2,ℰ2⁡(πx)⋅Repℰ2,ℰ2⁡(πy)=(1000)(0001)=(0000)

To prove that the product of rank n matrices cannot have rank greater than n⁠, we can apply the map result that the image of a linearly dependent set is linearly dependent. That is, if h:V→W and g:W→X both have rank n then a set in the range ℛ(g∘h) of size larger than n is the image under g of a set in W of size larger than n and so is linearly dependent (since the rank of h is n⁠). Now, the image of a linearly dependent set is dependent, so any set of size larger than n in the range is dependent. (By the way, observe that the rank of g was not mentioned. See the next part.)

(b)

Fix spaces and bases and consider the associated linear maps f and g⁠. Recall that the dimension of the image of a map (the map’s rank) is less than or equal to the dimension of the domain, and consider the arrow diagram.

V⟼fℛ(f)⟼gℛ(g∘f)

First, the image of ℛ(f) must have dimension less than or equal to the dimension of ℛ(f)⁠, by the prior sentence. On the other hand, ℛ(f) is a subset of the domain of g⁠, and thus its image has dimension less than or equal the dimension of the domain of g⁠. Combining those two, the rank of a composition is less than or equal to the minimum of the two ranks.

The matrix fact follows immediately.

Three.IV.2.32 §IV.2 source ↗

Is ‘commutes with’ an equivalence relation among n×n matrices?

Answer

The ‘commutes with’ relation is reflexive and symmetric. However, it is not transitive: for instance, with

G=(1234)H=(1001)J=(5678)

G commutes with H and H commutes with J⁠, but G does not commute with J⁠.

Three.IV.2.33 §IV.2 source ↗

(We will use this exercise in the Matrix Inverses exercises.) Here is another property of matrix multiplication that might be puzzling at first sight.

(a)

Prove that the composition of the projections πx,πy:ℝ3→ℝ3 onto the x and y⁠ axes is the zero map despite that neither one is itself the zero map.

(b)

Prove that the composition of the derivatives d2/dx2,d3/dx3:𝒫4→𝒫4 is the zero map despite that neither is the zero map.

(c)

Give a matrix equation representing the first fact.

(d)

Give a matrix equation representing the second.

When two things multiply to give zero despite that neither is zero we say that each is a zero divisor.

Answer (4 parts)

(a)

Either of these.

(xyz)⟼πx(x00)⟼πy(000)(xyz)⟼πy(0y0)⟼πx(000)

(b)

The composition is the fifth derivative map d5/dx5 on the space of fourth-degree polynomials.

(c)

With respect to the natural bases,

Repℰ3,ℰ3⁡(πx)=(100000000)Repℰ3,ℰ3⁡(πy)=(000010000)

and their product (in either order) is the zero matrix.

(d)

Where B=⟨1,x,x2,x3,x4⟩⁠,

RepB,B⁡(d2dx2)=(00200000600000120000000000)RepB,B⁡(d3dx3)=(00060000024000000000000000)

and their product (in either order) is the zero matrix.

Three.IV.2.34 §IV.2 source ↗

Show that, for square matrices, (S+T)(S−T) need not equal S2−T2⁠.

Answer

Note that (S+T)(S−T)=S2−ST+TS−T2⁠, so a reasonable try is to look at matrices that do not commute so that −ST and TS don’t cancel: with

S=(1234)T=(5678)

we have the desired inequality.

(S+T)(S−T)=(−56−56−88−88)S2−T2=(−60−68−76−84)

Three.IV.2.35 §IV.2 source ↗

Represent the identity transformation id⁡:V→V with respect to B,B for any basis B⁠. This is the identity matrix I⁠. Show that this matrix plays the role in matrix multiplication that the number 1 plays in real number multiplication: HI=IH=H (for all matrices H for which the product is defined).

Answer

Because the identity map acts on the basis B as β→1↦β→1⁠, …, β→n↦β→n⁠, the representation is this.

(100001000010⋱0001)

The second part of the question is obvious from Theorem 2.7.

Three.IV.2.36 §IV.2 source ↗

(a)

Prove that for any 2×2 matrix T there are scalars c0,…,c4 that are not all 0 such that the combination c4T4+c3T3+c2T2+c1T+c0I is the zero matrix (where I is the 2×2 identity matrix, with 1⁠’s in its 1,1 and 2,2 entries and zeroes elsewhere; see Exercise 2.35).

(b)

Let p(x) be a polynomial p(x)=cnxn+⋯+c1x+c0⁠. If T is a square matrix we define p(T) to be the matrix cnTn+⋯+c1T+c0I (where I is the appropriately-sized identity matrix). Prove that for any square matrix there is a polynomial such that p(T) is the zero matrix.

(c)

The minimal polynomial m(x) of a square matrix is the polynomial of least degree, and with leading coefficient 1⁠, such that m(T) is the zero matrix. Find the minimal polynomial of this matrix.

(3/2−1/21/23/2)

(This is the representation with respect to ℰ2,ℰ2⁠, the standard basis, of a rotation through π/6⁠ radians counterclockwise.)

Answer (3 parts)

(a)

The vector space ℳ2×2 has dimension four. The set {T4,…,T,I} has five elements and thus is linearly dependent.

(b)

Where T is n×n⁠, generalizing the argument from the prior item shows that there is such a polynomial of degree n2 or less, since {Tn2,…,T,I} is a n2+1⁠-member subset of the n2⁠-dimensional space ℳn×n⁠.

(c)

First compute the powers

T2=(1/2−3/23/21/2)T3=(0−110)T4=(−1/2−3/23/2−1/2)

(observe that rotating by π/6 three times results in a rotation by π/2⁠, which is indeed what T3 represents). Then set c4T4+c3T3+c2T2+c1T+c0I equal to the zero matrix

(−1/2−3/23/2−1/2)c4+(0−110)c3+(1/2−3/23/21/2)c2+(3/2−1/21/23/2)c1+(1001)c0=(0000)

to get this linear system.

−(1/2)c4+(1/2)c2+(3/2)c1+c0=0−(3/2)c4−c3−(3/2)c2−(1/2)c1=0(3/2)c4+c3+(3/2)c2+(1/2)c1=0−(1/2)c4+(1/2)c2+(3/2)c1+c0=0

Apply Gaussian reduction.

⟶−ρ1+ρ4⟶ρ2+ρ3−(1/2)c4+(1/2)c2+(3/2)c1+c0=0−(3/2)c4−c3−(3/2)c2−(1/2)c1=00=00=0⟶−3ρ1+ρ2−(1/2)c4+(1/2)c2+(3/2)c1+c0=0−c3−3c2−2c1−3c0=00=00=0

Setting c4⁠, c3⁠, and c2 to zero makes c1 and c0 also come out to be zero so no degree one or degree zero polynomial will do. Setting c4 and c3 to zero (and c2 to one) gives a linear system

(1/2)+(3/2)c1+c0=0−3−2c1−3c0=0

with solution c1=−3 and c0=1⁠. Conclusion: the polynomial m(x)=x2−3x+1 is minimal for the matrix T⁠.

Three.IV.2.37 §IV.2 source ↗

The infinite-dimensional space 𝒫 of all finite-degree polynomials gives a memorable example of the non-commutativity of linear maps. Let d/dx:𝒫→𝒫 be the usual derivative and let s:𝒫→𝒫 be the shift map.

a0+a1x+⋯+anxn⟼s0+a0x+a1x2+⋯+anxn+1

Show that the two maps don’t commute d/dx∘s≠s∘d/dx⁠; in fact, not only is (d/dx∘s)−(s∘d/dx) not the zero map, it is the identity map.

Answer

The check is routine:

a0+a1x+⋯+anxn⟼sa0x+a1x2+⋯+anxn+1⟼d/dxa0+2a1x+⋯+(n+1)anxn

while

a0+a1x+⋯+anxn⟼d/dxa1+⋯+nanxn−1⟼sa1x+⋯+anxn

so that under the map (d/dx∘s)−(s∘d/dx) we have a0+ a1x+ ⋯+ anxn↦a0+ a1x+ ⋯+ anxn⁠.

Three.IV.2.38 §IV.2 source ↗

Recall the notation for the sum of the sequence of numbers a1,a2,…,an⁠.

∑i=1nai=a1+a2+⋯+an

In this notation, the i,j entry of the product of G and H is this.

pi,j=∑k=1rgi,khk,j

Using this notation,

(a)

reprove that matrix multiplication is associative;

(b)

reprove Theorem 2.7.

Answer (2 parts)

(a)

Tracing through the remark at the end of the subsection gives that the i,j entry of (FG)H is this

∑t=1s(∑k=1rfi,kgk,t)ht,j=∑t=1s∑k=1r(fi,kgk,t)ht,j=∑t=1s∑k=1rfi,k(gk,tht,j)=∑k=1r∑t=1sfi,k(gk,tht,j)=∑k=1rfi,k(∑t=1sgk,tht,j)

(the first equality comes from using the distributive law to multiply through the h⁠’s, the second equality is the associative law for real numbers, the third is the commutative law for reals, and the fourth equality follows on using the distributive law to factor the f⁠’s out), which is the i,j entry of F(GH)⁠.

(b)

The k⁠-th component of h(v→) is

∑j=1nhk,jvj

and so the i⁠-th component of g∘h(v→) is this

∑k=1rgi,k(∑j=1nhk,jvj)=∑k=1r∑j=1ngi,khk,jvj=∑k=1r∑j=1n(gi,khk,j)vj=∑j=1n∑k=1r(gi,khk,j)vj=∑j=1n(∑k=1rgi,khk,j)vj

(the first equality holds by using the distributive law to multiply the g⁠’s through, the second equality represents the use of associativity of reals, the third follows by commutativity of reals, and the fourth comes from using the distributive law to factor the v⁠’s out).

Three.IV.3.24 §IV.3 source ↗

Predict the result of each product with a permutation matrix and then check by multiplying it out.

(a)

(0110)(1234)

(b)

(1234)(0110)

(c)

(100001010)(123456789)

Answer (3 parts)

(a)

Acting from the left, the P1,2 matrix swaps the first and second rows. (3412)

(b)

Acting from the right, P1,2 swaps the first and second columns. (2143)

(c)

From the left, P2,3 swaps the second and third rows. (123789456)

Three.IV.3.25 §IV.3 source ↗

Predict the result of each multiplication by an elementary reduction matrix, and then check by multiplying it out.

(a)

(3001)(1234)

(b)

(1002)(1234)

(c)

(10−21)(1234)

(d)

(1234)(1−101)

(e)

(1234)(0110)

Answer (5 parts)

(a)

The second matrix has its first row multiplied by 3⁠.

(3634)

(b)

The second matrix has its second row multiplied by 2⁠.

(1268)

(c)

The second matrix undergoes the combination operation of replacing the second row with −2 times the first row added to the second.

(1210)

(d)

The first matrix undergoes the column operation of: replace the second column by −1 times the first column plus the second.

(1131)

(e)

The first matrix has its columns swapped.

(2143)

Three.IV.3.26 §IV.3 source ↗

Predict the result of each multiplication by a diagonal matrix, and then check by multiplying it out.

(a)

(−3000)(1234)

(b)

(4002)(1234)

Answer (2 parts)

(a)

The second matrix has its first row multiplied by −3 and its second row multiplied by 0⁠.

(−3−600)

(b)

The second matrix has its first row multiplied by 4 and its second row multiplied by 2⁠.

(4868)

Three.IV.3.27 §IV.3 source ↗

Produce each.

(a)

a 3×3 matrix that, acting from the left, swaps rows one and two

(b)

a 2×2 matrix that, acting from the right, swaps column one and two

Answer (2 parts)

(a)

This matrix swaps row one and row three.

(010100001)(abcdefghi)=(defabcghi)

(b)

This matrix swaps column one and two.

(abcd)(0110)=(badc)

Three.IV.3.28 §IV.3 source ↗

Show how to use matrix multiplication to bring this matrix to echelon form.

(1210231−17114−3)

Answer

Multiply by C1,2(−2)⁠, then by C1,3(−7)⁠, and then by C2,3(−3)⁠, paying attention to the right-to-left order.

(1000100−31)(100010−701)(100−210001)(1210231−17114−3)=(12100−1−1−10000)

Three.IV.3.29 §IV.3 source ↗

Find the product of this matrix with its transpose.

(cos⁡θ−sin⁡θsin⁡θcos⁡θ)

Answer

The product is the identity matrix (recall that cos2⁡θ+sin2⁡θ=1⁠). An explanation is that the given matrix represents, with respect to the standard bases, a rotation in ℝ2 of θ radians while the transpose represents a rotation of −θ radians. The two cancel.

Three.IV.3.30 §IV.3 source ↗

The need to take linear combinations of rows and columns in tables of numbers arises often in practice. For instance, this is a map of part of Vermont and New York.

In part because of Lake Champlain, there are no roads directly connecting some pairs of towns. For instance, there is no way to go from Winooski to Grand Isle without going through Colchester. (To simplify the graph many other roads and towns have been omitted. From top to bottom of this map is about forty miles.)

(a)

The adjacency matrix of a map is the square matrix whose i,j entry is the number of roads from city i to city j (all (i,i) entries are 0⁠). Produce the adjacency matrix of this map, taking the cities in alphabetical order.

(b)

A matrix is symmetric if it equals its transpose. Show that an adjacency matrix is symmetric. (These are all two-way streets. Vermont doesn’t have many one-way streets.)

(c)

What is the significance of the square of the adjacency matrix? The cube?

Answer (3 parts)

(a)

The adjacency matrix is this (e.g, the first row shows that there is only one connection including Burlington, the road to Winooski).

(0000100111010100110011000)

(b)

Because these are two-way roads, any road connecting city i to city j gives a connection between city j and city i⁠.

(c)

The square of the adjacency matrix tells how cities are connected by trips involving two roads.

Three.IV.3.31 §IV.3 source ↗

Remark. As with the prior exercise, this illustrates that in practice we often want to compute linear combinations of rows and columns in a context where we really aren’t interested in any associated linear maps. The table below gives the number of hours of each type done by each worker and the associated pay rates. Use matrices to compute the wages due.

regularovertime
Alan4012
Betty356
Catherine4018
Donald280
wage
regular$25.00
overtime$45.00

Answer

The pay due each person appears in the matrix product of the two arrays.

Three.IV.3.32 §IV.3 source ↗

Express this nonsingular matrix as a product of elementary reduction matrices.

T=(1202−10312)

Answer

The Gauss-Jordan reduction is routine.

(1202−10312)⟶−3ρ1+ρ3−2ρ1+ρ2⟶−ρ2+ρ3⟶(1/2)ρ3−(1/5)ρ2⟶−2ρ2+ρ1(100010001)

Thus we know elementary reduction matrices R1,…,R6 such that R6⋅R5⋯R1⋅T=I⁠. Move the matrices to the other side, paying attention to order. For instance, first multiply both sides from the left by R6−1 to get (R6−1R6)⋅R5⋯R1⋅T=R6−1I⁠, which simplifies to R5⋯R1⋅T=R6−1⁠, etc.

T=(100−210001)−1(100010−301)−1(1000100−11)−1⋅(1000−1/50001)−1(100010001/2)−1(1−20010001)−1

Taking the inverse of an elementary reduction matrix is easy. For instance, to undo adding k times row i to row j⁠, you should take −k times row i and add it to row j⁠. With that, Lemma 3.20 says that Ci,j(k)−1=Ci,j(−k)⁠.

=(100210001)(100010301)(100010011)(1000−50001)(100010002)(120010001)

Three.IV.3.33 §IV.3 source ↗

Express

(10−33)

as the product of two elementary reduction matrices.

Answer

One way to produce this matrix from the identity is to use the column operations of first multiplying the second column by three, and then adding the negative of the resulting second column to the first.

(1001)⟶(1003)⟶(10−33)

In contrast with row operations, column operations are written from left to right, so this matrix product expresses doing the above two operations.

(1003)(10−11)

Remark. Alternatively, we could get the required matrix with row operations. Starting with the identity, first adding the negative of the first row to the second, and then multiplying the second row by three will work. Because we write successive row operations as matrix products from right to left, doing these two row operations is expressed with: the same matrix product.

Three.IV.3.34 §IV.3 source ↗

Prove that the diagonal matrices form a subspace of ℳn×n⁠. What is its dimension?

Answer

The set of diagonal matrices is nonempty as the zero matrix is diagonal. Clearly it is closed under scalar multiples and sums. Therefore it is a subspace. The dimension is n⁠; here is a basis.

{(10…00⋱000),…,(00…00⋱001)}

Three.IV.3.35 §IV.3 source ↗

Does the identity matrix represent the identity map if the bases are unequal?

Answer

No. In 𝒫1⁠, with respect to the unequal bases B=⟨1,x⟩ and D=⟨1+x,1−x⟩⁠, the identity transformation is represented by this matrix.

RepB,D⁡(id)=(1/21/21/2−1/2)B,D

Three.IV.3.36 §IV.3 source ↗

Show that every multiple of the identity commutes with every square matrix. Are there other matrices that commute with all square matrices?

Answer

For any scalar r and square matrix H we have (rI)H= r(IH)= rH= r(HI)= (Hr)I= H(rI)⁠.

There are no other such matrices; here is an argument for 2×2 matrices that is easily extended to n×n⁠. If a matrix commutes with all others then it commutes with this unit matrix.

(0a0c)=(abcd)(0100)=(0100)(abcd)=(cd00)

From this we first conclude that the upper left entry a must equal its lower right entry d⁠. We also conclude that the lower left entry c is zero. The argument for the upper right entry b is similar.

Three.IV.3.37 §IV.3 source ↗

Prove or disprove: nonsingular matrices commute.

Answer

It is false; these two don’t commute.

(1234)(5678)

Three.IV.3.38 §IV.3 source ↗

Show that the product of a permutation matrix and its transpose is an identity matrix.

Answer

A permutation matrix has a single one in each row and column, and all its other entries are zeroes. Fix such a matrix. Suppose that the i⁠-th row has its one in its j⁠-th column. Then no other row has its one in the j⁠-th column; every other row has a zero in the j⁠-th column. Thus the dot product of the i⁠-th row and any other row is zero.

The i⁠-th row of the product is made up of the dot products of the i⁠-th row of the matrix and the columns of the transpose. By the last paragraph, all such dot products are zero except for the i⁠-th one, which is one.

Three.IV.3.39 §IV.3 source ↗

Show that if the first and second rows of G are equal then so are the first and second rows of GH⁠. Generalize.

Answer

The generalization is to go from the first and second rows to the i1⁠-th and i2⁠-th rows. Row i of GH is made up of the dot products of row i of G and the columns of H⁠. Thus if rows i1 and i2 of G are equal then so are rows i1 and i2 of GH⁠.

Three.IV.3.40 §IV.3 source ↗

Describe the product of two diagonal matrices.

Answer

If the product of two diagonal matrices is defined — if both are n×n — then the product of the diagonals is the diagonal of the products: where G,H are equal-sized diagonal matrices, GH is all zeros except each that i,i entry is gi,ihi,i⁠.

Three.IV.3.41 §IV.3 source ↗

Show that if G has a row of zeros then GH (if defined) has a row of zeros. Does the analogous thing happen with columns?

Answer

The i⁠-th row of GH is made up o f the dot products of the i⁠-th row of G with the columns of H⁠. The dot product of a zero row with a column is zero.

It does happen with columns, if stated correctly: if H has a column of zeros then GH (if defined) has a column of zeros. The proof is easy.

Three.IV.3.42 §IV.3 source ↗

Show that the set of unit matrices forms a basis for ℳn×m⁠.

Answer

Perhaps the easiest way is to show that each n×m matrix is a linear combination of unit matrices in one and only one way:

c1(10…00⋮)+⋯+cn,m(00…⋮0…1)=(a1,1a1,2…⋮an,1…an,m)

has the unique solution c1=a1,1⁠, c2=a1,2⁠, etc.

Three.IV.3.43 §IV.3 source ↗

Find the formula for the n⁠-th power of this matrix.

(1110)

Answer

Call that matrix F⁠. We have

F2=(2111)F3=(3221)F4=(5332)

In general,

Fn=(fn+1fnfnfn−1)

where fi is the i⁠-th Fibonacci number fi=fi−1+fi−2 and f0=0⁠, f1=1⁠, which we verify by induction, based on this equation.

(fi−1fi−2fi−2fi−3)(1110)=(fifi−1fi−1fi−2)

Three.IV.3.44 §IV.3 source ↗

The trace of a square matrix is the sum of the entries on its diagonal (its significance appears in Chapter Five). Show that Tr⁡(GH)=Tr⁡(HG)⁠.

Answer

Chapter Five gives a less computational reason — the trace of a matrix is the second coefficient in its characteristic polynomial — but for now we can use indices. We have

Tr⁡(GH)=(g1,1h1,1+g1,2h2,1+⋯+g1,nhn,1)+(g2,1h1,2+g2,2h2,2+⋯+g2,nhn,2)+⋯+(gn,1h1,n+gn,2h2,n+⋯+gn,nhn,n)

while

Tr⁡(HG)=(h1,1g1,1+h1,2g2,1+⋯+h1,ngn,1)+(h2,1g1,2+h2,2g2,2+⋯+h2,ngn,2)+⋯+(hn,1g1,n+hn,2g2,n+⋯+hn,ngn,n)

and the two are equal.

Three.IV.3.45 §IV.3 source ↗

A square matrix is upper triangular if its only nonzero entries lie above, or on, the diagonal. Show that the product of two upper triangular matrices is upper triangular. Does this hold for lower triangular also?

Answer

A matrix is upper triangular if and only if its i,j entry is zero whenever i>j⁠. Thus, if G,H are upper triangular then hi,j and gi,j are zero when i>j⁠. An entry in the product pi,j= gi,1h1,j+ ⋯+ gi,nhn,j is zero unless at least some of the terms are nonzero, that is, unless for at least some of the summands gi,rhr,j both i≤r and r≤j⁠. Of course, if i>j this cannot happen and so the product of two upper triangular matrices is upper triangular. (A similar argument works for lower triangular matrices.)

Three.IV.3.46 §IV.3 source ↗

A square matrix is a Markov matrix if each entry is between zero and one and the sum along each row is one. Prove that a product of Markov matrices is Markov.

Answer

The sum along the i⁠-th row of the product is this.

pi,1+⋯+pi,n=(hi,1g1,1+hi,2g2,1+⋯+hi,ngn,1)+(hi,1g1,2+hi,2g2,2+⋯+hi,ngn,2)+⋯+(hi,1g1,n+hi,2g2,n+⋯+hi,ngn,n)=hi,1(g1,1+g1,2+⋯+g1,n)+hi,2(g2,1+g2,2+⋯+g2,n)+⋯+hi,n(gn,1+gn,2+⋯+gn,n)=hi,1⋅1+⋯+hi,n⋅1=1

Three.IV.3.47 §IV.3 source ↗

Give an example of two matrices of the same rank and size with squares of differing rank.

Answer

Fix a basis B=⟨β→1,β→2⟩⁠. Matrices representing the maps that send

β→1⟼hβ→1β→2⟼h0→

and

β→1⟼gβ→2β→2⟼g0→

will do. For instance, if for we use the standard basis then the two above give these matrices.

H=(1000)G=(0100)

Notice that H2 has rank 1 while G2 has rank 0⁠.

Three.IV.3.48 §IV.3 source ↗

Matrix multiplication is performed often on computers. Researchers trying to understand its performance, and improve on it, count the number of operations that it takes.

(a)

Definition 2.3 gives pi,j= gi,1h1,j+ gi,2h2,j+ ⋯+ gi,rhr,j⁠. How many real number multiplications are in that expression? Using it, how many do we need for the product of a m×r matrix and a r×n matrix?

(b)

Matrix multiplication is associative, so in computing H1H2H3H4 we can expect to get the same answer no matter where we put the parentheses. The cost in number of multiplications, however, varies. Find the association requiring the fewest real number multiplications to compute the matrix product of a 5×10 matrix, a 10×20 matrix, a 20×5 matrix, and a 5×1 matrix. Use the same formula as in the prior part.

(c)

(Very hard.) Find a way to multiply two 2×2 matrices using only seven multiplications instead of the eight suggested by the prior approach.

Answer (3 parts)

(a)

Each entry pi,j= gi,1h1,j+ ⋯+ g1,rhr,1 takes r multiplications and there are m⋅n entries. Thus there are m⋅n⋅r multiplications.

(b)

Let H1 be 5×10⁠, let H2 be 10×20⁠, let H3 be 20×5⁠, let H4 be 5×1⁠. Then

this associationuses this many multiplications
((H1H2)H3)H41000+500+25=1525
(H1(H2H3))H41000+250+25=1275
(H1H2)(H3H4)1000+100+100=1200
H1(H2(H3H4))100+200+50=350
H1((H2H3)H4)1000+50+50=1100

shows which is cheapest.

(c)

This is an improvement by S. Winograd of a formula due to V. Strassen: let w=aA−(a−c−d)(A−C+D) and then

(abcd)(ABCD)=(αβγδ)

where α=aA+bB⁠, and β= w+ (c+d)(C−A)+ (a+b−c−d)D⁠, and γ= w+ (a−c)(D−C)− d(A−B−C+D)⁠, and δ= w+ (a−c)(D−C)+ (c+d)(C−A)⁠. This takes seven multiplications and fifteen additions (save the intermediate results).

Three.IV.3.49 §IV.3 source ↗

[Putnam, 1990, A-5] If A and B are square matrices of the same size such that ABAB=0⁠, does it follow that BABA=0⁠?

Answer

This is how the answer was given in the cited source. No, it does not. Let A and B represent, with respect to the standard bases, these transformations of ℝ3⁠.

(xyz)⟼a(xy0)(xyz)⟼b(0xy)

Observe that

(xyz)⟼abab(000)but(xyz)⟼baba(00x).

Three.IV.3.50 §IV.3 source ↗

[Am. Math. Mon., Dec. 1966] Demonstrate these four assertions to get an alternate proof that column rank equals row rank.

(a)

y→⋅y→=0 iff y→=0→⁠.

(b)

Ax→=0→ iff A𝖳Ax→=0→⁠.

(c)

dim⁡(ℛ(A))= dim⁡(ℛ(A𝖳A))⁠.

(d)

col rank(A)= col rank(A𝖳)= row rank(A)⁠.

Answer (5 parts)

This is how the answer was given in the cited source.

(a)

Obvious.

(b)

If A𝖳Ax→=0→ then y→⋅y→=0 where y→=Ax→⁠. Hence y→=0→ by (a).

The converse is obvious.

(c)

By (b), Ax→1⁠,…,⁠Ax→n are linearly independent iff A𝖳Ax→1⁠,…, A𝖳Ax→n are linearly independent.

(d)

We have

col rank(A)=col rank(A𝖳A)=dim⁡{A𝖳(Ax→)|all x→}≤dim⁡{A𝖳y→|all y→}=col rank(A𝖳).

Thus also col rank(A𝖳)≤col rank(A𝖳𝖳) and so col rank(A)= col rank(A𝖳)= row rank(A)⁠.

Three.IV.3.51 §IV.3 source ↗

[Ackerson] Prove (where A is an n×n matrix and so defines a transformation of any n⁠-dimensional space V with respect to B,B where B is a basis) that dim⁡(ℛ(A)∩𝒩(A))= dim⁡(ℛ(A))− dim⁡(ℛ(A2))⁠. Conclude

(a)

𝒩(A)⊂ℛ(A) iff dim⁡(𝒩(A))= dim⁡(ℛ(A))− dim⁡(ℛ(A2))⁠;

(b)

ℛ(A)⊆𝒩(A) iff A2=0⁠;

(c)

ℛ(A)=𝒩(A) iff A2=0 and dim⁡(𝒩(A))=dim⁡(ℛ(A)) ;

(d)

dim⁡(ℛ(A)∩𝒩(A))=0 iff dim⁡(ℛ(A))=dim⁡(ℛ(A2)) ;

(e)

(Requires the Direct Sum subsection, which is optional.) V=ℛ(A)⊕︎𝒩(A) iff dim⁡(ℛ(A))=dim⁡(ℛ(A2))⁠.

Answer

This is how the answer was given in the cited source. Let ⟨z→1,…,z→k⟩ be a basis for ℛ(A)∩𝒩(A) (k might be 0⁠). Let x→1,…,x→k∈V be such that Ax→i=z→i⁠. Note {Ax→1,…,Ax→k} is linearly independent, and extend to a basis for ℛ(A)⁠: Ax→1, …, Ax→k, Ax→k+1, …, Ax→r1 where r1=dim⁡(ℛ(A))⁠.

Now take x→∈V⁠. Write

Ax→=a1(Ax→1)+⋯+ar1(Ax→r1)

and so

A2x→=a1(A2x→1)+⋯+ar1(A2x→r1).

But Ax→1,…,Ax→k∈𝒩(A)⁠, so A2x→1=0→,…,A2x→k=0→ and we now know

A2x→k+1,…,A2x→r1

spans ℛ(A2)⁠.

To see {A2x→k+1,…,A2x→r1} is linearly independent, write

bk+1A2x→k+1+⋯+br1A2x→r1=0→A[bk+1Ax→k+1+⋯+br1Ax→r1]=0→

and, since bk+1Ax→k+1+ ⋯+ br1Ax→r1∈𝒩(A) we get a contradiction unless it is 0→ (clearly it is in ℛ(A)⁠, but Ax→1,…,Ax→k is a basis for ℛ(A)∩𝒩(A)⁠).

Hence dim⁡(ℛ(A2))= r1− k= dim⁡(ℛ(A))− dim⁡(ℛ(A)∩𝒩(A))⁠.

Three.IV.4.12 §IV.4 source ↗

Supply the intermediate steps in Example 4.9.

Answer

Here is one way to proceed. Follow

⟶ρ1↔ρ2(10101003−11001−10001)⟶−ρ1+ρ3(10101003−11000−1−10−11)

with

⟶(1/3)ρ2+ρ3(10101003−110000−4/31/3−11)⟶−(3/4)ρ3(1/3)ρ2(10101001−1/31/300001−1/43/4−3/4)⟶−ρ3+ρ1(1/3)ρ3+ρ2(1001/41/43/40101/41/4−1/4001−1/43/4−3/4)

and read the answer off of the right side.

Three.IV.4.13 §IV.4 source ↗

Use Corollary 4.11 to decide if each matrix has an inverse.

(a)

(21−11)

(b)

(041−3)

(c)

(2−3−46)

Answer (3 parts)

(a)

Yes, it has an inverse: ad−bc=2⋅1−1⋅(−1)≠0⁠.

(b)

Yes.

(c)

No.

Three.IV.4.14 §IV.4 source ↗

For each invertible matrix in the prior problem, use Corollary 4.11 to find its inverse.

Answer (3 parts)

(a)

12⋅1−1⋅(−1)⋅(1−112)= 13⋅(1−112)= (1/3−1/31/32/3)

(b)

10⋅(−3)−4⋅1⋅(−3−4−10)= (3/411/40)

(c)

The prior question shows that no inverse exists.

Three.IV.4.15 §IV.4 source ↗

Find the inverse, if it exists, by using the Gauss-Jordan Method. Check the answers for the 2×2 matrices with Corollary 4.11.

(a)

(3102)

(b)

(21/231)

(c)

(2−4−12)

(d)

(113024−110)

(e)

(0150−2423−2)

(f)

(2231−2−34−2−3)

Answer (6 parts)

(a)

The reduction is routine.

(31100201)⟶(1/2)ρ2(1/3)ρ1(11/31/300101/2)⟶−(1/3)ρ2+ρ1(101/3−1/60101/2)

This answer agrees with the answer from the check.

(3102)−1=13⋅2−0⋅1⋅(2−103)=16⋅(2−103)

(b)

This reduction is easy.

(21/2103101)⟶−(3/2)ρ1+ρ2(21/21001/4−3/21)⟶4ρ2(1/2)ρ1(11/41/2001−64)⟶−(1/4)ρ2+ρ1(102−101−64)

The check agrees.

12⋅1−3⋅(1/2)⋅(1−1/2−32)=2⋅(1−1/2−32)

(c)

Trying the Gauss-Jordan reduction

(2−410−1201)⟶(1/2)ρ1+ρ2(2−410001/21)

shows that the left side won’t reduce to the identity, so no inverse exists. The check ad−bc=2⋅2−(−4)⋅(−1)=0 agrees.

(d)

This produces an inverse.

(113100024010−110001)⟶ρ1+ρ3(113100024010023101)⟶−ρ2+ρ3(11310002401000−11−11)⟶−ρ3(1/2)ρ2(11310001201/20001−11−1)⟶−3ρ3+ρ1−2ρ3+ρ2(1104−330102−3/22001−11−1)⟶−ρ2+ρ1(1002−3/210102−3/22001−11−1)

(e)

This is one way to do the reduction.

(0151000−2401023−2001)⟶ρ3↔ρ1(23−20010−24010015100)⟶(1/2)ρ2+ρ3(23−20010−2401000711/20)⟶−(1/2)ρ2(1/7)ρ3(1/2)ρ1(13/2−1001/201−20−1/200011/71/140)⟶ρ3+ρ12ρ3+ρ2(13/201/71/141/20102/7−5/1400011/71/140)⟶−(3/2)ρ2+ρ1(100−2/717/281/20102/7−5/1400011/71/140)

(f)

There is no inverse.

(2231001−2−30104−2−3001)⟶−2ρ1+ρ3−(1/2)ρ1+ρ2(2231000−3−9/2−1/2100−6−9−201)⟶−2ρ2+ρ3(2231000−3−9/2−1/210000−1−21)

As a check, note that the third column of the starting matrix is 3/2 times the second, and so it is indeed singular and therefore has no inverse.

Three.IV.4.16 §IV.4 source ↗

What matrix has this one for its inverse?

(1325)

Answer

We can use Corollary 4.11.

11⋅5−2⋅3⋅(5−3−21)=(−532−1)

Three.IV.4.17 §IV.4 source ↗

How does the inverse operation interact with scalar multiplication and addition of matrices?

(a)

What is the inverse of rH⁠?

(b)

Is (H+G)−1=H−1+G−1⁠?

Answer (2 parts)

(a)

The proof that the inverse is r−1H−1=(1/r)⋅H−1 (provided, of course, that the matrix is invertible) is easy.

(b)

No. For one thing, the fact that H+G has an inverse doesn’t imply that H has an inverse or that G has an inverse. Neither of these matrices is invertible but their sum is.

(1000)(0001)

Another point is that just because H and G each has an inverse doesn’t mean H+G has an inverse; here is an example.

(1001)(−100−1)

Still a third point is that, even if the two matrices have inverses, and the sum has an inverse, doesn’t imply that the equation holds:

(2002)−1=(1/2001/2)−1(3003)−1=(1/3001/3)−1

but

(5005)−1=(1/5001/5)−1

and (1/2)+(1/3) does not equal 1/5⁠.

Three.IV.4.18 §IV.4 source ↗

Is (Tk)−1=(T−1)k⁠?

Answer

Yes: Tk(T−1)k= (TT⋯T)⋅(T−1T−1⋯T−1)= Tk−1(TT−1)(T−1)k−1= ⋯= I⁠.

Three.IV.4.19 §IV.4 source ↗

Is H−1 invertible?

Answer

Yes, the inverse of H−1 is H⁠.

Three.IV.4.20 §IV.4 source ↗

For each real number θ let tθ:ℝ2→ℝ2 be represented with respect to the standard bases by this matrix.

(cos⁡θ−sin⁡θsin⁡θcos⁡θ)

Show that tθ1+θ2=tθ1⋅tθ2⁠. Show also that tθ−1=t−θ⁠.

Answer

One way to check that the first is true is with the angle sum formulas from trigonometry.

(cos⁡(θ1+θ2)−sin⁡(θ1+θ2)sin⁡(θ1+θ2)cos⁡(θ1+θ2))=(cos⁡θ1cos⁡θ2−sin⁡θ1sin⁡θ2−sin⁡θ1cos⁡θ2−cos⁡θ1sin⁡θ2sin⁡θ1cos⁡θ2+cos⁡θ1sin⁡θ2cos⁡θ1cos⁡θ2−sin⁡θ1sin⁡θ2)=(cos⁡θ1−sin⁡θ1sin⁡θ1cos⁡θ1)(cos⁡θ2−sin⁡θ2sin⁡θ2cos⁡θ2)

Checking the second equation in this way is similar.

Of course, the equations can be not just checked but also understood by recalling that tθ is the map that rotates vectors about the origin through an angle of θ⁠ radians.

Three.IV.4.21 §IV.4 source ↗

Do the calculations for the proof of Corollary 4.11.

Answer

There are two cases. For the first case we assume that a is nonzero. Then

⟶−(c/a)ρ1+ρ2(ab100−(bc/a)+d−c/a1)=(ab100(ad−bc)/a−c/a1)

shows that the matrix is invertible (in this a≠0 case) if and only if ad−bc≠0⁠. To find the inverse, we finish with the Jordan half of the reduction.

⟶(a/ad−bc)ρ2(1/a)ρ1(1b/a1/a001−c/(ad−bc)a/(ad−bc))⟶−(b/a)ρ2+ρ1(10d/(ad−bc)−b/(ad−bc)01−c/(ad−bc)a/(ad−bc))

The other case is the a=0 case. We swap to get c into the 1,1 position.

⟶ρ1↔ρ2(cd010b10)

This matrix is nonsingular if and only if both b and c are nonzero (which, under the case assumption that a=0⁠, holds if and only if ad−bc≠0⁠). To find the inverse we do the Jordan half.

⟶(1/b)ρ2(1/c)ρ1(1d/c01/c011/b0)⟶−(d/c)ρ2+ρ1(10−d/bc1/c011/b0)

(Note that this is what is required, since a=0 gives that ad−bc=−bc⁠).

Three.IV.4.22 §IV.4 source ↗

Show that this matrix

H=(101010)

has infinitely many right inverses. Show also that it has no left inverse.

Answer

With H a 2×3 matrix, in looking for a matrix G such that the combination HG acts as the 2×2 identity we need G to be 3×2⁠. Setting up the equation

(101010)(mnpqrs)=(1001)

and solving the resulting linear system

m+r=1n+s=0p=0q=1

gives infinitely many solutions.

{(mnpqrs)=(100100)+r⋅(−100010)+s⋅(0−10001)|r,s∈ℝ}

Thus H has infinitely many right inverses.

As for left inverses, the equation

(abcd)(101010)=(100010001)

gives rise to a linear system with nine equations and four unknowns.

a=1b=0a=0c=0d=1c=0e=0f=0e=1

This system is inconsistent (the first equation conflicts with the third, as do the seventh and ninth) and so there is no left inverse.

Three.IV.4.23 §IV.4 source ↗

In the review of inverses example, starting this subsection, how many left inverses has ι⁠?

Answer

With respect to the standard bases we have

Repℰ2,ℰ3⁡(ι)=(100100)

and setting up the equation to find the matrix inverse

(abcdef)(100100)=(1001)=Repℰ2,ℰ2⁡(id⁡)

gives rise to a linear system.

a=1b=0d=0e=1

There are infinitely many solutions in a,…,f to this system because two of these variables are entirely unrestricted

{(abcdef)=(100010)+c⋅(001000)+f⋅(000001)|c,f∈ℝ}

and so there are infinitely many solutions to the matrix equation.

{(10c01f)|c,f∈ℝ}

With the bases still fixed at ℰ2,ℰ2⁠, for instance taking c=2 and f=3 gives a matrix representing this map.

(xyz)⟼f2,3(x+2zy+3z)

The check that f2,3∘ι is the identity map on ℝ2 is easy.

Three.IV.4.24 §IV.4 source ↗

If a matrix has infinitely many right-inverses, can it have infinitely many left-inverses? Must it have?

Answer

By Lemma 4.2 it cannot have infinitely many left inverses, because a matrix with both left and right inverses has only one of each (and that one of each is one of both — the left and right inverse matrices are equal).

Three.IV.4.25 §IV.4 source ↗

Assume that g:V→W is linear. One of these is true, the other is false. Which is which?

(a)

If f:W→V is a left inverse of g then f must be linear.

(b)

If f:W→V is a right inverse of g then f must be linear.

Answer (2 parts)

(a)

True, It must be linear, as the proof from Theorem II.2.20 shows.

(b)

False. It may be linear, but it need not be. Consider the projection map π:ℝ3→ℝ2 described at the start of this subsection. Define η:ℝ2→ℝ3 in this way.

(xy)↦(xy1)

It is a right inverse of π because π∘η does this.

(xy)↦(xy1)↦(xy)

It is not linear because it does not map the zero vector to the zero vector.

Three.IV.4.26 §IV.4 source ↗

Assume that H is invertible and that HG is the zero matrix. Show that G is a zero matrix.

Answer

The associativity of matrix multiplication gives H−1(HG)=H−1Z=Z and also H−1(HG)=(H−1H)G=IG=G⁠.

Three.IV.4.27 §IV.4 source ↗

Prove that if H is invertible then the inverse commutes with a matrix GH−1=H−1G if and only if H itself commutes with that matrix GH=HG⁠.

Answer

Multiply both sides of the first equation by H⁠.

Three.IV.4.28 §IV.4 source ↗

Show that if T is square and if T4 is the zero matrix then (I−T)−1=I+T+T2+T3⁠. Generalize.

Answer

Checking that when I−T is multiplied on both sides by that expression (assuming that T4 is the zero matrix) then the result is the identity matrix is easy. The obvious generalization is that if Tn is the zero matrix then (I−T)−1=I+T+T2+⋯+Tn−1⁠; the check again is easy.

Three.IV.4.29 §IV.4 source ↗

Let D be diagonal. Describe D2⁠, D3⁠, … , etc. Describe D−1⁠, D−2⁠, … , etc. Define D0 appropriately.

Answer

The powers of the matrix are formed by taking the powers of the diagonal entries. That is, D2 is all zeros except for diagonal entries of d1,12⁠, d2,22⁠, etc. This suggests defining D0 to be the identity matrix.

Three.IV.4.30 §IV.4 source ↗

Prove that any matrix row-equivalent to an invertible matrix is also invertible.

Answer

Assume that B is row equivalent to A and that A is invertible. Because they are row-equivalent, there is a sequence of row steps to reduce one to the other. We can do that reduction with matrices, for instance, A can change by row operations to B as B=Rn⋯R1A⁠. This equation gives B as a product of invertible matrices and by Lemma 4.4 then, B is also invertible.

Three.IV.4.31 §IV.4 source ↗

The first question below appeared as Exercise 2.31.

(a)

Show that the rank of the product of two matrices is less than or equal to the minimum of the rank of each.

(b)

Show that if T and S are square then TS=I if and only if ST=I⁠.

Answer (2 parts)

(a)

See the answer to Exercise 2.31.

(b)

We will show that both conditions are equivalent to the condition that the two matrices be nonsingular.

As T and S are square and their product is defined, they are equal-sized, say n×n⁠. Consider the TS=I half. By the prior item the rank of I is less than or equal to the minimum of the rank of T and the rank of S⁠. But the rank of I is n⁠, so the rank of T and the rank of S must each be n⁠. Hence each is nonsingular.

The same argument shows that ST=I implies that each is nonsingular.

Three.IV.4.32 §IV.4 source ↗

Show that the inverse of a permutation matrix is its transpose.

Answer

Inverses are unique, so we need only show that it works. The check appears above as Exercise 3.38.

Three.IV.4.33 §IV.4 source ↗

(a)

Show that (GH)𝖳=H𝖳G𝖳⁠.

(b)

A square matrix is symmetric if each i,j entry equals the j,i entry (that is, if the matrix equals its transpose). Show that the matrices HH𝖳 and H𝖳H are symmetric.

(c)

Show that the inverse of the transpose is the transpose of the inverse.

(d)

Show that the inverse of a symmetric matrix is symmetric.

Answer (4 parts)

(a)

See the answer for Exercise 2.28.

(b)

See the answer for Exercise 2.28.

(c)

Apply the first part to I=AA−1 to get I= I𝖳= (AA−1)𝖳= (A−1)𝖳A𝖳⁠.

(d)

Apply the prior item with A𝖳=A⁠, as A is symmetric.

Three.IV.4.34 §IV.4 source ↗

(a)

Prove that the composition of the projections πx,πy:ℝ3→ℝ3 is the zero map despite that neither is the zero map.

(b)

Prove that the composition of the derivatives d2/dx2,d3/dx3:𝒫4→𝒫4 is the zero map despite that neither map is the zero map.

(c)

Give matrix equations representing each of the prior two items.

When two things multiply to give zero despite that neither is zero, each is said to be a zero divisor. Prove that no zero divisor is invertible.

Answer

For the answer to the items making up the first half, see Exercise 2.33. For the proof in the second half, assume that A is a zero divisor so there is a nonzero matrix B with AB=Z (or else BA=Z⁠; this case is similar), If A is invertible then A−1(AB)=(A−1A)B=IB=B but also A−1(AB)=A−1Z=Z⁠, contradicting that B is nonzero.

Three.IV.4.35 §IV.4 source ↗

In the algebra of real numbers, quadratic equations have at most two solutions. Matrix algebra is different. Show that the 2×2 matrix equation T2=I has more than two solutions.

Answer

There are infinitely many 2×2 matrices T that square to the identity. Here are four.

(1001)(−100−1)(100−1)(−1001)

Two more are

(0110)(0−1−10)

and here is another

15(344−3)

(in this last one the pattern involves Pythagorean triples, numbers r,s,t∈ℝ such that r2+s2=t2⁠). Remark: see also https://en.wikipedia.org/wiki/Square_root_of_a_2_by_2_matrix.

Three.IV.4.36 §IV.4 source ↗

Is the relation ‘is a two-sided inverse of’ transitive? Reflexive? Symmetric?

Answer

It is not reflexive since, for instance,

H=(1002)

is not a two-sided inverse of itself. The same example shows that it is not transitive. That matrix has this two-sided inverse

G=(1001/2)

and while H is a two-sided inverse of G and G is a two-sided inverse of H⁠, we know that H is not a two-sided inverse of H⁠. However, the relation is symmetric: if G is a two-sided inverse of H then GH=I=HG and therefore H is also a two-sided inverse of G⁠.

Three.IV.4.37 §IV.4 source ↗

[Am. Math. Mon., Nov. 1951] Prove: if the sum of the elements of each row of a square matrix is k⁠, then the sum of the elements in each row of the inverse matrix is 1/k⁠.

Answer

This is how the answer was given in the cited source. Let A be m×m⁠, non-singular, with the stated property. Let B be its inverse. Then for n≤m⁠,

1=∑r=1mδnr=∑r=1m∑s=1mbnsasr=∑s=1m∑r=1mbnsasr=k∑s=1mbns

(A is singular if k=0⁠).

Three.V.1.7 §V.1 source ↗

In ℝ2⁠, where

D=⟨(21),(−24)⟩

find the change of basis matrices from D to ℰ2 and from ℰ2 to D⁠. Multiply the two.

Answer

For the matrix to change bases from D to ℰ2 we need that Repℰ2⁡(id⁡(δ→1))= Repℰ2⁡(δ→1) and that Repℰ2⁡(id⁡(δ→2))= Repℰ2⁡(δ→2)⁠. Of course, the representation of a vector in ℝ2 with respect to the standard basis is easy.

Repℰ2⁡(δ→1)=(21)Repℰ2⁡(δ→2)=(−24)

Concatenating those two together to make the columns of the change of basis matrix gives this.

RepD,ℰ2⁡(id⁡)=(2−214)

For the change of basis matrix in the other direction we can calculate RepD⁡(id⁡(e→1))= RepD⁡(e→1) and RepD⁡(id⁡(e→2))= RepD⁡(e→2) (this job is routine) or we can take the inverse of the above matrix. Because of the formula for the inverse of a 2×2 matrix, this is easy.

Repℰ2,D⁡(id⁡)=110⋅(42−12)=(4/102/10−1/102/10)

Three.V.1.8 §V.1 source ↗

Which of these matrices could be used to change bases?

(a)

(1234)

(b)

(0−11−1)

(c)

(23−1010)

(d)

(23−101047−2)

(e)

(020006100)

Answer (6 parts)

If the matrix is nonsingular then it can be a change of basis matrix. For all of these matrices we can check that by eye.

(a)

This is nonsingular since the second row is not a multiple of the first.

(b)

This is nonsingular.

(c)

This matrix is singular, since to be nonsingular a matrix must be square.

(d)

This matrix is singular since twice the first row plus the second row equals the third row.

(e)

Nonsingular.

Three.V.1.9 §V.1 source ↗

Find the change of basis matrix for B,D⊆ℝ2⁠.

(a)

B=ℰ2⁠, D=⟨e→2,e→1⟩

(b)

B=ℰ2⁠, D=⟨(12),(14)⟩

(c)

B=⟨(12),(14)⟩⁠, D=ℰ2

(d)

B=⟨(−11),(22)⟩⁠, D=⟨(04),(13)⟩

Answer (5 parts)

Concatenate RepD⁡(id⁡(β→1))= RepD⁡(β→1) and RepD⁡(id⁡(β→2))= RepD⁡(β→2) to make the change of basis matrix RepB,D⁡(id⁡)⁠.

(a)

(0110)

(b)

(2−1/2−11/2)

(c)

(1124)

(d)

(1−1−12)

Three.V.1.10 §V.1 source ↗

Find the change of basis matrix for each B,D⊆𝒫2⁠.

(a)

B=⟨1,x,x2⟩,D=⟨x2,1,x⟩

(b)

B= ⟨1, x, x2⟩, D= ⟨1,1+ x, 1+ x+ x2⟩

(c)

B= ⟨2,2x, x2⟩, D= ⟨1+ x2, 1− x2, x+ x2⟩

Answer (5 parts)

The vectors RepD⁡(id⁡(β→1))= RepD⁡(β→1)⁠, RepD⁡(id⁡(β→2))= RepD⁡(β→2)⁠, and RepD⁡(id⁡(β→3))= RepD⁡(β→3) make the change of basis matrix RepB,D⁡(id⁡)⁠.

(a)

(001100010)

(b)

(1−1001−1001)

(c)

(1−11/211−1/2020)

E.g., for the first column of the first matrix, 1=0⋅x2+1⋅1+0⋅x⁠.

Three.V.1.11 §V.1 source ↗

For the bases in Exercise 1.9, find the change of basis matrix in the other direction, from D to B⁠.

Answer (5 parts)

One way to go is to find RepB⁡(δ→1) and RepB⁡(δ→2)⁠, and then concatenate them into the columns of the desired change of basis matrix. Another way is to find the inverse of the matrices that answer Exercise 1.9.

(a)

(0110)

(b)

(1124)

(c)

(2−1/2−11/2)

(d)

(2111)

Three.V.1.12 §V.1 source ↗

Decide if each changes bases on ℝ2⁠. To what basis is ℰ2 changed?

(a)

(5004)

(b)

(2131)

(c)

(−142−8)

(d)

(1−111)

Answer (5 parts)

A matrix changes bases if and only if it is nonsingular.

(a)

This matrix is nonsingular and so changes bases. Finding to what basis ℰ2 is changed means finding D such that

Repℰ2,D⁡(id⁡)=(5004)

and by the definition of how a matrix represents a linear map, we have this.

RepD⁡(id⁡(e→1))=RepD⁡(e→1)=(50)RepD⁡(id⁡(e→2))=RepD⁡(e→2)=(04)

Where

D=⟨(x1y1),(x2y2)⟩

we can either solve the system

(10)=5(x1y1)+0(x2y1)(01)=0(x1y1)+4(x2y1)

or else just spot the answer (thinking of the proof of Lemma 1.5).

D=⟨(1/50),(01/4)⟩

(b)

Yes, this matrix is nonsingular and so changes bases. To calculate D⁠, we proceed as above with

D=⟨(x1y1),(x2y2)⟩

to solve

(10)=2(x1y1)+3(x2y1)and(01)=1(x1y1)+1(x2y1)

and get this.

D=⟨(−13),(1−2)⟩

(c)

No, this matrix does not change bases because it is singular.

(d)

Yes, this matrix changes bases because it is nonsingular. The calculation of the changed-to basis is as above.

D=⟨(1/2−1/2),(1/21/2)⟩

Three.V.1.13 §V.1 source ↗

For each space find the matrix changing a vector representation with respect to B to one with respect to D⁠.

(a)

V=ℝ3⁠, B=ℰ3⁠, D=⟨(123),(111),(01−1)⟩

(b)

V=ℝ3⁠, B=⟨(123),(111),(01−1)⟩⁠, D=ℰ3

(c)

V=𝒫2⁠, B=⟨x2,x2+x,x2+x+1⟩⁠, D=⟨2,−x,x2⟩

Answer (3 parts)

(a)

Start by computing the effect of the identity function on each element of the starting basis B⁠. Obviously this is the effect.

(100)⟼id⁡(100)(010)⟼id⁡(010)(001)⟼id⁡(001)

Now represent the three outputs with respect to the ending basis.

RepD⁡((100))=(−2/35/3−1/3)RepD⁡((010))=(1/3−1/32/3)RepD⁡((001))=(1/3−1/3−1/3)

Concatenate them into a basis.

RepB,D⁡(id⁡)=(−2/31/31/35/3−1/3−1/3−1/32/3−1/3)

(b)

One way to find this is to take the inverse of the prior matrix, since it converts bases in the other direction. Alternatively, we can compute these three

Repℰ3⁡((123))=(123)Repℰ3⁡((111))=(111)Repℰ3⁡((01−1))=(01−1)

and put them in a matrix.

RepB,D⁡(id⁡)=(11021131−1)

(c)

Representing id⁡(x2)⁠, id⁡(x2+x)⁠, and id⁡(x2+x+1) with respect to the ending basis gives this.

RepD⁡(x2)=(001)RepD⁡(x2+x)=(0−11)RepD⁡(x2+x+1)=(1/2−11)

Put them together.

RepB,D⁡(id⁡)=(001/20−1−1111)

Three.V.1.14 §V.1 source ↗

Find bases such that this matrix represents the identity map with respect to those bases.

(3142−11004)

Answer

This question has many different solutions. One way to proceed is to make up any basis B for any space, and then compute the appropriate D (necessarily for the same space, of course). Another, easier, way to proceed is to fix the codomain as ℝ3 and the codomain basis as ℰ3⁠. This way (recall that the representation of any vector with respect to the standard basis is just the vector itself), we have this.

B=⟨(320),(1−10),(414)⟩D=ℰ3

Three.V.1.15 §V.1 source ↗

Consider the vector space of real-valued functions with basis ⟨sin⁡(x),cos⁡(x)⟩⁠. Show that ⟨2sin⁡(x)+ cos⁡(x), 3cos⁡(x)⟩ is also a basis for this space. Find the change of basis matrix in each direction.

Answer

Checking that B= ⟨2sin⁡(x)+ cos⁡(x), 3cos⁡(x)⟩ is a basis is routine. Call the natural basis D⁠. To compute the change of basis matrix RepB,D⁡(id⁡) we must find RepD⁡(2sin⁡(x)+cos⁡(x)) and RepD⁡(3cos⁡(x))⁠, that is, we need x1,y1,x2,y2 such that these equations hold.

x1⋅sin⁡(x)+y1⋅cos⁡(x)=2sin⁡(x)+cos⁡(x)x2⋅sin⁡(x)+y2⋅cos⁡(x)=3cos⁡(x)

Obviously this is the answer.

RepB,D⁡(id⁡)=(2013)

For the change of basis matrix in the other direction we could look for RepB⁡(sin⁡(x)) and RepB⁡(cos⁡(x)) by solving these.

w1⋅(2sin⁡(x)+cos⁡(x))+z1⋅(3cos⁡(x))=sin⁡(x)w2⋅(2sin⁡(x)+cos⁡(x))+z2⋅(3cos⁡(x))=cos⁡(x)

An easier method is to find the inverse of the matrix found above.

RepD,B⁡(id⁡)=(2013)−1=16⋅(30−12)=(1/20−1/61/3)

Three.V.1.16 §V.1 source ↗

Where does this matrix

(cos⁡(2θ)sin⁡(2θ)sin⁡(2θ)−cos⁡(2θ))

send the standard basis for ℝ2⁠? Any other bases? Hint. Consider the inverse.

Answer

We start by taking the inverse of the matrix, that is, by deciding what is the inverse to the map of interest.

RepD,ℰ2⁡(id⁡)RepD,ℰ2⁡(id⁡)−1=1−cos2⁡(2θ)−sin2⁡(2θ)⋅(−cos⁡(2θ)−sin⁡(2θ)−sin⁡(2θ)cos⁡(2θ))=(cos⁡(2θ)sin⁡(2θ)sin⁡(2θ)−cos⁡(2θ))

This is more tractable than the representation the other way because this matrix is the concatenation of these two column vectors

Repℰ2⁡(δ→1)=(cos⁡(2θ)sin⁡(2θ))Repℰ2⁡(δ→2)=(sin⁡(2θ)−cos⁡(2θ))

and representations with respect to ℰ2 are transparent.

δ→1=(cos⁡(2θ)sin⁡(2θ))δ→2=(sin⁡(2θ)−cos⁡(2θ))

This pictures the action of the map that transforms D to ℰ2 (it is, again, the inverse of the map that is the answer to this question). The line lies at an angle θ to the x⁠ axis.

This map reflects vectors over that line. Since reflections are self-inverse, the answer to the question is: the original map reflects about the line through the origin with angle of elevation θ⁠. (Of course, it does this to any basis.)

Three.V.1.17 §V.1 source ↗

What is the change of basis matrix with respect to B,B⁠?

Answer

The appropriately-sized identity matrix.

Three.V.1.18 §V.1 source ↗

Prove that a matrix changes bases if and only if it is invertible.

Answer

Each is true if and only if the matrix is nonsingular.

Three.V.1.19 §V.1 source ↗

Finish the proof of Lemma 1.5.

Answer

What remains is to show that left multiplication by a reduction matrix represents a change from another basis to B=⟨β→1,…,β→n⟩⁠.

Application of a row-multiplication matrix Mi(k) translates a representation with respect to the basis ⟨β→1,…,kβ→i,…,β→n⟩ to one with respect to B⁠, as here.

v→=c1⋅β→1+⋯+ci⋅(kβ→i)+⋯+cn⋅β→n↦c1⋅β→1+⋯+(kci)⋅β→i+⋯+cn⋅β→n=v→

Apply a row-swap matrix Pi,j to translates a representation with respect to the basis ⟨β→1,…,β→j,…,β→i,…,β→n⟩ to one with respect to ⟨β→1,…,β→i,…,β→j,…,β→n⟩⁠. Finally, applying a row-combination matrix Ci,j(k) changes a representation with respect to ⟨β→1, …, β→i+ kβ→j, …, β→j, …, β→n⟩ to one with respect to B⁠.

v→=c1⋅β→1+⋯+ci⋅(β→i+kβ→j)+⋯+cjβ→j+⋯+cn⋅β→n↦c1⋅β→1+⋯+ci⋅β→i+⋯+(kci+cj)⋅β→j+⋯+cn⋅β→n=v→

(As in the part of the proof in the body of this subsection, the various conditions on the row operations, e.g., that the scalar k is nonzero, assure that these are all bases.)

Three.V.1.20 §V.1 source ↗

Let H be an n×n nonsingular matrix. What basis of ℝn does H change to the standard basis?

Answer

Taking H as a change of basis matrix H=RepB,ℰn⁡(id⁡)⁠, its columns are

(h1,i⋮hn,i)=Repℰn⁡(id⁡(β→i))=Repℰn⁡(β→i)

and, because representations with respect to the standard basis are transparent, we have this.

(h1,i⋮hn,i)=β→i

That is, the basis is the one composed of the columns of H⁠.

Three.V.1.21 §V.1 source ↗

(a)

In 𝒫3 with basis B=⟨1+x,1−x,x2+x3,x2−x3⟩ we have this representation.

RepB⁡(1−x+3x2−x3)=(0112)B

Find a basis D giving this different representation for the same polynomial.

RepD⁡(1−x+3x2−x3)=(1020)D

(b)

State and prove that we can change any nonzero vector representation to any other.

Hint. The proof of Lemma 1.5 is constructive — it not only says the bases change, it shows how they change.

Answer (2 parts)

(a)

We can change the starting vector representation to the ending one through a sequence of row operations. The proof tells us what how the bases change. We start by swapping the first and second rows of the representation with respect to B to get a representation with respect to a new basis B1⁠.

RepB1⁡(1−x+3x2−x3)=(1012)B1B1=⟨1−x,1+x,x2+x3,x2−x3⟩

We next add −2 times the third row of the vector representation to the fourth row.

RepB3⁡(1−x+3x2−x3)=(1010)B2B2=⟨1−x,1+x,3x2−x3,x2−x3⟩

(The third element of B2 is the third element of B1 minus −2 times the fourth element of B1⁠.) Now we can finish by doubling the third row.

RepD⁡(1−x+3x2−x3)=(1020)DD=⟨1−x,1+x,(3x2−x3)/2,x2−x3⟩

(b)

Here are three different approaches to stating such a result. The first is the assertion: where V is a vector space with basis B and v→∈V is nonzero, for any nonzero column vector z→ (whose number of components equals the dimension of V⁠) there is a change of basis matrix M such that M⋅RepB⁡(v→)=z→⁠. The second possible statement: for any (n⁠-dimensional) vector space V and any nonzero vector v→∈V⁠, where z→1,z→2∈ℝn are nonzero, there are bases B,D⊂V such that RepB⁡(v→)=z→1 and RepD⁡(v→)=z→2⁠. The third is: for any nonzero v→ member of any vector space (of dimension n⁠) and any nonzero column vector (with n components) there is a basis such that v→ is represented with respect to that basis by that column vector.

The first and second statements follow easily from the third. The first follows because the third statement gives a basis D such that RepD⁡(v→)=z→ and then RepB,D⁡(id⁡) is the desired M⁠. The second follows from the third because it is just a doubled application of it.

A way to prove the third is as in the answer to the first part of this question. Here is a sketch. Represent v→ with respect to any basis B with a column vector z→1⁠. This column vector must have a nonzero component because v→ is a nonzero vector. Use that component in a sequence of row operations to convert z→1 to z→⁠. (We could fill out this sketch as an induction argument on the dimension of V⁠.)

Three.V.1.22 §V.1 source ↗

Let V,W be vector spaces, and let B,Bˆ be bases for V and D,Dˆ be bases for W⁠. Where h:V→W is linear, find a formula relating RepB,D⁡(h) to RepBˆ,Dˆ⁡(h)⁠.

Answer

This is the topic of the next subsection.

Three.V.1.23 §V.1 source ↗

Show that the columns of an n×n change of basis matrix form a basis for ℝn⁠. Do all bases appear in that way: can the vectors from any ℝn basis make the columns of a change of basis matrix?

Answer

A change of basis matrix is nonsingular and thus has rank equal to the number of its columns. Therefore its set of columns is a linearly independent subset of size n in ℝn and it is thus a basis. The answer to the second half is also ‘yes’; all implications in the prior sentence reverse (that is, all of the ‘if … then …’ parts of the prior sentence convert to ‘if and only if’ parts).

Three.V.1.24 §V.1 source ↗

Find a matrix having this effect.

(13)↦(4−1)

That is, find a M that left-multiplies the starting vector to yield the ending vector. Is there a matrix having these two effects?

(a)

(13)↦(11)(2−1)↦(−1−1)

(b)

(13)↦(11)(26)↦(−1−1)

Give a necessary and sufficient condition for there to be a matrix such that v→1↦w→1 and v→2↦w→2⁠.

Answer (4 parts)

In response to the first half of the question, there are infinitely many such matrices. One of them represents with respect to ℰ2 the transformation of ℝ2 with this action.

(10)↦(40)(01)↦(0−1/3)

The problem of specifying two distinct input/output pairs is a bit trickier. The fact that matrices have a linear action precludes some possibilities.

(a)

Yes, there is such a matrix. These conditions

(abcd)(13)=(11)(abcd)(2−1)=(−1−1)

can be solved

a+3b=1c+3d=12a−b=−12c−d=−1

to give this matrix.

(−2/73/7−2/73/7)

(b)

No, because

2⋅(13)=(26)but2⋅(11)≠(−1−1)

no linear action can produce this effect.

(c)

A sufficient condition is that {v→1,v→2} be linearly independent, but that’s not a necessary condition. A necessary and sufficient condition is that any linear dependences among the starting vectors appear also among the ending vectors. That is,

c1v→1+c2v→2=0→impliesc1w→1+c2w→2=0→.

The proof of this condition is routine.

Three.V.2.11 §V.2 source ↗

Decide if these are matrix equivalent.

(a)

(130230)⁠, (22105−1)

(b)

(0311)⁠, (4005)

(c)

(1326)⁠, (132−6)

Answer (3 parts)

(a)

Yes, each has rank two.

(b)

Yes, they have the same rank.

(c)

No, they have different ranks.

Three.V.2.12 §V.2 source ↗

Which of these are matrix equivalent to each other?

(a)

(123456789)

(b)

(13−1−3)

(c)

(−510−101)

(d)

(0−105)

(e)

(101202131)

(f)

(310930−3−10)

Answer (6 parts)

Group the matrices into classes characterized by the condition that all matrices in the same class are the same size and the same rank.

(a)

3×3⁠, rank 2

(b)

2×2⁠, rank 1

(c)

2×3⁠, rank 2

(d)

3×3⁠, rank 2

(e)

3×3⁠, rank 1

Three.V.2.13 §V.2 source ↗

Find the canonical representative of the matrix equivalence class of each matrix.

(a)

(210420)

(b)

(01021104333−1)

Answer (3 parts)

We need only compute the rank of each.

(a)

(100000)

(b)

(100001000010)

Three.V.2.14 §V.2 source ↗

Suppose that, with respect to

B=ℰ2D=⟨(11),(1−1)⟩

the transformation t:ℝ2→ℝ2 is represented by this matrix.

(1234)

Use change of basis matrices to represent t with respect to each pair.

(a)

Bˆ=⟨(01),(11)⟩⁠, Dˆ=⟨(−10),(21)⟩

(b)

Bˆ=⟨(12),(10)⟩⁠, Dˆ=⟨(12),(21)⟩

Answer (3 parts)

Recall the diagram and the formula.

ℝwrt B2→Ttℝwrt D2id⁡↓id⁡↓ℝwrt Bˆ2→Tˆtℝwrt Dˆ2Tˆ=RepD,Dˆ⁡(id⁡)⋅T⋅RepBˆ,B⁡(id⁡)

(a)

These two

(11)=1⋅(−10)+1⋅(21)(1−1)=(−3)⋅(−10)+(−1)⋅(21)

show that

RepD,Dˆ⁡(id⁡)=(1−31−1)

and similarly these two

(01)=0⋅(10)+1⋅(01)(11)=1⋅(10)+1⋅(01)

give the other nonsingular matrix.

RepBˆ,B⁡(id⁡)=(0111)

Then the answer is this.

Tˆ=(1−31−1)(1234)(0111)=(−10−18−2−4)

Although not strictly necessary, a check is reassuring. Arbitrarily fixing

v→=(32)

we have that

RepB⁡(v→)=(32)B(1234)B,D(32)B=(717)D

and so t(v→) is this.

7⋅(11)+17⋅(1−1)=(24−10)

Doing the calculation with respect to Bˆ,Dˆ starts with

RepBˆ⁡(v→)=(−13)Bˆ(−10−18−2−4)Bˆ,Dˆ(−13)Bˆ=(−44−10)Dˆ

and then checks that this is the same result.

−44⋅(−10)−10⋅(21)=(24−10)

(b)

These two

(11)=13⋅(12)+13⋅(21)(1−1)=−1⋅(12)+1⋅(21)

show that

RepD,Dˆ⁡(id⁡)=(1/3−11/31)

and these two

(12)=1⋅(10)+2⋅(01)(10)=−1⋅(10)+0⋅(01)

show this.

RepBˆ,B⁡(id⁡)=(1120)

With those, the conversion goes in this way.

Tˆ=(1/3−11/31)(1234)(1120)=(−28/3−8/338/310/3)

As in the prior item, a check provides some confidence that we did this calculation without mistakes. We can for instance, fix the vector

v→=(−12)

(this is arbitrary, taken from thin air). Now we have

RepB⁡(v→)=(−12)(1234)B,D(−12)B=(35)D

and so t(v→) is this vector.

3⋅(11)+5⋅(1−1)=(8−2)

With respect to Bˆ,Dˆ we first calculate

RepBˆ⁡(v→)=(1−2)(−28/3−8/338/310/3)Bˆ,Dˆ(1−2)Bˆ=(−46)Dˆ

and, sure enough, that is the same result for t(v→)⁠.

−4⋅(12)+6⋅(21)=(8−2)

Three.V.2.15 §V.2 source ↗

What sizes are P and Q in the equation Hˆ=PHQ⁠?

Answer

Where H and Hˆ are m×n⁠, the matrix P is m×m while Q is n×n⁠.

Three.V.2.16 §V.2 source ↗

Consider the spaces V=𝒫2 and W=ℳ2×2⁠, with these bases.

B=⟨1,1+x,1+x2⟩D=⟨(0001),(0011),(0111),(1111)⟩Bˆ=⟨1,x,x2⟩Dˆ=⟨(−1000),(0−100),(0010),(0001)⟩

We will find P and Q to convert the representation of a map with respect to B,D to one with respect to Bˆ,Dˆ

(a)

Draw the appropriate arrow diagram.

(b)

Compute P and Q⁠.

Answer (2 parts)

(a)

This is the arrow diagram.

Vwrt B→HhWwrt Did⁡↓id⁡↓Vwrt Bˆ→HˆhWwrt Dˆ

The diagram gives Hˆ=PHQ where Q=RepBˆ,B⁡(id⁡) and P=RepD,Dˆ⁡(id⁡) (remembering that the operation done first is written on the right).

(b)

We want Q=RepBˆ,B⁡(id⁡) and P=RepD,Dˆ⁡(id⁡)⁠. For Q we do these calculations (done here by eye).

RepB⁡(id⁡(1))=(100)RepB⁡(id⁡(x))=(−110)RepB⁡(id⁡(x2))=(−101)

These calculations give P⁠.

RepDˆ⁡(id⁡((0001)))=(0001)RepDˆ⁡(id⁡((0011)))=(0011)RepDˆ⁡(id⁡((0111)))=(0−111)RepDˆ⁡(id⁡((1111)))=(−1−111)

This is the answer.

P=(000−100−1−101111111)Q=(1−1−1010001)

Three.V.2.17 §V.2 source ↗

Find the change of basis matrices Q and P that will convert the representation of a t:ℝ2→ℝ2 with respect to B,D to one with respect to Bˆ,Dˆ⁠.

B=⟨(10),(11)⟩D=⟨(01),(−10)⟩Bˆ=ℰ2Dˆ=⟨(1−1),(01)⟩

Answer

This is the arrow diagram.

Vwrt B→TtWwrt Did⁡↓id⁡↓Vwrt Bˆ→TˆtWwrt Dˆ

Where Q=RepBˆ,B⁡(id⁡) and P=RepD,Dˆ⁡(id⁡) the equation is Tˆ=PTQ⁠.

These are the calculations for Q=RepBˆ,B⁡(id⁡) (done by eye).

RepB⁡(id⁡((10)))=(10)RepB⁡(id⁡((01)))=(−11)

So we get this.

Q=(1−101)

These calculations give P=RepD,Dˆ⁡(id⁡)⁠.

RepDˆ⁡(id⁡((01)))=(01)RepDˆ⁡(id⁡((−10)))=(−1−1)

Concatenate them to make the other matrix.

P=(0−11−1)

Three.V.2.18 §V.2 source ↗

Find the P and Q to express H via PHQ as a block partial identity matrix.

H=(2113−10132)

Answer

Gauss’s Method gives this.

(2113−10132)⟶−(1/2)ρ1+ρ3−(3/2)ρ1+ρ2⟶ρ2+ρ3⟶−(2/5)ρ2(1/2)ρ1(11/21/2013/5000)

Column operations complete the job of reaching the canonical form for matrix equivalence.

⟶−(3/5)col2+col3⟶−(1/5)col1+col3−(1/2)col1+col2(100010000)

Then these are the two matrices.

P=(1000−2/50001)(1/200010001)(100010011)(100010−1/201)(100−3/210001)=(1/2003/5−2/50−211)Q=(10001−3/5001)(1−1/20010001)(10−1/5010001)=(1−1/2−1/501−3/5001)

Three.V.2.19 §V.2 source ↗

Use Theorem 2.7 to show that a square matrix is nonsingular if and only if it is equivalent to an identity matrix.

Answer

Any n×n matrix is nonsingular if and only if it has rank n⁠, that is, by Theorem 2.7, if and only if it is matrix equivalent to the n×n matrix whose diagonal is all ones.

Three.V.2.20 §V.2 source ↗

Show that, where A is a nonsingular square matrix, if P and Q are nonsingular square matrices such that PAQ=I then QP=A−1⁠.

Answer

If PAQ=I then QPAQ=Q⁠, so QPA=I⁠, and so QP=A−1⁠.

Three.V.2.21 §V.2 source ↗

Why does Theorem 2.7 not show that every matrix is diagonalizable (see Example 2.3)?

Answer

By the definition following Example 2.3, a matrix M is diagonalizable if it represents M=RepB,D⁡(t) a transformation with the property that there is some basis Bˆ such that RepBˆ,Bˆ⁡(t) is a diagonal matrix — the starting and ending bases must be equal. But Theorem 2.7 says only that there are Bˆ and Dˆ such that we can change to a representation RepBˆ,Dˆ⁡(t) and get a diagonal matrix. We have no reason to suspect that we could pick the two Bˆ and Dˆ so that they are equal.

Three.V.2.22 §V.2 source ↗

Must matrix equivalent matrices have matrix equivalent transposes?

Answer

Yes. Row rank equals column rank, so the rank of the transpose equals the rank of the matrix. Same-sized matrices with equal ranks are matrix equivalent.

Three.V.2.23 §V.2 source ↗

What happens in Theorem 2.7 if k=0⁠?

Answer

Only a zero matrix has rank zero.

Three.V.2.24 §V.2 source ↗

Show that matrix equivalence is an equivalence relation.

Answer

For reflexivity, to show that any matrix is matrix equivalent to itself, take P and Q to be identity matrices. For symmetry, if H1=PH2Q then H2=P−1H1Q−1 (inverses exist because P and Q are nonsingular). Finally, for transitivity, assume that H1=P2H2Q2 and that H2=P3H3Q3⁠. Then substitution gives H1= P2(P3H3Q3)Q2= (P2P3)H3(Q3Q2)⁠. A product of nonsingular matrices is nonsingular (we’ve shown that the product of invertible matrices is invertible; in fact, we’ve shown how to calculate the inverse) and so H1 is therefore matrix equivalent to H3⁠.

Three.V.2.25 §V.2 source ↗

Show that a zero matrix is alone in its matrix equivalence class. Are there other matrices like that?

Answer

By Theorem 2.7, a zero matrix is alone in its class because it is the only m×n of rank zero. No other matrix is alone in its class; any nonzero scalar product of a matrix has the same rank as that matrix.

Three.V.2.26 §V.2 source ↗

What are the matrix equivalence classes of matrices of transformations on ℝ1⁠? ℝ3⁠?

Answer

There are two matrix equivalence classes of 1×1 matrices — those of rank zero and those of rank one. The 3×3 matrices fall into four matrix equivalence classes.

Three.V.2.27 §V.2 source ↗

How many matrix equivalence classes are there?

Answer

For m×n matrices there are classes for each possible rank: where k is the minimum of m and n there are classes for the matrices of rank 0⁠, 1⁠, …, k⁠. That’s k+1 classes. (Of course, totaling over all sizes of matrices we get infinitely many classes.)

Three.V.2.28 §V.2 source ↗

Are matrix equivalence classes closed under scalar multiplication? Addition?

Answer

They are closed under nonzero scalar multiplication since a nonzero scalar multiple of a matrix has the same rank as does the matrix. They are not closed under addition, for instance, H+(−H) has rank zero.

Three.V.2.29 §V.2 source ↗

Let t:ℝn→ℝn represented by T with respect to ℰn,ℰn⁠.

(a)

Find RepB,B⁡(t) in this specific case.

T=(113−1)B=⟨(12),(−1−1)⟩

(b)

Describe RepB,B⁡(t) in the general case where B=⟨β→1,…,β→n⟩⁠.

Answer (3 parts)

Here is the picture.

ℝwrt ℰ22→Ttℝwrt ℰ22id⁡↓id⁡↓ℝwrt B2→Tˆtℝwrt B2

There are two ways to move from the lower left to the lower right. The first is direct, using Tˆ=RepB,B⁡(t)⁠. The second moves up, then over, then down, using Repℰ2,B⁡(id⁡)⋅T⋅RepB,ℰ2⁡(id⁡) (remember that they get written right-to-left, so the “up” matrix is on the right, in order to have that when applied to a RepB⁡(v→) the matrix applied first is RepB,ℰ2⁡(id⁡)⁠). We write S for RepB,ℰ2⁡(id⁡)⁠; of the two we choose this one because it is easier to calculate. So we have Tˆ=S−1TS⁠.

(a)

We have

RepB,ℰ2⁡(id⁡)=S=(1−12−1)

and

Repℰ2,B⁡(id⁡)=RepB,ℰ2⁡(id⁡)−1=S−1=(1−12−1)−1=(−11−21)

and thus the answer is this.

RepB,B⁡(t)=(−11−21)(113−1)(1−12−1)=(−20−52)

As a quick check, we can take a vector at random

v→=(45)

giving

Repℰ2⁡(v→)=(45)(113−1)(45)=(97)=t(v→)

while the calculation with respect to B,B

RepB⁡(v→)=(1−3)(−20−52)B,B(1−3)B=(−2−11)B

yields the same result.

−2⋅(12)−11⋅(−1−1)=(97)

(b)

As in the first item of this question

S=RepB,ℰ2⁡(id⁡)=(β→1⋯β→n)Repℰ2,B⁡(id⁡)=S−1=RepB,ℰ2⁡(id⁡)−1

so, writing S for the matrix whose columns are the basis vectors, we have that RepB,B⁡(t)=Tˆ=S−1TS⁠.

Three.V.2.30 §V.2 source ↗

(a)

Let V have bases B1 and B2 and suppose that W has the basis D⁠. Where h:V→W⁠, find the formula that computes RepB2,D⁡(h) from RepB1,D⁡(h)⁠.

(b)

Repeat the prior question with one basis for V and two bases for W⁠.

Answer (2 parts)

(a)

The adapted form of the arrow diagram is this.

Vwrt B1→HhWwrt Did⁡↓Qid⁡↓PVwrt B2→HˆhWwrt D

Since there is no need to change bases in W (or we can say that the change of basis matrix P is the identity), we have RepB2,D⁡(h)= RepB1,D⁡(h)⋅Q where Q=RepB2,B1⁡(id⁡)⁠.

(b)

Here, this is the arrow diagram.

Vwrt B→HhWwrt D1id⁡↓Qid⁡↓PVwrt B→HˆhWwrt D2

We have that RepB,D2⁡(h)= P⋅RepB,D1⁡(h) where P=RepD1,D2⁡(id⁡)⁠.

Three.V.2.31 §V.2 source ↗

(a)

If two matrices are matrix equivalent and invertible, must their inverses be matrix equivalent?

(b)

If two matrices have matrix equivalent inverses, must the two be matrix equivalent?

(c)

If two matrices are square and matrix equivalent, must their squares be matrix equivalent?

(d)

If two matrices are square and have matrix equivalent squares, must they be matrix equivalent?

Answer (4 parts)

(a)

Here is the arrow diagram, and a version of that diagram for inverse functions.

Vwrt B→HhWwrt Did⁡↓Qid⁡↓PVwrt Bˆ→HˆhWwrt DˆVwrt B←H−1h−1Wwrt Did⁡↓Qid⁡↓PVwrt Bˆ←Hˆ−1h−1Wwrt Dˆ

Yes, the inverses of the matrices represent the inverses of the maps. That is, we can move from the lower right to the lower left by moving up, then left, then down. In other words, where Hˆ=PHQ (and P,Q invertible) and H,Hˆ are invertible then Hˆ−1=Q−1H−1P−1⁠.

(b)

Yes; this is the prior part repeated in different terms.

(c)

No, we need another assumption: if H represents h with respect to the same starting as ending bases B,B⁠, for some B then H2 represents h∘h⁠. As a specific example, these two matrices are both rank one and so they are matrix equivalent

(1000)(0010)

but the squares are not matrix equivalent — the square of the first has rank one while the square of the second has rank zero.

(d)

No. These two are not matrix equivalent but have matrix equivalent squares.

(0000)(0010)

Three.V.2.32 §V.2 source ↗

Square matrices are similar if they represent the same transformation, but each with respect to the same ending as starting basis. That is, RepB1,B1⁡(t) is similar to RepB2,B2⁡(t)⁠.

(a)

Give a definition of matrix similarity like that of Definition 2.4.

(b)

Prove that similar matrices are matrix equivalent.

(c)

Show that similarity is an equivalence relation.

(d)

Show that if T is similar to Tˆ then T2 is similar to Tˆ2⁠, the cubes are similar, etc.

(e)

Prove that there are matrix equivalent matrices that are not similar.

Answer (5 parts)

(a)

The arrow diagram suggests the definition.

Vwrt B1→TtVwrt B1id⁡↓id⁡↓Vwrt B2→TˆtVwrt B2

Call matrices T,Tˆ similar if there is a nonsingular matrix P such that Tˆ=P−1TP⁠.

(b)

Take P−1 to be P and take P to be Q⁠.

(c)

This is as in Exercise 2.24. Reflexivity is obvious: T=I−1TI⁠. Symmetry is also easy: Tˆ=P−1TP implies that T=PTˆP−1 (multiply the first equation from the right by P−1 and from the left by P⁠). For transitivity, assume that T1=P2−1T2P2 and that T2=P3−1T3P3⁠. Then T1= P2−1(P3−1T3P3)P2= (P2−1P3−1)T3(P3P2) and we are finished on noting that P3P2 is an invertible matrix with inverse P2−1P3−1⁠.

(d)

Assume Tˆ=P−1TP⁠. For squares, Tˆ2= (P−1TP)(P−1TP)= P−1T(PP−1)TP= P−1T2P⁠. Higher powers follow by induction.

(e)

These two are matrix equivalent but their squares are not matrix equivalent.

(1000)(0010)

By the prior item, matrix similarity and matrix equivalence are thus different.

Three.VI.1.6 §VI.1 source ↗

Project the first vector orthogonally into the line spanned by the second vector.

(a)

(21)⁠, (3−2)

(b)

(21)⁠, (30)

(c)

(114)⁠, (12−1)

(d)

(114)⁠, (3312)

Answer (4 parts)

(a)

(21)∙(3−2)(3−2)∙(3−2)⋅(3−2)= 413⋅(3−2)= (12/13−8/13)

(b)

(21)∙(30)(30)∙(30)⋅(30)= 23⋅(30)= (20)

(c)

(114)∙(12−1)(12−1)∙(12−1)⋅(12−1)= −16⋅(12−1)= (−1/6−1/31/6)

(d)

(114)∙(3312)(3312)∙(3312)⋅(3312)= 13⋅(3312)= (114)

Three.VI.1.7 §VI.1 source ↗

Project the vector orthogonally into the line.

(a)

(2−14), {c(−31−3)|c∈ℝ}

(b)

(−1−1)⁠, the line y=3x

Answer (2 parts)

(a)

(2−14)∙(−31−3)(−31−3)∙(−31−3)⋅(−31−3)= −1919⋅(−31−3)= (3−13)

(b)

Writing the line as

{c⋅(13)|c∈ℝ}

gives this projection.

(−1−1)∙(13)(13)∙(13)⋅(13)=−410⋅(13)=(−2/5−6/5)

Three.VI.1.8 §VI.1 source ↗

Although pictures guided our development of Definition 1.1, we are not restricted to spaces that we can draw. In ℝ4 project this vector into this line.

v→=(1213)ℓ={c⋅(−11−11)|c∈ℝ}

Answer

(1213)∙(−11−11)(−11−11)∙(−11−11)⋅(−11−11)= 34⋅(−11−11)= (−3/43/4−3/43/4)

Three.VI.1.9 §VI.1 source ↗

Definition 1.1 uses two vectors s→ and v→⁠. Consider the transformation of ℝ2 resulting from fixing

s→=(31)

and projecting v→ into the line that is the span of s→⁠. Apply it to these vectors.

(a)

(12)

(b)

(04)

Show that in general the projection transformation is this.

(x1x2)↦((9x1+3x2)/10(3x1+x2)/10)

Express the action of this transformation with a matrix.

Answer (3 parts)

(a)

(12)∙(31)(31)∙(31)⋅(31)= 12⋅(31)= (3/21/2)

(b)

(04)∙(31)(31)∙(31)⋅(31)= 25⋅(31)= (6/52/5)

In general the projection is this.

(x1x2)∙(31)(31)∙(31)⋅(31)=3x1+x210⋅(31)=((9x1+3x2)/10(3x1+x2)/10)

The appropriate matrix is this.

(9/103/103/101/10)

Three.VI.1.10 §VI.1 source ↗

Example 1.4 suggests that projection breaks v→ into two parts, proj[s→]⁡(v→) and v→−proj[s→]⁡(v→)⁠, that are non-interacting. Recall that the two are orthogonal. Show that any two nonzero orthogonal vectors make up a linearly independent set.

Answer

Suppose that v→1 and v→2 are nonzero and orthogonal. Consider the linear relationship c1v→1+c2v→2=0→⁠. Take the dot product of both sides of the equation with v→1 to get that

v→1∙(c1v→1+c2v→2)=c1⋅(v→1∙v→1)+c2⋅(v→1∙v→2)=c1⋅(v→1∙v→1)+c2⋅0=c1⋅(v→1∙v→1)

is equal to v→1∙0→=0→⁠. With the assumption that v→1 is nonzero, this gives that c1 is zero. Showing that c2 is zero is similar.

Three.VI.1.11 §VI.1 source ↗

(a)

What is the orthogonal projection of v→ into a line if v→ is a member of that line?

(b)

Show that if v→ is not a member of the line then the set {v→,v→−proj[s→]⁡(v→)} is linearly independent.

Answer (2 parts)

(a)

If the vector v→ is in the line then the orthogonal projection is v→⁠. To verify this by calculation, note that since v→ is in the line we have that v→=cv→⋅s→ for some scalar cv→⁠.

v→∙s→s→∙s→⋅s→=cv→⋅s→∙s→s→∙s→⋅s→=cv→⋅s→∙s→s→∙s→⋅s→=cv→⋅1⋅s→=v→

(Remark. If we assume that v→ is nonzero then we can simplify the above by taking s→ to be v→⁠.)

(b)

Write cp→s→ for the projection proj[s→]⁡(v→)⁠. Note that, by the assumption that v→ is not in the line, both v→ and v→−cp→s→ are nonzero. Note also that if cp→ is zero then we are actually considering the one-element set {v→}⁠, and with v→ nonzero, this set is necessarily linearly independent. Therefore, we are left considering the case that cp→ is nonzero.

Setting up a linear relationship

a1(v→)+a2(v→−cp→s→)=0→

leads to the equation (a1+a2)⋅v→=a2cp→⋅s→⁠. Because v→ isn’t in the line, the scalars a1+a2 and a2cp→ must both be zero. We handled the cp→=0 case above, so the remaining case is that a2=0⁠, and this gives that a1=0 also. Hence the set is linearly independent.

Three.VI.1.12 §VI.1 source ↗

Definition 1.1 requires that s→ be nonzero. Why? What is the right definition of the orthogonal projection of a vector into the (degenerate) line spanned by the zero vector?

Answer

If s→ is the zero vector then the expression

proj[s→]⁡(v→)=v→∙s→s→∙s→⋅s→

contains a division by zero, and so is undefined. As for the right definition, for the projection to lie in the span of the zero vector, it must be defined to be 0→⁠.

Three.VI.1.13 §VI.1 source ↗

Are all vectors the projection of some other vector into some line?

Answer

Any vector in ℝn is the projection of some other into a line, provided that the dimension n is greater than one. (Clearly, any vector is the projection of itself into a line containing itself; the question is to produce some vector other than v→ that projects to v→⁠.)

Suppose that v→∈ℝn with n>1⁠. If v→≠0→ then we consider the line ℓ={cv→|c∈ℝ} and if v→=0→ we take ℓ to be any (non-degenerate) line at all (actually, we needn’t distinguish between these two cases — see the prior exercise). Let v1,…,vn be the components of v→⁠; since n>1⁠, there are at least two. If some vi is zero then the vector w→=e→i is perpendicular to v→⁠. If none of the components is zero then the vector w→ whose components are v2,−v1,0,…,0 is perpendicular to v→⁠. In either case, observe that v→+w→ does not equal v→⁠, and that v→ is the projection of v→+w→ into ℓ⁠.

(v→+w→)∙v→v→∙v→⋅v→=(v→∙v→v→∙v→+w→∙v→ v→∙v→)⋅v→=v→∙v→v→∙v→⋅v→=v→

We can dispose of the remaining n=0 and n=1 cases. The dimension n=0 case is the trivial vector space, here there is only one vector and so it cannot be expressed as the projection of a different vector. In the dimension n=1 case there is only one (non-degenerate) line, and every vector is in it, hence every vector is the projection only of itself.

Three.VI.1.14 §VI.1 source ↗

Show that the projection of v→ into the line spanned by s→ has length equal to the absolute value of the number v→∙s→ divided by the length of the vector s→⁠.

Answer

The proof is a calculation. Recall that for any vector u→⁠, the length is determined by |u→|2=u→∙u→⁠. So this is the square of the length.

|v→∙s→s→∙s→⋅s→|2=(v→∙s→s→∙s→⋅s→)∙(v→∙s→s→∙s→⋅s→)=(v→∙s→s→∙s→)2⋅(s→∙s→)=(v→∙s→)2(s→∙s→)2⋅(s→∙s→)=(v→∙s→)2|s→|2

Three.VI.1.15 §VI.1 source ↗

Find the formula for the distance from a point to a line.

Answer

Because the projection of v→ into the line spanned by s→ is this,

v→∙s→s→∙s→⋅s→

the distance squared from the point to the line is this.

|v→−v→∙s→s→∙s→⋅s→|2=(v→−v→∙s→s→∙s→⋅s→)∙(v→−v→∙s→s→∙s→⋅s→)=v→∙v→−v→∙(v→∙s→s→∙s→⋅s→)−(v→∙s→s→∙s→⋅s→)∙v→+(v→∙s→s→∙s→⋅s→)∙(v→∙s→s→∙s→⋅s→)=v→∙v→−2⋅(v→∙s→s→∙s→)⋅v→∙s→+(v→∙s→s→∙s→)2⋅(s→∙s→)=(v→∙v→)⋅(s→∙s→)−2⋅(v→∙s→)2+(v→∙s→)2s→∙s→=(v→∙v→)(s→∙s→)−(v→∙s→)2s→∙s→

Three.VI.1.16 §VI.1 source ↗

Find the scalar c such that the point (cs1,cs2) is a minimum distance from the point (v1,v2) by using Calculus (i.e., consider the distance function, set the first derivative equal to zero, and solve). Generalize to ℝn⁠.

Answer

Because square root is a strictly increasing function, we can minimize d(c)= (cs1−v1)2+ (cs2−v2)2 instead of the square root of d⁠. The derivative is dd/dc= 2(cs1−v1)⋅s1+ 2(cs2−v2)⋅s2⁠. Setting it equal to zero 2(cs1−v1)⋅s1+ 2(cs2−v2)⋅s2= c⋅(2s12+2s22)− (v1s1+v2s2)= 0 gives the only critical point.

c=v1s1+v2s2s12+s22=v→∙s→s→∙s→

Now the second derivative with respect to c

d2ddc2=2s12+2s22

is strictly positive (as long as neither s1 nor s2 is zero, in which case the question is trivial) and so the critical point is a minimum.

The generalization to ℝn is straightforward. Consider dn(c)= (cs1−v1)2+ ⋯+ (csn−vn)2⁠, take the derivative, etc.

Three.VI.1.17 §VI.1 source ↗

Let p→ be the orthogonal projection of v→∈ℝn onto a line ℓ⁠. Show that p→ is the point in the line closest to v→⁠.

Answer

Suppose w→∈ℓ⁠. Because this is orthogonal projection, the two vectors v→−p→ and p→−w→ are at a right angle. The Triangle Inequality applies and the hypotenuse v→−w→ is therefore at least as long as v→−p→⁠.

Three.VI.1.18 §VI.1 source ↗

Prove that the orthogonal projection of a vector into a line has length less than or equal to that of the vector.

Answer

For any vector u→⁠, the length squared is given by |u→|2=u→∙u→⁠. So this is the square of the projection’s length.

|v→∙s→s→∙s→⋅s→|2=(v→∙s→s→∙s→⋅s→)∙(v→∙s→s→∙s→⋅s→)=(v→∙s→s→∙s→)2⋅(s→∙s→)=(v→∙s→)2(s→∙s→)2⋅(s→∙s→)=(v→∙s→)2|s→|2

Thus the length is |v→∙s→|/|s→|⁠, the absolute value of v→∙s→ divided by the length of s→⁠. The Cauchy-Schwarz inequality, |v→∙s→|≤|v→|⋅|s→|⁠, gives that |v→∙s→|/|s→|≤|v→|⋅|s→|/|s→|= |v→|⁠.

Three.VI.1.19 §VI.1 source ↗

Show that the definition of orthogonal projection into a line does not depend on the spanning vector: if s→ is a nonzero multiple of q→ then (v→∙s→/s→∙s→)⋅s→ equals (v→∙q→/q→∙q→)⋅q→⁠.

Answer

Write cs→ for q→⁠, and calculate: (v→∙cs→/cs→∙cs→)⋅cs→= (v→∙s→/s→∙s→)⋅s→⁠.

Three.VI.1.20 §VI.1 source ↗

Consider the function mapping the plane to itself that takes a vector to its projection into the line y=x⁠. These two each show that the map is linear, the first one in a way that is coordinate-bound (that is, it fixes a basis and then computes) and the second in a way that is more conceptual.

(a)

Produce a matrix that describes the function’s action.

(b)

Show that we can obtain this map by first rotating everything in the plane π/4⁠ radians clockwise, then projecting into the x⁠-axis, and then rotating π/4⁠ radians counterclockwise.

Answer (2 parts)

(a)

Fixing

s→=(11)

as the vector whose span is the line, the formula gives this action,

(xy)↦(xy)∙(11)(11)∙(11)⋅(11)=x+y2⋅(11)=((x+y)/2(x+y)/2)

which is the effect of this matrix.

(1/21/21/21/2)

(b)

Rotating the entire plane π/4⁠ radians clockwise brings the y=x⁠ line to lie on the x⁠-axis. Now projecting and then rotating back has the desired effect.

Three.VI.1.21 §VI.1 source ↗

For a→,b→∈ℝn let v→1 be the projection of a→ into the line spanned by b→⁠, let v→2 be the projection of v→1 into the line spanned by a→⁠, let v→3 be the projection of v→2 into the line spanned by b→⁠, etc., back and forth between the spans of a→ and b→⁠. That is, v→i+1 is the projection of v→i into the span of a→ if i+1 is even, and into the span of b→ if i+1 is odd. Must that sequence of vectors eventually settle down — must there be a sufficiently large i such that v→i+2 equals v→i and v→i+3 equals v→i+1⁠? If so, what is the earliest such i⁠?

Answer

The sequence need not settle down. With

a→=(10)b→=(11)

the projections are these.

v→1=(1/21/2),v→2=(1/20),v→3=(1/41/4),…

This sequence doesn’t repeat.

Three.VI.2.10 §VI.2 source ↗

Normalize the lengths of these vectors.

(a)

(12)

(b)

(−130)

(c)

(1−1)

Answer (3 parts)

(a)

(1/52/5)=15⋅(12)

(b)

110⋅(−130)

(c)

12⋅(1−1)

Three.VI.2.11 §VI.2 source ↗

Perform Gram-Schmidt on this basis for ℝ2⁠.

⟨(11),(−12)⟩

Check that the resulting vectors are orthogonal.

Answer

Call the given basis B=⟨β→1,β→2⟩⁠. First, κ→1=β→1⁠. For the other, κ→2=β→2−proj[κ→1]⁡(β→2)⁠.

κ→2=(−12)−(−12)∙(11)(11)∙(11)⋅(11)=(−3/23/2)

To check that they are orthogonal, just note that their dot product is zero.

Three.VI.2.12 §VI.2 source ↗

Perform the Gram-Schmidt process on this basis for ℝ3⁠.

⟨(123),(21−3),(333)⟩

Answer

Call the given basis B=⟨β→1,β→2,β→3⟩⁠. First, κ→1=β→1⁠.

Next, κ→2=β→2−proj[κ→1]⁡(β→2)⁠.

κ→2=(21−3)−(21−3)∙(123)(123)∙(123)⋅(123)=(33/1424/14−27/14)

For the third, this is the formula

κ→3=β→3−proj[κ→1]⁡(β→3)−proj[κ→2]⁡(β→3)

and here is the calculation.

(333)−(333)∙(123)(123)∙(123)⋅(123)−(333)∙(33/1424/14−27/14)(33/1424/14−27/14)∙(33/1424/14−27/14)⋅(33/1424/14−27/14)=(9/19−9/193/19)

Three.VI.2.13 §VI.2 source ↗

Perform Gram-Schmidt on each of these bases for ℝ2⁠.

(a)

⟨(11),(21)⟩

(b)

⟨(01),(−13)⟩

(c)

⟨(01),(−10)⟩

Then turn those orthogonal bases into orthonormal bases.

Answer (4 parts)

(a)

κ→1=(11)κ→2=(21)−proj[κ→1]⁡((21))=(21)−(21)∙(11)(11)∙(11)⋅(11)=(21)−32⋅(11)=(1/2−1/2)

This is the corresponding orthonormal basis.

⟨(1/21/2),(2/2−2/2)⟩

(b)

κ→1=(01)κ→2=(−13)−proj[κ→1]⁡((−13))=(−13)−(−13)∙(01)(01)∙(01)⋅(01)=(−13)−31⋅(01)=(−10)

Here is the orthonormal basis.

⟨(01),(−10)⟩

(c)

κ→1=(01)κ→2=(−10)−proj[κ→1]⁡((−10))=(−10)−(−10)∙(01)(01)∙(01)⋅(01)=(−10)−01⋅(01)=(−10)

This is the associated orthonormal basis.

⟨(01),(−10)⟩

Three.VI.2.14 §VI.2 source ↗

Perform the Gram-Schmidt process on each of these bases for ℝ3⁠.

(a)

⟨(222),(10−1),(031)⟩

(b)

⟨(1−10),(010),(231)⟩

Then turn those orthogonal bases into orthonormal bases.

Answer (2 parts)

(a)

The first basis vector is unchanged.

κ→1=(222)

The second one comes from this calculation.

κ→2=(10−1)−proj[κ→1]⁡((10−1))=(10−1)−(10−1)∙(222)(222)∙(222)⋅(222)=(10−1)−012⋅(222)=(10−1)

For the third the arithmetic is uglier but it is a straightforward calculation.

κ→3=(031)−proj[κ→1]⁡((031))−proj[κ→2]⁡((031))=(031)−(031)∙(222)(222)∙(222)⋅(222)−(031)∙(10−1)(10−1)∙(10−1)⋅(10−1)=(031)−812⋅(222)−−12⋅(10−1)=(−5/65/3−5/6)

This is the orthonormal basis.

⟨(1/31/31/3),(1/20−1/2),(−1/62/6−1/6)⟩

(b)

The first basis vector is what was given.

κ→1=(1−10)

The second is here.

κ→2=(010)−proj[κ→1]⁡((010))=(010)−(010)∙(1−10)(1−10)∙(1−10)⋅(1−10)=(010)−−12⋅(1−10)=(1/21/20)

Here is the third.

κ→3=(231)−proj[κ→1]⁡((231))−proj[κ→2]⁡((231))=(231)−(231)∙(1−10)(1−10)∙(1−10)⋅(1−10)−(231)∙(1/21/20)(1/21/20)∙(1/21/20)⋅(1/21/20)=(231)−−12⋅(1−10)−5/21/2⋅(1/21/20)=(001)

Here is the associated orthonormal basis.

⟨(1/2−1/20),(1/21/20)(001)⟩

Three.VI.2.15 §VI.2 source ↗

Find an orthonormal basis for this subspace of ℝ3⁠: the plane x−y+z=0⁠.

Answer

We can parametrize the given space can in this way.

{(xyz)|x=y−z}={(110)⋅y+(−101)⋅z|y,z∈ℝ}

So we take the basis

⟨(110),(−101)⟩

apply the Gram-Schmidt process to get this first basis vector

κ→1=(110)

and this second one.

κ→2=(−101)−proj[κ→1]⁡((−101))=(−101)−(−101)∙(110)(110)∙(110)⋅(110)=(−101)−−12⋅(110)=(−1/21/21)

and then normalize.

⟨(1/21/20),(−1/61/62/6)⟩

Three.VI.2.16 §VI.2 source ↗

Find an orthonormal basis for this subspace of ℝ4⁠.

{(xyzw)|x−y−z+w=0 and x+z=0}

Answer

Reducing the linear system

x−y−z+w=0x+z=0⟶−ρ1+ρ2x−y−z+w=0y+2z−w=0

and parametrizing gives this description of the subspace.

{(−1−210)⋅z+(0101)⋅w|z,w∈ℝ}

So we take the basis,

⟨(−1−210),(0101)⟩

go through the Gram-Schmidt process with the first

κ→1=(−1−210)

and second basis vectors

κ→2=(0101)−proj[κ→1]⁡((0101))=(0101)−(0101)∙(−1−210)(−1−210)∙(−1−210)⋅(−1−210)=(0101)−−26⋅(−1−210)=(−1/31/31/31)

and finish by normalizing.

⟨(−1/6−2/61/60),(−3/63/63/63/2)⟩

Three.VI.2.17 §VI.2 source ↗

Show that any linearly independent subset of ℝn can be orthogonalized without changing its span.

Answer

A linearly independent subset of ℝn is a basis for its own span. Apply Theorem 2.7.

Remark. Here’s why the phrase ‘linearly independent’ is in the question. Dropping the phrase would require us to worry about two things. The first thing to worry about is that when we do the Gram-Schmidt process on a linearly dependent set then we get some zero vectors. For instance, with

S={(12),(36)}

we would get this.

κ→1=(12)κ→2=(36)−proj[κ→1]⁡((36))=(00)

This first thing is not so bad because the zero vector is by definition orthogonal to every other vector, so we could accept this situation as yielding an orthogonal set (although it of course can’t be normalized), or we just could modify the Gram-Schmidt procedure to throw out any zero vectors. The second thing to worry about if we drop the phrase ‘linearly independent’ from the question is that the set might be infinite. Of course, any subspace of the finite-dimensional ℝn must also be finite-dimensional so only finitely many of its members are linearly independent, but nonetheless, a “process” that examines the vectors in an infinite set one at a time would at least require some more elaboration in this question. A linearly independent subset of ℝn is automatically finite — in fact, of size n or less — so the ‘linearly independent’ phrase obviates these concerns.

Three.VI.2.18 §VI.2 source ↗

What happens if we try to apply the Gram-Schmidt process to a finite set that is not a basis?

Answer

If that set is not linearly independent, then we get a zero vector. Otherwise (if our set is linearly independent but does not span the space), we are doing Gram-Schmidt on a set that is a basis for a subspace and so we get an orthogonal basis for a subspace.

Three.VI.2.19 §VI.2 source ↗

What happens if we apply the Gram-Schmidt process to a basis that is already orthogonal?

Answer

The process leaves the basis unchanged.

Three.VI.2.20 §VI.2 source ↗

Let ⟨κ→1,…,κ→k⟩ be a set of mutually orthogonal vectors in ℝn⁠.

(a)

Prove that for any v→ in the space, the vector v→− (proj[κ→1]⁡(v→)+ ⋯+ proj[κ→k]⁡(v→)) is orthogonal to each of κ→1⁠, …, κ→k⁠.

(b)

Illustrate the prior item in ℝ3 by using e→1 as κ→1⁠, using e→2 as κ→2⁠, and taking v→ to have components 1⁠, 2⁠, and 3⁠.

(c)

Show that proj[κ→1]⁡(v→)+ ⋯+ proj[v→k]⁡(v→) is the vector in the span of the set of κ→⁠’s that is closest to v→⁠. Hint. To the illustration done for the prior part, add a vector d1κ→1+d2κ→2 and apply the Pythagorean Theorem to the resulting triangle.

Answer (3 parts)

(a)

The argument is as in the i=3 case of the proof of Theorem 2.7. The dot product

κ→i∙(v→−proj[κ→1]⁡(v→)−⋯−proj[v→k]⁡(v→))

can be written as the sum of terms of the form −κ→i∙proj[κ→j]⁡(v→) with j≠i⁠, and the term κ→i∙(v→−proj[κ→i]⁡(v→))⁠. The first kind of term equals zero because the κ→⁠’s are mutually orthogonal. The other term is zero because this projection is orthogonal (that is, the projection definition makes it zero: κ→i∙(v→− proj[κ→i]⁡(v→))= κ→i∙v→− κ→i∙((v→∙κ→i)/(κ→i∙κ→i))⋅κ→i equals, after all of the cancellation is done, zero).

(b)

The vector v→ is in black and the vector proj[κ→1]⁡(v→)+ proj[v→2]⁡(v→)= 1⋅e→1+ 2⋅e→2 is in gray.

The vector v→− (proj[κ→1]⁡(v→)+ proj[v→2]⁡(v→)) lies on the dotted line connecting the black vector to the gray one, that is, it is orthogonal to the xy⁠-plane.

(c)

We get this diagram by following the hint.

The dashed triangle has a right angle where the gray vector 1⋅e→1+2⋅e→2 meets the vertical dashed line v→−(1⋅e→1+2⋅e→2)⁠; this is what first item of this question proved. The Pythagorean theorem then gives that the hypotenuse — the segment from v→ to any other vector — is longer than the vertical dashed line.

More formally, writing proj[κ→1]⁡(v→)+ ⋯+ proj[v→k]⁡(v→) as c1⋅κ→1+⋯+ck⋅κ→k⁠, consider any other vector in the span d1⋅κ→1+⋯+dk⋅κ→k⁠. Note that

v→−(d1⋅κ→1+⋯+dk⋅κ→k)=(v→−(c1⋅κ→1+⋯+ck⋅κ→k))+((c1⋅κ→1+⋯+ck⋅κ→k)−(d1⋅κ→1+⋯+dk⋅κ→k))

and that (v→− (c1⋅κ→1+ ⋯+ ck⋅κ→k))∙((c1⋅κ→1+ ⋯+ ck⋅κ→k)− (d1⋅κ→1+ ⋯+ dk⋅κ→k))= 0 (because the first item shows the v→−(c1⋅κ→1+⋯+ck⋅κ→k) is orthogonal to each κ→ and so it is orthogonal to this linear combination of the κ→⁠’s). Now apply the Pythagorean Theorem (i.e., the Triangle Inequality).

Three.VI.2.21 §VI.2 source ↗

Find a nonzero vector in ℝ3 that is orthogonal to both of these.

(15−1)(220)

Answer

One way to proceed is to find a third vector so that the three together make a basis for ℝ3⁠, e.g.,

β→3=(100)

(the second vector is not dependent on the third because it has a nonzero second component, and the first is not dependent on the second and third because of its nonzero third component), and then apply the Gram-Schmidt process. The first element of the new basis is this.

κ→1=(15−1)

And this is the second element.

κ→2=(220)−proj[κ→1]⁡((220))=(220)−(220)∙(15−1)(15−1)∙(15−1)⋅(15−1)=(220)−1227⋅(15−1)=(14/9−2/94/9)

Here is the final element.

κ→3=(100)−proj[κ→1]⁡((100))−proj[κ→2]⁡((100))=(100)−(100)∙(15−1)(15−1)∙(15−1)⋅(15−1)−(100)∙(14/9−2/94/9)(14/9−2/94/9)∙(14/9−2/94/9)⋅(14/9−2/94/9)=(100)−127⋅(15−1)−712⋅(14/9−2/94/9)=(1/18−1/18−4/18)

The result κ→3 is orthogonal to both κ→1 and κ→2⁠. It is therefore orthogonal to every vector in the span of the set {κ→1,κ→2}⁠, including the two vectors given in the question.

Three.VI.2.22 §VI.2 source ↗

One advantage of orthogonal bases is that they simplify finding the representation of a vector with respect to that basis.

(a)

For this vector and this non-orthogonal basis for ℝ2

v→=(23)B=⟨(11),(10)⟩

first represent the vector with respect to the basis. Then project the vector into the span of each basis vector [β→1] and [β→2]⁠.

(b)

With this orthogonal basis for ℝ2

K=⟨(11),(1−1)⟩

represent the same vector v→ with respect to the basis. Then project the vector into the span of each basis vector. Note that the coefficients in the representation and the projection are the same.

(c)

Let K=⟨κ→1,…,κ→k⟩ be an orthogonal basis for some subspace of ℝn⁠. Prove that for any v→ in the subspace, the i⁠-th component of the representation RepK⁡(v→) is the scalar coefficient (v→∙κ→i)/(κ→i∙κ→i) from proj[κ→i]⁡(v→)⁠.

(d)

Prove that v→= proj[κ→1]⁡(v→)+ ⋯+ proj[κ→k]⁡(v→)⁠.

Answer (4 parts)

(a)

We can do the representation by eye.

(23)=3⋅(11)+(−1)⋅(10)RepB⁡(v→)=(3−1)B

The two projections are also easy.

proj[β→1]⁡((23))=(23)∙(11)(11)∙(11)⋅(11)=52⋅(11)proj[β→2]⁡((23))=(23)∙(10)(10)∙(10)⋅(10)=21⋅(10)

(b)

As above, we can do the representation by eye

(23)=(5/2)⋅(11)+(−1/2)⋅(1−1)

and the two projections are easy.

proj[β→1]⁡((23))=(23)∙(11)(11)∙(11)⋅(11)=52⋅(11)proj[β→2]⁡((23))=(23)∙(1−1)(1−1)∙(1−1)⋅(1−1)=−12⋅(1−1)

Note the recurrence of the 5/2 and the −1/2⁠.

(c)

Represent v→ with respect to the basis

RepK⁡(v→)=(r1⋮rk)

so that v→=r1κ→1+⋯+rkκ→k⁠. To determine ri⁠, take the dot product of both sides with κ→i⁠.

v→∙κ→i=(r1κ→1+⋯+rkκ→k)∙κ→i=r1⋅0+⋯+ri⋅(κ→i∙κ→i)+⋯+rk⋅0

Solving for ri yields the desired coefficient.

(d)

This is a restatement of the prior item.

Three.VI.2.23 §VI.2 source ↗

Bessel’s Inequality. Consider these orthonormal sets

B1={e→1}B2={e→1,e→2}B3={e→1,e→2,e→3}B4={e→1,e→2,e→3,e→4}

along with the vector v→∈ℝ4 whose components are 4⁠, 3⁠, 2⁠, and 1⁠.

(a)

Find the coefficient c1 for the projection of v→ into the span of the vector in B1⁠. Check that |v→|2≥|c1|2⁠.

(b)

Find the coefficients c1 and c2 for the projection of v→ into the spans of the two vectors in B2⁠. Check that |v→|2≥|c1|2+|c2|2⁠.

(c)

Find c1⁠, c2⁠, and c3 associated with the vectors in B3⁠, and c1⁠, c2⁠, c3⁠, and c4 for the vectors in B4⁠. Check that |v→|2≥|c1|2+⋯+|c3|2 and that |v→|2≥|c1|2+⋯+|c4|2⁠.

Show that this holds in general: where {κ→1,…,κ→k} is an orthonormal set and ci is coefficient of the projection of a vector v→ from the space then |v→|2≥|c1|2+⋯+|ck|2⁠. Hint. One way is to look at the inequality 0≤|v→−(c1κ→1+⋯+ckκ→k)|2 and expand the c⁠’s.

Answer (5 parts)

First, |v→|2=42+32+22+12=50⁠.

(a)

c1=4

(b)

c1=4⁠, c2=3

(c)

c1=4⁠, c2=3⁠, c3=2⁠, c4=1

For the proof, we will do only the k=2 case because the completely general case is messier but no more enlightening. We follow the hint (recall that for any vector w→ we have |w→|2=w→∙w→⁠).

0≤(v→−(v→∙κ→1κ→1∙κ→1⋅κ→1+v→∙κ→2κ→2∙κ→2⋅κ→2))∙(v→−(v→∙κ→1κ→1∙κ→1⋅κ→1+v→∙κ→2κ→2∙κ→2⋅κ→2))=[t]v→∙v→−2⋅v→∙(v→∙κ→1κ→1∙κ→1⋅κ→1+v→∙κ→2κ→2∙κ→2⋅κ→2)+(v→∙κ→1κ→1∙κ→1⋅κ→1+v→∙κ→2κ→2∙κ→2⋅κ→2)∙(v→∙κ→1κ→1∙κ→1⋅κ→1+v→∙κ→2κ→2∙κ→2⋅κ→2)=v→∙v→−2⋅(v→∙κ→1κ→1∙κ→1⋅(v→∙κ→1)+v→∙κ→2κ→2∙κ→2⋅(v→∙κ→2))+((v→∙κ→1κ→1∙κ→1)2⋅(κ→1∙κ→1)+(v→∙κ→2κ→2∙κ→2)2⋅(κ→2∙κ→2))

(The two mixed terms in the third part of the third line are zero because κ→1 and κ→2 are orthogonal.) The result now follows on gathering like terms and on recognizing that κ→1∙κ→1=1 and κ→2∙κ→2=1 because these vectors are members of an orthonormal set.

Three.VI.2.24 §VI.2 source ↗

Prove or disprove: every vector in ℝn is in some orthogonal basis.

Answer

It is true, except for the zero vector. Every vector in ℝn except the zero vector is in a basis, and that basis can be orthogonalized.

Three.VI.2.25 §VI.2 source ↗

Show that the columns of an n×n matrix form an orthonormal set if and only if the inverse of the matrix is its transpose. Produce such a matrix.

Answer

The 3×3 case gives the idea. The set

{(adg),(beh),(cfi)}

is orthonormal if and only if these nine conditions all hold

(adg)∙(adg)=1(adg)∙(beh)=0(adg)∙(cfi)=0(beh)∙(adg)=0(beh)∙(beh)=1(beh)∙(cfi)=0(cfi)∙(adg)=0(cfi)∙(beh)=0(cfi)∙(cfi)=1

(the three conditions in the lower left are redundant but nonetheless correct). Those, in turn, hold if and only if

(adgbehcfi)(abcdefghi)=(100010001)

as required.

This is an example, the inverse of this matrix is its transpose.

(1/21/20−1/21/20001)

Three.VI.2.26 §VI.2 source ↗

Does the proof of Theorem 2.2 fail to consider the possibility that the set of vectors is empty (i.e., that k=0⁠)?

Answer

If the set is empty then the summation on the left side is the linear combination of the empty set of vectors, which by definition adds to the zero vector. In the second sentence, there is not such i⁠, so the ‘if … then …’ implication is vacuously true.

Three.VI.2.27 §VI.2 source ↗

Theorem 2.7 describes a change of basis from any basis B=⟨β→1,…,β→k⟩ to one that is orthogonal K=⟨κ→1,…,κ→k⟩⁠. Consider the change of basis matrix RepB,K⁡(id⁡)⁠.

(a)

Prove that the matrix RepK,B⁡(id⁡) changing bases in the direction opposite to that of the theorem has an upper triangular shape — all of its entries below the main diagonal are zeros.

(b)

Prove that the inverse of an upper triangular matrix is also upper triangular (if the matrix is invertible, that is). This shows that the matrix RepB,K⁡(id⁡) changing bases in the direction described in the theorem is upper triangular.

Answer (2 parts)

(a)

Part of the induction argument proving Theorem 2.7 checks that κ→i is in the span of ⟨β→1,…,β→i⟩⁠. (The i=3 case in the proof illustrates.) Thus, in the change of basis matrix RepK,B⁡(id⁡)⁠, the i⁠-th column RepB⁡(κ→i) has components i+1 through k that are zero.

(b)

One way to see this is to recall the computational procedure that we use to find the inverse. We write the matrix, write the identity matrix next to it, and then we do Gauss-Jordan reduction. If the matrix starts out upper triangular then the Gauss-Jordan reduction involves only the Jordan half and these steps, when performed on the identity, will result in an upper triangular inverse matrix.

Three.VI.2.28 §VI.2 source ↗

Complete the induction argument in the proof of Theorem 2.7.

Answer

For the inductive step, we assume that for all j in [1..i]⁠, these three conditions are true of each κ→j⁠: (i) each κ→j is nonzero, (ii) each κ→j is a linear combination of the vectors β→1,…,β→j⁠, and (iii) each κ→j is orthogonal to all of the κ→m⁠’s prior to it (that is, with m<j⁠). With those inductive hypotheses, consider κ→i+1⁠.

κ→i+1=β→i+1−proj[κ→1]⁡(βi+1)−proj[κ→2]⁡(βi+1)−⋯−proj[κ→i]⁡(βi+1)=β→i+1−βi+1∙κ→1κ→1∙κ→1⋅κ→1−βi+1∙κ→2κ→2∙κ→2⋅κ→2−⋯−βi+1∙κ→iκ→i∙κ→i⋅κ→i

By the inductive assumption (ii) we can expand each κ→j into a linear combination of β→1,…,β→j

=β→i+1−β→i+1∙κ→1κ→1∙κ→1⋅β→1−β→i+1∙κ→2κ→2∙κ→2⋅( linear combination of β→1,β→2)−⋯−β→i+1∙κ→iκ→i∙κ→i⋅( linear combination of β→1,…,β→i)

The fractions are scalars so this is a linear combination of linear combinations of β→1,…,β→i+1⁠. It is therefore just a linear combination of β→1,…,β→i+1⁠. Now, (i) it cannot sum to the zero vector because the equation would then describe a nontrivial linear relationship among the β→⁠’s that are given as members of a basis (the relationship is nontrivial because the coefficient of β→i+1 is 1⁠). Also, (ii) the equation gives κ→i+1 as a combination of β→1,…,β→i+1⁠. Finally, for (iii), consider κ→j∙κ→i+1⁠; as in the i=3 case, the dot product of κ→j with κ→i+1= β→i+1− proj[κ→1]⁡(β→i+1)− ⋯− proj[κ→i]⁡(β→i+1) can be rewritten to give two kinds of terms, κ→j∙(β→i+1− proj[κ→j]⁡(β→i+1)) (which is zero because the projection is orthogonal) and κ→j∙proj[κ→m]⁡(β→i+1) with m≠j and m<i+1 (which is zero because by the hypothesis (iii) the vectors κ→j and κ→m are orthogonal).

Three.VI.3.10 §VI.3 source ↗

Project the vectors into M along N⁠.

(a)

(3−2), M= {(xy)|x+y=0}, N= {(xy)|−x−2y=0}

(b)

(12), M= {(xy)|x−y=0}, N= {(xy)|2x+y=0}

(c)

(301), M= {(xyz)|x+y=0}, N= {c⋅(101)|c∈ℝ}

Answer (3 parts)

(a)

When bases for the subspaces

BM=⟨(1−1)⟩BN=⟨(2−1)⟩

are concatenated

B=BM⌢BN=⟨(1−1),(2−1)⟩

and the given vector is represented

(3−2)=1⋅(1−1)+1⋅(2−1)

then the answer comes from retaining the M⁠ part and dropping the N⁠ part.

projM,N⁡((3−2))=(1−1)

(b)

When the bases

BM=⟨(11)⟩BN⟨(1−2)⟩

are concatenated, and the vector is represented,

(12)=(4/3)⋅(11)−(1/3)⋅(1−2)

then retaining only the M⁠ part gives this answer.

projM,N⁡((12))=(4/34/3)

(c)

With these bases

BM=⟨(1−10),(001)⟩BN=⟨(101)⟩

the representation with respect to the concatenation is this.

(301)=0⋅(1−10)−2⋅(001)+3⋅(101)

and so the projection is this.

projM,N⁡((301))=(00−2)

Three.VI.3.11 §VI.3 source ↗

Find M⟂⁠.

(a)

M={(xy)|x+y=0}

(b)

M={(xy)|−2x+3y=0}

(c)

M={(xy)|x−y=0}

(d)

M={0→}

(e)

M={(xy)|x=0}

(f)

M={(xyz)|−x+3y+z=0}

(g)

M={(xyz)|x=0 and y+z=0}

Answer (8 parts)

As in Example 3.5, we can simplify the calculation by just finding the space of vectors perpendicular to all the the vectors in M⁠’s basis.

(a)

Parametrizing to get

M={c⋅(−11)|c∈ℝ}

gives that

M⟂{(uv)|0=(uv)∙(−11)}={(uv)|0=−u+v}

Parametrizing the one-equation linear system gives this description.

M⟂={k⋅(11)|k∈ℝ}

(b)

As in the answer to the prior part, we can describe M as a span

M={c⋅(3/21)|c∈ℝ}BM=⟨(3/21)⟩

and then M⟂ is the set of vectors perpendicular to the one vector in this basis.

M⟂={(uv)|(3/2)⋅u+1⋅v=0}={k⋅(−2/31)|k∈ℝ}

(c)

Parametrizing the linear requirement in the description of M gives this basis.

M={c⋅(11)|c∈ℝ}BM=⟨(11)⟩

Now, M⟂ is the set of vectors perpendicular to (the one vector in) BM⁠.

M⟂={(uv)|u+v=0}={k⋅(−11)|k∈ℝ}

(By the way, this answer checks with the first item in this question.)

(d)

Every vector in the space is perpendicular to the zero vector so M⟂=ℝn⁠.

(e)

The appropriate description and basis for M are routine.

M={y⋅(01)|y∈ℝ}BM=⟨(01)⟩

Then

M⟂={(uv)|0⋅u+1⋅v=0}={k⋅(10)|k∈ℝ}

and so (y-axis)⟂=x-axis⁠.

(f)

The description of M is easy to find by parametrizing.

M={c⋅(310)+d⋅(101)|c,d∈ℝ}BM=⟨(310),(101)⟩

Finding M⟂ here just requires solving a linear system with two equations

3u+v=0u+w=0⟶−(1/3)ρ1+ρ23u+v=0−(1/3)v+w=0

and parametrizing.

M⟂={k⋅(−131)|k∈ℝ}

(g)

Here, M is one-dimensional

M={c⋅(0−11)|c∈ℝ}BM=⟨(0−11)⟩

and as a result, M⟂ is two-dimensional.

M⟂={(uvw)|0⋅u−1⋅v+1⋅w=0}={j⋅(100)+k⋅(011)|j,k∈ℝ}

Three.VI.3.12 §VI.3 source ↗

Find the orthogonal projection of the vector into the subspace.

(120)S=[{(020),(1−11)}]

Answer

Where

A=(012−101)

straightforward, although tedious, calculation gives this.

A(A𝖳A)−1A𝖳=(1/201/20101/201/2)

When applied to the vector we get the projection.

(1/201/20101/201/2)(120)=(1/221/2)

Three.VI.3.13 §VI.3 source ↗

With the same subspace as in the prior problem, find the orthogonal projection of this vector.

(12−1)

Answer

Using the matrix calculation from the prior answer, this

(1/20−1/2010−1/201/2)(12−1)=(12−1)

shows the vector is in the subspace S⁠.

Three.VI.3.14 §VI.3 source ↗

Let p→ be the orthogonal projection of v→∈ℝn onto a subspace S⁠. Show that p→ is the point in the subspace closest to v→⁠.

Answer

Suppose w→∈S⁠. Because this is orthogonal projection, the two vectors v→−p→ and p→−w→ are at a right angle. The Triangle Inequality applies and the hypotenuse v→−w→ is therefore at least as long as v→−p→⁠.

Three.VI.3.15 §VI.3 source ↗

This subsection shows how to project orthogonally in two ways, the method of Example 3.2 and 3.3, and the method of Theorem 3.8. To compare them, consider the plane P specified by 3x+2y−z=0 in ℝ3⁠.

(a)

Find a basis for P⁠.

(b)

Find P⟂ and a basis for P⟂⁠.

(c)

Represent this vector with respect to the concatenation of the two bases from the prior item.

v→=(112)

(d)

Find the orthogonal projection of v→ into P by keeping only the P part from the prior item.

(e)

Check that against the result from applying Theorem 3.8.

Answer (5 parts)

(a)

Parametrizing the equation leads to this basis for P⁠.

BP=⟨(103),(012)⟩

(b)

Because ℝ3 is three-dimensional and P is two-dimensional, the complement P⟂ must be a line. Anyway, the calculation as in Example 3.5

P⟂={(xyz)|(103012)(xyz)=(00)}

gives this basis for P⟂⁠.

BP⟂=⟨(32−1)⟩

(c)

(112)= (5/14)⋅(103)+ (8/14)⋅(012)+ (3/14)⋅(32−1)

(d)

projP⁡((112))= (5/148/1431/14)

(e)

The matrix of the projection

(100132)((103012)(100132))−1(103012)=(100132)(10665)−1(103012)=114(5−63−61023213)

when applied to the vector, yields the expected result.

114(5−63−61023213)(112)=(5/148/1431/14)

Three.VI.3.16 §VI.3 source ↗

We have three ways to find the orthogonal projection of a vector into a line, the Definition 1.1 way from the first subsection of this section, the Example 3.2 and 3.3 way of representing the vector with respect to a basis for the space and then keeping the M⁠ part, and the way of Theorem 3.8. For these cases, do all three ways.

(a)

v→=(1−3),M={(xy)|x+y=0}

(b)

v→= (012), M= {(xyz)|x+z=0 and y=0}

Answer (2 parts)

(a)

Parametrizing gives this.

M={c⋅(−11)|c∈ℝ}

For the first way, we take the vector spanning the line M to be

s→=(−11)

and the Definition 1.1 formula gives this.

proj[s→]⁡((1−3))=(1−3)∙(−11)(−11)∙(−11)⋅(−11)=−42⋅(−11)=(2−2)

For the second way, we fix

BM=⟨(−11)⟩

and so (as in Example 3.5 and 3.6, we can just find the vectors perpendicular to all of the members of the basis)

M⟂={(uv)|−1⋅u+1⋅v=0}={k⋅(11)|k∈ℝ}BM⟂=⟨(11)⟩

and representing the vector with respect to the concatenation gives this.

(1−3)=−2⋅(−11)−1⋅(11)

Keeping the M⁠ part yields the answer.

projM,M⟂⁡((1−3))=(2−2)

The third part is also a simple calculation (there is a 1×1 matrix in the middle, and the inverse of it is also 1×1⁠)

A(A𝖳A)−1A𝖳=(−11)((−11)(−11))−1(−11)=(−11)(2)−1(−11)=(−11)(1/2)(−11)=(−11)(−1/21/2)=(1/2−1/2−1/21/2)

which of course gives the same answer.

projM⁡((1−3))=(1/2−1/2−1/21/2)(1−3)=(2−2)

(b)

Parametrization gives this.

M={c⋅(−101)|c∈ℝ}

With that, the formula for the first way gives this.

(012)∙(−101)(−101)∙(−101)⋅(−101)=22⋅(−101)=(−101)

To proceed by the second method we find M⟂⁠,

M⟂={(uvw)|−u+w=0}={j⋅(101)+k⋅(010)|j,k∈ℝ}

find the representation of the given vector with respect to the concatenation of the bases BM and BM⟂

(012)=1⋅(−101)+1⋅(101)+1⋅(010)

and retain only the M⁠ part.

projM⁡((012))=1⋅(−101)=(−101)

Finally, for the third method, the matrix calculation

A(A𝖳A)−1A𝖳=(−101)((−101)(−101))−1(−101)=(−101)(2)−1(−101)=(−101)(1/2)(−101)=(−101)(−1/201/2)=(1/20−1/2000−1/201/2)

followed by matrix-vector multiplication

projM⁡((012))(1/20−1/2000−1/201/2)(012)=(−101)

gives the answer.

Three.VI.3.17 §VI.3 source ↗

Check that the operation of Definition 3.1 is well-defined. That is, in Example 3.2 and 3.3, doesn’t the answer depend on the choice of bases?

Answer

No, a decomposition of vectors v→=m→+n→ into m→∈M and n→∈N does not depend on the bases chosen for the subspaces, as we showed in the Direct Sum subsection.

Three.VI.3.18 §VI.3 source ↗

What is the orthogonal projection into the trivial subspace?

Answer

The orthogonal projection of a vector into a subspace is a member of that subspace. Since a trivial subspace has only one member, 0→⁠, the projection of any vector must equal 0→⁠.

Three.VI.3.19 §VI.3 source ↗

What is the projection of v→ into M along N if v→∈M⁠?

Answer

The projection into M along N of a v→∈M is v→⁠. Decomposing v→=m→+n→ gives m→=v→ and n→=0→⁠, and dropping the N⁠ part but retaining the M⁠ part results in a projection of m→=v→⁠.

Three.VI.3.20 §VI.3 source ↗

Show that if M⊆ℝn is a subspace with orthonormal basis ⟨κ→1,…,κ→n⟩ then the orthogonal projection of v→ into M is this.

(v→∙κ→1)⋅κ→1+⋯+(v→∙κ→n)⋅κ→n

Answer

The proof of Lemma 3.7 shows that each vector v→∈ℝn is the sum of its orthogonal projections into the lines spanned by the basis vectors.

v→=proj[κ→1]⁡(v→)+⋯+proj[κ→n]⁡(v→)=v→∙κ→1κ→1∙κ→1⋅κ→1+⋯+v→∙κ→nκ→n∙κ→n⋅κ→n

Since the basis is orthonormal, the bottom of each fraction has κ→i∙κ→i=1⁠.

Three.VI.3.21 §VI.3 source ↗

Prove that the map p:V→V is the projection into M along N if and only if the map id⁡−p is the projection into N along M⁠. (Recall the definition of the difference of two maps: (id⁡−p)(v→)= id⁡(v→)− p(v→)= v→− p(v→)⁠.)

Answer

If V=M⊕︎N then every vector decomposes uniquely as v→=m→+n→⁠. For all v→ the map p gives p(v→)=m→ if and only if v→−p(v→)=n→⁠, as required.

Three.VI.3.22 §VI.3 source ↗

Show that if a vector is perpendicular to every vector in a set then it is perpendicular to every vector in the span of that set.

Answer

Let v→ be perpendicular to every w→∈S⁠. Then v→∙(c1w→1+⋯+cnw→n)= v→∙(c1w→1)+ ⋯+ v→∙(cn∙w→n)= c1(v→∙w→1)+ ⋯+ cn(v→∙w→n)= c1⋅0+ ⋯+ cn⋅0= 0⁠.

Three.VI.3.23 §VI.3 source ↗

True or false: the intersection of a subspace and its orthogonal complement is trivial.

Answer

True; the only vector orthogonal to itself is the zero vector.

Three.VI.3.24 §VI.3 source ↗

Show that the dimensions of orthogonal complements add to the dimension of the entire space.

Answer

This is immediate from the statement in Lemma 3.7 that the space is the direct sum of the two.

Three.VI.3.25 §VI.3 source ↗

Suppose that v→1,v→2∈ℝn are such that for all complements M,N⊆ℝn⁠, the projections of v→1 and v→2 into M along N are equal. Must v→1 equal v→2⁠? (If so, what if we relax the condition to: all orthogonal projections of the two are equal?)

Answer

The two must be equal, even only under the seemingly weaker condition that they yield the same result on all orthogonal projections. Consider the subspace M spanned by the set {v→1,v→2}⁠. Since each is in M⁠, the orthogonal projection of v→1 into M is v→1 and the orthogonal projection of v→2 into M is v→2⁠. For their projections into M to be equal, they must be equal.

Three.VI.3.26 §VI.3 source ↗

Let M,N be subspaces of ℝn⁠. The perp operator acts on subspaces; we can ask how it interacts with other such operations.

(a)

Show that two perps cancel: (M⟂)⟂=M⁠.

(b)

Prove that M⊆N implies that N⟂⊆M⟂⁠.

(c)

Show that (M+N)⟂=M⟂∩N⟂⁠.

Answer (3 parts)

(a)

We will show that the sets are mutually inclusive, M⊆(M⟂)⟂ and (M⟂)⟂⊆M⁠. For the first, if m→∈M then by the definition of the perp operation, m→ is perpendicular to every v→∈M⟂⁠, and therefore (again by the definition of the perp operation) m→∈(M⟂)⟂⁠. For the other direction, consider v→∈(M⟂)⟂⁠. Lemma 3.7’s proof shows that ℝn=M⊕︎M⟂ and that we can give an orthogonal basis for the space ⟨κ→1,…,κ→k,κ→k+1,…,κ→n⟩ such that the first half ⟨κ→1,…,κ→k⟩ is a basis for M and the second half is a basis for M⟂⁠. The proof also checks that each vector in the space is the sum of its orthogonal projections into the lines spanned by these basis vectors.

v→=proj[κ→1]⁡(v→)+⋯+proj[κ→n]⁡(v→)

Because v→∈(M⟂)⟂⁠, it is perpendicular to every vector in M⟂⁠, and so the projections in the second half are all zero. Thus v→= proj[κ→1]⁡(v→)+ ⋯+ proj[κ→k]⁡(v→)⁠, which is a linear combination of vectors from M⁠, and so v→∈M⁠. (Remark. Here is a slicker way to do the second half: write the space both as M⊕︎M⟂ and as M⟂⊕︎(M⟂)⟂⁠. Because the first half showed that M⊆(M⟂)⟂ and the prior sentence shows that the dimension of the two subspaces M and (M⟂)⟂ are equal, we can conclude that M equals (M⟂)⟂⁠.)

(b)

Because M⊆N⁠, any v→ that is perpendicular to every vector in N is also perpendicular to every vector in M⁠. But that sentence simply says that N⟂⊆M⟂⁠.

(c)

We will again show that the sets are equal by mutual inclusion. The first direction is easy; any v→ perpendicular to every vector in M+N={m→+n→|m→∈M,n→∈N} is perpendicular to every vector of the form m→+0→ (that is, every vector in M⁠) and every vector of the form 0→+n→ (every vector in N⁠), and so (M+N)⟂⊆M⟂∩N⟂⁠. The second direction is also routine; any vector v→∈M⟂∩N⟂ is perpendicular to any vector of the form cm→+dn→ because v→∙(cm→+dn→)= c⋅(v→∙m→)+ d⋅(v→∙n→)= c⋅0+ d⋅0= 0⁠.

Three.VI.3.27 §VI.3 source ↗

The material in this subsection allows us to express a geometric relationship that we have not yet seen between the range space and the null space of a linear map.

(a)

Represent f:ℝ3→ℝ given by

(v1v2v3)↦1v1+2v2+3v3

with respect to the standard bases and show that

(123)

is a member of the perp of the null space. Prove that 𝒩(f)⟂ is equal to the span of this vector.

(b)

Generalize that to apply to any f:ℝn→ℝ⁠.

(c)

Represent f:ℝ3→ℝ2

(v1v2v3)↦(1v1+2v2+3v34v1+5v2+6v3)

with respect to the standard bases and show that

(123),(456)

are both members of the perp of the null space. Prove that 𝒩(f)⟂ is the span of these two. (Hint. See the third item of Exercise 3.26.)

(d)

Generalize that to apply to any f:ℝn→ℝm⁠.

In [Strang 93] this is called the Fundamental Theorem of Linear Algebra

Answer (4 parts)

(a)

The representation of

(v1v2v3)⟼f1v1+2v2+3v3

is this.

Repℰ3,ℰ1⁡(f)=(123)

By the definition of f

𝒩(f)={(v1v2v3)|1v1+2v2+3v3=0}={(v1v2v3)|(123)∙(v1v2v3)=0}

and this second description exactly says this.

𝒩(f)⟂=[{(123)}]

(b)

The generalization is that for any f:ℝn→ℝ there is a vector h→ so that

(v1⋮vn)⟼fh1v1+⋯+hnvn

and h→∈𝒩(f)⟂⁠. We can prove this by, as in the prior item, representing f with respect to the standard bases and taking h→ to be the column vector gotten by transposing the one row of that matrix representation.

(c)

Of course,

Repℰ3,ℰ2⁡(f)=(123456)

and so the null space is this set.

𝒩(f){(v1v2v3)|(123456)(v1v2v3)=(00)}

That description makes clear that

(123),(456)∈𝒩(f)⟂

and since 𝒩(f)⟂ is a subspace of ℝn⁠, the span of the two vectors is a subspace of the perp of the null space. To see that this containment is an equality, take

M=[{(123)}]N=[{(456)}]

in the third item of Exercise 3.26, as suggested in the hint.

(d)

As above, generalizing from the specific case is easy: for any f:ℝn→ℝm the matrix H representing the map with respect to the standard bases describes the action

(v1⋮vn)⟼f(h1,1v1+h1,2v2+⋯+h1,nvn⋮hm,1v1+hm,2v2+⋯+hm,nvn)

and the description of the null space gives that on transposing the m⁠ rows of H

h→1=(h1,1h1,2⋮h1,n),…h→m=(hm,1hm,2⋮hm,n)

we have 𝒩(f)⟂=[{h→1,…,h→m}]⁠. ([Strang 93] describes this space as the transpose of the row space of H⁠.)

Three.VI.3.28 §VI.3 source ↗

Define a projection to be a linear transformation t:V→V with the property that repeating the projection does nothing more than does the projection alone: (t∘t)(v→)=t(v→) for all v→∈V⁠.

(a)

Show that orthogonal projection into a line has that property.

(b)

Show that projection along a subspace has that property.

(c)

Show that for any such t there is a basis B=⟨β→1,…,β→n⟩ for V such that

t(β→i)={β→ii=1,2,…,r0→i=r+1,r+2,…,n

where r is the rank of t⁠.

(d)

Conclude that every projection is a projection along a subspace.

(e)

Also conclude that every projection has a representation

RepB,B⁡(t)=(IZZZ)

in block partial-identity form.

Answer (5 parts)

(a)

First note that if a vector v→ is already in the line then the orthogonal projection gives v→ itself. One way to verify this is to apply the formula for projection into the line spanned by a vector s→⁠, namely (v→∙s→/s→∙s→)⋅s→⁠. Taking the line as {k⋅v→|k∈ℝ} (the v→=0→ case is separate but easy) gives (v→∙v→/v→∙v→)⋅v→⁠, which simplifies to v→⁠, as required.

Now, that answers the question because after once projecting into the line, the result projℓ⁡(v→) is in that line. The prior paragraph says that projecting into the same line again will have no effect.

(b)

The argument here is similar to the one in the prior item. With V=M⊕︎N⁠, the projection of v→=m→+n→ is projM,N⁡(v→)=m→⁠. Now repeating the projection will give projM,N⁡(m→)=m→⁠, as required, because the decomposition of a member of M into the sum of a member of M and a member of N is m→=m→+0→⁠. Thus, projecting twice into M along N has the same effect as projecting once.

(c)

As suggested by the prior items, the condition gives that t leaves vectors in the range space unchanged, and hints that we should take β→1⁠, …, β→r to be basis vectors for the range, that is, that we should take the range space of t for M (so that dim⁡(M)=r⁠). As for the complement, we write N for the null space of t and we will show that V=M⊕︎N⁠.

To show this, we can show that their intersection is trivial M∩N={0→} and that they sum to the entire space M+N=V⁠. For the first, if a vector m→ is in the range space then there is a v→∈V with t(v→)=m→⁠, and the condition on t gives that t(m→)= (t∘t)(v→)= t(v→)= m→⁠, while if that same vector is also in the null space then t(m→)=0→ and so the intersection of the range space and null space is trivial. For the second, to write an arbitrary v→ as the sum of a vector from the range space and a vector from the null space, the fact that the condition t(v→)=t(t(v→)) can be rewritten as t(v→−t(v→))=0→ suggests taking v→=t(v→)+(v→−t(v→))⁠.

To finish we taking a basis B=⟨β→1,…,β→n⟩ for V where ⟨β→1,…,β→r⟩ is a basis for the range space M and ⟨β→r+1,…,β→n⟩ is a basis for the null space N⁠.

(d)

Every projection (as defined in this exercise) is a projection into its range space and along its null space.

(e)

This also follows immediately from the third item.

Three.VI.3.29 §VI.3 source ↗

A square matrix is symmetric if each i,j entry equals the j,i entry (i.e., if the matrix equals its transpose). Show that the projection matrix A(A𝖳A)−1A𝖳 is symmetric. [Strang 80] Hint. Find properties of transposes by looking in the index under ‘transpose’.

Answer

For any matrix M we have that (M−1)𝖳=(M𝖳)−1⁠, and for any two matrices M⁠, N we have that MN𝖳=N𝖳M𝖳 (provided, of course, that the inverse and product are defined). Applying these two gives that the matrix equals its transpose.

(A(A𝖳A)−1A𝖳)𝖳=(A𝖳𝖳)(((A𝖳A)−1)𝖳)(A𝖳)=(A𝖳𝖳)(((A𝖳A)𝖳)−1)(A𝖳)=A(A𝖳A𝖳𝖳)−1A𝖳=A(A𝖳A)−1A𝖳

2 Topic: Line of Best Fit source ↗

Use least-squares to judge if the coin in this experiment is fair.

flips816243240
heads49131720

Answer

As with the first example discussed above, we are trying to find a best m to “solve” this system.

8m=416m=924m=1332m=1740m=20

Projecting into the linear subspace gives this

(49131720)∙(816243240)(816243240)∙(816243240)⋅(816243240)=18323520⋅(816243240)

so the slope of the line of best fit is approximately 0.52⁠.

3 Topic: Line of Best Fit source ↗

For the men’s mile record, rather than give each of the many records and its exact date, we’ve “smoothed” the data somewhat by taking a periodic sample. Do the longer calculation and compare the conclusions.

Answer

With this input

A=(11852.7111858.88⋮⋮11985.5411993.71)b=(292.0285.0⋮226.32224.39)

(the dates have been rounded to months, e.g., for a September record, the decimal .71≈(8.5/12) was used), Maple responded with an intercept of b=994.8276974 and a slope of m=−0.3871993827⁠.

4 Topic: Line of Best Fit source ↗

Find the line of best fit for the men’s 1500⁠ meter run. How does the slope compare with that for the men’s mile? (The distances are close; a mile is about 1609⁠ meters.)

Answer

With this input (the years are zeroed at 1900⁠)

A:=(1.381.54⋮⋮192.71195.54)b=(249.0246.2⋮208.86207.37)

(the dates have been rounded to months, e.g., for a September record, the decimal .71≈(8.5/12) was used), Maple gives an intercept of b=243.1590327 and a slope of m=−0.401647703⁠. The slope given in the body of this Topic for the men’s mile is quite close to this.

5 Topic: Line of Best Fit source ↗

Find the line of best fit for the records for women’s mile.

Answer

With this input (the years are zeroed at 1900⁠)

A=(121.46132.63⋮⋮189.54196.63)b=(373.2327.5⋮255.61252.56)

(the dates have been rounded to months, e.g., for a September record, the decimal .71≈(8.5/12) was used), MAPLE gave an intercept of b=378.7114894 and a slope of m=−1.445753225⁠.

6 Topic: Line of Best Fit source ↗

Do the lines of best fit for the men’s and women’s miles cross?

Answer

These are the equations of the lines for men’s and women’s mile (the vertical intercept term of the equation for the women’s mile has been adjusted from the answer above, to zero it at the year 0⁠, because that’s how the men’s mile equation was done).

y=994.8276974−0.3871993827xy=3125.6426−1.445753225x

Obviously the lines cross. A computer program is the easiest way to do the arithmetic: MuPAD gives x=2012.949004 and y=215.4150856 (215⁠ seconds is 3⁠ minutes and 35⁠ seconds). Remark. Of course all of this projection is highly dubious — for one thing, the equation for the women is influenced by the quite slow early times — but it is nonetheless fun.

7 Topic: Line of Best Fit source ↗

(This illustrates that there are data sets for which a linear model is not right, and that the line of best fit doesn’t in that case have any predictive value.) In a highway restaurant a trucker told me that his boss often sends him by a roundabout route, using more gas but paying lower bridge tolls. He said that New York State calibrates the toll for each bridge across the Hudson, playing off the extra gas to get there from New York City against a lower crossing cost, to encourage people to go upstate. This table, from [Cost Of Tolls] and [Google Maps], lists for each toll crossing of the Hudson River, the distance to drive from Times Square in miles and the cost in US dollars for a passenger car (if a crossings has a one-way toll then it shows half that number).

CrossingDistanceToll
Lincoln Tunnel
Holland Tunnel
George Washington Bridge
Verrazano-Narrows Bridge
Tappan Zee Bridge
Bear Mountain Bridge
Newburgh-Beacon Bridge
Mid-Hudson Bridge
Kingston-Rhinecliff Bridge
Rip Van Winkle Bridge
2
7
8
16
27
47
67
82
102
120
6.00
6.00
6.00
6.50
2.50
1.00
1.00
1.00
1.00
1.00

Find the line of best fit and graph the data to show that the driver was practicing on my credulity.

Answer

Sage gives the line of best fit as toll=−0.05⋅dist+5.63⁠.

sage: dist = [2, 7, 8, 16, 27, 47, 67, 82, 102, 120]
sage: toll = [6, 6, 6, 6.5, 2.5, 1, 1, 1, 1, 1]
sage: var('a,b,t')
(a, b, t)
sage: model(t) = a*t+b
sage: data = zip(dist,toll)
sage: fit = find_fit(data, model, solution_dict=True)
sage: model.subs(fit)
t |--> -0.0508568169130319*t + 5.630955848442933
sage: p = plot(model.subs(fit), (t,0,120))+points(data,size=25,color='red')
sage: p.save('bridges.pdf')

But the graph shows that the equation has little predictive value.

Apparently a better model is that (with only one intermediate exception) crossings in the city cost roughly the same as each other, and crossings upstate cost the same as each other.

8 Topic: Line of Best Fit source ↗

When the space shuttle Challenger exploded in 1986, one of the criticisms made of NASA’s decision to launch was in the way they did the analysis of number of O-ring failures versus temperature (O-ring failure caused the explosion). Four O-ring failures would be fatal. NASA had data from 24 previous flights.

temp ∘⁠F5375575863707066676767
failures32111110000
68697070727375767678798081
0000000000000

The temperature that day was forecast to be 31∘F⁠.

(a)

NASA based the decision to launch partially on a chart showing only the flights that had at least one O-ring failure. Find the line that best fits these seven flights. On the basis of this data, predict the number of O-ring failures when the temperature is 31⁠, and when the number of failures will exceed four.

(b)

Find the line that best fits all 24 flights. On the basis of this extra data, predict the number of O-ring failures when the temperature is 31⁠, and when the number of failures will exceed four.

Which do you think is the more accurate method of predicting? (An excellent discussion is in [Dalal, et. al.].)

Answer (2 parts)

(a)

A computer algebra system like MAPLE or MuPAD will give an intercept of b=4259/1398≈3.239628 and a slope of m=−71/2796≈−0.025393419 Plugging x=31 into the equation yields a predicted number of O-ring failures of y=2.45 (rounded to two places). Plugging in y=4 and solving gives a temperature of x=−29.94∘⁠F.

(b)

On the basis of this information

A=(153175⋮180181)b=(32⋮00)

MAPLE gives the intercept b=187/40=4.675 and the slope m=−73/1200≈−0.060833⁠. Here, plugging x=31 into the equation predicts y=2.79 O-ring failures (rounded to two places). Plugging in y=4⁠ failures gives a temperature of x=11∘⁠F.

9 Topic: Line of Best Fit source ↗

This table lists the average distance from the sun to each of the first seven planets, using Earth’s average as a unit.

MercuryVenusEarthMarsJupiterSaturnUranus
0.390.721.001.525.209.5419.2
(a)

Plot the number of the planet (Mercury is 1⁠, etc.) versus the distance. Note that it does not look like a line, and so finding the line of best fit is not fruitful.

(b)

It does, however look like an exponential curve. Therefore, plot the number of the planet versus the logarithm of the distance. Does this look like a line?

(c)

The asteroid belt between Mars and Jupiter is what is left of a planet that broke apart. Renumber so that Jupiter is 6⁠, Saturn is 7⁠, and Uranus is 8⁠, and plot against the log again. Does this look better?

(d)

Use least squares on that data to predict the location of Neptune.

(e)

Repeat to predict where Pluto is.

(f)

Is the formula accurate for Neptune and Pluto?

This method was used to help discover Neptune (although the second item is misleading about the history; actually, the discovery of Neptune in position 9 prompted people to look for the “missing planet” in position 5⁠). See [Gardner, 1970]

Answer (6 parts)

(a)

The plot is nonlinear.

(b)

Here is the plot.

There is perhaps a jog up between planet 4 and planet 5⁠.

(c)

This plot seems even more linear.

(d)

With this input

A=(11121314161718)b=(−0.40893539−0.142667500.181843590.716003340.979548371.2833012)

MuPAD gives that the intercept is b=−0.6780677466 and the slope is m=0.2372763818⁠.

(e)

Plugging x=9 into the equation y= − 0.6780677466+ 0.2372763818x from the prior item gives that the log of the distance is 1.4574197⁠, so the expected distance is 28.669472⁠. The actual distance is about 30.003⁠.

(f)

Plugging x=10 into the same equation gives that the log of the distance is 1.6946961⁠, so the expected distance is 49.510362⁠. The actual distance is about 39.503⁠.

10 Topic: Line of Best Fit source ↗

Suppose that W is a subspace of ℝn for some n and suppose that v→ is not an element of W⁠. Let the orthogonal projection of v→ into W be the vector projW⁡(v→)=p→⁠. Show that p→ is the element of W that is closest to v→⁠.

Answer

For any w→∈W⁠, the vectors v→−p→ and p→−w→ are orthogonal. So the Triangle Inequality applies to the triangle with those vectors as sides, and with v→−w→ as hypoteneuse. Therefore v→−w→ is at least as long as v→−p→⁠.

1 Topic: Geometry of Linear Maps source ↗

Use the H=PBQ decomposition to find the combination of dilations, flips, skews, and projections that produces the map h:ℝ3→ℝ3 represented with respect to the standard bases by this matrix.

H=(121360122)

Answer

This Gaussian reduction

⟶−ρ1+ρ3−3ρ1+ρ2(12100−3001)⟶(1/3)ρ2+ρ3(12100−3000)⟶(−1/3)ρ2(121001000)⟶−ρ2+ρ1(120001000)

gives the reduced echelon form of the matrix. Now the two column operations of taking −2 times the first column and adding it to the second, and then of swapping columns two and three produce this partial identity.

B=(100010000)

All of that translates into matrix terms as: where

P=(1−10010001)(1000−1/30001)(10001001/31)(100010−101)(100−310001)

and

Q=(1−20010001)(010100001)

the given matrix factors as PBQ⁠.

2 Topic: Geometry of Linear Maps source ↗

What combination of dilations, flips, skews, and projections produces a rotation counterclockwise by 2π/3 radians?

Answer

We will first represent the map with a matrix H⁠, perform the row operations and, if needed, column operations to reduce it to a partial-identity matrix. We will then translate that into a factorization H=PBQ⁠. Substituting into the general matrix

Repℰ2,ℰ2⁡(rθ)(cos⁡θ−sin⁡θsin⁡θcos⁡θ)

gives this representation.

Repℰ2,ℰ2⁡(r2π/3)(−1/2−3/23/2−1/2)

Gauss’s Method is routine.

⟶3ρ1+ρ2(−1/2−3/20−2)⟶(−1/2)ρ2−2ρ1(1301)⟶−3ρ2+ρ1(1001)

That translates to a matrix equation in this way.

(1−301)(−200−1/2)(1031)(−1/2−3/23/2−1/2)=I

Taking inverses to solve for H yields this factorization.

(−1/2−3/23/2−1/2)=(10−31)(−1/200−2)(1301)I

3 Topic: Geometry of Linear Maps source ↗

If a map is nonsingular then to get from its representation to the identity matrix we do not need any column operations, so that in H=PBQ the matrix Q is the identity. An example of a nonsingular map is the transformation t−π/4:ℝ2→ℝ2 that rotates vectors clockwise by π/4⁠ radians.

(a)

Find the matrix H representing this map with respect to the standard bases.

(b)

Use Gauss-Jordan to reduce H to the identity, without column operations.

(c)

Translate that to a matrix equation TjTj−1⋯T1H=I⁠.

(d)

Solve the matrix equation for H⁠.

(e)

Describe H as a combination of dilations, flips, skews, and projections (the identity is a trivial projection).

Answer (5 parts)

(a)

Recall that rotation counterclockwise by θ⁠ radians is represented with respect to the standard basis in this way.

Repℰ2,ℰ2⁡(tπ/4)=(cos⁡θ−sin⁡θsin⁡θcos⁡θ)

A clockwise angle is the negative of a counterclockwise one.

Repℰ2,ℰ2⁡(t−pi/4)=(cos⁡(−π/4)−sin⁡(−π/4)sin⁡(−π/4)cos⁡(−π/4))=(2/22/2−2/22/2)

(b)

This Gauss-Jordan reduction

⟶ρ1+ρ2(2/22/202)⟶(1/2)ρ2(2/2)ρ1(1101)⟶−ρ2+ρ1(1001)

produces the identity matrix. Thus we do not need column-swapping operations to end with a partial-identity.

(c)

In matrix multiplication the reduction is

(1−101)(2/2001/2)(1011)H=I

(note that composition of the Gaussian operations is from right to left).

(d)

Taking inverses

H=(10−11)(2/2002)(1101)⏟PI

gives the desired factorization of H⁠. The partial identity is I⁠.

(e)

Reading the composition from right to left (and ignoring the identity matrices as trivial) gives that H has the same effect as first performing this skew

followed by a dilation that multiplies all first components by 2/2 (this is a shrink in that 2/2≈0.707 is less than 1⁠) and all second components by 2⁠, followed by another skew.

For an example we start with the unit vector whose angle with the x⁠-axis is π/6 and apply the components of H in turn.

We can easily verify that the resulting vector has unit length and forms an angle with the x⁠-axis of −π/12⁠, which is indeed a rotation clockwise of π/4 radians since (π/6)−(π/4)=−π/12⁠.

4 Topic: Geometry of Linear Maps source ↗

Show that any linear transformation of ℝ1 is a map hk that multiplies by a scalar x↦kx⁠.

Answer

Represent it with respect to the standard bases ℰ1,ℰ1⁠. That produces a 1×1 matrix. The only entry is the scalar k⁠.

5 Topic: Geometry of Linear Maps source ↗

Show that linear maps preserve the linear structures of a space.

(a)

Show that for any linear map from ℝn to ℝm⁠, the image of any line is a line. The image may be a degenerate line, that is, a single point.

(b)

Show that the image of any linear surface is a linear surface. This generalizes the result that under a linear map the image of a subspace is a subspace.

(c)

Linear maps preserve other linear ideas. Show that linear maps preserve “betweeness”: if the point B is between A and C then the image of B is between the image of A and the image of C⁠.

Answer (3 parts)

(a)

A line is a subset of ℝn of the form {v→=u→+t⋅w→|t∈ℝ}⁠. The image of a point on that line is h(v→)= h(u→+t⋅w→)= h(u→)+ t⋅h(w→)⁠, and the set of such vectors, as t ranges over the reals, is a line (albeit, degenerate if h(w→)=0→⁠).

(b)

This is an obvious extension of the prior argument.

(c)

If the point B is between the points A and C then the line from A to C has B in it. That is, there is a t∈(0..1) such that b→=a→+t⋅(c→−a→) (where B is the endpoint of b→⁠, etc.). Now, as in the argument of the first item, linearity shows that h(b→)=h(a→)+t⋅h(c→−a→)⁠.

6 Topic: Geometry of Linear Maps source ↗

Use a picture like the one that appears in the discussion of the Chain Rule to answer: if a function f:ℝ→ℝ has an inverse, what’s the relationship between how the function — locally, approximately — dilates space, and how its inverse dilates space (assuming, of course, that it has an inverse)?

Answer

The two are inverse. For instance, for a fixed x∈ℝ⁠, if f′(x)=k (with k≠0⁠) then (f−1)′(x)=1/k⁠.

7 Topic: Geometry of Linear Maps source ↗

Show that any permutation, any reordering, p of the numbers 1⁠, …, n⁠, the map

(x1x2⋮xn)↦(xp(1)xp(2)⋮xp(n))

can be done with a composition of maps, each of which only swaps a single pair of coordinates. Hint: you can use induction on n⁠. (Remark: in the fourth chapter we will show this and we will also show that the parity of the number of swaps used is determined by p⁠. That is, although a particular permutation could be expressed in two different ways with two different numbers of swaps, either both ways use an even number of swaps, or both use an odd number.)

Answer

We can show this by induction on the number of components in the vector. In the n=1 base case the only permutation is the trivial one, and the map

(x1)↦(x1)

is expressible as a composition of swaps — as zero swaps. For the inductive step we assume that the map induced by any permutation of fewer than n numbers can be expressed with swaps only, and we consider the map induced by a permutation p of n numbers.

(x1x2⋮xn)↦(xp(1)xp(2)⋮xp(n))

Consider the number i such that p(i)=n⁠. The map

(x1x2⋮xi⋮xn)⟼pˆ(xp(1)xp(2)⋮xp(n)⋮xn)

will, when followed by the swap of the i⁠-th and n⁠-th components, give the map p⁠. Now, the inductive hypothesis gives that pˆ is achievable as a composition of swaps.

1 Topic: Magic Squares source ↗

Let M be a 3×3 magic square with magic number s⁠.

(a)

Prove that the sum of M⁠’s entries is 3s⁠.

(b)

Prove that s=3⋅m2,2⁠.

(c)

Prove that m2,2 is the average of the entries in its row, its column, and in each diagonal.

(d)

Prove that m2,2 is the median of M⁠’s entries.

Answer (4 parts)

(a)

The sum of the entries of M is the sum of the sums of the three rows.

(b)

The constraints on entries of M involving the center entry make this system.

m2,1+m2,2+m2,3=sm1,2+m2,2+m3,2=sm1,1+m2,2+m3,3=sm1,3+m2,2+m3,1=s

Adding those four equations counts each matrix entry once and only once, except that we count the center entry four times. Thus the left side sums to 3s+3m2,2 while the right sums to 4s⁠. So 3m2,2=s⁠.

(c)

The second row adds to s so m2,1+m2,2+m2,3=3m2,2⁠, giving that (1/2)⋅(m2,1+m2,3)=m2,2⁠. The same goes for the column and the diagonals.

(d)

By the prior exercise either both m2,1 and m2,3 are equal to m2,2 or else one is greater while one is smaller. Thus m2,2 is the median of the set {m2,1,m2,2,m2,3}⁠. The same reasoning applied to the second column shows that Thus m2,2 is the median of the set {m1,2, m2,1, m2,2, m2,3, m3,2}⁠. Extending to the two diagonals shows it is the median of the set of all entries.

2 Topic: Magic Squares source ↗

Solve the system a+b=s⁠, c+d=s⁠, a+c=s⁠, b+d=s⁠, a+d=s⁠, and b+c=s⁠.

Answer

For any k we have this.

(1100s0011s1010s0101s1001s0110s)⟶−ρ1+ρ5−ρ1+ρ3(1100s0011s0−11000101s0−10100110s)⟶−ρ2↔ρ6(1100s0110s0−11000101s0−10100011s)⟶−ρ2+ρ4ρ2+ρ5−ρ2+ρ3(1100s0110s0020s01−1100011s0011s)

The unique solution is a=b=c=d=s/2⁠.

3 Topic: Magic Squares source ↗

Show that dim⁡ℳ2,0=0⁠.

Answer

By the prior exercise the only member is Z2×2⁠.

4 Topic: Magic Squares source ↗

Let the trace function be Tr⁡(M)=m1,1+⋯+mn,n⁠. Define also the sum down the other diagonal Tr∗⁡(M)=m1,n+⋯+mn,1⁠.

(a)

Show that the two functions Tr⁡,Tr∗⁡:ℳn×n→ℝ are linear.

(b)

Show that the function θ:ℳn×n→ℝ2 given by θ(M)=(Tr⁡(M),Tr∗⁡(m)) is linear.

(c)

Generalize the prior item.

Answer (3 parts)

(a)

Where M,N∈ℳn×n we have Tr⁡(cM+dN)= (cm1,1+dn1,1)+ ⋯+ (cmn,n+dnn,n)= (cm1,1+⋯+cmn,n)+ (dn1,1+⋯+dnn,n)= c⋅Tr⁡(M)+ d⋅Tr⁡(N) where all numbers are real, so the trace preserves linear combinations. The argument for Tr∗⁡ is similar.

(b)

It preserves linear combinations: where all numbers are real, θ(cM+dN)= (Tr⁡(cM+ dN), Tr∗⁡(cM+ dN))= (c⋅Tr⁡(M)+ d⋅Tr⁡(N), c⋅Tr∗⁡(M)+ d⋅Tr∗⁡(N))= c⋅θ(M)+ d⋅θ(N)⁠.

(c)

Where h1,…,hn:V→W are linear then so is g:V→Wn given by g(v→)=(h1(v→),…,hn(v→))⁠. The proof just follows the proof of the prior item.

5 Topic: Magic Squares source ↗

A square matrix is semimagic if the rows and columns add to the same value, that is, if we drop the condition on the diagonals.

(a)

Show that the set of semimagic squares ℋn is a subspace of ℳn×n⁠.

(b)

Show that the set ℋn,0 of n×n⁠ semimagic squares with magic number 0 is also a subspace of ℳn×n⁠.

Answer (2 parts)

(a)

The sum of two semimagic squares is semimagic, as is a scalar multiple of a semimagic square.

(b)

As with the prior item, a linear combination of two semimagic squares with magic number zero is also such a matrix.

1 Topic: Markov Chains source ↗

These questions refer to the coin-flipping game.

(a)

Check the computations in the table at the end of the first paragraph.

(b)

Consider the second row of the vector table. Note that this row has alternating 0⁠’s. Must p1(j) be 0 when j is odd? Prove that it must be, or produce a counterexample.

(c)

Perform a computational experiment to estimate the chance that the player ends at five dollars, starting with one dollar, two dollars, and four dollars.

Answer (3 parts)

(a)

With this file coin.m

         
# Octave function for Markov coin game.  p is chance of going down.
function w = coin(p,v)
  q = 1-p;
  A=[1,p,0,0,0,0;
     0,0,p,0,0,0;
     0,q,0,p,0,0;
     0,0,q,0,p,0;
     0,0,0,q,0,0;
     0,0,0,0,q,1];
  w = A * v;
endfunction

This Octave session produced the output given here.

octave:1> v0=[0;0;0;1;0;0]
v0 =
  0
  0
  0
  1
  0
  0
octave:2> p=.5
p = 0.50000
octave:3> v1=coin(p,v0)
v1 =
  0.00000
  0.00000
  0.50000
  0.00000
  0.50000
  0.00000
octave:4> v2=coin(p,v1)
v2 =
  0.00000
  0.25000
  0.00000
  0.50000
  0.00000
  0.25000

This continued for too many steps to list here.

octave:26> v24=coin(p,v23)
v24 =
  0.39600
  0.00276
  0.00000
  0.00447
  0.00000
  0.59676
(b)

Using these formulas

p1(n+1)=0.5⋅p2(n)p2(n+1)=0.5⋅p1(n)+0.5⋅p3(n)p3(n+1)=0.5⋅p2(n)+0.5⋅p4(n)p5(n+1)=0.5⋅p4(n)

and these initial conditions

(p0(0)p1(0)p2(0)p3(0)p4(0)p5(0))=(000100)

we will prove by induction that when n is odd then p1(n)=p3(n)=0 and when n is even then p2(n)=p4(n)=0⁠. Note first that this is true in the n=0 base case by the initial conditions. For the inductive step, suppose that it is true in the n=0⁠, n=1⁠, …, n=k⁠ cases and consider the n=k+1 case. If k+1 is odd then the two

p1(k+1)=0.5⋅p2(k)=0.5⋅0=0p3(k+1)=0.5⋅p2(k)+0.5⋅p4(k)=0.5⋅0+0.5⋅0=0

follow from the inductive hypothesis that p2(k)=p4(k)=0 since k is even. The case where k+1 is even is similar.

(c)

We can use, say, n=100⁠. This Octave session

octave:1> B=[1,.5,0,0,0,0;
>             0,0,.5,0,0,0;
>             0,.5,0,.5,0,0;
>             0,0,.5,0,.5,0;
>             0,0,0,.5,0,0;
>             0,0,0,0,.5,1];
octave:2> B100=B**100
B100 =
  1.00000  0.80000  0.60000  0.40000  0.20000  0.00000
  0.00000  0.00000  0.00000  0.00000  0.00000  0.00000
  0.00000  0.00000  0.00000  0.00000  0.00000  0.00000
  0.00000  0.00000  0.00000  0.00000  0.00000  0.00000
  0.00000  0.00000  0.00000  0.00000  0.00000  0.00000
  0.00000  0.20000  0.40000  0.60000  0.80000  1.00000
octave:3> B100*[0;1;0;0;0;0]
octave:4> B100*[0;1;0;0;0;0]
octave:5> B100*[0;0;0;1;0;0]
octave:6> B100*[0;1;0;0;0;0]

yields these outputs.

𝑠𝑡𝑎𝑟𝑡𝑖𝑛𝑔 𝑤𝑖𝑡ℎ:$1$2$3$4s0(100)s1(100)s2(100)s3(100)s4(100)s5(100)0.800000.000000.000000.000000.000000.200000.600000.000000.000000.000000.000000.400000.400000.000000.000000.000000.000000.600000.200000.000000.000000.000000.000000.80000

2 Topic: Markov Chains source ↗

[Feller] We consider throws of a die, and say the system is in state si if the largest number yet appearing on the die was i⁠.

(a)

Give the transition matrix.

(b)

Start the system in state s1⁠, and run it for five throws. What is the vector at the end?

Answer (2 parts)

(a)

From these equations

s1(n)/6+0s2(n)+0s3(n)+0s4(n)+0s5(n)+0s6(n)=s1(n+1)s1(n)/6+2s2(n)/6+0s3(n)+0s4(n)+0s5(n)+0s6(n)=s2(n+1)s1(n)/6+s2(n)/6+3s3(n)/6+0s4(n)+0s5(n)+0s6(n)=s3(n+1)s1(n)/6+s2(n)/6+s3(n)/6+4s4(n)/6+0s5(n)+0s6(n)=s4(n+1)s1(n)/6+s2(n)/6+s3(n)/6+s4(n)/6+5s5(n)/6+0s6(n)=s5(n+1)s1(n)/6+s2(n)/6+s3(n)/6+s4(n)/6+s5(n)/6+6s6(n)/6=s6(n+1)

We get this transition matrix.

(1/6000001/62/600001/61/63/60001/61/61/64/6001/61/61/61/65/601/61/61/61/61/66/6)

(b)

This is the Octave session, with outputs edited out and condensed into the table at the end.

octave:1>   F=[1/6,  0,   0,   0,   0,   0;
>      1/6,  2/6, 0,   0,   0,   0; 
>      1/6,  1/6, 3/6, 0,   0,   0;  
>      1/6,  1/6, 1/6, 4/6, 0,   0; 
>      1/6,  1/6, 1/6, 1/6, 5/6, 0; 
>      1/6,  1/6, 1/6, 1/6, 1/6, 6/6];
octave:2> v0=[1;0;0;0;0;0]
octave:3> v1=F*v0
octave:4> v2=F*v1
octave:5> v3=F*v2
octave:6> v4=F*v3
octave:7> v5=F*v4

These are the results.

 123451000000.166670.166670.166670.166670.166670.166670.0277780.0833330.1388890.1944440.2500000.3055560.00462960.03240740.08796300.17129630.28240740.42129630.000771600.011574070.050154320.135030860.284722220.517746910.000128600.003986630.027134770.100437240.270190330.59812243

3 Topic: Markov Chains source ↗

[Kelton] There has been much interest in whether industries in the United States are moving from the Northeast and North Central regions to the South and West, motivated by the warmer climate, by lower wages, and by less unionization. Here is the transition matrix for large firms in Electric and Electronic Equipment.

NENCSWZ
NE
NC
S
W
Z
0.7870000.02100.9660.06300.00900.0340.9370.0740.0050.111000.6120.0100.102000.3140.954

For example, a firm in the Northeast region will be in the West region next year with probability 0.111⁠. (The Z entry is a “birth-death” state. For instance, with probability 0.102 a large Electric and Electronic Equipment firm from the Northeast will move out of this system next year: go out of business, move abroad, or move to another category of firm. There is a 0.021 probability that a firm in the National Census of Manufacturers will move into Electronics, or be created, or move in from abroad, into the Northeast. Finally, with probability 0.954 a firm out of the categories will stay out, according to this research.)

(a)

Does the Markov model assumption of lack of history seem justified?

(b)

Assume that the initial distribution is even, except that the value at Z is 0.9⁠. Compute the vectors for n=1 through n=4⁠.

(c)

Suppose that the initial distribution is this.

NENCSWZ
0.00000.65220.34780.00000.0000

Calculate the distributions for n=1 through n=4⁠.

(d)

Find the distribution for n=50 and n=51⁠. Has the system settled down to an equilibrium?

Answer (4 parts)

(a)

It does seem reasonable that, while the firm’s present location should strongly influence where it is next time (for instance, whether it stays), any locations in the prior stages should have little influence. That is, while a company may move or stay because of where it is, it is unlikely to move or stay because of where it was.

(b)

This is the Octave session, slightly edited, with the outputs put together in a table at the end.

octave:1> M=[.787,0,0,.111,.102;
>            0,.966,.034,0,0;
>            0,.063,.937,0,0;
>            0,0,.074,.612,.314;
>            .021,.009,.005,.010,.954]
M =
  0.78700  0.00000  0.00000  0.11100  0.10200
  0.00000  0.96600  0.03400  0.00000  0.00000
  0.00000  0.06300  0.93700  0.00000  0.00000
  0.00000  0.00000  0.07400  0.61200  0.31400
  0.02100  0.00900  0.00500  0.01000  0.95400
octave:2> v0=[.025;.025;.025;.025;.900]
octave:3> v1=M*v0
octave:4> v2=M*v1
octave:5> v3=M*v2
octave:6> v4=M*v3

This table summarizes.

p→0p→1p→2p→3p→4
(0.0250000.0250000.0250000.0250000.900000)(0.1142500.0250000.0250000.2997500.859725)(0.2108790.0250000.0250000.4552510.825924)(0.3007390.0250000.0250000.5398040.797263)(0.3779200.0250000.0250000.5825500.772652)
(c)

This is a continuation of the Octave session from the prior item.

octave:7> p0=[.0000;.6522;.3478;.0000;.0000]
octave:8> p1=M*p0
octave:9> p2=M*p1
octave:10> p3=M*p2
octave:11> p4=M*p3

This summarizes the output.

p→0p→1p→2p→3p→4
(0.000000.652200.347800.000000.00000)(0.000000.641850.366980.025740.00761)(0.00363290.63250470.38429420.04529660.0151277)(0.00943010.62406560.39993150.06090940.0225751)(0.0164850.6164450.4140520.0739600.029960)
(d)

This is more of the same Octave session.

octave:12> M50=M**50
M50 =
  0.03992  0.33666  0.20318  0.02198  0.37332
  0.00000  0.65162  0.34838  0.00000  0.00000
  0.00000  0.64553  0.35447  0.00000  0.00000
  0.03384  0.38235  0.22511  0.01864  0.31652
  0.04003  0.33316  0.20029  0.02204  0.37437
octave:13> p50=M50*p0
p50 =
  0.29024
  0.54615
  0.54430
  0.32766
  0.28695
octave:14> p51=M*p50
p51 =
  0.29406
  0.54609
  0.54442
  0.33091
  0.29076

This is close to a steady state.

4 Topic: Markov Chains source ↗

[Wickens] Here is a model of some kinds of learning The learner starts in an undecided state sU⁠. Eventually the learner has to decide to do either response A (that is, end in state sA⁠) or response B (ending in sB⁠). However, the learner doesn’t jump right from undecided to sure that A is the correct thing to do (or B⁠). Instead, the learner spends some time in a “tentative-⁠A⁠” state, or a “tentative-⁠B⁠” state, trying the response out (denoted here tA and tB⁠). Imagine that once the learner has decided, it is final, so once in sA or sB⁠, the learner stays there. For the other state changes, we can posit transitions with probability p in either direction.

(a)

Construct the transition matrix.

(b)

Take p=0.25 and take the initial vector to be 1 at sU⁠. Run this for five steps. What is the chance of ending up at sA⁠?

(c)

Do the same for p=0.20⁠.

(d)

Graph p versus the chance of ending at sA⁠. Is there a threshold value for p⁠, above which the learner is almost sure not to take longer than five steps?

Answer (4 parts)

(a)

This is the relevant system of equations.

(1−2p)⋅sU(n)+p⋅tA(n)+p⋅tB(n)=sU(n+1)p⋅sU(n)+(1−2p)⋅tA(n)=tA(n+1)p⋅sU(n)+(1−2p)⋅tB(n)=tB(n+1)p⋅tA(n)+sA(n)=sA(n+1)p⋅tB(n)+sB(n)=sB(n+1)

Thus we have this.

(1−2ppp00p1−2p000p01−2p000p01000p01)(sU(n)tA(n)tB(n)sA(n)sB(n))=(sU(n+1)tA(n+1)tB(n+1)sA(n+1)sB(n+1))

(b)

This is the Octave code, with the output removed.

octave:1> T=[.5,.25,.25,0,0;
>            .25,.5,0,0,0;
>            .25,0,.5,0,0;
>            0,.25,0,1,0;
>            0,0,.25,0,1]
T =
  0.50000  0.25000  0.25000  0.00000  0.00000
  0.25000  0.50000  0.00000  0.00000  0.00000
  0.25000  0.00000  0.50000  0.00000  0.00000
  0.00000  0.25000  0.00000  1.00000  0.00000
  0.00000  0.00000  0.25000  0.00000  1.00000
octave:2> p0=[1;0;0;0;0]
octave:3> p1=T*p0
octave:4> p2=T*p1
octave:5> p3=T*p2
octave:6> p4=T*p3
octave:7> p5=T*p4

Here is the output. The probability of ending at sA is about 0.23⁠.

p→0p→1p→2p→3p→4p→5sUtAtBsAsB100000.500000.250000.250000.000000.000000.3750000.2500000.2500000.0625000.0625000.312500.218750.218750.125000.125000.265620.187500.187500.179690.179690.226560.160160.160160.226560.22656

(c)

With this file as learn.m

# Octave script file for learning model.
function w = learn(p)
   T = [1-2*p,p,    p,    0, 0;
        p,    1-2*p,0,    0, 0;  
        p,    0,    1-2*p,0, 0;
        0,    p,    0,    1, 0;
        0,    0,    p,    0, 1]; 
  T5 = T**5;
  p5 = T5*[1;0;0;0;0];
  w = p5(4);
endfunction

issuing the command octave:1> learn(.20) yields ans = 0.17664.

(d)

This Octave session

octave:1> x=(.01:.01:.50)';
octave:2> y=(.01:.01:.50)';
octave:3> for i=.01:.01:.50   
>           y(100*i)=learn(i);
>         endfor
octave:4> z=[x, y];
octave:5> gplot z

yields this plot. There is no threshold value — no probability above which the curve rises sharply.

5 Topic: Markov Chains source ↗

A certain town is in a certain country (this is a hypothetical problem). Each year ten percent of the town dwellers move to other parts of the country. Each year one percent of the people from elsewhere move to the town. Assume that there are two states sT⁠, living in town, and sC⁠, living elsewhere.

(a)

Construct the transition matrix.

(b)

Starting with an initial distribution sT=0.3 and sC=0.7⁠, get the results for the first ten years.

(c)

Do the same for sT=0.2⁠.

(d)

Are the two outcomes alike or different?

Answer (4 parts)

(a)

From these equations

0.90⋅pT(n)+0.01⋅pC(n)=pT(n+1)0.10⋅pT(n)+0.99⋅pC(n)=pC(n+1)

we get this matrix.

(0.900.010.100.99)(pT(n)pC(n))=(pT(n+1)pC(n+1))

(b)

This is the result from Octave.

n=012345
0.300000.700000.277000.723000.256530.743470.238310.761690.222100.777900.207670.79233
678910
0.194820.805180.183390.816610.173220.826780.164170.835830.156110.84389
(c)

This is the sT=0.2 result.

n=012345
0.200000.800000.188000.812000.177320.822680.167810.832190.159360.840640.151830.84817
678910
0.145130.854870.139160.860840.133850.866150.129130.870870.124930.87507
(d)

Although the probability vectors start 0.1 apart, they end only 0.032 apart. So they are alike.

6 Topic: Markov Chains source ↗

For the World Series application, use a computer to generate the seven vectors for p=0.55 and p=0.6⁠.

(a)

What is the chance of the National League team winning it all, even though they have only a probability of 0.45 or 0.40 of winning any one game?

(b)

Graph the probability p against the chance that the American League team wins it all. Is there a threshold value — a p above which the better team is essentially ensured of winning?

Answer (3 parts)

These are the p=.55 vectors, and the p=0.60 vectors.

n=0n=1n=2n=3n=4n=5n=6n=7
0-0
1-0
0-1
2-0
1-1
0-2
3-0
2-1
1-2
0-3
4-0
3-1
2-2
1-3
0-4
4-1
3-2
2-3
1-4
4-2
3-3
2-4
4-3
3-4
10000000000000000000000000.550000.450000000000000000000000000000.302500.495000.202500000000000000000000000000.166380.408370.334120.091120000000000000000000000000.091510.299480.367540.200470.0410100000000000000000000.091510000.041010.164710.336910.275650.090210000000000000000.091510000.041010.16471000.090210.185300.303220.124040000000000000.091510000.041010.16471000.090210.1853000.124040.166770.13645
n=0n=1n=2n=3n=4n=5n=6n=7
0-0
1-0
0-1
2-0
1-1
0-2
3-0
2-1
1-2
0-3
4-0
3-1
2-2
1-3
0-4
4-1
3-2
2-3
1-4
4-2
3-3
2-4
4-3
3-4
10000000000000000000000000.600000.400000000000000000000000000000.360000.480000.160000000000000000000000000000.216000.432000.288000.064000000000000000000000000000.129600.345600.345600.153600.0256000000000000000000000.129600000.025600.207360.345600.230400.061440000000000000000.129600000.025600.20736000.061440.207360.276480.092160000000000000.129600000.025600.20736000.061440.2073600.092160.165890.11059
(a)

We can adapt the script from the end of this Topic.

# Octave script file to compute chance of World Series outcomes.
function w = markov(p,v)
  q = 1-p;
  A=[0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 0-0
     p,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 1-0
     q,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 0-1_
     0,p,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 2-0
     0,q,p,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 1-1
     0,0,q,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 0-2__
     0,0,0,p,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 3-0
     0,0,0,q,p,0, 0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 2-1
     0,0,0,0,q,p, 0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 1-2_
     0,0,0,0,0,q, 0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 0-3
     0,0,0,0,0,0, p,0,0,0,1,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 4-0
     0,0,0,0,0,0, q,p,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 3-1__
     0,0,0,0,0,0, 0,q,p,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 2-2
     0,0,0,0,0,0, 0,0,q,p,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0;  # 1-3
     0,0,0,0,0,0, 0,0,0,q,0,0, 0,0,1,0,0,0, 0,0,0,0,0,0;  # 0-4_
     0,0,0,0,0,0, 0,0,0,0,0,p, 0,0,0,1,0,0, 0,0,0,0,0,0;  # 4-1
     0,0,0,0,0,0, 0,0,0,0,0,q, p,0,0,0,0,0, 0,0,0,0,0,0;  # 3-2
     0,0,0,0,0,0, 0,0,0,0,0,0, q,p,0,0,0,0, 0,0,0,0,0,0;  # 2-3__
     0,0,0,0,0,0, 0,0,0,0,0,0, 0,q,0,0,0,0, 1,0,0,0,0,0;  # 1-4
     0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,p,0, 0,1,0,0,0,0;  # 4-2
     0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,q,p, 0,0,0,0,0,0;  # 3-3_
     0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,q, 0,0,0,1,0,0;  # 2-4
     0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,p,0,1,0;  # 4-3
     0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,0,0,0,0, 0,0,q,0,0,1]; # 3-4
  v7 = (A**7) * v;
  w = v7(11)+v7(16)+v7(20)+v7(23)
endfunction

When the American League has a p=0.55 probability of winning each game then their probability of winning the series is 0.60829⁠. When their probability of winning any one game is p=0.6 then their probability of winning the series is 0.71021⁠.

(b)

From this Octave session and its graph

octave:1> v0=[1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0];
octave:2> x=(.01:.01:.99)';
octave:3> y=(.01:.01:.99)';
octave:4> for i=.01:.01:.99
>          y(100*i)=markov(i,v0);
>         endfor
octave:5> z=[x, y];
octave:6> gplot z

by eye we judge that if p>0.7 then the team is close to assured of the series.

7 Topic: Markov Chains source ↗

Above we define a transition matrix to have each entry nonnegative and each column sum to 1⁠.

(a)

Check that the three transition matrices shown in this Topic meet these two conditions. Must any transition matrix do so?

(b)

Observe that if Av→0=v→1 and Av→1=v→2 then A2 is a transition matrix from v→0 to v→2⁠. Show that a power of a transition matrix is also a transition matrix.

(c)

Generalize the prior item by proving that the product of two appropriately-sized transition matrices is a transition matrix.

Answer (3 parts)

(a)

They must satisfy this condition because the total probability of a state transition (including back to the same state) is 100%⁠.

(b)

See the answer to the third item.

(c)

We will do the 2×2 case; bigger-sized cases are just notational problems. This product

(a1,1a1,2a2,1a2,2)(b1,1b1,2b2,1b2,2)=(a1,1b1,1+a1,2b2,1a1,1b1,2+a1,2b2,2a2,1b1,1+a2,2b2,1a2,1b1,2+a2,2b2,2)

has these two column sums

(a1,1b1,1+a1,2b2,1)+(a2,1b1,1+a2,2b2,1)=(a1,1+a2,1)⋅b1,1+(a1,2+a2,2)⋅b2,1=1⋅b1,1+1⋅b2,1=1

and

(a1,1b1,2+a1,2b2,2)+(a2,1b1,2+a2,2b2,2)=(a1,1+a2,1)⋅b1,2+(a1,2+a2,2)⋅b2,2=1⋅b1,2+1⋅b2,2=1

as required.

1 Topic: Orthonormal Matrices source ↗

Decide if each of these is an orthonormal matrix.

(a)

(1/2−1/2−1/2−1/2)

(b)

(1/3−1/3−1/3−1/3)

(c)

(1/3−2/3−2/3−1/3)

Answer (3 parts)

(a)

Yes.

(b)

No, the columns do not have length one.

(c)

Yes.

2 Topic: Orthonormal Matrices source ↗

Write down the formula for each of these distance-preserving maps.

(a)

the map that rotates π/6 radians, and then translates by e→2

(b)

the map that reflects about the line y=2x

(c)

the map that reflects about y=−2x and translates over 1 and up 1

Answer (4 parts)

Some of these are nonlinear, because they involve a nontrivial translation.

(a)

(xy)↦(x⋅cos⁡(π/6)−y⋅sin⁡(π/6)x⋅sin⁡(π/6)+y⋅cos⁡(π/6))+ (01)= (x⋅(3/2)−y⋅(1/2)+0x⋅(1/2)+y⋅cos⁡(3/2)+1)

(b)

The line y=2x makes an angle of arctan⁡(2/1) with the x⁠-axis. Thus sin⁡θ=2/5 and cos⁡θ=1/5⁠.

(xy)↦(x⋅(1/5)−y⋅(2/5)x⋅(2/5)+y⋅(1/5))

(c)

(xy)↦(x⋅(1/5)−y⋅(−2/5)x⋅(−2/5)+y⋅(1/5))+ (11)= (x/5+2y/5+1−2x/5+y/5+1)

3 Topic: Orthonormal Matrices source ↗

(a)

The proof that a map that is distance-preserving and sends the zero vector to itself incidentally shows that such a map is one-to-one and onto (the point in the domain determined by d0⁠, d1⁠, and d2 corresponds to the point in the codomain determined by those three). Therefore any distance-preserving map has an inverse. Show that the inverse is also distance-preserving.

(b)

Prove that congruence is an equivalence relation between plane figures.

Answer (2 parts)

(a)

Let f be distance-preserving and consider f−1⁠. Any two points in the codomain can be written as f(P1) and f(P2)⁠. Because f is distance-preserving, the distance from f(P1) to f(P2) equals the distance from P1 to P2⁠. But this is exactly what is required for f−1 to be distance-preserving.

(b)

Any plane figure F is congruent to itself via the identity map id⁡:ℝ2→ℝ2⁠, which is obviously distance-preserving. If F1 is congruent to F2 (via some f⁠) then F2 is congruent to F1 via f−1⁠, which is distance-preserving by the prior item. Finally, if F1 is congruent to F2 (via some f⁠) and F2 is congruent to F3 (via some g⁠) then F1 is congruent to F3 via g∘f⁠, which is easily checked to be distance-preserving.

4 Topic: Orthonormal Matrices source ↗

In practice the matrix for the distance-preserving linear transformation and the translation are often combined into one. Check that these two computations yield the same first two components.

(acbd)(xy)+(ef)(acebdf001)(xy1)

(These are homogeneous coordinates; see the Topic on Projective Geometry).

Answer

The first two components of each are ax+cy+e and bx+dy+f⁠.

5 Topic: Orthonormal Matrices source ↗

(a)

Verify that the properties described in the second paragraph of this Topic as invariant under distance-preserving maps are indeed so.

(b)

Give two more properties that are of interest in Euclidean geometry from your experience in studying that subject that are also invariant under distance-preserving maps.

(c)

Give a property that is not of interest in Euclidean geometry and is not invariant under distance-preserving maps.

Answer (3 parts)

(a)

The Pythagorean Theorem gives that three points are collinear if and only if (for some ordering of them into P1⁠, P2⁠, and P3⁠), dist⁡(P1,P2)+ dist⁡(P2,P3)= dist⁡(P1,P3)⁠. Of course, where f is distance-preserving, this holds if and only if dist⁡(f(P1),f(P2))+ dist⁡(f(P2),f(P3))= dist⁡(f(P1),f(P3))⁠, which, again by Pythagoras, is true if and only if f(P1)⁠, f(P2)⁠, and f(P3) are collinear.

The argument for betweeness is similar (above, P2 is between P1 and P3⁠).

If the figure F is a triangle then it is the union of three line segments P1P2⁠, P2P3⁠, and P1P3⁠. The prior two paragraphs together show that the property of being a line segment is invariant. So f(F) is the union of three line segments, and so is a triangle.

A circle C centered at P and of radius r is the set of all points Q such that dist⁡(P,Q)=r⁠. Applying the distance-preserving map f gives that the image f(C) is the set of all f(Q) subject to the condition that dist⁡(P,Q)=r⁠. Since dist⁡(P,Q)= dist⁡(f(P),f(Q))⁠, the set f(C) is also a circle, with center f(P) and radius r⁠.

(b)

Here are two that are easy to verify: (i) the property of being a right triangle, and (ii) the property of two lines being parallel.

(c)

One that was mentioned in the section is the ‘sense’ of a figure. A triangle whose vertices read clockwise as P1⁠, P2⁠, P3 may, under a distance-preserving map, be sent to a triangle read P1⁠, P2⁠, P3 counterclockwise.

Loading chapter 4…

Exercises and answers are adapted from Linear Algebra by Jim Hefferon, which is free to read and download, and are used under the CC BY-SA 2.5 licence. They are taken from the book’s LaTeX source and set for the web, so they may differ slightly from the printed page. This adaptation is released under the same licence and is neither affiliated with nor endorsed by Jim Hefferon.