Linear Algebra Practice Problems
Linear Algebra Practice Problems
Linear Algebra Practice Problems
1. (1) For any matrix A, the system of linear equations Ax = 0 always has at least one
solution. T F
(2) If Ax = b has many solutions for a certain b, then Ax = 0 must have many
solutions too. T F
(3) If Ax = 0 has many solutions, then Ax = b has many solutions for any b. T F
(4) If the reduced row echelon form of a coefficient matrix has a zero row, then the
system of equations is inconsistent. T F
(5) If a linear system of equations has fewer equations than variables, then the system
has many solutions. T F
(6) If the rows of a matrix A are linearly independent, then Ax = b always has a
unique solution. T F
(7) If line l has direction v and plane P has normal n, then if v · n = 0, l does not
intersect P . T F
(9) For any vectors u, v of the same dimension, ku + vk < kuk + kvk. T F
(10) For any vectors u, v of the same dimension, |u · v| < kuk kvk. T F
(18) If Ax = b has a many solutions, then the columns of A must be linearly dependent. T F
1
(20) If w ∈
/ span{v1 , . . . , vk }, then then {w, v1 , . . . , vk } is linearly independent. T F
(31) If A and B are matrices of the same size, then rank(A + B) = rank(A)+ rank(B). T F
2. Check whether each of the set of numbers (20, −10, 9, −15, −14),
(31, −15, 25, 3, 3), (30, −16, 28, 3, 6) are solutions of the following system of equations.
x1 + 2x2 − x4 + x5 = 1
3x2 + 2x3 − x5 = 2
3x2 + x3 + 7x4 = 1
3. Here is a row reduced augmented matrix of a system of equations;
1 2 0 0 1 0 1
0 0 1 0 −2 1 0
0 0 0 1 1 0 −3
0 0 0 0 0 0 0
(i) Write out the general solution of the system (i.e., the solution set).
(ii) Write out 3 solutions of the system.
(iii) Is there a positive solution? That is, a solution where all the variables are positive?
4. Reduce the following system of equations to row echelon form in order to answer ques-
tions below. Notice there is ’c’ in the equations....
x + y − z = 1
2x + 3y + c z = 3
x + c y + 3z = 2
2
5. Determine all values of the parameters k, p, if there are any, such that the following
system of equations has no solution, a unique solution or many solutions. In the case
where there are solutions (one or many) write out the solutions.
2x + ky = p
x + y = 1
6. Find the parametric equation of the line in R2 (that is, of the form x = x0 + t v) that
passes through the point (2, 3) and is parallel to v = (−1, 2). Sketch this line. Find
some points on this line. Is the point (1, −2) on this line? Is the point (−2, 11) on this
line?
9. Find the parametric equation of the line in R3 that passes through the points P1 (1, 2, 3)
and P2 (−2, 1, 1). Find some points on this line. Is the point (2, 0, 1) on this line?
10. Where does the line r = (1, −1) + t(1, 1) intersect the line q = (2, 2) + s(3, 1)? Sketch
these lines and verify your answer. (Do this by solving a system of equations for the two
unknowns t and s.)
11. (a) Set up the system of equations that will find the intersection between these two
lines in R2 ;
(b) Set up the system of equations that will find the intersection between these two
lines in R3 ;
12. Set up the system of equations that will determine the intersection of three lines in R2 .
From the size of this system, deduce that it is not likely that they will intersect.
13. Show that the augmented matrix you obtain when determining the intersection point of
the two lines in Rn , q(t) = qo + t v, r(s) = ro + s w, or in coordinates,
3
is;
v1 −w1 r1 − q1
v2 −w2 r2 − q2
.. .. .. (3 columns here)
. . .
vn −wn rn − qn
14. Do the following pairs of equations describe the same line? (Answer yes or no for each
of the 3 pairs.)
15. Find the equation of the plane that is perpendicular to the line r = (1, −1, 1) + t(1, 1, 2)
and that passes through the point (1, 2, 3). Find some points on this plane. Is the point
(2, −2, 3) on this plane?
figures);
−3x − 4y + 5z = 2
2x − 3y + z = 4
−4x + 2y + z = 2
The unique solution is (x, y, z) = (−68, −82, −106). We expect a system of 3 equations
in 3 unknowns to usually have a unique solution; this is an algebraic reason why we
expect 3 planes in R3 to intersect in a point (we also expect that from geometrical
reasoning; two planes intersect in a line, and a line and plane intersect at a point.)
4
19. Find the algebraic equation of the plane that passes through the origin, is parallel to
the line x = (−1, 0, 2) + t(2, −1, 1), and contains the point (1, 2, 3).
Determine all values of a such that this line intersects the plane. Find these points of
intersection.
21. (a) Find all planes that contain the two points (2, −1, 3), (1, 0, 1).
(b) Find all planes that contain these two points and are parallel to the line x(t) =
(2, 2, −3) + t(−1, 1, 2).
22. Find the plane that contains the three points (1, 1, 1), (2, 0, 2), (−3, 2, 1) in two ways; (i)
solve a system of linear equations, and (ii) use the cross product.
23. (a) Let v = (−1, −2, 3). Find a vector of magnitude 4 in the opposite direction as v.
(b) Determine k, if possible, such that the angle between the vector u = (1, k, 2) and
v (same v as in part (a) ) is 60 degrees.
24. Find the flow in all the arcs of the following network.
25. Find the cubic polynomial that passes through the points P1 (−2, 2), P2 (1, 3), P3 (0, 2), P4 (4, −2).
Sketch these points and the curve.
26. Find all second order polynomials that pass through the points P1 (−2, 1), P2 (1, 3).
C3 H8 + O2 → CO2 + H2 O
5
28. Using only the ingredients potato, rice, corn, beans, find a diet (mixture of ingredients)
that satisfies the following requirements;
contains 40g of carbohydrates, 25g of protein, 15g of fat.
The nutrition composition of each ingredient, per 100g of that ingredient, is
grams of potato rice corn beans
carbo 12 8 5 15
protein 4 6 5 15
fat 4 2 5 6
Formulate a mathematical model (system of linear equations) whose solution will tell
you how much of each ingredient to use.
2 2 −1 1
0 0 0 0
29. Let C = .
Explain why C is non-invertible (is singular) without
−2 1 7 2
4 0 3 2
doing any calculations.
30. Suppose A, B, C are invertible matrices, and all the following products are defined.
Simplify the expressions (remove all brackets);
(A−1 BC −1 )−1
((B T C −1 )T )−1
31. Let A, B, C be n × n invertible matrices. Solve the following expression for the matrix
H (i.e., express H in terms of A, B, C).
−1
HAT + B = −2C T B −1
32. Let
2 −1 3 −1 0 1 3 1 1
A = −2 0 2
, B= 3 4 −1
, C= 4 1 −1
5 7 2 2 0 1 2 1 −1
(2tr(A)Y )T − 3B = 4C
33. Determine the elementary row operations that these elementary matrices perform;
1 0 0 0
−2 1 0 0
0 0 1 0
0 0 0 1
6
1 0 0 0
0 1 0 0
0 0 0 1
0 0 1 0
1 0 0 0
0 −1 0 0
0 0 1 0
0 0 0 1
1 0 0 0
0 1 0 0
0 −5 1 0
0 0 0 1
34. The matrix B below was obtained by applying several elementary row operations to the
matrix A. Find a matrix C such that B = CA. Verify your answer (i.e., perform the
multiplication CA).
0 1 3 −2 −1 4
A= 2
1 −4
−→ B= 0
1 3
2 3 2 0 2 6
35. Write out the 5×5 matrix E that performs the following three elementary row operations
on a matrix when it multiplies that matrix on the left; interchange rows 2 and 4, then
multiply row 3 by 7, then subtract 4 times row 1 from row 5 (in that order!).
Now find a 5 × 5 matrix F that performs the following column operations on a matrix
A when you form the product AF ; interchange columns 2 and 3 and then subtract 2
times column 4 from column 5.
36.
1 0 2
A=
2 −1 3
4 1 8
Write A and A−1 as a product of elementary matrices.
2 3 −2 5 1
37. Let A = 3 −1
2 0 4
and consider the problem Ax = b. Determine
4 −5 6 −5 7
conditions on b = (b1 , b2 , b3 ) that would guarantee the system is consistent.
Express your answer also as a sum of vectors with parameters. Use this to find a basis
for the range of A.
7
38. Determine whether the following subsets of vectors are subspaces. If they are not,
explain why not.
−1 0 0 3
Solve the homogeneous system Ax = 0 by row reduction.
Verify that (0, 0, 0, 1)T is a solution of the non-homogeneous system Ax = b.
Without doing any more calculations, write out the general solution of the non-homogeneous
system (that is, write out all the solutions to the non-homogeneous system).
Now solve the non-homogeneous system by row reduction. Show that the general solu-
tion you find is the same as the general solution you found above.
40. Determine whether the vector w is a linear combination of the vectors {v1 , v2 , v3 }.
w = (2, −5, 3); v1 = (1, −3, 2), v2 = (2, −4, −1), v3 = (1, −5, 7)
If so, write out the linear combination and verify.
42. Determine whether the following set of vectors is linearly independent or not. If not,
find a maximal linearly independent set (i.e., find the most vectors that form a linearly
independent subset).
Do this 2 ways: (1) Put these vectors into a matrix as columns and row reduce (use the
Pivot Theorem), and (2) Put these vectors into a matrix as rows and row reduce.
8
43. Find a maximal linearly independent subset of vectors from the set S = {u1 , u2 , u3 , u4 };
u1 = (1, 1, 3, 4)
u2 = (2, 7, 8, −4)
u3 = (2, 3, 5, −1)
u4 = (−1, 2, 1, 2)
and (b) express the remaining vectors as a linear combination of the linearly independent
ones. For your reference we provide here two matrices and their reduced row echelon
forms;
1 1 3 4 1 0 0 −41/7
2 7 8 −4 0 1 0 −30/7
−→
2 3 5 −1 0 0 1 33/7
−1 2 1 2 0 0 0 0
1 2 2 −1 1 0 0 1
1 7 3 2 0 1 0 1
−→
3 8 5 1 0 0 1 −2
4 −4 −1 2 0 0 0 0
44. The reduced row echelon form of the matrix A is R as given here via E;
1 0 1 −1 1 0 0 −2
2 5 0 6 0 1 0 2
A= −→ R = EA =
3 −3 7 −5 0 0 1 1
4 1 −2 −8 0 0 0 0
5 −0.5 0 2.5
1 −2 3 0 −1
E=
9 0.5 0 −2.5
14
−84 7 14 7
Use this to answer the questions below.
S = {(1, 2, 3, 4), (0, 5, −3, 1), (1, 0, 7 − 2), (−1, 6, −5, −8)}
linearly dependent or linearly independent? Your answer should make reference to the
definition of linear independence. What is dim(span(S))?
The matrix A has these vectors as its columns. By the Pivot Theorem, we see that the
first 3 columns of A form a maximally linearly independent set. In particular, the set S
is linearly dependent, and dim(span(S)) = 3.
9
(c) Find all vectors b such that b ∈ span(S). Express your answer as a linear combi-
nation of linearly independent vectors (i.e., in the form b = t1 v1 + · · ·).
45. Find a basis for span{(1, −3, 2), (2, −4, −1), (1, −5, 7)} and determine the dimension of
this subspace.
46. Show that for any square matrix A, (A + AT ) is symmetric and (A − AT ) is skew-
symmetric.
47. Show that if D is diagonal, L lower triangular, and U upper triangular, then (D ± L) is
lower triangular and (D ± U ) is upper triangular.
49. Let
−4 2 6 2 2 0 0 0 −2 1 3 1
2 3 3 7 −1 2 0 0 0 2 3 4
A= ,
L= ,
U =
−4 2 0 5 2 0 3 0 0 0 −2 1
−2 −1 0 1 1 −1 0 2 0 0 0 2
Show that A = LU and use this to solve the system Ax = b where b = [3 2 − 1 1]T .
50. Compute the determinant of the following matrix. First, by expansion across the first
row, then across the second row, and down the second column. Verify that these all give
the same answer.
51. Compute the determinant of the following matrix anyway you want (i.e., expansion down
any column or row, plus possibly applying elementary row operations first).
5 −2 3 1 3
2 0 1 0 −2
0 1 3 2 2
2 2 1 1 −2
−2 1 3 1 2
a b c
53. If d e f = −2, compute, if possible, the following determinants;
g h i
a − 2d + g b − 2e + h c − 2f + i c + f −b − e a + d a 2b c
−3d −3e −3f , f −e d , 2d 2e 2f
g−d h−e i−f i + 2c −h − 2b g + 2a g + 3a h + 3b i + 3c
10
54. Prove that if A is a square matrix, then det A 6= 0 if and only if A is invertible.
6 −6 4
Find a basis for each eigenspace.
What are the algebraic and geometric multiplicities of the eigenvalues you found for A?
−3 1 −1
65. Let B = −7 5 −1 .
−6 6 −2
Without doing much calculation (i.e., without calculating any determinants or doing
any row reduction), determine whether any of the following vectors are eigenvectors of
B. If a vector is an eigenvector, identify the eigenvalue.
1 2 1 0
1 , 2 , −1 , 1
1 0 1 1
11
66. Find all three roots of p(x) = 2x3 + 10x2 + 6x − 2. (Begin by guessing one root, factor
that out and then find the roots of the remaining quadratic). Write out p(x) in factored
form, i.e., in the form p(x) = a(x − a1 )(x − a2 )(x − a3 ).
67. What are the possible algebraic and geometric multiplicities of an eigenvalue of a 5 × 5
matrix?
68. (a) If T : Rn → Rn is orthogonal projection onto the subspace W , does T (which means,
[T ]) have any eigenvectors? If so, what are the eigenvalues for these eigenvectors? Does
T necessarily have to have any (real) eigenvalues? Can you say anything about det([T ])?
(b) Suppose T is reflection across a plane in R3 . Does T have any eigenvectors? Can
you say anything about det(T ) (= det([T ])?
69. Decide which of the following 4 functions are linear transformations or not. If it is, find
the standard matrix for it, and determine whether it is one-to-one, and whether it is
onto.
F : R3 → R3 ; F (x, y, z) = (2x − y + 1, x − 4z, 7y − z)
T : R3 → R4 ; (4x1 − 2x2 , 3x1 x3 , x1 − x2 , 2x2 − x3 )
T (x1 , x2 , x3 ) = (4x3 − x1 , x1 + 2x3 , 3x2 − 2x1 + x3 )
G : R3 → R2 ; G(x) is the vector in R2 that is obtained by first projecting x ∈ R3
onto the xy − plane (this is R2 ), and then rotating that vector by 45o counter clockwise
(when looking down the z-axis at the xy-plane). Why is this a linear transformation?
Find the matrix [G].
71. Circle all the matrices below that are orthogonal matrices.
0 1 0 0
√ √ √
1 0 1 0 3/√11 −1/√6 −1/√66
1 0 1 0
(a) 0 1 0 0 (b) (c) 1/√11 2/√6 −4/√66
0 0 0 1
0 0 0 1 1/ 11 1/ 6 7/ 66
0 0 1 0
12
√ √ √
− cos θ sin θ 0 1/ 3 −1/√3 1/√3
(d) − sin θ − cos θ 0 (e) √0 1/√2 −1/√2
0 0 −1 2/ 6 −1/ 6 −1/ 6
72. Why is rotation around the z-axis followed by reflection across the yz-plane an orthog-
onal transformation in R3 ? Why are shears not orthogonal transformations?
73. Determine whether the following transformations are one-to-one and whether they are
onto. And to do this, determine the kernel and the range. (ker(A)=null(A); Ax = 0,
range(A); Ax = b)
0 0 0 0
−3 8 0
1
E= −2 1 0 ; R = EA )
13
13 −26 13
(3) T (x, y, z) = (−x + 3y + 2z, 2x + 4z, x + 3y + 6z)
74. Prove that ker(A) = 0 ⇐⇒ A is one-to-one.
75. For each of the following pairs of transformations determine whether the compositions
T1 ◦ T2 and T2 ◦ T1 are defined;
T1 : R3 → R3 , T2 : R3 → R3
T1 : R5 → R3 , T2 : R2 → R5
76. (a) Find the standard matrices of the transformations T1 , T2 and verify the composition
property [T2 ◦ T1 ] = [T2 ][T1 ];
T1 : R3 → R3 ; rotation by 30o about the y-axis
T2 : R3 → R2 ; T (x, y, z) = (y, x)
That is, first describe what the transformation T2 ◦ T1 does, and then verify with the
matrix [T2 ][T1 ]. Find [T2 ◦ T1 ].
(b) What is m and n in the formula T2 ◦ T1 : Rn → Rm ? Is T1 ◦ T2 defined?
(c) Find the kernel and range of T2 ◦ T1 . Is T2 ◦ T1 one-to-one? Onto?
77. Let W = span {v1 , v2 , v3 , v4 } where
v1 = (3, −6, 3, −9)
v2 = (−4, 6, 0, 2)
v3 = (−2, 4, −2, 6)
v4 = (6, −9, 0, −3)
13
Find dim W and a basis for W.
78. Find the rank and nullity of A, and a basis for row(A), col(A), and null(A);
1 −2 4 1
2 −3 9 −1
A =
1 0 6 −5
2 −5 7 5
Find rank and nullity of (AT ) and confirm the Dimension Theorem.
79. Below are the sizes and ranks of the matrix A. Fill in the dimensions of the indicated
subspaces.
size of A 2 × 4 3 × 2 5 × 7
rank(A) 1 2 3
row(A)
col(A)
null(A)
null(AT )
S = {(1, −1, 1, 2), (2, −2, 0, 1), (1, −1, −1, −1), (−4, 2, 0, 1)}
(To find S ⊥ , use the relation row(A)⊥ = null(A) where A is a certain matrix. To find
(S ⊥ )⊥ , find a basis for it.)
u2 = (1, 1, 3, 4)
u2 = (2, 7, 8, −4)
u3 = (2, 3, 5, −1)
83. Find the orthogonal projection of the vector v = [1 2 3]T along the vector a = [2 −3 2]T .
v·a
Do this in two ways; (i) use the formula proja v = a, and (ii) find the standard
kak2
matrix [T ] for this projection and compute T (v).
14
84. Show that v ∈ W ⊥ if and only if v · wi = 0, i = 1, . . . , k where W = span{w1 , . . . , wk }.
85. Let W = span{u1 , u2 }, where
87. Find the closest point in the plane 3x − y + z = 0 to the point p = (1, 1, 1). What is
the distance from p to this plane?
88. Find the closest point on the line x(t) = (1, 2, 3) + t(−1, 0, 1) to p = (1, 1, 1). (You have
to shift the line so that it goes through the origin first..... and then shift the point p
too.)
89. Find the ”best” (i.e., least squares) solution to the system;
x1 − 8x2 − 7x3 − 4x4 = 2
2x1 − 3x2 − x3 + 5x2 = 3
3x1 + 2x2 + 5x3 + 14x4 = 0
Which one of these systems is consistent? (check the error, i.e., kb̂ − bk)
90. Find the least squares line through the data;
(1, 1), (3, 2), (−2, 1), (4, 4), (5, 2).
Find the ’best’ quadratic through these points.
Make a sketch of your two curves and the data.
91. Use the Gram-Schmidt process to find an orthonormal basis for R3 beginning with the
basis {(1, 2, 3), (0, 1, 0), (−1, 0, 1)}
92. What would be the result if the Gram-Schmidt process was applied to a set of vectors
that was not linearly independent?
93. Let B1 = {(1, −1, 1), (2, 0, 1), (−2, 1, 1)} be a basis for R3 . Let v = (2, 3, 1).
Find (v)B1 (coordinates of v with respect to basis B).
If (w)B = (2, 3, 1), what is the vector w? (i.e., its coordinates in the standard basis).
15
94. (a) Let T : R3 → R3 be defined by
w1 = 2x1 + 3x2
w2 = −3x1 + x2 + 2x3
w3 = 4x1 − 3x2 − 2x3
[T ]B2 = P [T ]B1 P −1
where P = PB1 →B2 . That is, compute [T ]B2 directly and compare the answer to the
result you get from the formula (same T as above).
(d) Now verify that
[T (v)]B2 = [T ]B2 [v]B2 = PB1 →B2 [T ]B1 [v]B1 = PB1 →B2 [T (v)]B1
95. (a) The two matrices below are similar. Show that they have the same determinant,
same eigenvalues, same rank, and same nullity. However, show that they do not have
the same eigenspaces.
0 −1 0 2 −27/4 9/2
A= 0
0 1
, C = −8/3
9 −8
−4 −17 8 −4/3 11/2 −3
(b) Now show that A is diagonalizable (same A as above) and find the diagonal matrix
D it is similar to. Also find the matrix P that diagonalizes A (i.e., D = P −1 AP ). Is
the matrix C (as above) diagonalizable? If so, find the diagonal matrix H it is similar
to and the matrix M that diagonalizes it.
16
Hints and answers
1. (1)T,T,F,F,(5)F,F,F,F,F,(10)F,F,T,T,F,(15)F,T,F,T,F,(20)F,F,T,T,T,(25)T,F,T,T,F,(30)T,F,T
2. (20, −10, 9, −15, −14); no
(31, −15, 25, 3, 3); yes
(30, −16, 28, 3, 6); yes
3.
x1 = 1 − 2t1 − t2
x2 = t1
x3 = 2t2 − t3
x4 = −3 − t2
x5 = t2
x6 = t3
t1 , t2 , t3 ∈ R
2t − s = −1
4t + 2s = −1
(b)
2t + s = −1
4t + 2s = −1
4t + 3s = −2
17
12.
a11 t + a12 s = b1
a21 t + a22 s = b2
a31 t + a32 s = b3
13. Since there are two variables (t and s), if there are 2 equations (2 lines) there can be
a unique solution (and hence an intersection), however, if there are more than 2 rows
(more than 2 lines) the system is most likely inconsistent. So, 2 lines typically intersect
in 2 dimensions, but not in 3 or higher dimensions.
14. NO, YES, NO
15. The equation of the plane is x + y + 2z = 9.
Some points on the plane; (0, 0, 4.5), (0, 3, 3). (2, −2, 3) is not on the plane.
Point of intersection is (−8, 5, 6).
To determine the angle of intersection between a plane P and a line L, imagine looking
at the plane edge on. The angle of intersection is the smallest angle between the plane
and the line, denoted by θ in the figures below. To determine this, consider the angle
between the two vectors n, a normal to the plane, and v, the direction of the line.
Note that there are two possibilities for the orientation of the normal of the plane n
and the
direction
vector v of the line. One case (left figure) is when the angle φ =
−1 n·v
cos knkkvk
between them is less than 90o (n · v > 0). Here the angle θ between the
line and the plane is θ = 90o − cos−1 knkkvk
n·v
. The second case (right figure) is when the
angle φ between the direction vectorof the line and the normal of the plane is greater
than 90o (n · v < 0). Here θ = cos−1 knkkvk
n·v
− 90o .
16. x = ( 10
17
, − 16
17
, 0) + t(11, 13, 17)
17. The unique solution is (x, y, z) = (−68, −82, −106)
18. The system of equations to determine the intersection of 4 planes would contain 4
equations in 3 variables. We usually expect such a system to be inconsistent, and
therefore, we would usually expect no intersection between 4 planes. (Recall from the
previous problem that usually 3 planes would intersect in a point; the fourth plane would
have to pass through this point in order for the 4 planes to have an intersection.)
19. x + y − z = 0
20. If a 6= 5, the point of intersection is
4a + 2 8 − 2a 3a2 − 2a + 5
x= , y= , z=
a+5 5+a 5+a
18
21. (a) The equations of the planes are
(t2 − t1 )x + (t1 + t2 )y + t1 z = t2 , t1 , t2 ∈ R
5 9
x1 = + t
4 16
5 9
x2 = − t
2 4
3
x3 = 1− t
4
x4 = t
19
10
Since we are interested only in positive solutions, we see that 0 ≤ t ≤ 9
.
76 23
Note that the amount of the mixture is x1 +x2 +x3 +x4 = 16
− 16 t. So only this amount,
when 0 ≤ t ≤ 109
, can be produced.
29. If A is any 4 × m matrix, then in the product CA, the second row is zero, so this product
could never be the identity matrix.
30. CB −1 A, B −1 C T
31. H = − B + 12 B(C −1 )T (AT )−1
10 4 6
1
32. Y = 8 22 12 −6
12 4 −2
33. subtract 2× row 1 from row 2, interchange rows 3 and 4, multiply row 2 by -1, add −5×
row 2 to row 3
0 −1 0
34. C =
1 0 0
0 −1 1
1 0 0 0 0
0 0 0 1 0
35. E =
0 0 7 0 0
0 1 0 0 0
−4 0 0 0 1
1 0 0 0 0
0 0 1 0 0
F =
0 1 0 0 0
0 0 0 1 −2
0 0 0 0 1
36.
1 0 0 1 0 0
−2
E1 = 1 0
E1−1 =
2 1 0
0 0 1 0 0 1
1 0 0 1 0 0
E2 = 0 1 0 E2−1 = 0 1 0
−4 0 1 4 0 1
1 0 0 1 0 0
E3 = 0
0 1
E3−1 =
0 0 1
0 1 0 0 1 0
1 0 0 1 0 0
E4 = 0 1 0 E4−1 = 0 1 0
0 1 1 0 −1 1
20
1 0 0 1 0 0
E5 = 0 1 0 E5−1 = 0 1 0
0 0 −1 0 0 −1
1 0 −2 1 0 2
E6 = 0 1 0 E6−1 = 0 1 0
0 0 1 0 0 1
A−1 = E6 E5 E4 E3 E2 E1
A = E1−1 E2−1 E3−1 E4−1 E5−1 E6−1
37. b1 = 2b2 − b3 ;
39. x = t(3, 37 , 11
3
, 1)
x = (0, 0, 0, 1) + t(3, 37 , 11
3
, 1)
40. w = −6v1 + 3v2 + 2v3 . For the second, w is not a linear combination of v1 , v2 , v3
41. a − 2b − 32 c = 0
This gives us an expression for a basis for span{(2, 1, 0), (1, −1, 2), (0, 3, −4)};
42. (1, −2, 5, −3), (2, 3, 1, −4), (0, 0, 0, 10) is a maximally linearly independent set.
The first three rows of B form a maximally linearly independent set.
u4 = u1 + u2 − 2u3
45. {(1, −3, 2), (2, −4, −1)} forms a basis for span{(1, −3, 2), (2, −4, −1), (1, −5, 7)}. The
dimension of this subspace is 2.
46.
47.
48.
19
49. x = ( 128 , − 63 , 79 , 5 )
64 96 16
21
50. -1
51. 82
1
52. 8 25
54.
55.
56. x3 = −80
58. Area = 5
59. Volume = 21
64. λ = 4, −2, −2. E4 = span{(− √16 , − √16 , √26 )}, E−2 = span{v1 , v2 }. λ = 4 has algebraic
multiplicity 1, geometric multiplicity 1. λ = −2 has algebraic multiplicity 2, geometric
multiplicity 2.
67. For both, they could be 1,2,3,4 or 5, but if the algebraic multiplicity of λ is k (k = 1, 2, 3, 4
or 5), the geometric multiplicity of λ must be ≤ k.
22
72. The first transformation clearly preserves the lengths of vectors, and hence is orthogonal.
Shears do no preserve the length of vectors.
74.
77. dim(W) = 2. Find two linearly independent vectors from {v1 , v2 , v3 , v4 } to form a basis
for W.
79. row(A) 1 2 3
col(A) 1 2 3
null(A) 3 0 4
null(AT ) 1 1 2
80. basis = {(1, −1, 1, 2), (2, −2, 0, 1), (−4, 2, 0, 1)}. dim(W ) = 3.
81. S ⊥ = span{(−2, −5, 11, 0, 0), (1, −3, 0, 11, 0), (−6, −4, 0, 0, 11)}.
(S ⊥ )⊥ = span{(−4, 6, 2, 2, 0), (3, 1, 1, 0, 2)}.
82. {(1, 1, 3, 4), (2, 7, 8, −4), (2, 3, 5, −1), (41, 30, −33, 7)}
4 6 4
83. proja v = ( 17 , − 17 , 17 ).
84.
85. v = ( 32 , 0, 25 ) + (− 12 , 0, − 21 ).
1
86. projnull(A) v = 221
(88, 247, −25, 4).
9 3 3
87. Closet point is p̃ = ( 11 , − 11 , 11 ). Distance to plane is kp − p̃k.
√
88. Closest point is (2, 2, 2), distance = 3.
23
q
89. x̂ = (− 1639
, − 11
39
, 0, 0) + t1 (−1, −1, 1, 0) + t2 (−4, −1, 0, 1). Error = 249
.
18 1
x̂ = ( 13 , − 13 , 0, 0) + t1 (−1, −1, 1, 0) + t2 (−4, −1, 0, 1). Error = 0; consistent system.
92. Proceed as in the algorithm. When at some point you encounter a vector that is in the
span of the previous ones (since a linearly dependent set has one or more vectors that
are in the span of the others), when you project that vector into the subspace of the
span of the previous ones, the resulting vector (residual) will be the zero vector. So you
just skip that vector (remove it from the basis) and go on to the next vector. In the end
you will produce an orthonormal set of vectors that has the same span as the original
set of vectors.
0 0 4
−1√ −1√
1
7−4−1√
3 7+4 3
1√
P = −2+ 3 2+ 3 4
1 1 16
24