Jump to content

Linear Algebra/Determinants as Size Functions/Solutions

From Wikibooks, open books for an open world

Solutions

[edit | edit source]
Problem 1

Find the volume of the region formed.

  1. ⟨(13),(−14)⟩
  2. ⟨(210),(3−24),(8−38)⟩
  3. ⟨(1201),(2222),(−1305),(0107)⟩
Answer

For each, find the determinant and take the absolute value.

  1. 7
  2. 0
  3. 58
This exercise is recommended for all readers.
Problem 2

Is

(412)

inside of the box formed by these three?

(331)(261)(105)
Answer

Solving

c1(331)+c2(261)+c3(105)=(412)

gives the unique solution c3=11/57, c2=−40/57 and c1=99/57. Because c1>1, the vector is not in the box.

This exercise is recommended for all readers.
Problem 3

Find the volume of this region.

Answer

Move the parallelepiped to start at the origin, so that it becomes the box formed by

⟨(30),(21)⟩

and now the absolute value of this determinant is easily computed as 3.

|3201|=3
This exercise is recommended for all readers.
Problem 4

Suppose that |A|=3. By what factor do these change volumes?

  1. A
  2. A2
  3. A−2
Answer
  1. 3
  2. 9
  3. 1/9
This exercise is recommended for all readers.
Problem 5

By what factor does each transformation change the size of boxes?

  1. (xy)↦(2x3y)
  2. (xy)↦(3x−y−2x+y)
  3. (xyz)↦(x−yx+y+zy−2z)
Answer

Express each transformation with respect to the standard bases and find the determinant.

  1. 6
  2. −1
  3. −5
Problem 6

What is the area of the image of the rectangle [2..4]×[2..5] under the action of this matrix?

(234−1)
Answer

The starting area is 6 and the matrix changes sizes by −14. Thus the area of the image is 84.

Problem 7

If t:ℝ3→ℝ3 changes volumes by a factor of 7 and s:ℝ3→ℝ3 changes volumes by a factor of 3/2 then by what factor will their composition changes volumes?

Answer

By a factor of 21/2.

Problem 8

In what way does the definition of a box differ from the definition of a span?

Answer

For a box we take a sequence of vectors (as described in the remark, the order in which the vectors are taken matters), while for a span we take a set of vectors. Also, for a box subset of ℝn there must be n vectors; of course for a span there can be any number of vectors. Finally, for a box the coefficients t1, ..., tn are restricted to the interval [0..1], while for a span the coefficients are free to range over all of ℝ.

This exercise is recommended for all readers.
Problem 9

Why doesn't this picture contradict Theorem 1.5?

→(2101)
area is 2 determinant is 2 area is 5
Answer

That picture is drawn to mislead. The picture on the left is not the box formed by two vectors. If we slide it to the origin then it becomes the box formed by this sequence.

⟨(01),(20)⟩

Then the image under the action of the matrix is the box formed by this sequence.

⟨(11),(40)⟩

which has an area of 4.

This exercise is recommended for all readers.
Problem 10

Does |TS|=|ST|? |T(SP)|=|(TS)P|?

Answer

Yes to both. For instance, the first is |TS|=|T|⋅|S|=|S|⋅|T|=|ST|.

Problem 11
  1. Suppose that |A|=3 and that |B|=2. Find |A2⋅Btrans⋅B−2⋅Atrans|.
  2. Assume that |A|=0. Prove that |6A3+5A2+2A|=0.
Answer
  1. If it is defined then it is (32)⋅(2)⋅(2−2)⋅(3).
  2. |6A3+5A2+2A|=|A|⋅|6A2+5A+2I|.
This exercise is recommended for all readers.
Problem 12

Let T be the matrix representing (with respect to the standard bases) the map that rotates plane vectors counterclockwise thru θ radians. By what factor does T change sizes?

Answer

|cos⁡θ−sin⁡θsin⁡θcos⁡θ|=1

This exercise is recommended for all readers.
Problem 13

Must a transformation t:ℝ2→ℝ2 that preserves areas also preserve lengths?

Answer

