Exercises On Applied Linear Algebra: 1 Systems of Linear Equations and Matrices
Exercises On Applied Linear Algebra: 1 Systems of Linear Equations and Matrices
2x + y − z − t + u = 1
3x + y − 2z + t − u = 1
x − y + z + t − 2u = 0
2x − y + 7z − 3t + 5u = 2
2. 4.
3x + 3y − 3z − 3t + 4u = 2
x + 3y − 2z + 5t − 7u = 3
4x + 5y − 5z − 5t + 7u = 3
3x − 2y + 7z − 5t + 8u = 3
Exercise 4. Solve the corresponding homogeneous systems of the systems in Exercise ??.
1
1.2 Matrices
Exercise 5. Find transposes of the following matrices:
1. I2 , I3 , In 2. 03×2 , O3×2 , Om×n
1 −11 8 0
3 −1 0 8 14 9
0 −2 13 7
3. A = 4. B = 7 5 12 0 15 −10
0 0 6 −23
−6 4 8 0 11 0
0 0 0 17
−5 0 0 0
0 −2 0 0
5. C =
0
0 6 0
0 0 0 7
Exercise 6. Find the unknown entries of the following matrices:
0 8 −3
1. A = x −1 2 is a symmetric matrix,
y z 11
3 x 2 y
−1 9 0 11
2. B = is a skew-symmetric matrix,
z
t −3 6
20 u v 8
0 10
" # " #
1 2 −1 1 2 3
3. A = and B =
3 1 2 3 1 −1
Exercise 8. Find the unknown entries of the following matrices
0 8 −3 0 24 −9
1. 3 x −1 2 = 0 −3 6
y z 33 17 −3 11
x 3 20 13 3 w 20/3 y
−1 9 0 11 −1/3 3
0 11/3
2. 31 =
z
t −3 6
10 7 m n
20 u v 8 20/3 6 10 k
" # 1 3 " #
1 2 −1 2 −1
Exercise 9. Let A = , B = 2 1 and C = . Compute AB, BA, AC, CA, BC and
3 1 2 1 0
3 −1
CB whenever they are well-defined.
2
Exercise 10. Compute the products
4 0 1 3 1 0 0 5 " #" #
2 0 1
1. 0 1 0 4 2. 0 1 0 −2 3.
1 3 1
4 0 1 5 0 0 1 3
7 7
2. B 2 = 0, although B 6= 02
3. CD = −DC, where CD 6= 02
0 0 −1
" #
a b
2. A = ∈ M2 (K) is a solution of p(x) = x2 − (a + d)x + (ad − bc)
c d
1. (A + B)2 = A2 + 2AB + B 2
2. A2 − B 2 = (A + B)(A − B)
Pm
3. (A + B)m = k=0 Ckm Ak B m−k , where n ∈ N\{0}
3
2 DETERMINANTS
4 6 1 2 3
4
Exercise 19. 1.
−2 1 −2 1 0 7
3.
4 8 12 16
−4 0 12 −21
1
0 −3 −7 0
−2 4 0 11 −5
−1 4 −6 4. 6 7 0 12 0
2. 8 1 0 11 −12 3 2 5
11 −3 2 0 5 −3 9 11
2
sin α
1 cos2 α x
x0 ax + bx0
Exercise 20. 1. sin2 β 1 cos2 β 3. y y0 ay + by 0
2
sin γ 1 cos2 γ z z0 az + bz 0
a + b c 1 (a1 + b1 )2 a21 + b21 a1 b1
2. b + c a 1 4. (a2 + b2 )2 a22 + b22 a2 b2
c + a b 1 (a3 + b3 )2 a23 + b23 a3 b3
5
Exercise 26. Solve the following systems by using Cramer’s rule
2x − x2 − x3 = 4 x1 + 2x2 + 3x3 − 2x4 =6
1
1. 3x1 + 4x2 − 2x3 = 11 2x − x − 2x − 3x
1 2 3 4 =4
3.
3x − 2x + 4x = 11
3x1 + 2x2 − x3 + 2x4 =4
1 2 3
2x − 3x + 2x + x
= −8
1 2 3 4
x + x2 + 2x3 = −1
1
2. 2x1 − x2 + 2x3 = −4
4x + x + 4x = −2
1 2 3
Exercise 27. Find the inverse (if exists) of the following matrices
1 0 3 1 3 2 1 2 0 1 1 1 0 0
1. 2 1 1 3. 2 1 3 1 1 2 0 0 1 1 0
5. 7.
3 2 2 3 2 1 0
1 1 2
0
0 1 1
2 0 1 1 1 0 0 1
2 1 0 2
0 1 2 1 3 5 2 2 1 0
6.
2. 1 1 0 4. 5 0 1 0 2 2 1
2 0 1 3 1 0 1 0 2 2
2 4 6 8 10 0 0 0 0 0 3 7 11
1 2 3 4 5 1 0 0
2. B = 2 0 4 5 6 4. D = 2 3 4
3 0 0 6 7 3 0 5
3 −6 −3 4 8−λ 12 5 15 λ + 10
6
3 VECTOR SPACES
Exercise 31. In R3 , give two vectors u1 = (1, −2, 3) and u2 = (0, 1, −3).
Exercise 32. Are (2, 11, 18), (2, −1, 4), (0, 5, 3), (1, −1, 0) linearly dependent?
Exercise 33. Are (2, −1, 4), (0, 5, 3), (1, −1, 0) linearly dependent?
Exercise 34. Show that (2, 5, −1, 1), (1, 4, 0, 2), (6, 15, −3, 3) are linearly dependent.
Exercise 35. Show that (1, 0, 0, 0, 0), (0, 1, 0, 0, 0), (0, 0, 1, 0, 0) are linearly independent.
u1 = 3x2 − 2x + 1, u2 = x2 − x + 2, u3 = x3 + x + 1.
u1 = x2 + 3x + 1, u2 = −2x2 − x − 1, u3 = −2x2 + x + m.
u1 = (1, 1, 1, 1), u2 = (2, 3, −1, 0), u3 = (−1, −1, 1, 1), u4 = (1, 2, 1, −1).
1. {u1 , u2 , u3 }?
2. {u1 , u2 , u3 , u4 }?
Exercise 40. In R3 , determine if the following sets of vectors are linearly independent or dependent:
1. {u1 = (1, 0, 1), u2 = (1, 2, 3), u3 = (10, 11, 12), u4 = (4, 5, 6)}
Exercise 41. In P3 [x], determine if the following sets of vectors are linearly independent or dependent:
1. {u1 = x3 − 2x + 3, u2 = x2 + 1}
7
3. {u1 = x3 − 2x + 3, u2 = x2 + 2x − 1, u3 = x3 + x2 + 2}
Exercise 42. In M3 (R), prove that the following set of vectors is linearly independent:
(" # " # " #)
1 −1 −1 0 0 1
, ,
2 0 0 2 −2 5
1. S1 = {(1, 2, 3), (0, 2, 3)} 3. S3 = {(1, 1, 2), (1, 2, 5), (5, 3, 4)}
2. S2 = {(1, 2, 3), (0, 2, 3), (0, 0, 5)} 4. S4 = {(−1, 0, 0), (−1, 1, 0), (1, −1, 1), (2, 0, 5)}
Exercise 44. In R3 , prove that S = {u1 , u2 , u3 } is a basis and find the coordinates of u with respect to S:
S1 = {(1, 1, 0), (0, 1, 1), (1, 0, 1)}; S2 = {(0, 0, 1), (1, −1, 0), (1, 1, 1)}.
B = {(1, 1, 1), (1, 1, 2), (1, 2, 3)} and B 0 = {(2, 1, −1), (3, 2, −5), (1, −1, m)}.
3. In the case B 0 is a basis, find the transformation matrix from B into B 0 and find the coordinates of
u = (1, 0, 0) with respect to these two bases.
where a ∈ R.
Exercise 48. Find basis and dimension of the linear subspaces S of Rn which is spanned by
8
2. S = {(1, −4, −2, 1), (1, −3, −1, 2), (3, −8, −2, 7)}
Exercise 49. Find basis and dimension of the linear subspaces S of M2 (R) which is spanned by
(" # " # " # " #)
1 −5 1 1 2 −4 1 −7
, , ,
−4 2 −1 5 −5 7 −5 1
Exercise 50. Find basis and dimension of the linear subspaces S of P2 [x] which is spanned by
Exercise 51. Find basis and dimension of the null space of the following matrices:
" #
1 3 2 1 −2 7 1 4 2
3.
1. 1 5 1 2. 2 3 −2 2 1 5
3 5 8 2 −1 1
Exercise 52. Find basis and dimension of the solution space of the following homogeneous systems of linear
equations:
x + 2y − 2z + 2s − t = 0
x + 2y − z + 3s − 4t = 0
1. x + 2y − z + 3s − 2t = 0 2. 2x + 4y − 2z − s + 5t = 0
2x + 4y − 7z + s + t = 0
2x + 4y − 2z + 4s − 2t = 0
W1 = h(1, 3, −2, 2, 3), (1, 4, −3, 4, 2), (2, 3, −1, −2, 9)i
W2 = h(1, 3, 0, 2, 1), (1, 5, −6, 6, 3), (2, 5, 3, 2, 1)i.
4 Linear transformation
Exercise 56. In Rn , let i ∈ {1, ..., n}. Prove that the mapping f : Rn → R defined by
is a linear transformation.
9
Exercise 57. Let g : Pn [x] → Pn−1 [x] be defined by
g(p) = p0 , p ∈ Pn [x].
1. f : R3 → R3 , f (x1 , x2 , x3 ) = (2x1 − x2 , x3 − x2 , x1 )
2. f : R3 → R3 , f (x1 , x2 , x3 ) = (x1 , x2 + 3, x3 − x1 )
5. f : R3 → R3 , f (x1 , x2 , x3 ) = (x1 , x2 , 4)
Exercise 59. Let f : R2 → R2 be a linear transformation defined by f (3, 1) = (2, −4) and f (1, 1) = (0, 2).
Find f (x1 , x2 ).
Exercise 60. Let f : R3 → R2 be a linear transformation defined by f (1, 2, 3) = (1, 0), f (2, 5, 3) = (1, 0) and
f (1, 0, 10) = (0, 1). Find f (x1 , x2 , x3 ).
Exercise 62. Find kernels and images of the linear transformations in Exercises ??, ??, ??, ?? and ??.
Find a basis for Kerf and a basis for Imf. Is f injective or surjective?
f (x1 , x2 , x3 , x4 ) = (x1 + 2x2 + 4x3 − 3x4 , 3x1 + 5x2 + 6x3 − 4x4 , 4x1 + 5x2 − 2x3 + 3x4 , 3x1 + 8x2 + 24x3 − 19x4 ).
10
Exercise 67. Let f : R3 → R2 and g : R3 → R2 defined by
Find f + g, 3f , 2f − 5g.
Find gf .
Find f g, gf, f 2 , g 2 .
Exercise 70. Prove the following linear transformation is surjective and then find f −1 .
2. f (x, y, z) = (x + z, x − z, y).
Exercise 71. The linear transformation f : R4 → R4 whose transformation matrix w.r.t. B = {e1 , e2 , e3 , e4 }
is
1 3 2 1
2 5 11 2
0
−1 3 1
1 2 1 3
1. Find Kerf, Imf
Pk
2. Find the transformation matrix of f w.r.t. basis B 0 = {u1 , u2 , u3 , u4 }, where uk = i=1 ei for i =
1, 2, 3, 4.
Exercise 72. Find eigenvectors and eigenvalues of the linear transformation f : R3 → R3 , where the transfor-
mation matrix w.r.t. B = {e1 , e2 , e3 }
2 −1 2 4 −5 2 1 −3 4
1. 5 −3 3 3. 5 −7 3 5. 4 −7 8
−1 0 −2 6 −9 4 6 −7 −7
0 1 0 1 −3 3 7 −12 6
2. −4 4 4 4. −2 −6 13 6. 10 −19 10
−2 1 2 −1 −4 8 12 −24 13
5 Euclidean Spaces
Exercise 73. Find the lengths of the sides of the triangle P QR. Is it a right triangle? Is it an isosceles triangle?
11
1. A(2, 4, 2), B(3, 7, −2), C(1, 3, 3)
Exercise 76. Find a vector that has the same direction as v = (−2, 4, 2) but has length 6.
1. The line through the point (6, −5, 2) and parallel to the vector (1, 2, 3).
2. The line through the point (0, 14, −10) and parallel to the line x = −1 + 2t, y = 6 − 3t, z = 3 + 9t.
3. The line through the point (1, 0, 6) and perpendicular to the plane x + 3y + z = 5.
1. The plane through the point (6, 3, 2) and perpendicular to the vector (−2, 1, 5),
2. The plane through the point (4, 0, −3) and with normal vector (0, 1, 2),
3. The plane through the point −2, 8, 10) and perpendicular to the line x = 1 + t, y = 2t, z = 4 − 3t,
Exercise 79. Which of the points P (6, 2, 3), Q(−5, −1, 4), and R(0, 3, 8) is closest to the xz-plane? Which
point lies in the yz-plane?
Exercise 80. What are the projections of the point (2, 3, 5) on the xy-, xz-, and yz-planes? Draw a rectangular
box with the origin and (2, 3, 5) as opposite vertices and with its faces parallel to the coordinate planes. Label
all vertices of the box. Find the length of the diagonal of the box.
Exercise 81. Describe and sketch the surface in R3 represented by the equation x + y = 2.
Exercise 82. What does the equation x = 4 represent in R2 ? What does it represent in R3 ? Illustrate with
sketches.
Exercise 83. What does the equation y = 3 represent in R3 ? What does z = 5 represent? What does the pair
of equations y = 3, z = 5 represent? In other words, describe the set of points (x, y, z) such that y = 3 and
z = 5. Illustrate with a sketch.
Exercise 84. Let P (3, 2, 3), Q(7, 0, 1) and R(1, 2, 1). Find the lengths of the sides of the triangle P QR. Is it
a right triangle? Is it an isosceles triangle?
Exercise 85. Find the distance from (3, 7, −5) to each of the following.
Exercise 86. Find an equation of the sphere with center (1, −4, 3) and radius 5. What is the intersection of
this sphere with the xz-plane?
Exercise 87. Find an equation of the sphere that passes through the point (4, 3, −1) and has center (3, 8, 1).
Exercise 88. Show that the equation represents a sphere, and find its center and radius.
12
(i) x2 + y 2 + z 2 − 6x + 4y − 2z = 11 (iii) 2x2 + 2y 2 + 2z 2 = 8x − 24z + 1
Exercise 89. Prove that the midpoint of the line segment from P1 (x1 , y1 , z1 ) to P2 (x2 , y2 , z2 ) is
x1 + x2 y1 + y2 z1 + z2
, , .
2 2 2
Exercise 90. Find the lengths of the medians of the triangle with vertices
Exercise 91. Find an equation of a sphere if one of its diameters has endpoints (2, 1, 4) and (4, 3, 10).
13