MI1036 Algebra Exercises
MI1036 Algebra Exercises
EXERCISES ON ALGEBRA
Advanced Program Code: MI 1036
Chapter 1
Compute (A ∪ B) ∩ C, (A ∪ B) \ C and (A ∩ B) ∪ C.
a) A ∩ (B \ C) = (A ∩ B) \ (A ∩ C). e) (A \ B) ∪ (B \ A) = (A ∪ B) \ (A ∩ B).
b) A ∪ (B \ A) = A ∪ B. f) (A \ B) ∩ (C \ D) = (A ∩ C) \ (B ∪ D).
c) (A \ B) \ C = A \ (B ∪ C). g) (A ∪ B) × C = (A × C) ∪ (B × C).
d) A \ (A \ B) = A ∩ B. h) (A ∩ B) × C = (A × C) ∩ (B × C).
1.2. Mappings
Exercise 3. Let f : X → Y be a map. Prove that
1
HUST School of Applied Mathematics and Informatics
e) A ⊂ f −1 (f (A)), ∀A ⊂ X, f) B ⊃ f (f −1 (B)), ∀B ⊂ Y .
(c) the operation ∗ on Z × Z defined by: (a, b) ∗ (c, d) = (ad + bc, bd)
Exercise 8. Decide which of the binary operations in the preceding exercise are commutative.
Exercise 9. Determine which of the following sets are groups under addition:
2
HUST School of Applied Mathematics and Informatics
Exercise 10. Consider the set Z5 = {0, 1, 2, 3, 4} with the following binary operation ∗ defined
as: for a, b ∈ Z5 , a ∗ b = (a + b) mod 5 (the remainder of (a + b) divided by 5). For example
2 ∗ 4 = 1. Show that Z5 is a group under this operation ∗.
where the addition and multiplication are the common addition and multiplication
√ √ √
(a + b 2) + (c + d 2) = (a + c) + (b + d) 2
√ √ √
(a + b 2)(c + d 2) = (ac + 2bd) + (ad + bc) 2.
Exercise 15. Solve the following equations in the field of complex numbers.
a) z 2 + z + 1 = 0, (z + i)4
e) = 1,
(z − i)4
b) z 2 + 2iz − 5 = 0, √
f) z 8 ( 3 + i) = 1 − i,
c) z 4 − 3iz 2 + 4 = 0, 1
g) z 7 = ,
z3
d) z 6 − 7z 3 − 8 = 0, h) z 4 = z + z.
Exercise 18. Suppose 1 + 2i is a root of a real polynomial p(x) = x3 − ax2 + bx − (2a + 2).
Find a, b.
2π 2π
Exercise 19. Let = cos( ) + i sin( ). Show that
7 7
(a) + 2 + 3 + 4 + 5 + 6 = −1;
√
(b) + 2 − 3 + 4 − 5 − 6 = i 7;
2π 2π
Exercise 20. Let = cos( ) + i sin( ). Show that
15 15
+ 2 + 4 + 7 + 8 + 11 + 13 + 14 = 1.
3
Chapter 2
0 3 −2 1 2 4 2 0 2
T
Compute A + BC, A B − C, A(BC), (A + 3B)(B − C).
" # " #
1 3 −1 0
Exercise 22. Let A = ,B = .
−1 2 1 1
a) Compute F = A2 − 3A,
Exercise 25. Find two real 2 × 2 matrices A and B such that (A + B)2 6= A2 + 2AB + B 2 .
−1 1 3
4
HUST School of Applied Mathematics and Informatics
" #
a b
Exercise 27. Let A = . Prove that A2 − (a + d)A + (ad − bc)I2 = O2 .
c d
" #
2 3
Exercise 28. Let A = . Check that A2 − 4A − 5I2 = O2 , and compute An (n ∈ N).
3 2
" # a 1 0
cos a − sin a
Exercise 29. Compute An , where: a) A = , b) A = 0 a 1 .
sin a cos a
0 0 a
b) A − AT is a skew-symmetric matrix.
Exercise 31. Let A ∈ Mn (R) be a matrix such that AAT = On . Show that A = On .
Exercise 32. Let A, B ∈ Mn (R) be two matrices such that AAT + BB T = AB T + BAT . Show
that A = B.
Exercise 34. For which values of a will the following system have no solutions? Exactly one
solution? Infinitely many solutions?
x + 2y − 3z =4
3x − y + 5z =2
4x + y + (a2 − 14)z
= a + 2.
5
Chapter 3
Exercise 36. For each of the following subsets of R3 , determine whether it is a subspace of
R3 :
6
HUST School of Applied Mathematics and Informatics
1
Exercise 39. Prove that V = V1 ⊕ V2 if and only if each v ∈ V has a unique representation
v = v1 + v2 , (v1 ∈ V1 , v2 ∈ V2 ).
Exercise 43. Is the vector (3, −1, 0, −1) in the subspace of R4 spanned by the vectors (2, −1, 3, 2),
(−1, 1, 1, −3) and (1, 1, 9, −5)?
Exercise 44. Determine whether the following vectors are linearly dependent or linearly inde-
pendent.
a) (1, 2, −1), (2, 1, −1), (7, −4, 1). b) (2, 3, −1), (3, −1, 5), (1, 7, −7).
Exercise 45. Let V be the vector space of functions from R to R. Show that f, g, h ∈ V are
linearly indepedent, where f (t) = sin t, g(t) = cos t, h(t) = t.
Exercise 46. Let v1 , v2 and v3 be three linearly independent vectors in a vector space V .
a) S = {(1, 2, 1), (1, 1, 1)}; c) S = {(1, 0, −1), (1, 2, 1), (0, −3, 2)}.
Exercise 48. Determine whether the set S in P2 [x] is a basis. (Here P2 [x] is the vector space
of polynomials in x with real coefficients of degree ≤ 2.)
a) S = {1 + x, 2 + x + x2 , 3 − 2x + x2 };
1
We say that V is a direct sum of V1 and V2 and write V = V1 ⊕ V2 if V1 + V2 = V, V1 ∩ V2 = {0}.
7
HUST School of Applied Mathematics and Informatics
Exercise 51. Find the coordinate vector of x relative to (with respective to) the basis B of
Rm :
c) B = {(1, 2, 3), (1, 2, 0), (0, −6, 2)}, x = (3, −3, 0).
Exercise 52. Find the coordinate vector of x relative to the basis B 0 , where
" #
3
B = {(1, 1), (1, −1)}, B 0 = {(0, 1), (1, 2)}, [x]B = .
−3
Exercise 53. Find the coordinates of p(x) = 6 − 7x + x2 relative to the basis S of P2 [x], where
S = {1 + x, 2 + x + x2 , 3 − 2x + x2 }.
u1 = (1, 1, −1), u2 = (2, 3, −1), u3 = (3, 1, −5), w1 = (1, −1, −3), w2 = (3, −2, −8), w3 = (2, 1, −3).
Show that U = W .
Exercise 56. Let E = {1, x, x2 , x3 } be the standard basis of P3 [x] and B = {1, 1 + x, (1 + x)2 , (1 + x)3 }.
8
HUST School of Applied Mathematics and Informatics
3.3. Rank
Exercise 57. Find the rank of the following family of vectors on P3 [x]:
2x1 + x2 + x3 + x4 + 3x5 = 0
3x − x − 2x − x + x = 0
1 2 3 4 5
1 0 2 −1 1 1 2 3
3 0 0 5 1 2 − x2 2 3
a) A = c) C =
2 1 4 −3 2 3 1 5
1 0 5 0 2 3 1 9 − x2
a b c d 1+x 1 1 1
b a d c 1 1−x 1 1
b) B = d) D = .
c d a b 1 1 1+z 1
d c b a 1 1 1 1−z
Exercise 62. Prove that if A is a skew-symmetric (or antisymmetric) matrix of order n, where
n is odd, then det(A) = 0.
9
HUST School of Applied Mathematics and Informatics
a) det(A2 + B 2 ) ≥ 0. b) det(A2 + AB + B 2 ) ≥ 0.
Exercise 67. Prove that if A is a real square matrix satisfying A3 = A + I, then det A > 0.
(Hint: A5 = A2 + A + I.)
Exercise 68. Let A, B be square matrices of the same order satisfying AB = A + B. Prove
that AB = BA.
Exercise 69. Let A, B be two 3 × 3 matrices such that A2 = AB + BA. Prove that det(AB −
BA) = 0. (Hint: AB − BA = A2 − 2BA = A(A − 2B), then taking determinant both sides. )
10
Chapter 4
Exercise 71. Let T : R2 → R2 be the linear mapping for which T (1, 2) = (2, 3) and T (0, 1) =
(1, 4). Find a formula for T , that is, find T (a, b) for arbitrary a and b.
Exercise 74. Find a basis for (a) ker(T ) and (b) im(T ), where
Exercise 75. Let T : V → U be linear, and suppose v1 , . . . , vn ∈ V have the property that
their images T (v1 ), . . . , T (vn ) are linearly indepedent. Show that the vectors v1 , . . . , vn are also
linearly independent.
Exercise 76. Suppose T : V → U be an injective linear map and v1 , . . . , vm are linearly inde-
pendent in V . Show that T (v1 ), . . . , T (vm ) are linearly independent in U .
Exercise 77. Give an example of a linear map T : R4 → R4 such that imT = kerT .
Exercise 78. Prove that there does not exist a linear map T : R5 → R5 such that imT = kerT .
11
HUST School of Applied Mathematics and Informatics
Exercise 80. Prove that there does not exist a linear map T : R5 → R2 such that
Exercise 82. Find the matrix of T with respect to the bases B and B 0 , where
T : R2 → R3 , T (x, y) = (−x, y, x + y), B = {(1, 1), (1, −1)}, B 0 = {(0, 1, 0), (0, 0, 1), (1, 0, 0)}.
Find the matrix of f with respect to the basis B = {v1 = (1, 0, 0), v2 = (1, 1, 0), v3 = (1, 1, 1)} .
Exercise 85. Let the function f : P2 [x] → P4 [x] be a map defined as: f (p) = p + x2 p, ∀p ∈
P2 [x].
b) Find the matrix of f with respect to the bases E1 = {1, x, x2 } of P2 [x] and E2 =
{1, x, x2 , x3 , x4 } of P4 [x].
c) Find the matrix of f with respect to the bases E10 = {1 + x, 2x, 1 + x2 } of P2 [x] and
E2 = {1, x, x2 , x3 , x4 } of P4 [x].
1 3 −1
Exercise 86. Suppose A = 2 0 5 is the matrix of a linear transformation f : P2 [x] →
6 −2 4
P2 [x] with respect to the basis B = {v1 , v2 , v3 }, where
12
Chapter 5
−1 −2 4 −2 1 2 6 −9 4
Exercise 90. Let T : R3 → R3 , T (x, y, z) = (−2x + 2y − 3z, 2x + y − 6z, −x − 2y). Find all
eigenvalues and a basis for each eigenspace of T .
Exercise 93. Suppose T : V → V is linear and there exist a nonzero vectors v and w in V
such that T v = 3w and T w = 3v. Prove that 3 or −3 is an eigenvalue of T .
√
Exercise 94. Suppose that T : R3 → R3 is linear and that −4, 5, 6 are eigenvalues of T .
√
Prove that there exists x ∈ R3 such that T x − 7x = (−4, 5, 6).
Exercise 95. Let λ1 , . . . , λn be a list of distinct real numbers. Prove that the list eλ1 x , . . . , eλn x
is linearly independent in the vector space of real-valued functions on R. [Hint: Let V =
span{eλ1 x , . . . , eλn x } and define T : V → V by T f = f 0 .]
13
HUST School of Applied Mathematics and Informatics
0 1 1 −3 1 3
" # 2 1 −2
1 0 d) D = 0 3 1
b) B =
6 −1 0 0 3
Exercise 97. Suppose that A, B ∈ M3 (R) each have 2, 6, 7 as eigenvalues. Prove that there
exists an invertible matrix P ∈ M3 (R) such that B = P −1 AP .
Exercise 99. Find a basis of R3 such that the matrix of f : R3 → R3 with respect to this basis
is a diagonal matrix, where
Exercise 100. Let V be the R-vector space of all polynomials p(x) ∈ R[x] with deg(p) ≤ 2.
Let T : V → V be the linear transformation given by
If possible find a basis B for V such that the matrix of T with respect to B is diagonal.
(Diagonalize the transformation T .)
Exercise 101. The trace of an n-by-n square matrix A is defined to be the sum of the elements
n
P
on the main diagonal,i.e., tr(A) = aii = a11 + a22 + · · · + ann . Prove that
i=1
Exercise 104. Let A ∈ Mn (C) and let P ∈ C[x] be a polynomial such that P (A) = 0. Prove
that any eigenvalue λ of A satisfies P (λ) = 0.
14
Chapter 6
Exercise 106. Find the values of k so that the following is an inner product on R2 where
u = (x1 , x2 ) and v = (y1 , y2 ):
In case it is an inner product, compute hp, qi, where p = 2 − 3x + 5x2 − x3 , q = 4 + x − 3x2 + 2x3 .
Exercise 108. Suppose T : Rn → Rn is a linear transformation such that kT vk ≤ kvk for every
√
v ∈ V . Prove that T − 2I is invertible.
15
HUST School of Applied Mathematics and Informatics
1
(b) Suppose C is a subset of Rn with the property that u, v ∈ C implies (u + v) ∈ C. Let
2
w ∈ V . Show that there is at most one u ∈ C such that
kw − uk ≤ kw − vk for all v ∈ C.
6.2. Orthogonality
R1
Exercise 110. Let the inner product on P2 [x] be defined as hp, qi = p(x)q(x)dx, where
−1
p, q ∈ P2 [x].
a) Apply the Gram-Schmidt process to the basis {1, x, x2 } to get an orthonormal basis A.
In the following exercises (Ex 111-Ex 121), we consider Rn or Mn×1 (R) with the standard inner
product.
Exercise 111. Find vectors u, v ∈ R2 such that u is a scalar multiple of (1, 3), v is orthogonal
to (1, 3) and (1, 2) = u + v.
u1 = (1, 1, 1, 1), u2 = (1, 1, −1, −1), u3 = (1, −1, 1, −1), u4 = (1, −1, −1, 1).
Exercise 113. Use the Gram-Schmidt process to transform the basis B into an orthonormal
basis.
(a) B = {(1, 1), (0, 1)}. (c) B = {(1, 2, −2), (0, 1, −2), (−1, 3, 11),
(b) B = {(1, −2, 2), (2, 2, 1), (2, −1, −2)}, (d) B = {(3, 4, 0, 0), (−1, 1, 0, 0), (2, 1, 0, −1), (0, 1, 1, 0)}.
16
HUST School of Applied Mathematics and Informatics
V = x ∈ R5 | x ⊥ vi , i = 1, 2, 3 .
Exercise 115. Let W be a the solution space of the homogeneous system of linear equations
x+y−z+w =0
2x + y + z + 2w = 0.
(a) Find an orthonormal basis for W .
(c) Find a system of linear equations for which W ⊥ is its solution space.
Exercise 116. Find the (orthogonal) projection of u = (1, 3, −2, 4) on v = (2, −2, 4, 5).
Exercise 117. Let v1 = (2, 2, 1) , v2 = (2, 5, 4). Find the (orthogonal) projection of v =
(3, −2, 1) onto U = span(v1 , v2 ).
6.3. Least square approximations
Exercise 118. In R4 , let U = span{(1, 1, 0, 0), (1, 1, 1, 2), (2, 2, 1, 2)}. Find u ∈ U such that
ku − (1, 2, 3, 4)k is as small as possible.
Exercise 119. Find a, b ∈ R such that
is as small as possible.
1 1 2 1
1 1 2 2
Exercise 120. Let A = , B = . Find a column vector X̃ ∈ M3×1 (R) for which
0 1 1 3
0 2 2 4
minimizes the function f (X) = kAX − Bk defined for all X ∈ M3×1 (R).
6.4. Orthogonal diagonalization
Exercise 121. Orthogonally diagonalize of the following symmetric matrices
1 2 2 1 0 0 7 −2 0
a) 2 1 2 b) 0 1 1 c) −2 6 2 .
2 2 1 0 1 1 0 2 5
c) ω2 (x1 , x2 , x3 ) = x1 x2 + 4x1 x3 + x2 x3 ,
17
HUST School of Applied Mathematics and Informatics
Exercise 123. Find a such that the following quadratic forms are positive definite:
a) 5x21 + x22 + ax23 + 4x1 x2 − 2x1 x3 − 2x2 x3 , c) x21 + x22 + 5x23 + 2ax1 x2 − 2x1 x3 + 4x2 x3 .
Exercise 125. Transform the following quadric surface to the principal axes:
b) x2 + 2xy + y 2 + 8x + y = 0,
a) x21 + x22 + x23 + 2x1 x2 = 4, b) 2x21 + 2x22 + 3x23 − 2x1 x2 − 2x2 x3 = 16,
Exercise 129. Let Q(x, y, z) = 9x21 + 7x22 + 11x23 − 8x1 x2 + 8x1 x3 (x, y, z ∈ R). Find
max x21 + x22 + x23 , and min x21 + x22 + x23 .
Q(x1 ,x2 ,x3 )=16 Q(x1 ,x2 ,x3 )=16
0 1 0 0
3 1 5 2
a) All the eigenvalues of A are positive if and only if X T AX > 0 for all X ∈ Mn×1 (R) \ {0}.
b) If all the eigenvalues of A and B are positive, then so are the eigenvalues of A + B.
18