LA Exercises 2
LA Exercises 2
Exercises 2
LINEAR ALGEBRA
Exercises 2
LINEAR ALGEBRA
Contents
1. MATRICES AND OPERATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2. DETERMINANT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3. THE INVERSE MATRIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4. RANK OF MATRIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
5. SOLVE GENERAL LINEAR SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
6. SOLVE LINEAR SYSTEM WITH PARAMETERS . . . . . . . . . . . . . . . . . . . . . . . . . . 12
7. LINEAR INDEPENDENCE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
8. SUBSPACE, BASIS AND DIMENSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
9. LINEAR BOUND AND SOLUTION SPACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
10. MATRIX OF LINEAR MAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
11. EIGENVALUES AND EIGENVECTORS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
12. VECTOR COORDINATES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
13. DIAGONALIZE A MATRIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2
Linear Algebra Quang Dang-Le, Ph.D. Tel. 0764060787
b. Calculate A − 3B + 4C.
2 1 −1 −2 1 0
Problem 2: Let A = , B= . Calculate
0 1 −4 −3 2 2
a. 3A + 2B,
b. 4A − 3B,
c. AT .B and B T .A.
Problem 3: Calculate
7
1 −3 3 1 4 5 5 0 2 3
−3
a. 3 −4 1 . 0 2 7 2 .
b. 4 1 5 3 .
2 −5 3 3 2 1 3 1 −1 2
1
2 1 1
Problem 4: Calculate f (A) with f (x) = x2 − 5x + 3 and A = 3 1 2.
1 −1 0
n
Problem 5: Calculate A with an arbitrary natural number n and the following matrix A
1 1 1
2 −1 1 α
a. A = b. A = c. A = 0 1 1 .
3 −2 0 1
0 0 1
a 1 0
Problem 6: Let A = 0 a 1. Calculate A2020 .
0 0 a
Problem 7: Let
1 3 0 1 2 −3
A = −1 2 ,
B = 3 2 ,
C = 1 2 .
3 4 −2 3 4 −1
Compute
a. (A + B) + C and A + (B + C)
b. 3A
c. AT , B T , C T
Problem 8: Compute
2 1 1 −1 3 5 2 1
a. . b. .
3 2 1 1 6 −1 −3 2
3 1 1 1 1 −1 3 1
2 1 1
c. 2 1 2 . 2 −1 1
d. . 2 1
3 0 1
1 2 3 1 0 1 1 0
1 2
3 2 1
e. . 2 f. 1 . 1 2 3
0 1 2
3 3
2
g. 1 2 3 . 4
1
Problem 9: Compute
2
2 1 1 3 5
2 1 3 2
a. 3 1 0
b. c.
1 3 −4 −2
0 1 2
n n
1 1 cos ϕ − sin ϕ
d. e.
0 1 sin ϕ cos ϕ
Problem 10: Compute AB − BA if
1 −2 −1 4 1 1
a. A = 2 1
2 , B = −4 2 0
1 2 3 1 2 1
2 1 0 3 1 −2
b. A = 1 1 2 ,
B = 3 −2 4
−1 2 1 −3 5 −1
Problem 11: Show that if AB = BA, then
a. (A + B)2 = A2 + 2AB + B 2
b. A2 − B 2 = (A + B)(A − B)
2 −1
Problem 12: Find f (A) where f (x) = x2 − 5x + 3I and A = .
−3 3
Problem 13: Find all 2-square matrices A such that A2 = 0.
Problem 14: Find all 2-square matrices A such that A2 = I.
Problem 15: Let
2 −1 −1 2
A= , B= .
3 1 1 4
Compute
a. AT b. B T c. AT B T d. B T AT
e. (AB)T e. (BA)T f. (A + B)T
2. DETERMINANT
Problem 1: Calculate the following determinants
0 1 1 1 1 1
a. 1 0 1 b. 4 2 3
1 1 0 2 3 6
a+b c 1 cos 2α cos2 α sin2 α
c. b + c a 1 d. cos 2β cos2 β sin2 β
c+a b 1 cos 2γ cos2 γ sin2 γ
1 2 3 4 2 1 0 2
2 3 4 1 3 2 1 0
e. f.
3 4 1 2 −1 0 1 3
4 1 2 3 −1 2 1 3
2 1 1 x a b 0 1
1 2 1 y 0 a b 1
g. h.
1 1 2 z 1 0 a b
1 1 1 t b 1 0 a
0 1 1 1
x y x+y
1 0 a b
i. j. y x+y x
1 a 0 c
x+y x y
1 b c 0
1 1 1 1 1 1 1 1
1 2 3 4 1 2 3 4
k. j.
1 3 6 10 1 4 9 16
1 4 10 20 1 8 27 64
1 2 3 ... n 3 2 2 ... 2
2 3 4 ... n 2 3 2 ... 2
a. 3 4 5 . . . n b. 2 2 3 ... 2
.. .. .. . . .. .. .. .. .. ..
. . . . . . . . . .
n n n ... n 2 2 2 ... 3
1 2x −1 −1 1 x −1 −1
1 x −1 −1 1 x2 −1 −1
a. =0 b. =0
3 1 1 1 0 1 1 1
0 2 0 2 0 2 0 2
2 DETERMINANT 5
Linear Algebra Quang Dang-Le, Ph.D. Tel. 0764060787
x x 1 x 1 1 ... 1
x 1 1 1 1 1−x ... 1
c. =0 d. . .. ... .. =0
x x 2 1 .. . .
x x 1 3 1 1 . . . (n − 1) − x
1 x x2 x3
1 2 4 8
e. =0
1 3 9 27
1 4 16 64
1 a a3
b. 1 b b3 = (b − a)(c − b)(a − b)(a + b + c)
1 c c3
Problem 5: Let
a b c
a′ b′ c′ = ∆.
a′′ b′′ c′′
Compute
a′ b ′ c ′ a′′ b′′ c′′
a. a′′ b′′ c′′ b. a′ b′ c′
a b c a b c
Problem 6: Let
a b c d
a ′ b ′ c ′ d′
= ∆.
a′′ b′′ c′′ d′′
a′′′ b′′′ c′′′ d′′′
Compute
a c d a d c b a
b ′ c ′ d ′ a′ d ′ c ′ b ′ a′
a. ′′ b. ′′
b c′′ d′′ a′′ d c′′ b′′ a′′
b ′′′ c′′′ d′′′ a′′′ d′′′ c′′′ b′′′ a′′′
2 DETERMINANT 6
Linear Algebra Quang Dang-Le, Ph.D. Tel. 0764060787
1 1 1 −1 −3 5 1 −1
where a11 a22 . . . ann ̸= 0. Show that A is invertible and find A−1 .
Problem 7: Show that if A is invertible and AB = AC then B = C.
Problem 8: Let A be an n-square matrix.
4. RANK OF MATRIX
Problem 1: Find the rank of the following matrices
1 −1 3 −1 10 8
a. 2 −1 3 b. 2 3 5
3 1 2 −3 7 3
2 0 3 −1
1 −2 2 3 2 −1 3 −2
c.
3 −2 5 −4 d. 4 −2 5 1
2 −1 1 8
5 −2 8 5
2 1 1 1
3 −1 3 2 5 1
3 1 1
5 −3 2 3 4 1 1 4 1
e. f.
1 −3 5 0 7 1
1 1 5
7 −5 1 4 1 1 2 3 4
1 1 1 1
4 3 −5 2 3
1 3 5 −1
8
6 −7 4 2 2 −1 −3 4
g.
4 3 −8 2 7 h.
5 1 −1 7
4 3 1 2 −5
7 7 9 1
8 6 −1 5 −6
Problem 2: Determine the rank of the following matrices depending on the parameter m.
1 m 1 2
1 2 −1 4 2 2 3m − 1 2 m +4
A = 2 −1 1 1 1 , B=
4 5m − 1 m + 4 2m + 7 ,
1 7 −4 11 m
2 2m 2 4
m 2 2 2 −1 2 1 −1 1
−2 m 2 2 m −1 1 −1 −1
C=
−2 −2 m 2 ,
D=
1 m 0 1 1
−2 −2 −2 m 1 2 2 1 1
3 m 1 2
1 4 7 2
E=
1 10 17 4
4 1 3 3
4 RANK OF MATRIX 9
Linear Algebra Quang Dang-Le, Ph.D. Tel. 0764060787
Problem 2: Solve and determine the solution of the given system depending on the pa-
rameter λ ∈ R.
(1 + λ)x1 + x2 + x3 = 1
x1 + (1 + λ)x2 + x3 = λ
x + x + (1 + λ)x = λ2
1 2 3
a. Find m such that the given system is the Cramer system. In this case, find the solution.
Find m such that the given system has infinite solutions. In this case, find the solution.
Problem 5: Find a ∈ R such that the following systems have non-trivial solutions and
determine those non-trivial solutions.
2
2x − y + z = 0
a x + 3y + 2z = 0
a. x + y + 2z = 0 b. ax − y + z = 0
5x − y + az = 0
8x + y + 4z = 0
Problem 6: Find values of a such that the following systems do NOT have an unique
solution.
x − 2y = 5 x − y + 2z = 3
a. b. 2x + ay + 3z = 1
3x + ay = 1
3x + 3y + z = 4
Problem 7: Find values of a such that the following systems are equivalent.
x + 2y = 1 x + ay = 4
a. b.
2x + 5y = 1 − x + 2y = −5
Problem 8: Find values of a such that the following systems have non-trivial solutions.
ax − 3y + z = 0
(1 − a)x + 2y = 0
a. 2x + y + z = 0 b.
3x + 2y − 2x = 0 2x + (4 − a)y = 0
Problem 9: Solve and determine the solution of the given system depending on the pa-
rameters.
2 3
x + ay + a z = a
x + y + z = 1
a. x + by + b2 z = b3 b. ax + by + cz = d
x + cy + c2 x = c3
a2 x + b2 y + c2 x = d2
7. LINEAR INDEPENDENCE
Problem 1: In R3 , is it true that u is a linear combination of u1 , u2 and u3 ?
b. u1 = (1, −2, 3), u2 = (0, −1, λ), u3 = (1, 0, 1), u = (3, −1, 2)
c. {(4, −5, 2, 6); (2, −2, 1, 3); (6, −3, 3, 9); (4, −1, 5, 6)} in R4 .
e. {(1, 0, 0, 2, 5); (0, 1, 0, 3, 4); (0, 0, 1, 4, 7); (2, −3, 4, 11, 12)} in R5 .
Problem 4: Determine the linear independence of the following vector system depending
on the parameter λ in R3
1 1 1 1 1 1
n o
v1 = λ, − , − ; v2 = − , λ, − ; v3 = − , − , λ .
2 2 2 2 2 2
Problem 5: Find the maximally linearly independent subsystem and rank of the following
vector systems:
b. {u1 = (1, −1, 0), u2 = (2, −1, −1), u3 = (0, 1, −1), u4 = (2, 0, −2)}
c. x = (1, 4, −7, 7); u = (4, 1, 3, −2); v = (1, 2, −3, 2); w = (16, 9, 2, −3)
7 LINEAR INDEPENDENCE 14
Linear Algebra Quang Dang-Le, Ph.D. Tel. 0764060787
7 LINEAR INDEPENDENCE 15
Linear Algebra Quang Dang-Le, Ph.D. Tel. 0764060787
Problem 2: In R3 , given bases B = {u1 , u2 , u3 }, B ′ = {u′1 , u′2 , u′3 } and vector u, find the
base tranfer matrix from B to B ′ and the coordinates of u in each base.
Problem 3: In R3 , let
B(m) = {u1 = (m − 7, −10, −12); u2 = (12, m + 19, 24); u3 = (−6, −10, m − 13)}.
Find m such that B(m) is the base of R3 . In this case, compute the coordinates of u =
(m, 2m, 0) in the base B(m).
Problem 4: In R3 , let
b. Given [u](B) = (3, 5, 7). Find the coordinates of u in the base (B ′ ) and the canonical
basis.
b. L = {x = (x1 , x2 , x3 , x4 ) ∈ R4 |x1 = x3 , x2 = x4 }
e. L = {x = (x1 , x2 , x3 ) ∈ R3 |x1 ∈ Q}
Problem 6: Find a base, dimension numbers of the subspace generated by the following
vectors in the corresponding space.
Problem 7: In R5 , let
u1 = (1, 1, −2, 1, 4), u2 = (0, 1, −1, 2, 3), u3 = (1, −1, 0, −3, 0).
Problem 8: In R4 , let
v1 = (2, −1, 0, 1), v2 = (1, 1, 3, 2), v3 = (3, −1, 1, 2), v4 = (1, −1, −1, 0).
v1 = (1, 1, 2, 4), v2 = (2, −1, −5, 2), v3 = (1, −1, 4, 0), v4 = (2, 1, 1, 6).
Show that these vectors are linear dependent. Find the basis of the vector subspace gener-
ated by these vectors.
Problem 11: Let W = {(x1 , x2 , x3 ) ∈ R3 |x1 −x2 +2x3 = 0}. Show that W is the subspace
of R3 . Find the base and dimension numbers of W .
Problem 2: Find a base and dimension numbers of the solution space of the following
systems
2x1 − x2 + x3 − x4 = 0
3x1 − 6x2 + 9x3 − 3x4 + 6x5 = 0
3x1 + 2x3 = 0 − x1 + 2x2 − x3 + x4 − x5 = 0
a. b.
3x1 − 4x3 + x4 = 0
x1 − 2x2 + 5x3 − x4 + 3x5 = 0
5x1 − x2 − 3x3 = 0 − 2x1 + 4x2 − 2x3 + 2x4 − 2x5 = 0
Problem 3: Let
2x1 − 2x2 + 5x3 + 6x4 = 0
x1 − 3x2 + 2x3 + 2x4 = 0
3x1 − x2 + 8x3 + 10x4 = 0
5x1 − 11x2 + mx3 + 12x4 = 0
a. Find a basis and dimension numbers of the solution space when m = 11.
b. Determine the dimension numbers of the solution space depending on the parameter
m.
Problem 4: Let
3x1 − x2 − 4x3 − 3x4 = 0
− 5x1 + 2x2 + 6x3 + 9x4 = 0
2x1 − x2 − 2x3 − 6x4 = 0
4x1 − x2 − 6x3 + mx4 = 0
a. Find a basis and dimension numbers of the solution space of this system when m = 0.
b. Find m such that the dimension numbers of the solution space is equal to 1.
a. f : R3 → R3 , f (x1 , x2 , x3 ) = (x1 − x2 , x2 − x3 , x3 − x1 )
Problem 2: Let
(B) = {u1 = (1, −1, 0, 0), u2 = (0, 1, −1, 0), u3 = (0, 0, 1, −1), u4 = (0, 0, 0, 1)}
(B ′ ) = {v1 = (1, 1, 1), v2 = (1, 1, 0), v3 = (1, 0, 0)}
Problem 3: Let
b. Find a matrix of f in the base V = {(1, 1, 1), (1, 0, 1), (1, 1, 0)}.
(B) = {u1 = (8, −6, 7), u2 = (−16, 7, −13), u3 = (9, −3, 7)}
is
1 −18 15
A = −1 −22 15 .
1 −25 22
Find a matrix of f in the base (B ′ ) = {v1 = (1, −2, 1), v2 = (3, −1, 2), v3 = (2, 1, 2)}.
12 VECTOR COORDINATES 21
Linear Algebra Quang Dang-Le, Ph.D. Tel. 0764060787
13 DIAGONALIZE A MATRIX 22