No, for instance the determinant of

T=(2001/2)

is 1 so it preserves areas, but the vector Te→1 has length 2.

This exercise is recommended for all readers.
Problem 14

What is the volume of a parallelepiped in ℝ3 bounded by a linearly dependent set?

Answer

It is zero.

This exercise is recommended for all readers.
Problem 15

Find the area of the triangle in ℝ3 with endpoints (1,2,1), (3,−1,4), and (2,2,2). (Area, not volume. The triangle defines a plane— what is the area of the triangle in that plane?)

Answer

Two of the three sides of the triangle are formed by these vectors.

(222)−(121)=(101)(3−14)−(121)=(2−33)

One way to find the area of this triangle is to produce a length-one vector orthogonal to these two. From these two relations

(101)⋅(xyz)=(000)(2−33)⋅(xyz)=(000)

we get a system

x+z=02x−3y+3z=0→−2ρ1+ρ2x+z=0−3y+z=0

with this solution set.

{(−11/31)z|z∈ℝ},

A solution of length one is this.

119/9(−11/31)

Thus the area of the triangle is the absolute value of this determinant.

|12−3/190−31/19133/19|=−12/19
This exercise is recommended for all readers.
Problem 16

An alternate proof of Theorem 1.5 uses the definition of determinant functions.

  1. Note that the vectors forming S make a linearly dependent set if and only if |S|=0, and check that the result holds in this case.
  2. For the |S|≠0 case, to show that |TS|/|S|=|T| for all transformations, consider the function d:ℳn×n→ℝ given by T↦|TS|/|S|. Show that d has the first property of a determinant.
  3. Show that d has the remaining three properties of a determinant function.
  4. Conclude that |TS|=|T|⋅|S|.
