Professional Documents
Culture Documents
1. Given any constants a, b, c where a 6= 0, find all values of x such that the matrix A is invertible if
1 0 c
A= 0 a −b
−1/a x x2
2
Thus det(A) 6= 0 when ax√ + bx + c 6= 0. We know by the quadratic formula that ax2 + bx + c = 0
−b ± b2 − 4ac
precisely when x = . Therefore, A is invertible so long as x satisfies both of the
2 √ √
−b + b2 − 4ac −b − b2 − 4ac
following inequalities: x 6= , x 6=
2 2
8 1 6
2. Let A = 3 5 7 . Notice that A contains every integer from 1 to 9 and that the sums of
4 9 2
each row, column, and diagonal of A are equal. Such a grid is sometimes called a magic square.
Compute the determinant of A.
1
Let A and B be n × n matrices.
(a) If AB = B, then B is the identity matrix.
(b) If the coefficient matrix A of the system Ax = b is invertible, then the system has infinitely
many solutions.
(c) If A is invertible, then ABA−1 = B.
(d) If A is an idempotent nonsingular matrix, then A must be the identity matrix.
(e) If x1 = 0, x2 = 0, x3 = 1 is a solution to a homogeneous system of linear equation, then the
system has infinitely many solutions.
Solution 3. (a) False. For example, if B is the zero matrix, then of course we have AB = B
as both sides are the zero matrix.
(b) False. If the coefficient matrix A is invertible, the system has a unique solution x = A−1 b.
2
The left 3 by 3 part
is now theidentity matrix. So the inverse matrix is given by the right 3
2 0 −1
−1
by 3 part: A = 1 1 −1 .
−1 0 1
where we used the identity A−1 A = I, identity matrix, in the third step. Thus, the answer is (e).
6. Let
−5 0 1 2
A = 3 8 −3 7 .
0 11 13 28
3
(a) AB T + vvT .
(b) Av − 2v.
(c) vT B.
(d) vT v + vT BAT v.
Solution 7. (a) AB T + vvT
T T 2 3 0 1 2
AB + vv = + 2 −4
−5 1 −1 −1 −4
−3 −1 4 −8
= +
−1 −6 −8 16
1 −9
=
−9 10
(b) Av2v
2 3 2 2
Av2v = 2
−5 1 −4 −4
−8 −4
= +
−14 8
−12
=
−6
(c) vT B
T
0 −1
v B = 2 −4
1 −1
= −4 2
(d) vT v + vT BAT v
vT v + vT BAT v
2 0 −1 2 −5 2
= 2 −4 + 2 −4
−4 1 −1 3 1 −4
24
= 18 + −4 2
2
= 1892
= −74
4
Solution 8. Recall that an n × n matrix is nonsingular if Ax = 0 has only the zero solution. This
is equivalent to the condition that the rank of A is n.
The last matrix is in reduced row echelon form and has three nonzero rows. Hence, the rank
of A is 3. It follows that the matrix A is nonsingular.
(b) Next, we compute the rank of B as follows.
2 1 2 1 0 1 1 0 1 1 0 1
R ↔R2 R2 −2R1 R −R2
B= 1 0 1 −−1−−→ 2 1 2 − −−−→ 0 1 0 −−3−−→ 0 1 0 .
R3 −4R1
4 1 4 4 1 4 0 1 0 0 0 0
This computation shows that the rank of B is 2. Hence, the matrix B is singular.
is nonsingular.
From this, we see that the matrix A is nonsingular if and only if the (3, 3)-entry 4a2 + a + 1 is not
zero. By the quadratic formula, we see that
√
−1 ± −15
a=
8
are solutions of 4a2 + a + 1 = 0.
Note that these are not real numbers. Thus, for any real number a, we have 4a2 + a + 1 6= 0.
Hence, we can divide the third row by this number, and eventually we can reduce it to the identity
matrix. So the rank of A is 3, and A is nonsingular for any real number a.
1 4
10. Consider the matrix M = .
3 12
(a) Show that M is singular.
(b) Find a non-zero vector v such that M v = 0, where 0 is the 2-dimensional zero vector.
5
Solution 10. (a) To see that M is singular, we will row-reduce the augmented matrix:
1 4 0 R2 3R1 1 4 0
−−−→ .
3 12 0 0 0 0
The row-reduced matrix has a row of all 0s, and hence is singular.
v
(b) We see that the vector v = 1 must satisfy the equation v1 + 4v2 = 0.
v2
There are many solutions. One solution, for example, is found by setting v1 = 1 and solve
v2 = 14 .
11. Determine whether the following augmented matrices are in reduced row echelon form, and calcu-
late the solution sets of their associated systems of linear equations.
1 0 0 2
(a) 0 1 0 −3 .
0 0 1 6
1 0 3 −4
(b) .
0 1 2 0
1 2 0
(c) .
1 1 −1
Solution 11. (a) The first matrix is in reduced row echelon form.
For this matrix, we can read off the solution x1 = 2, x2 = −3, x3 = 6.
(b) The second matrix is in reduced row echelon form.
For this matrix, the variable x3 is a free variable because there are no leading 1s in the 3rd
column.
The solution set can be expressed as x1 = −43x3 , x2 = −2x3 , and x3 can be any real number.
(c) The third matrix is not in reduced echelon form because the bottom-left entry is 1, not 0, so
we first use elementary row operations to put it in this form.
1 2 0 R2 R1 1 2 0
−−−→
1 1 −1 0 −1 −1
(−1)R2 1 2 0 R1 2R2 1 0 −2
−−−−→ −−−→ .
0 1 1 0 1 1
With the reduced matrix, we can read off the solution x1 = −2 and x2 = 1.
6
13. (a) Find all 3 × 3 matrices which are in reduced row echelon form and have rank 1.
(b) Find all such matrices with rank 2.
Solution 13. (a) First we look at the rank 1 case. For a 3 × 3 matrix in reduced row echelon
form to have rank 1, it must have 2 rows which are all 0s. The non-zero row must be the first
row, and it must have a leading 1.
These conditions imply that the matrix must be of one of the following forms:
1 a b 0 1 c 0 0 1
0 0 0 , 0 0 0 , or 0 0 0 .
0 0 0 0 0 0 0 0 0
(b) For a rank 2 3 × 3 matrix in reduced row echelon form, there must be one row, the bottom
one, which has only 0s.
Thus we need two leading 1s in distinct columns, and every other term in the same column
with a leading 1 must be 0. The possibilities are:
1 0 a 1 a 0 0 1 0
0 1 b , 0 0 1 , or 0 0 1 .
0 0 0 0 0 0 0 0 0
14. Prove that if A is an n × n matrix with rank n, then rref(A) is the identity matrix.
Here rref(A) is the matrix in reduced row echelon form that is row equivalent to the matrix A.
Solution 14. Because A has rank n, we know that the n × n matrix rref(A) has n non-zero rows.
This means that all n rows must have a leading 1.
Each leading 1 must be in a distinct column, so we must have that each of the n columns has a
leading 1. In a row echelon matrix, these leading 1s must be arranged to lie on the diagonal.
In a reduced row echelon matrix, each column with a leading 1 has 0s above and below that 1.
These restrictions mean that rref(A) must be the identity matrix.
15. If A, B have the same rank, can we conclude that they are row-equivalent?
If so, then prove it. If not, then provide a counterexample.
Solution 15. Having the same rank does not mean they are row-equivalent.
For a simple counterexample, consider A = 1 0 and B = 0 1 .
Both of these matrices have rank 1, but are not row-equivalent because they are already in reduced
row echelon form.
Alternate Solution : The problem doesnt specify the sizes of matrices A, B.
Note that if the sizes of A and B are distinct, then they can never be row-equivalent. Keeping this
in mind, let us consider the following two matrices.
1
A= and B = 1 0 .
0
Then both matrices are in reduced row echelon form and have rank 1. As noted above, they are
not row-equivalent because the sizes are distinct.
7
16. For each of the following matrices, find a row-equivalent matrix which is in reduced row echelon
form. Then determine the rank of each matrix.
1 3
(a) A = .
−2 2
2 6 −2
(b) B = .
3 −2 8
2 −2 4
(c) C = 4 1 −2.
6 −1 2
−2
(d) D = 3 .
1
(e) E = −2 3 1 .
Definition 1 (Rank of a Matrix). The rank of a matrix A is the number of nonzero rows in the
reduced row echelon form matrix rref(A) that is row equivalent to A.
Solution 16. (a) The matrix A has rank 2, which can be seen by computing
1 3 R2 +2R1 1 3 18 R2 1 3 R1 3R2 1 0
−−−−→ −−→ −−−→ .
−2 2 0 8 0 1 0 1
Because the row-reduced matrix has two non-zero rows, the rank of A is 2.
(b) The matrix B has rank 2, which can be seen by computing
2 6 −2 21 R1 1 3 −1 R2 3R1 1 3 −1
−−→ −−−→
3 −2 8 3 −2 8 0 −11 11
−1
R
11 2 1 3 −1 R1 3R2 1 0 2
−−−→ −−−→
0 1 −1 0 1 −1
8
17. If A, B, C are three m × n matrices such that A is row-equivalent to B and B is row-equivalent to
C, then can we conclude that A is row-equivalent to C?
If so, then prove it. If not, then provide a counterexample.
Definition 2 (Row Equivalent). Two matrices are said to be row equivalent if one can be obtained
from the other by a sequence of elementary row operations.
Solution 17. Yes, in this case A and C are row-equivalent.
By assumption, the matrices A and B are row-equivalent, which means that there is a sequence of
elementary row operations that turns A into B.
Call this sequence r1 , r2 , · · · , rn , where each ri is an elementary row operation. (Start with applying
r1 to A.)
By another assumption, B is row-equivalent to C, which means that there is a sequence of elemen-
tary row operations which transforms B into C; call this sequence s1 , s2 , · · · , sm .
Putting these sequences together, the operations r1 , r2 , · · · , rn , s1 , s2 , · · · , sm will transform the
matrix A into C.
This proves that A and C are row-equivalent.
19. Let A, B be n × n matrices such that BA + B 2 = I − BA2 where I is the n × n identity matrix.
Which of the following is always true?
(a) A is nonsingular
(b) B is nonsingular
(c) A + B is nonsingular
(d) AB is nonsingular
Solution 19. BA + B 2 + A2 = I ⇒ B(A + B + A2 ) = I. That is, inverse of B exists. Thus, 2nd
option is correct.