Answer
  1. Because the image of a linearly dependent set is linearly dependent, if the vectors forming S make a linearly dependent set, so that |S|=0, then the vectors forming t(S) make a linearly dependent set, so that |TS|=0, and in this case the equation holds.
  2. We must check that if T[b]→kρi+ρjT̂ then d(T)=|TS|/|S|=|T̂S|/|S|=d(T̂). We can do this by checking that pivoting first and then multiplying to get T̂S gives the same result as multiplying first to get TS and then pivoting (because the determinant |TS| is unaffected by the pivot so we'll then have that |T̂S|=|TS| and hence that d(T̂)=d(T)). This check runs: after adding k times row i of TS to row j of TS, the j,p entry is (kti,1+tj,1)s1,p+…+(kti,r+tj,r)sr,p, which is the j,p entry of T̂S.
  3. For the second property, we need only check that swapping T[b]→ρi↔ρjT̂ and then multiplying to get T̂S gives the same result as multiplying T by S first and then swapping (because, as the determinant |TS| changes sign on the row swap, we'll then have |T̂S|=−|TS|, and so d(T̂)=−d(T)). This ckeck runs just like the one for the first property. For the third property, we need only show that performing T[b]→kρiT̂ and then computing T̂S gives the same result as first computing TS and then performing the scalar multiplication (as the determinant |TS| is rescaled by k, we'll have |T̂S|=k|TS| and so d(T̂)=kd(T)). Here too, the argument runs just as above. The fourth property, that if T is I then the result is 1, is obvious.
  4. Determinant functions are unique, so |TS|/|S|=d(T)=|T|, and so |TS|=|T||S|.
Problem 17

Give a non-identity matrix with the property that Atrans=A−1. Show that if Atrans=A−1 then |A|=±1. Does the converse hold?

Answer

Any permutation matrix has the property that the transpose of the matrix is its inverse.

For the implication, we know that |Atrans|=|A|. Then 1=|A⋅A−1|=|A⋅Atrans|=|A|⋅|Atrans|=|A|2.

The converse does not hold; here is an example.

(3121)
Problem 18

The algebraic property of determinants that factoring a scalar out of a single row will multiply the determinant by that scalar shows that where H is 3×3, the determinant of cH is c3 times the determinant of H. Explain this geometrically, that is, using Theorem 1.5,

Answer

Where the sides of the box are c times longer, the box has c3 times as many cubic units of volume.

This exercise is recommended for all readers.
Problem 19

Matrices H and G are said to be similar if there is a nonsingular matrix P such that H=P−1GP (we will study this relation in Chapter Five). Show that similar matrices have the same determinant.

Answer

If H=P−1GP then |H|=|P−1||G||P|=|P−1||P||G|=|P−1P||G|=|G|.

Problem 20

We usually represent vectors in ℝ2 with respect to the standard basis so vectors in the first quadrant have both coordinates positive.

         Repℰ2(v→)=(+3+2)

Moving counterclockwise around the origin, we cycle thru four regions:

⋯⟶(++)⟶(−+)⟶(−−)⟶(+−)⟶⋯.

Using this basis

B=⟨(01),(−10)⟩         

gives the same counterclockwise cycle. We say these two bases have the same orientation.

  1. Why do they give the same cycle?
  2. What other configurations of unit vectors on the axes give the same cycle?
  3. Find the determinants of the matrices formed from those (ordered) bases.
  4. What other counterclockwise cycles are possible, and what are the associated determinants?
  5. What happens in ℝ1?
  6. What happens in ℝ3?

A fascinating general-audience discussion of orientations is in (Gardner 1990).

Answer
  1. The new basis is the old basis rotated by π/4.
  2. ⟨(−10),(0−1)⟩, ⟨(0−1),(10)⟩
  3. In each case the determinant is +1 (these bases are said to have positive orientation).
  4. Because only one sign can change at a time, the only other cycle possible is
    ⋯⟶(++)⟶(+−)⟶(−−)⟶(−+)⟶⋯.
    Here each associated determinant is −1 (such bases are said to have a negative orientation).
  5. There is one positively oriented basis ⟨(1)⟩ and one negatively oriented basis ⟨(−1)⟩.
  6. There are 48 bases (6 half-axis choices are possible for the first unit vector, 4 for the second, and 2 for the last). Half are positively oriented like the standard basis on the left below, and half are negatively oriented like the one on the right

                    

    In ℝ3 positive orientation is sometimes called "right hand orientation" because if a person's right hand is placed with the fingers curling from e→1 to e→2 then the thumb will point with e→3.

Problem 21

This question uses material from the optional Determinant Functions Exist subsection. Prove Theorem 1.5 by using the permutation expansion formula for the determinant.

Answer

We will compare det⁡(s→1,…,s→n) with det⁡(t(s→1),…,t(s→n)) to show that the second differs from the first by a factor of |T|. We represent the s→'s with respect to the standard bases

Repℰn(s→i)=(s1,is2,i⋮sn,i)

and then we represent the map application with matrix-vector multiplication

Repℰn(t(s→i))=(t1,1t1,2…t1,nt2,1t2,2…t2,n⋮tn,1tn,2…tn,n)(s1,js2,j⋮sn,j)=s1,j(t1,1t2,1⋮tn,1)+s2,j(t1,2t2,2⋮tn,2)+…+sn,j(t1,nt2,n⋮tn,n)=s1,jt→1+s2,jt→2+…+sn,jt→n

where t→i is column i of T. Then det⁡(t(s→1),…,t(s→n)) equals det⁡(s1,1t→1+s2,1t→2+…+sn,1t→n,…,s1,nt→1+s2,nt→2+…+sn,nt→n).

As in the derivation of the permutation expansion formula, we apply multilinearity, first splitting along the sum in the first argument

det⁡(s1,1t→1,…,s1,nt→1+s2,nt→2+…+sn,nt→n)+⋯+det⁡(sn,1t→n,…,s1,nt→1+s2,nt→2+…+sn,nt→n)

and then splitting each of those n summands along the sums in the second arguments, etc. We end with, as in the derivation of the permutation expansion, nn summand determinants, each of the form det⁡(si1,1t→i1,si2,2t→i2,…,sin,nt→in). Factor out each of the si,j's =si1,1si2,2…sin,n⋅det⁡(t→i1,t→i2,…,t→in).

As in the permutation expansion derivation, whenever two of the indices in i1, ..., in are equal then the determinant has two equal arguments, and evaluates to 0. So we need only consider the cases where i1, ..., in form a permutation of the numbers 1, ..., n. We thus have

det⁡(t(s→1),…,t(s→n))=∑permutations ϕsϕ(1),1…sϕ(n),ndet⁡(t→ϕ(1),…,t→ϕ(n)).

Swap the columns in det⁡(t→ϕ(1),…,t→ϕ(n)) to get the matrix T back, which changes the sign by a factor of sgn⁡ϕ, and then factor out the determinant of T.

=∑ϕsϕ(1),1…sϕ(n),ndet⁡(t→1,…,t→n)⋅sgn⁡ϕ=det⁡(T)∑ϕsϕ(1),1…sϕ(n),n⋅sgn⁡ϕ.

As in the proof that the determinant of a matrix equals the determinant of its transpose, we commute the s's so they are listed by ascending row number instead of by ascending column number (and we substitute sgn⁡(ϕ−1) for sgn⁡(ϕ)).

=det⁡(T)∑ϕs1,ϕ−1(1)…sn,ϕ−1(n)⋅sgn⁡ϕ−1=det⁡(T)det⁡(s→1,s→2,…,s→n)
This exercise is recommended for all readers.
Problem 22
  1. Show that this gives the equation of a line in ℝ2 thru (x2,y2) and (x3,y3).
    |xx2x3yy2y3111|=0
  2. (Peterson 1955) Prove that the area of a triangle with vertices (x1,y1), (x2,y2), and (x3,y3) is
    12|x1x2x3y1y2y3111|.
  3. (Bittinger 1973) Prove that the area of a triangle with vertices at (x1,y1), (x2,y2), and (x3,y3) whose coordinates are integers has an area of N or N/2 for some positive integer N.
Answer
  1. An algebraic check is easy.
    0=xy2+x2y3+x3y−x3y2−xy3−x2y=x⋅(y2−y3)+y⋅(x3−x2)+x2y3−x3y2
    simplifies to the familiar form
    y=x⋅(x3−x2)/(y3−y2)+(x2y3−x3y2)/(y3−y2)
    (the y3−y2=0 case is easily handled). For geometric insight, this picture shows that the box formed by the three vectors. Note that all three vectors end in the z=1 plane. Below the two vectors on the right is the line through (x2,y2) and (x3,y3).

    The box will have a nonzero volume unless the triangle formed by the ends of the three is degenerate. That only happens (assuming that (x2,y3)≠(x3,y3)) if (x,y) lies on the line through the other two.

  2. This is how the answer was given in the cited source. The altitude through (x1,y1) of a triangle with vertices (x1,y1) (x2,y2) and (x3,y3) is found in the usual way from the normal form of the above:
    1(x2−x3)2+(y2−y3)2|x1x2x3y1y2y3111|.
    Another step shows the area of the triangle to be
    12|x1x2x3y1y2y3111|.
    This exposition reveals the modus operandi more clearly than the usual proof of showing a collection of terms to be identitical with the determinant.
  3. This is how the answer was given in the cited source. Let
    D=|x1x2x3y1y2y3111|
    then the area of the triangle is (1/2)|D|. Now if the coordinates are all integers, then D is an integer.

References

[edit | edit source]
  • Bittinger, Marvin (proposer) (1973), "Quickie 578", Mathematics Magazine, 46 (5), American Mathematical Society: 286, 296 {{citation}}: Unknown parameter |month= ignored (help).
  • Gardner, Martin (1990), The New Ambidextrous Univers, W. H. Freeman and Company {{citation}}: Unknown parameter |editition= ignored (help).
  • Peterson, G. M. (1955), "Area of a triangle", American Mathematical Monthly, 62 (4), American Mathematical Society: 249 {{citation}}: Unknown parameter |month= ignored (help).
  • Weston, J. D. (1959), "Volume in Vector Spaces", American Mathematical Monthly, 66 (7), American Mathematical Society: 575–577 {{citation}}: Unknown parameter |month= ignored (help).