Professional Documents
Culture Documents
Exams La 19-23 Ans
Exams La 19-23 Ans
Exams La 19-23 Ans
1
Exercise 1(a,b), Year 20-21, Midterm Test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Exercise 4, Year 20-21, Midterm Test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Exercise 2, Year 20-21, May final examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Exercise 2, Year 20-21, July final examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Exercise 3, Year 21-22, Midterm Test 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Exercise 4, Year 21-22, Midterm Test 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Exercise 1(b), Year 21-22, Midterm Test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Exercise 4, Year 21-22, Midterm Test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Exercise 1(b), Year 21-22, May final examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Exercise 4, Year 21-22, May final examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Exercise 3, Year 21-22, July final examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Exercise 1(b,c), Year 22-23, Midterm Test 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Exercise 4, Year 22-23, Midterm Test 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Exercise 1(c), Year 22-23, Midterm Test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Exercise 4, Year 22-23, Midterm Test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Exercise 1(c), Year 22-23, July final examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Exercise 3, Year 22-23, July final examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2
Exercise 6(a,b), Year 21-22, Midterm Test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Exercise 7, Year 21-22, Midterm Test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Exercise 6(a), Year 21-22, May final examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Exercise 7, Year 21-22, May final examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Exercise 6, Year 21-22, July final examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Exercise 6(a,b), Year 22-23, Midterm Test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Exercise 7, Year 22-23, Midterm Test 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Exercise 5(a), Year 22-23, July final examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Exercise 6, Year 22-23, July final examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3
Linear Algebra YEAR: 2019-2020
Exams compilation EXAM: Test 1
Dept. of Mathematics
Year 2019-2020
Midterm Test 1 (units 1–4)
Exercise 1.
(a) Knowing that one root of the polynomial
(b) We know that a complex number 𝑧 lies in the second quadrant (real part negative and imaginary part positive),
|𝑧| 3 = 10, and 𝑧 is a third-order root of a complex number of the form 𝑤 = |𝑤 | 𝑒 𝑖5𝜋 /2 . Write 𝑧 in Cartesian form.
√
⟨ Answer: 101/3 /2(− 3 + 𝑖) ⟩
𝑎 𝑥1 + 𝑎 𝑥2 + 𝑎 𝑥3 + 𝑎 𝑥4 = 𝑏
𝑥1 + 𝑎 𝑥2 + 𝑎 𝑥3 + 𝑎 𝑥4 = 𝑏
𝑥1 + 𝑥2 + 𝑎 𝑥3 + 𝑎 𝑥4 = 𝑏
𝑥1 + 𝑥2 + 𝑥3 + 𝑎 𝑥4 = 1
where 𝑎, 𝑏 ∈ R.
(a) Find a matrix in row echelon form associated with the augmented matrix of the system.
1 1 1 1
!
𝑎
0 𝑎−1 𝑎−1 0 𝑏 −1
⟨ Answer: 0 0 𝑎−1 0 𝑏 −1 ⟩
0 0 0 𝑎−𝑎 2 𝑏 −𝑎
(b) Find the values of 𝑎 such that the coefficient matrix is invertible and find its determinant.
⟨ Answer: ∃𝐴 −1 iff 𝑎 ∉ {0, 1}; det 𝐴 = 𝑎(𝑎 − 1) 3 ⟩
4
Linear Algebra YEAR: 2019-2020
Exams compilation EXAM: Test 1
Dept. of Mathematics
(b) Find the values of 𝑎 for which dim(𝑈 ∩ 𝑉 ) = 1 and find a basis for 𝑈 ∩ 𝑉 for such values.
⟨ Answer: 𝑈 ∩ 𝑉 = ⟨(0, 1, 1, 0)⟩ for 𝑎 ∈ {−1, 2} ⟩
(d) Find a complementary subspace of 𝑉 = 𝑉 + ⟨(0, 1, 2, 3)⟩ and represent it by means of implicit equations, parametric
equations and a basis.
⟨ Answer: 𝑉¯ 𝑐 = ⟨(1, 0, 0, 0)⟩ = {(𝑥 1, 𝑥 2, 𝑥 3, 𝑥 4 ) ⧸ 𝑥 2 = 𝑥 3 = 𝑥 4 = 0} = {(𝑥 1, 𝑥 2, 𝑥 3, 𝑥 4 ) ⧸ 𝑥 1 = 𝛼, 𝑥 2 = 𝑥 3 = 𝑥 4 = 0, 𝛼 ∈ R} ⟩
𝑓 (𝑎 0 + 𝑎 1𝑥 + 𝑎 2𝑥 2 + 𝑎 3𝑥 3 ) = (𝑎 0, 𝑎 1 + 𝑎 2, 𝑎 3 ).
(c) Find bases for the kernel and range of 𝑓 . Give the vectors of the kernel as polynomials and the express the
vectors of the range w.r.t. the standard basis. Decide whether 𝑓 is one-to-one or onto.
⟨ Answer: ker(𝑓 ) = ⟨𝑥 − 𝑥 2 ⟩, range(𝑓 ) = ⟨(1, 0, 0), (0, 1, 0), (0, 0, 1)⟩, 𝑓 is onto and not one-to-one ⟩
(d) Let 𝑔 : R2 → R3 [𝑥] be the linear map defined by 𝑔(1, 1) = 1, 𝑔(3, 2) = 𝑥 2 + 𝑥 3 , and let ℎ = 𝑓 ◦ 𝑔. Find the matrix
of ℎ w.r.t. the standard bases of R2 and R3 (the answer can be left as product of fully identified matrices).
−2 3
⟨ Answer: 1 −1 ⟩
1 −1
5
Linear Algebra YEAR: 2019-2020
Exams compilation EXAM: Test 2
Dept. of Mathematics
Midterm Test 2
Part 1 (units 1-4)
Exercise 1.
(b) Use part (a) to solve the equation 𝑤 6 − 2𝑤 3 + 2 = 0. Plot the solutions on the complex plane and explain the
symmetries they show.
⟨ Answer: 21/6𝑒 ±𝑖𝜋 /12 , 21/6𝑒 ±𝑖7𝜋 /12 , 21/6𝑒 ±𝑖3𝜋 /4 ⟩
(b) Find the values of 𝛼, 𝛽 such that the systems are equivalent, that is, they have the same solution sets.
⟨ Answer: 𝛼 = 2, 𝛽 = 1 ⟩
(c) Classify and solve 𝑆 2 as a function of 𝛼 and 𝛽. As a particular case, classify and solve 𝑆 1 .
2 , 1 , 𝑝 ∈ R ; 𝛼 = −3, ∀𝛽, infinitely many solutions,
n o
⟨ Answer: 𝑆 2 : 𝛼 ∉ {−4, −3}, ∀𝛽, infinitely many solutions, S = 3 − 𝛽𝑝, 𝑝, − 𝛼+4
S = {(3𝑞 − 𝛽𝑝, 𝑝, −2𝑞, 𝑞) , 𝑝, 𝑞 ∈ R}; 𝛼 = −4, ∀𝛽, inconsistent system. 𝑆 1 : infinitely many solutions, 𝑆 = 3 − 𝑝, 𝑝, − 31 , 1 , 𝑝 ∈ R ⟩
n o
Exercise 3. Let us consider the real vector space 𝑉 = R3 [𝑥] that consists of the polynomials of degree not greater
than 3 and real coefficients.
(a) Show that the only value of 𝑎 ∈ R for which the following set defines a subspace of 𝑉 is 𝑎 = 0:
∫ 1
𝑈𝑎 = 𝑝 (𝑥) ∈ 𝑉 ⧸ 𝑝 (𝑥) d𝑥 = 𝑎 .
−1
6
Linear Algebra YEAR: 2019-2020
Exams compilation EXAM: Test 2
Dept. of Mathematics
𝑣 1 ) = 𝑥 3,
𝑓 (®
𝑣 1 + 𝑣®2 ) = 𝑥 3,
𝑓 (®
𝑣 1 + 𝑣®2 + 𝑣®3 ) = 1 + 𝑥 + 𝑥 2 + 𝑥 3,
𝑓 (®
(b) If 𝑣®1 = (1, 1, 1), 𝑣®2 = (0, 1, 1), 𝑣®3 = (0, 0, 1), find the matrix 𝑀 of 𝑓 w.r.t. the standard bases.
0 −1 1
⟨ Answer: 00 −1 1
−1 1 ⟩
1 00
(c) Find bases for ker 𝑓 and range 𝑓 . Express the vectors of the kernel w.r.t. the standard basis and the elements of
the range as polynomials.
⟨ Answer: ker 𝑓 = ⟨(0, 1, 1)⟩, range 𝑓 = ⟨𝑥 3, 1 + 𝑥 + 𝑥 2 ⟩ ⟩
(d) Find 𝐻 = 𝑓 −1 (1 + 𝑥 + 𝑥 2 + 𝑥 3 ) w.r.t. the standard basis. Is 𝐻 a vector subspace? Give reasons.
⟨ Answer: 𝐻 = {(𝑥, 𝑦, 𝑧) ∈ R3 ⧸ 𝑥 = 1, 𝑦 − 𝑧 = −1} = {(1, 𝜆 − 1, 𝜆), 𝜆 ∈ R}. 𝐻 is not a vector subspace ⟩
(f) Let 𝐵 = 10 01 10 01 the matrix of the linear map 𝑔 : R3 [𝑥] → R2 w.r.t. the standard basis of R3 [𝑥] and the basis B ′
of R2 . If 12 11 is the change-of-basis matrix from the standard basis C2 of R2 to B ′ , find the matrix of 𝑔 ◦ 𝑓 w.r.t.
the bases B and C2 .
⟨ Answer: 11 00 35 ⟩
(b) Is the matrix 𝐴 diagonalizable over the field C? If so, find matrices 𝑃, 𝐷 ∈ M4 (C) such that 𝐷 = 𝑃 −1𝐴𝑃 is
diagonal.
1+𝑖 0 0 0 1 1 0 0
⟨ Answer: 𝐷 = 0 1−𝑖 0 0 , 𝑃 = 0𝑖 −𝑖0 10 00 ⟩
0 0 20
0 0 02 0 001
7
Linear Algebra YEAR: 2019-2020
Exams compilation EXAM: Test 2
Dept. of Mathematics
(e) Find a fundamental set of real-valued solutions of the system of ODEs 𝑌 ′ (𝑥) = 𝐴 𝑌 (𝑥).
⟨ Answer: {(0, 0, 𝑒 2𝑥 , 0), (0, 0, 0, 𝑒 2𝑥 ), (𝑒 𝑥 cos 𝑥, −𝑒 𝑥 sin 𝑥, 0, 0), (𝑒 𝑥 sin 𝑥, 𝑒 𝑥 cos 𝑥, 0, 0)} ⟩
Exercise 6.
(a) Determine whether the following statements are true or false. Prove or disprove by giving a counterexample.
1. Let 𝑣®, 𝑤® be nonzero vectors of a real Euclidean space which are not scalar multiples of each other. If 𝑣® is a unit
vector and the length of 𝑤® is 𝑘, then 𝑣® · 𝑤® ∈ (−𝑘, 𝑘).
⟨ Answer: True ⟩
2. Let (𝑉 , ·) be a Euclidean space (dim 𝑉 > 2) and let 𝑆, 𝑇 be nonzero orthogonal subspaces, that is, 𝑆 ⊥ 𝑇 . Then
any vector of 𝑉 can be written in a unique way as the sum of a vector of 𝑆 and a vector of 𝑇 .
⟨ Answer: False ⟩
3. Let (𝑉 , ·) be a Euclidean space (dim 𝑉 > 1) and let 𝑇 : 𝑉 → 𝑉 be a diagonalizable endomorphism. If 𝜆1, 𝜆2 are
distinct eigenvalues of 𝑇 and 𝑣®1 and 𝑣®2 are eigenvectors corresponding to them respectively, then 𝑣®1 ⊥ 𝑣®2 .
⟨ Answer: False ⟩
(b) Consider R3 endowed with an inner product for which √ the basis B = {®𝑣 1 = (0, 1, 1), 𝑣®2 = (−1, 0, 1), 𝑣®3 = (0, 1, 0)}
is orthogonal and such that the lengths of 𝑣®1 , 𝑣®2 , 𝑣®3 are 3, 1, 1, respectively.
(b.1) Find the Gram matrix of the inner product w.r.t. the standard basis.
5 −1 4
⟨ Answer: −1 1 −1 ⟩
4 −1 4
(b.2) Find the orthogonal projection of (−1, 2, 3) onto the orthogonal complement of 𝑈 = {(𝑥, 𝑦, 𝑧) B ∈ R3 ⧸𝑦 +
𝑥 = 𝑦 + 𝑧 − 𝑥 = 0}.
⟨ Answer: (−13/8, 1/8, 3) ⟩
𝑇 (1 + 𝑥) = 2 − 4𝑥, 𝑇 (1 + 𝑥 + 𝑥 2 ) = 2 − 4𝑥 − 𝑥 2, 𝑥 is an eigenvector.
(b) Knowing that the eigenvalue of (a) is −1, find a basis for R2 [𝑥] made up of eigenvectors of 𝑇 w.r.t. which the
Gram matrix of the inner product is the identity matrix.
√
⟨ Answer: 1 − 𝑥, √𝑥 , 2 𝑥 2 − 𝑥2 ⟩
2
(c) Find the orthogonal complement of the vector subspaces ker(𝑇 − 2𝐼 ) and ker(𝑇 + 𝐼 ), where 𝐼 is the identity
endomorphism defined on R2 [𝑥].
⟨ Answer: ker(𝑇 − 2𝐼 ) ⊥ = ⟨𝑥, 𝑥 2 ⟩, ker(𝑇 + 𝐼 ) ⊥ = ⟨1 − 𝑥⟩ ⟩
8
Linear Algebra YEAR: 2019-2020
Exams compilation EXAM: July
Dept. of Mathematics
Exercise 1. Find all complex numbers 𝑧 such that 𝑧/(2 − 3𝑖) ∈ R, 𝑧 2 = − 54 − 3𝑖 and Re 𝑧 > 0.
⟨ Answer: 𝑧 = 1 − 3𝑖/2 ⟩
Exercise 2. Consider the following system of linear equations depending on the parameters 𝑎, 𝑏 ∈ R.
𝑥 1 + 𝑥 2 + 𝑥 3 = 𝑏,
2𝑥 1 − 3𝑥 2 + 2𝑥 3 = 2𝑏,
3𝑥 1 − 2𝑥 2 + 2𝑎𝑥 3 = 𝑏2 .
(a) Find a row echelon form of the augmented matrix of the system. Use it to classify and solve the system depending
on the values of 𝑎, 𝑏.
⟨ Answer: 𝑎 ≠ 3/2, unique solution, 𝑥 1 = 𝑏 + 5𝑏/(2(2𝑎 − 3)), 𝑥 2 = 0, 𝑥 3 = −5𝑏/(2(2𝑎 − 3)); 𝑎 = 3/2 ∧ 𝑏 = 0, infinitely many solutions,
S = {(𝜆, 0, −𝜆), 𝜆 ∈ R}; 𝑎 = 3/2 ∧ 𝑏 ≠ 0, inconsistent ⟩
(b) Find the values of 𝑎, 𝑏 for which the coefficient matrix is non-singular and compute its inverse.
6𝑎−4 2+2𝑎 1
5(2𝑎−3) 5(2𝑎−3) − 2𝑎−3
(a) Prove that 𝑈 is a vector subspace and find a basis for it.
⟨ Answer: B𝑈 = {(𝑥 + 1) 2, 𝑥 (𝑥 + 1) 2 } ⟩
B = {1 + 𝑥 2, 1 + 𝑥 + 𝑥 2 + 𝑥 3, 2𝑥 + 𝑥 2 + 𝑥 3, 2𝑥 + 𝑥 2 + 2𝑥 3 }.
⟨ Answer: 𝑉 = {(𝑎 0, 𝑎 1, 𝑎 2, 𝑎 3 ) B ⧸ 𝑎 2 − 𝑎 1 = 𝑎 3 + 𝑎 1 = 0} ⟩
where tr(𝐴) is the trace of 𝐴 (sum of the diagonal entries) and 𝐼 2 is the 2nd order identity matrix.
(a) Show that 𝑓 is a linear map. Considering the map 𝑔 : 𝑀3 (C) → 𝑀3 (C) defined by 𝑔(𝐴) = tr(𝐴)𝐼 2 , where 𝐴 is the
complex conjugate of 𝐴, is 𝑔 linear?
⟨ Answer: 𝑔 is not a linear map ⟩
9
Linear Algebra YEAR: 2019-2020
Exams compilation EXAM: July
Dept. of Mathematics
(b) Find a matrix associated with 𝑓 and show how you can use it to compute the image of
1 1 1
© ª
𝑖 𝑖 𝑖 ®
«1 + 𝑖 1 + 𝑖 1 + 𝑖 ¬
under 𝑓 .
1 0 0 0 1 0 0 0 1
⟨ Answer: 𝐴 = 00 00 00 00 00 00 00 00 00 , 𝑓 (𝑆) = 2+2𝑖 0
0 2+2𝑖 ⟩
100010001
(c) Find bases for the kernel and range of 𝑓 and deduce whether it is one-to-one or onto.
n 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 o 1 0
⟨ Answer: Bker 𝑓 = 0 0 0 , 0 0 0 , 0 0 0 , 1 0 0 , 0 1 0 , 0 0 1 , 0 0 0 , 0 0 0 , Brange 𝑓 = 0 1 , 𝑓 is neither one-to-one
0 0 −1 000 000 000 0 0 −1 000 100 010
nor onto ⟩
Exercise 5.
(a) Let 𝐴 be a real matrix of order 4 satisfying
• 𝐴 is upper triangular and diagonalizable.
• The entry (4, 4) is 2.
• 𝐴 has a triple eigenvalue 𝜆 ≠ 2 and a single eigenvalue.
−𝑖 −2𝑖 −2
𝐴= 𝑖 2𝑖 1 ®.
© ª
«−1 + 𝑖 −1 + 𝑖 1 + 2𝑖 ¬
We know that 𝑖 is an eigenvalue of 𝐴 and that (−2 + 2𝑖, 1 − 𝑖, 2) is an eigenvector.
(b.2) Is 𝐴 diagonalizable? If so, find a matrix 𝑃 ∈ 𝑀3 (C) such that 𝑃𝐴𝑃 −1 is diagonal. Otherwise, explain why 𝐴
is not diagonalizable.
𝑖 −1+𝑖 1
⟨ Answer: 𝑃 = 1−𝑖 1−𝑖 −𝑖 ⟩
𝑖 −1 𝑖 −1 1+𝑖
2 2 2
where B = {(1, 0, 1), (0, 1, −1), (0, 0, 1)} is a basis for R3 . (Remark: Notice that the first vector is expressed w.r.t. the
standard basis and the second vector w.r.t. B).
(a) Find the Gram matrix of the inner product w.r.t. the standard basis.
1 −1 0
⟨ Answer: −1 2 0 ⟩
0 01
10
Linear Algebra YEAR: 2019-2020
Exams compilation EXAM: July
Dept. of Mathematics
𝑇 (1, 0, 1) = (1, 0, 1), 𝑇 (0, 1, −1) = (−2, −1, −1), 𝑇 (0, 0, 1) = (1, 0, 0),
11
Linear Algebra YEAR: 2020-2021
Exams compilation EXAM: Test 1
Dept. of Mathematics
Year 2020-2021
Midterm Test 1 (units 1–4)
Exercise 1.
(a) Let 𝑧 ∈ C such that 𝑧 6 = −64, Re(𝑧) < 0, and Im(𝑧) < 0. Find 𝑧 4 .
√
⟨ Answer: 8(−1 + 3 𝑖) ⟩
(b) Let 𝑧 = (1 − 𝛼𝑖)/(𝛼 + 3𝑖). Find the values of 𝛼 ∈ R for which 𝑧 is real.
⟨ Answer: 𝑧 is nonreal for any value of 𝛼 ∈ R ⟩
1 0 −1 𝛼 1
−1 𝛼 +2 3 −𝛼 0®
© ª
𝐴= ®, 𝛼 ∈ R.
1 2 1 𝛼 2®
1 𝛼 2 + 𝛼 − 2 𝛼 2 + 𝛼 − 3 2𝛼 + 1 𝛼¬
«
(b) Let 𝐴˜ ∈ M4 (R) be the submatrix of 𝐴 obtained by discarding the last column. Find the ranks of 𝐴 and 𝐴˜ as a
function of 𝛼.
( (
4 if 𝛼 ∉ {−1, 0}, 4 if 𝛼 ≠ 0,
⟨ Answer: rank 𝐴˜ = rank 𝐴 = ⟩
3 otherwise, 3 otherwise.
(c) Classify and solve whenever possible the system of linear equations whose augmented matrix is 𝐴. Determine
whether the system admits solutions of the form (𝑥 1, 𝑥 2, 𝑥 3, 1) for some value of 𝛼. Give reasons.
𝛼 2 (𝛼 −1)
⟨ Answer: 𝛼 ∉ {−1, 0}, consistent system with a unique solution given by 𝑥 1 = 32 + 2(𝛼+1) , 𝑥 2 = 0, 𝑥 3 = 12 , 𝑥 4 = − 2(𝛼+1) ; 𝛼 = −1,
𝛼 (𝛼 −1)
inconsistent; 𝛼 = 0, consistent system with infinitely many solutions given by 𝑆 = {(1 + 𝜆, 1/2 − 𝜆, 𝜆, 0), 𝜆 ∈ R}; the system does not
admit solutions with 𝑥 4 = 1 for any value of 𝛼. ⟩
𝑥1 − 𝑥3 + 𝛼 𝑥4 = 0
(𝛼 + 2)𝑥 2 + 3𝑥 3 − 𝛼 𝑥4 = 0
−𝑥 1 +
𝑥1 + 2𝑥 2 + 𝑥3 + 𝛼 𝑥4 = 0
𝑥 1 + (𝛼 2 + 𝛼 − 2)𝑥 2 + (𝛼 2 + 𝛼 − 3)𝑥 3 + (2𝛼 + 1)𝑥 4 = 0
as a function of 𝛼.
⟨ Answer: 𝛼 ∉ {−1, 0}, consistent system with a unique solution given by 𝑥 1 = 𝑥 2 = 𝑥 3 = 𝑥 4 = 0; 𝛼 = −1, consistent system with
infinitely many solutions given by 𝑆 = {(𝜆, 0, 0, 𝜆), 𝜆 ∈ R}; 𝛼 = 0, consistent system with infinitely many solutions given by
𝑆 = {𝜆, −𝜆, 𝜆, 0), 𝜆 ∈ R}. ⟩
12
Linear Algebra YEAR: 2020-2021
Exams compilation EXAM: Test 1
Dept. of Mathematics
Exercise 3. Let us consider the vector space 𝑉 = M2 (R) which consists of matrices of order 2 and real coefficients.
(d) Find a basis for a complementary subspace of 𝑈 in 𝑉 such that its member matrices have all entries different
from zero.
1 2 1 1
⟨ Answer: For example 11 , 21 ⟩
𝑣 1 + 𝑣®2 ) = 𝑢®1 + 2®
𝑓 (® 𝑢 2, 𝑓 (®
𝑣 1 − 𝑣®2 ) = 𝑓 (®
𝑣 3 ) = 𝑢®1
(b) Find a basis and the dimension of the kernel and range of 𝑓 . Is 𝑓 one-to-one? And onto? Give reasons.
𝑣 1 − 𝑣®2 − 𝑣®3 }, dim ker(𝑓 ) = 1; Brange(𝑓 ) = {(1, 1) B2 , (0, 1) B2 } = {®
⟨ Answer: Bker(𝑓 ) = {(1, −1, −1) B1 } = {® 𝑢 1 + 𝑢®2, 𝑢®2 }, dim range(𝑓 ) = 2;
𝑓 is not one-to-one and 𝑓 is onto. ⟩
𝑢 1 + 𝑢®2 }, dim 𝑓 (𝑈 ) = 1 ⟩
⟨ Answer: B 𝑓 (𝑈 ) = {2®
(e) Let B1′ = 𝑣®1′ , 𝑣®2′ , 𝑣®3′ be a basis for R3 such that 𝑣®1′ = 𝑣®1 + 𝑣®3, 𝑣®2′ = 𝑣®1, 𝑣®3′ = 𝑣®2 and let B2′ = 𝑢®1′ , 𝑢®2′ be a basis for
R2 such that 𝑢®1′ = 𝑢®1 + 𝑢®2, 𝑢®2′ = 𝑢®1 . Find the matrix of 𝑓 w.r.t. B1′ and B2′ .
⟨ Answer: 11 10 −11 ⟩
13
Linear Algebra YEAR: 2020-2021
Exams compilation EXAM: Test 2
Dept. of Mathematics
Midterm Test 2
Part 1 (units 1-4)
Exercise 1. Determine whether the following statements are true or false. Prove or disprove by giving a counterex-
ample.
(a) Let 𝐴𝑥 = 𝑏 be a consistent linear system with real coefficients and infinitely many solutions. If 𝑥 1 and 𝑥 2 are
solutions, then 𝜆𝑥 1 + 𝜇𝑥 2 is also a solution, for all 𝜆, 𝜇 ∈ R.
⟨ Answer: F ⟩
(b) Let 𝑆 = ⟨®
𝑣 1, 𝑣®2 ⟩ and 𝑇 = ⟨®
𝑣 1 ⟩ be two vector subspaces of a vector space 𝑉 . Then 𝑆 = 𝑇 ⇔ 𝑣®2 ∈ 𝑇 .
⟨ Answer: T ⟩
Exercise 2.
(a) Find a complex number 𝑧 with argument 𝜋/4 such that the sum of 𝑧 and 1 + 2𝑖 is a complex number of modulus 5.
√
⟨ Answer: 𝑧 = 2 2 𝑒 𝑖𝜋 /4 = 2(1 + 𝑖) ⟩
(b) Use De Moivre’s formula to find sin 4𝛼 and cos 4𝛼 as a function of sin 𝛼 and cos 𝛼.
⟨ Answer: cos 4𝛼 = cos4 𝛼 + sin4 𝛼 − 6 sin2 𝛼 cos2 𝛼, sin 4𝛼 = 4 sin 𝛼 cos 𝛼 (cos2 𝛼 − sin2 𝛼) ⟩
Exercise 3.
(𝑎 + 1)𝑥 + 𝑦+ 𝑧=1
𝑥 + (𝑎 + 1)𝑦 +
𝑧 =𝑏
𝑥+ 𝑦 + (𝑎 + 1)𝑧 = 𝑏 2
as a function of 𝑎, 𝑏 ∈ R, and solve it whenever it admits infinitely many solutions.
⟨ Answer: 𝑎 ∉ {−3, 0}, ∀𝑏, consistent system with a unique solution; 𝑎 = 0, 𝑏 = 1, consistent system with infinitely many solutions given
by 𝑆 = {(𝜆, 𝜇, 1 − 𝜆 − 𝜇), 𝜆, 𝜇 ∈ R}; otherwise the system is inconsistent. ⟩
(b) Considering the homogeneous system associated with the previous one, for what values of 𝑎 does it have nonzero
solutions?
⟨ Answer: 𝑎 ∈ {−3, 0} ⟩
Exercise 4.
(a) Let 𝑈 = ⟨ −10 21 , 10 11 , 10 43 ⟩ be a vector subspace of M2 (R) and let 𝑆 = 𝑎−5 2 03 . Find the values of 𝑎
0 −1 , 02
(if any) for which 𝑆 is a basis for 𝑈 .
⟨ Answer: 𝑎 = −2 ⟩
(b) Let B1 = 𝑝 1 (𝑥) = 1 + 𝑥, 𝑝 2 (𝑥) = 𝑥 + 𝑥 2, 𝑝 3 (𝑥) = 𝑥 2 and B2 = {𝑞 1, 𝑞 2, 𝑞 3 } be bases for R2 [𝑥] such that:
𝑝 1 + 𝑝 2 − 𝑝 3 = 𝑞 1 + 𝑞 2, 2𝑝 2 + 𝑝 3 = 𝑞 2 + 𝑞 3, 𝑝 2 + 𝑝 3 = −2𝑞 1 + 𝑞 3
14
Linear Algebra YEAR: 2020-2021
Exams compilation EXAM: Test 2
Dept. of Mathematics
(b.2) Find the coordinates of 𝑞 1 , 𝑞 2 , and 𝑞 3 w.r.t. the standard basis for R2 [𝑥]. Write the 𝑞𝑖 ’s as polynomials.
⟨ Answer: [𝑞 1 ] C = (−1, −1, 1)𝑇 , 𝑞 1 (𝑥) = −1 − 𝑥 + 𝑥 2 ; [𝑞 2 ] C = (2, 3, −1)𝑇 , 𝑞 2 (𝑥) = 2 + 3𝑥 − 𝑥 2 ;
[𝑞 3 ] C = (−2, −1, 4)𝑇 , 𝑞 3 (𝑥) = −2 − 𝑥 + 4𝑥 2 ⟩
(b.3) Find the coordinates of ℎ = 3𝑝 1 − 2𝑝 2 + 4𝑝 3 w.r.t. the basis B2 .
⟨ Answer: [ℎ] B2 = (−35, −9, 7)𝑇 ⟩
Exercise 5. Let 𝐸, 𝐹 be real vector spaces, B𝐸 = {® 𝑒 1, 𝑒®2, 𝑒®3 } be bases for 𝐸 and 𝐹 , respectively,
𝑣 1, 𝑣®2, 𝑣®3, 𝑣®4 }, B𝐹 = {®
and 𝑓 : 𝐸 → 𝐹 be the linear map defined by:
(e) Find the matrix of 𝑓 w.r.t. the bases B𝐸′ = {® 𝑒 1′ , 𝑒®2′ , 𝑒®3′ } knowing that
𝑣 1′ , 𝑣®2′ , 𝑣®3′ , 𝑣®4′ }, B𝐹′ = {®
Exercise 6. Determine whether the following statements are true or false. Prove or disprove by giving a counterex-
ample.
(a) Let 𝐴 ∈ 𝑀3 (R) be a matrix whose characteristic polynomial is 𝑝𝐴 (𝑥) = −𝑥 (𝑥 − 1) 2 . Then 𝐴 is diagonalizable.
⟨ Answer: F ⟩
(b) If 𝑒®1 and 𝑒®2 are eigenvectors of an endomorphism 𝑇 corresponding to an eigenvalue 𝜆 ≠ 0, then 𝑒®1 + 𝑒®2 is an
eigenvector that corresponds to 2𝜆.
⟨ Answer: F ⟩
(c) Let (𝑉 , ·) be a finite-dimensional real Euclidean space and let 𝑇 : 𝑉 → 𝑉 be a symmetric endomorphism. Then
two eigenvectors of 𝑇 corresponding to different eigenvalues are orthogonal.
⟨ Answer: T ⟩
15
Linear Algebra YEAR: 2020-2021
Exams compilation EXAM: Test 2
Dept. of Mathematics
(d) Let (𝑉 , ·) be a finite-dimensional real Euclidean space and let 𝑆, 𝑇 be vector subspaces of 𝑉 such that 𝑉 = 𝑆 ⊕ 𝑇 .
Then 𝑇 = 𝑆 ⊥ .
⟨ Answer: F ⟩
Exercise 7. An upper triangular matrix 𝐴 ∈ M3 (R) has two distinct eigenvalues, 𝜆1 , whose eigenspace is
𝑆 (𝜆1 ) = {(𝑥, 𝑦, 𝑧) ∈ R3 ⧸ 2𝑥 − 𝑧 = 0}, and 𝜆2 . Furthermore, det(𝐴) = 2 and tr(𝐴) = 4.
(b) Find the matrix 𝐴 and the eigenvalues 𝜆1 and 𝜆2 assuming that they are integers.
2 0 −1
⟨ Answer: 𝐴 = 0 1 20 . Eigenvalues: 𝜆1 = 1 (double), 𝜆2 = 2 (single) ⟩
00 1
Remark: The trace of a matrix 𝐴, tr(𝐴), is the sum of its diagonal entries.
Exercise 8. Let 𝐴 be a real matrix of order 3 such that 𝜆1 = 2 − 𝑖, 𝜆2 = 1 are eigenvalues of 𝐴, and 𝑣®1 = (𝑖, −1, 1),
𝑣®2 = (2, 1, 0) are eigenvectors corresponding to 𝜆1 and 𝜆2 , respectively. Let 𝑌 ′ (𝑡) = 𝐴𝑌 (𝑡) be a linear system of
first-order ODEs, where 𝑌 (𝑡) = 𝑦1 (𝑡), 𝑦2 (𝑡), 𝑦3 (𝑡) . Find a fundamental system of real solutions of the system and
𝑇
Exercise 9. Let R3 be equipped with an inner product whose Gram matrix w.r.t. the basis B = {®
𝑣 1, 𝑣®2, 𝑣®3 } is
2 0 −1
𝐺 = 0 1 0® .
© ª
«−1 0 1¬
(a) Find the Gram matrix of the inner product w.r.t. a basis C = {®
𝑒 1, 𝑒®2, 𝑒®3 } such that
(c) Let 𝑈 = {(𝑥, 𝑦, 𝑧) C ∈ R3 ⧸ 𝑥 + 𝑧 = 0} and 𝑤® = 𝑒®1 + 𝑒®2 + 𝑒®3 . Find the orthogonal projections of 𝑤® onto 𝑈 and 𝑈 ⊥ .
Without any further computations, find a basis for 𝑈 ⊥ .
⟨ Answer: 𝑤®𝑈 = 51 , − 35 , − 51 , 𝑤®𝑈⊥ = 54 , 85 , 65 , 𝑈 ⊥ = ⟨(2, 4, 3) C ⟩ ⟩
C C
16
Linear Algebra YEAR: 2020-2021
Exams compilation EXAM: Test 2
Dept. of Mathematics
(d) Find the matrices associated with 𝑇 w.r.t. both the basis B and C.
−2 0 0 −2 0 0
⟨ Answer: 𝑀 B (𝑇 ) = 01 0 , 𝑀 C (𝑇 ) = 3 1 −6 ⟩
0 0 −2 0 0 −2
17
Linear Algebra YEAR: 2020-2021
Exams compilation EXAM: May
Dept. of Mathematics
Exercise 1.
(a) Write the complex 𝑧 = −1 − 𝑖 in exponential form. Find 𝑧 8 and get its rectangular form.
√
⟨ Answer: 𝑧 = 2 𝑒 5𝑖𝜋 /4 , 𝑧 8 = 16 ⟩
(b) Solve the following linear system depending on the real parameters 𝑎, 𝑏:
𝑥1 + 𝑥2 =1
2𝑎𝑥 3 = −𝑎
𝑥2 −
+ (3𝑎 − 𝑏)𝑥 3 = 5 − 𝑎
𝑥1
, 𝑥 3 = 4−2𝑎
𝑎 (8−5𝑎+𝑏 ) 𝑎 (8−5𝑎+𝑏 )
⟨ Answer: 𝑎 ≠ 𝑏, consistent with a unique solution, 𝑥 1 = 1 − 𝑎−𝑏 , 𝑥2 = 𝑎−𝑏 𝑎−𝑏 ; 𝑎 = 𝑏 ≠ 2, inconsistent; 𝑎 = 𝑏 = 2,
consistent with infinitely many solutions, 𝑆 = {(3 − 4𝛼, 4𝛼 − 2, 𝛼), 𝛼 ∈ R} ⟩
𝑈 = ⟨(2, 2, 2), (2, 3, 3), (3, 4, 4), (4, 6, 6)⟩ and 𝑉 = {(𝑥 1, 𝑥 2, 𝑥 3 ) ∈ R3 ⧸ 𝑥 1 = 𝑥 2 }.
(c) Describe implicitly 𝑈 ∩ 𝑉 and find a basis for it. Are 𝑈 and 𝑉 complementary subspaces?
⟨ Answer: 𝑈 ∩ 𝑉 = {(𝑥 1, 𝑥 2, 𝑥 3 ) ∈ R3 ⧸ 𝑥 1 = 𝑥 2 = 𝑥 3 } = ⟨(1, 1, 1)⟩. 𝑈 and 𝑉 are not complementary. ⟩
(d) Is B𝑈′ = {(6, 0, 0), (4, 3, 3)} a basis for 𝑈 ? If so, build the change-of-basis matrix from B𝑈 to B𝑈′ .
⟨ Answer: B𝑈′ is a basis for 𝑈 . 𝑃 B𝑈 →B ′ = 60 43 ⟩
𝑈
(a) Find the matrix associated with 𝑓 w.r.t. the bases B1 and B2 , and use it to compute the image of the polynomial
𝑝 (𝑥) = 𝑎 0 + 𝑎 1𝑥 + 𝑎 2𝑥 2 (𝑎 0, 𝑎 1, 𝑎 2 ∈ R).
1 0 0
⟨ Answer: 𝑀 B1 B2 (𝑓 ) = 1 0 1 , 𝑓 (𝑝) = 𝑎 0𝑒®1 + (𝑎 0 + 𝑎 2 )𝑒®2 + (2𝑎 1 + 𝑎 2 )𝑒®3 ⟩
021
(b) Find the matrix associated with 𝑓 w.r.t. the bases C1 = {1, 𝑥 + 𝑥 2, 1 + 𝑥 2 } and C2 = {®
𝑣 1, 𝑣®2, 𝑣®3 }, where
(c) Given the polynomial 𝑞(𝑥) = 3 − 2𝑥 + 4𝑥 2 , find the coordinate vector [𝑓 (𝑞)] C2 .
⟨ Answer: [𝑓 (𝑞)] C2 = (10, 0, −7)𝑇 ⟩
18
Linear Algebra YEAR: 2020-2021
Exams compilation EXAM: May
Dept. of Mathematics
Exercise 4. Consider a basis B = {® 𝑒 1, 𝑒®2, 𝑒®3, 𝑒®4 } for R4 and the endomorphism 𝑇 : R4 → R4 such that
8 4
𝑇 (𝑥 𝑒®1 + 𝑦𝑒®2 + 𝑧𝑒®3 + 𝑡 𝑒®4 ) = 2𝑧 − 𝑡 𝑒®3 + −𝑧 + 𝑡 𝑒®4 for 𝑥, 𝑦, 𝑧, 𝑡 ∈ R.
3 3
(a) Find the matrix 𝐴 of 𝑇 w.r.t. the basis B.
0 0 0 0
!
0 0 0 0
⟨ Answer: 𝐴 = 0 0 2 −8/3 ⟩
0 0 −1 4/3
(b) Is 𝐴 diagonalizable? If so, find a basis C w.r.t. which the matrix 𝐷 of 𝑇 is diagonal, and explain the relation
between 𝐴 and 𝐷 using the corresponding change-of-basis matrix.
0 0 0 0 1 0 0 0 −1 0 0 0 0 ! 1 0 0 0
!
0 0 0 0 000 0
⟨ Answer: 𝐴 is diagonalizable; C = {(1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 4, 3), (0, 0, −2, 1)}; 0 0 0 0 = 00 10 04 −20 0 0 2 −8/3
010 0
0 0 4 −2 ⟩
0 0 0 10/3 003 1 000 0 003 1
Exercise 5. In the vector space R4 we consider the inner product that, w.r.t. some basis B = {®
𝑒 1, 𝑒®2, 𝑒®3, 𝑒®4 }, satisfies:
√
i) 𝑒®1 · 𝑒®1 = 1, ∥𝑒®2 ∥ = 2, 𝑒®3 · 𝑒®3 = 4, 𝑒®4 · 𝑒®4 = 12;
3𝜋
ii) the angle between 𝑒®1 and 𝑒®2 is 4 , and that between 𝑒®1 and 𝑒®3 is 𝜋3 , whereas 𝑒®2 is orthogonal to 𝑒®3 ;
iii) 𝑈 = {(𝑥, 𝑦, 𝑧, 𝑡) B ∈ R4 ⧸ 𝑥 + 𝑧 + 6𝑡 = 0} is orthogonal to ⟨®
𝑒 4 ⟩.
Consider the endomorphism 𝑇 : R4 → R4 such that
8 4
𝑇 (𝑥 𝑒®1 + 𝑦𝑒®2 + 𝑧𝑒®3 + 𝑡 𝑒®4 ) = 2𝑧 − 𝑡 𝑒®3 + −𝑧 + 𝑡 𝑒®4 for 𝑥, 𝑦, 𝑧, 𝑡 ∈ R.
3 3
(a) Find the Gram matrix w.r.t. the basis B.
1 −1 1 2
⟨ Answer: −11 20 04 02 ⟩
2 0 2 12
(c) Using the results from Exercise 4 (that is, for the same endomophism 𝑇 ), study the following:
(c.1) Show that 𝑇 is symmetric.
(c.2) Build a basis B1 for which the Gram matrix 𝐺 1 is diagonal but not the identity, and the matrix 𝐷 1 associated
with 𝑇 is diagonal. Find both matrices and link them through the associated change-of-basis matrix.
0 0 0 0 1 0 0 0
!
0 0 0 0
⟨ Answer: For example B1 = {(1, 0, 0, 0) B , (1, 1, 0, 0) B , (−20, −10, 4, 3) B , (0, 0, −2, 1) B }; 𝑀 B1 (𝑇 ) = 0 0 0 0 ; 𝐺 1 = 00 10 20
0 0 ⟩
0
0 0 0 10/3 0 0 0 20
19
Linear Algebra YEAR: 2020-2021
Exams compilation EXAM: July
Dept. of Mathematics
Exercise 1.
√ √
(a) Consider the complex numbers 𝑧 1 = ( 2 + 2 2 𝑖)𝑒 −𝑖 3𝜋 /4 and 𝑧 2 = 𝑎 + 2𝑖. Find the value of 𝑎 ∈ R such that 𝑧 1 /𝑧 2
is purely imaginary and find the value of 𝑧 1 /𝑧 2 in this case.
⟨ Answer: 𝑧 1 /𝑧 2 = −𝑖/2 for 𝑎 = 6 ⟩
+ 3𝑎𝑥 3 = 5 − 𝑎
𝑥1
⟨ Answer: 𝑎 ≠ 0, consistent with a unique solution, 𝑥 1 = −7 + 5𝑎, 𝑥 2 = 8 − 5𝑎, 𝑥 3 = 4−2𝑎
𝑎 ; 𝑎 = 0, inconsistent ⟩
(b) Find the coordinates of 𝑁 1 , 𝑁 2 , 𝑁 3 and 𝑁 4 w.r.t. the standard basis of M2 (R).
⟨ Answer: 𝑁 1 = (0, 2, 1, 0), 𝑁 2 = (0, −1, −1, 0), 𝑁 3 = (1, −1, 0, 1), 𝑁 4 = (0, 0, 1, 1) ⟩
(b) Find a basis and some implicit equations for range(𝑓 ). Find the nullity of 𝑓 .
⟨ Answer: range(𝑓 ) = {(𝑥, 𝑦, 𝑧, 𝑡) B ∈ R4 ⧸ 2𝑥 − 𝑦 − 𝑧 = 0} = ⟨®
𝑣 1 + 2®
𝑣 2 + 𝑣®4, 𝑣®2 − 𝑣®3, 𝑣®4 ⟩; nullity(𝑓 ) = 4 − rank(𝑓 ) = 4 − 3 = 1 ⟩
(d) Find a basis and some implicit equations for the subspace 𝑈 ∩ range(𝑓 ).
⟨ Answer: 𝑈 ∩ range(𝑓 ) = {(𝑥, 𝑦, 𝑧, 𝑡) B ⧸ 2𝑥 − 𝑦 − 𝑧 = 𝑥 + 4𝑦 + 8𝑧 − 8𝑡 = 0} = ⟨(4, 17, −9, 0) B , (8, 16, 0, 9) B ⟩ ⟩
20
Linear Algebra YEAR: 2020-2021
Exams compilation EXAM: July
Dept. of Mathematics
Exercise 4.
(a) Let 𝑉 be a K-vector space (K = R or C), B = {® 𝑣 1, 𝑣®2 } be a basis for 𝑉 , and 𝑓 : 𝑉 → 𝑉 be the endomorphism
defined by 𝑓 (®
𝑣 1 ) = 2®
𝑣 2 and 𝑓 (® 𝑣 1 + 2®
𝑣 1 + 𝑣®2 ) = −2® 𝑣 2 . Is 𝑓 diagonalizable?
⟨ Answer: Diagonalizable over C and not diagonalizable over R ⟩
(b) Find a fundamental set of solutions and the general solution of the following system of ODEs:
𝑦1′ (𝑥) = 𝑦1 + 2𝑦3
𝑦2 (𝑥) = 3𝑦2
′
Exercise 5. Let 𝑉 be a vector space equipped with an inner product whose Gram matrix w.r.t. a basis B = {®
𝑒 1, 𝑒®2, 𝑒®3 }
is
4 2 0
𝐺 = 2 2 0® ,
© ª
«0 0 1¬
and let 𝑇 : 𝑉 → 𝑉 be a linear map whose matrix w.r.t. B is
2 0 0
𝑀 B (𝑇 ) = 0 2 0® .
© ª
«0 0 4¬
(a) Are the vectors of B eigenvectors of 𝑇 ? If so, find their image under 𝑇 and their corresponding eigenvalue.
⟨ Answer: B is a basis of eigenvectors of 𝑇 ; 𝑇 (®
𝑒 1 ) = 2® 𝑒 2 ) = 2®
𝑒 1,𝑇 (® 𝑒 3 ) = 4®
𝑒 2,𝑇 (® 𝑒3 ⟩
(b) Find two vectors in 𝑉 − B that are eigenvectors corresponding to the eigenvalue 𝜆 = 2.
⟨ Answer: For example 𝑒®1 + 𝑒®2 and 𝑒®1 − 𝑒®2 ⟩
(c) Are there any vectors in B orthogonal to each other? If so, which ones?
⟨ Answer: 𝑒®1 ⊥ 𝑒®3 and 𝑒®2 ⊥ 𝑒®3 ⟩
(e) Is 𝑇 symmetric?
⟨ Answer: Yes ⟩
(h) Find a basis B1 for 𝑉 such that the matrices associated with the inner product, 𝐺 1 , and with the endomorphism,
𝑀 B1 (𝑇 ), are diagonal matrices. Find 𝑀 B1 (𝑇 ) and 𝐺 1 and show how they are related to the matrices 𝑀 B (𝑇 ) and
𝐺 by using the change-of-basis matrix.
4 0 0 2 0 0
⟨ Answer: For example B1 = {®
𝑒 1, 𝑒®1 − 2®
𝑒 2, 𝑒®3 }; 𝐺 1 = 0 4 0 ; 𝑀 B1 (𝑇 ) = 0 2 0 ⟩
001 004
21
Linear Algebra YEAR: 2021-2022
Exams compilation EXAM: Test 1
Dept. of Mathematics
Year 2021-2022
Midterm Test 1 (units 1–4)
Exercise 1.
(a) Which of the complex numbers {1 + 𝑖, −1 + 𝑖, −1 − 𝑖, 1 − 𝑖} are 10th-order roots of 32𝑖?
⟨ Answer: 1 + 𝑖, −1 − 𝑖 ⟩
Exercise 3. We consider the real vector space 𝑉 = R4 [𝑥] and its subset of even polynomials, 𝑈𝑒 = {𝑝 ∈ 𝑉 ⧸ 𝑝 (−𝑥) =
𝑝 (𝑥)}.
(a) Show that 𝑈𝑒 is a subspace of 𝑉 .
(b) Find a basis for 𝑈𝑒 and deduce its dimension.
⟨ Answer: B𝑒 = {1, 𝑥 2, 𝑥 4 }, dim 𝑈𝑒 = 3 ⟩
(c) Find a basis for a complementary subspace of 𝑈𝑒 in 𝑉 such that none of its elements belongs to the standard
basis {1, 𝑥, 𝑥 2, 𝑥 3, 𝑥 4 }.
⟨ Answer: For example B𝑐 = {𝑥 + 𝑥 3, 𝑥 − 𝑥 3 } ⟩
(d) Let 𝑊 = {𝑝 ∈ 𝑉 ⧸ 𝑝 ′′ (0) + 𝑝 (0) = 0}. Find a basis for 𝑈𝑒 + 𝑊 and 𝑈𝑒 ∩ 𝑊 . Are 𝑈𝑒 and 𝑊 complementary
subspaces?
⟨ Answer: B𝑈𝑒 ∩𝑊 = {𝑥 2 − 2, 𝑥 4 }, 𝐵𝑈𝑒 +𝑊 = {1, 𝑥, 𝑥 2, 𝑥 3, 𝑥 4 }, 𝑈𝑒 and 𝑊 are not complementary ⟩
22
Linear Algebra YEAR: 2021-2022
Exams compilation EXAM: Test 1
Dept. of Mathematics
Exercise 4. Let S = {® 𝑢 1, 𝑢®2, 𝑢®3, 𝑢®4, 𝑢®5 } ⊆ R3 such that the reduced row echelon form of the matrix whose column
entries are the coordinates of the vectors of S is
1 −100 0 200 0
rref (𝐴) = 0 0 1 500 0® .
𝐴 = 𝑢®1 𝑢®2 𝑢®3 𝑢®4 𝑢®5 ∈ M3×5 (R),
© ª
«0 0 0 0 1¬
(a) Are there vectors of S that cannot be written as a linear combination of the others? If so, find them.
⟨ Answer: 𝑢®5 cannot be expressed as a linear combination of the other vectors ⟩
(b) Let 𝑢®2 = (−1, 2, 3) and 𝑢®4 = (1, −2, 5). Find 𝑢®1 and 𝑢®3 .
𝑢 2 /100 = (1/100, −2/100, −3/100), 𝑢®3 = (𝑢®4 − 200®
⟨ Answer: 𝑢®1 = −® 𝑢 1 )/500 = (−1/500, 2/500, 11/500) ⟩
Exercise 5. Let 𝑓 : R2 → R3 be the linear map whose matrix w.r.t. the standard bases of R2 and R3 is
1 −1
𝑀 C2 C3 (𝑓 ) = 2 1® .
© ª
«1 1¬
(a) Find the analytical expression of 𝑓 (i.e., find the expression of the image under 𝑓 of a generic vector of the
domain).
⟨ Answer: 𝑓 (𝑥, 𝑦) = (𝑥 − 𝑦, 2𝑥 + 𝑦, 𝑥 + 𝑦) ⟩
1 −1 0
(b) Let 𝑃 B2 →C3 = 0 1 1 be the change-of-basis matrix from the basis B2 for R3 to the standard basis C3 . Find
1 −1 2
the matrix of 𝑓 w.r.t. the bases B1 = {(1, 1), (−1, 1)} and B2 . Find the coordinates of the image of the vector
𝑣® = (2, 1) w.r.t. B2 .
−3 −1 −4
⟨ Answer: M B1 B2 (𝑓 ) = 5 −1 , [𝑓 (®
𝑣 )] B2 = 8 ⟩
1 −1 2
(c) Find the dimension and a basis for the kernel and range of 𝑓 .
⟨ Answer: ker(𝑓 ) = {(0, 0)}, nullity(𝑓 ) = 0, Brange(𝑓 ) = {(1, 2, 1), (−1, 1, 1)}, rank(𝑓 ) = 2 ⟩
1 0 −1 1
(d) Let 𝐴 = 10 1 0 be the matrix of a linear map 𝑓 : R3 [𝑥] → M2 (R) w.r.t. bases B1 = {𝑝 1, 𝑝 2, 𝑝 3, 𝑝 4 } for R3 [𝑥]
10 2 −1
20 2 −1
and B2 = {𝑀1, 𝑀2, 𝑀3, 𝑀4 } for M2 (R). Determine with reasons whether the following statements are true or
false.
1. {𝑓 (𝑝 1 ), 𝑓 (𝑝 2 ), 𝑓 (𝑝 3 ), 𝑓 (𝑝 4 )} is a basis for M2 (R).
⟨ Answer: False ⟩
2. 𝑀4 ∈ range(𝑓 ).
⟨ Answer: False ⟩
23
Linear Algebra YEAR: 2021-2022
Exams compilation EXAM: Test 2
Dept. of Mathematics
Midterm Test 2
Part 1 (units 1-4)
Exercise 1. Determine with reasons whether the following statements are true or false.
(a) A linear system of equations with two equations and three unknowns is always consistent with infinitely many
solutions.
⟨ Answer: False ⟩
(b) The subspaces of R2 , 𝑈 = ⟨(1, 2)⟩ and 𝑉 = ⟨(2, 4)⟩, are complementary.
⟨ Answer: False ⟩
(c) The linear map 𝑓 : R10 [𝑥] → R10 [𝑥], defined by 𝑓 𝑝 (𝑥) = 𝑝 ′ (𝑥), is one-to-one.
⟨ Answer: False ⟩
Exercise 2.
(a) Let 𝑧 = 𝛼 − 𝑖 and 𝑤 = 2 + 𝛼𝑖, where 𝛼 ∈ R. Find 𝛼 such that 𝑧𝑤 ∈ R.
√ √
⟨ Answer: 𝛼 ∈ {− 2, 2} ⟩
√ √
(b) Find the roots of 𝑝 (𝑧) = 𝑧 3 − 2 𝑧 2 + 𝑧 − 2 knowing that 𝑝 (𝑖) = 0.
√
⟨ Answer: {−𝑖, 𝑖, 2} ⟩
Exercise 3. Classify the following system of linear equations as a function of 𝑎 ∈ R and solve it whenever possible.
𝑥 + 𝑦 + 𝑧 = 1
= 1
𝑥 + 𝑎𝑦
𝑎𝑥 + 𝑦 = −1
1 , 𝑦 = 1 , 𝑧 = 1; 𝑎 = −1, consistent with infinitely many solutions
⟨ Answer: 𝑎 ∉ {−1, 1}, consistent with a unique solution given by 𝑥 = 1−𝑎 𝑎−1
depending on 1 parameter. Solution set: 𝑆 = {(1 + 𝑥, 𝑥, −2𝑥), 𝑥 ∈ R}; 𝑎 = 1, inconsistent ⟩
(b) Find a basis for an algebraic complement 𝑈 𝑐 for 𝑈 in R4 . Decompose the vector (1, −2, 1, 3) as the sum of a vector
of 𝑈 and a vector of 𝑈 𝑐 .
⟨ Answer: 𝑈 𝑐 = ⟨(0, 0, 0, 1)⟩, (1, −2, 1, 3) = (1, −2, 1, 1) + (0, 0, 0, 2) ⟩
(c) Let B𝑉′ = {(0, 0, 1, 1), (0, 0, 1, −1), (1, 3, 1, 2)} be a basis for 𝑉 and let B𝑉 be the basis for 𝑉 found in (a). Find the
change-of-basis matrix from B𝑉′ to B𝑉 . Find the coordinate vector w.r.t. B𝑉 of (1, 0, 1) B𝑉′ .
− 321 1 !
2 2 1
⟨ Answer: 𝑃 B ′ →B𝑉 = 1 1
− 12 , [®
𝑣 ] B𝑉 = 2 ⟩
𝑉 2 2 3
1 0 0
24
Linear Algebra YEAR: 2021-2022
Exams compilation EXAM: Test 2
Dept. of Mathematics
Exercise 5. Let 𝑓 : R3 → R3 be the linear map defined by 𝑓 (𝑎, 𝑏, 𝑐) = (−𝑎 − 2𝑏, 𝑏 + 𝑐, 𝑎 + 3𝑏 + 𝑐).
(a) Find the matrix of 𝑓 w.r.t. the standard basis of R3 .
−1 −2 0
⟨ Answer: 0 11 ⟩
1 31
(b) Find the matrix of 𝑓 w.r.t. the bases B1 = {(1, −1, 1), (−1, 1, 0), (1, 0, 0)} for R3 as domain and B2 = {(1, 1, 0), (−1, 0, 1), (1, 0, 0)
for R3 as codomain.
010
⟨ Answer: −1 2 1 ⟩
000
(c) Find a basis and an implicit representation for ker(𝑓 ) and range(𝑓 ).
⟨ Answer: ker(𝑓 ) = ⟨(2, −1, 1)⟩ = {(𝑥, 𝑦, 𝑧) ∈ R3 ⧸ 𝑥 − 2𝑧 = 𝑦 + 𝑧 = 0},
range(𝑓 ) = ⟨(−1, 0, 1), (−2, 1, 3)⟩ = {(𝑥, 𝑦, 𝑧) ∈ R3 ⧸ 𝑥 − 𝑦 + 𝑧 = 0} ⟩
𝑢 ∈ R3 ⧸ 𝑓 (𝑢)
(e) Find the set {® ® = (1, 1, 0) B2 }.
⟨ Answer: 𝑆 = {(2𝜆, −𝜆, 1 + 𝜆), 𝜆 ∈ R} ⟩
Exercise 6. Determine with reasons whether the following statements are true or false.
(a) Let 𝑓 : R4 → R4 be an endomorphism. If 𝑓 is one-to-one, then 0 is an eigenvalue of 𝑓 .
⟨ Answer: False ⟩
(b) Let 𝐴 ∈ 𝑀2 (R) be a matrix with eigenvalues 𝜆1 = −3 and 𝜆2 = 0 and associated eigenvectors given by 𝑣®1 = (1, 0)
and 𝑣®2 = (0, −1), respectively. Then the solution to the Cauchy problem {𝑌 ′ (𝑡) = 𝐴𝑌 (𝑡), 𝑌 (0) = (1, 1)𝑇 } is
𝑌𝑝 (𝑡) = (𝑒 −3𝑡 , −1)𝑇 .
⟨ Answer: False ⟩
(d) Let (𝑉 , ·) be a real Euclidean space and let 𝑣®, 𝑤® ∈ 𝑉 . If the set {®
𝑣 , 𝑤® } is linearly independent, then |®
𝑣 · 𝑤® | = ∥®
𝑣 ∥ ∥𝑤® ∥.
⟨ Answer: False ⟩
25
Linear Algebra YEAR: 2021-2022
Exams compilation EXAM: Test 2
Dept. of Mathematics
Exercise 8. Let (C( [0, 1]), ·) be the Euclidean space of the continous functions on the interval [0, 1] with the inner
product
∫ 1
𝑓 ·𝑔 = 𝑓 (𝑥)𝑔(𝑥)d𝑥 .
0
Exercise 9. Let R3 endowed with the usual inner product (i.e., that for which the Gram matrix is the iden-
tity w.r.t. the standard basis) and let 𝑇 : R3 → R3 be an endomorphism whose matrix w.r.t. the basis B =
{(1, −1, 0), (0, 0, 1), (1, 0, 0)} is
1 0 0
𝑀 B (𝑇 ) = 0 1 0® .
© ª
«0 0 −1¬
(a) Find a basis for R3 whose elements are eigenvectors of 𝑇 . Does an orthonormal basis of eigenvectors of 𝑇 exist?
If so, find it.
⟨ Answer: The basis B is a basis of eigenvectors. No orthonormal basis of eigenvectors exists ⟩
(b) Repeat the previous part when the inner product is defined by the Gram matrix
1 1 0
𝐺 = 1 2 1®
© ª
«0 1 2¬
w.r.t. the standard basis.
⟨ Answer: {(1, −1, 0), (1, −1, 1), (1, 0, 0)} ⟩
26
Linear Algebra YEAR: 2021-2022
Exams compilation EXAM: May
Dept. of Mathematics
Exercise 1. Determine with reasons whether the following statements are true or false.
1 1
(a) Any linear system of equations with coefficient matrix 𝐴 = is consistent with finitely many solutions.
2 3
⟨ Answer: True ⟩
Exercise 2.
Exercise 3. Classify the following system of linear equations as a function of 𝑎 ∈ R and solve it whenever possible.
𝑎𝑥 + 𝑦 + 𝑧 = 1
𝑥 + 3𝑦 + 𝑧 = 1
3𝑥 + 10𝑦 + 4𝑧 = −1
⟨ Answer: 𝑎 ≠ 0, consistent with a unique solution 𝑥 = 4/𝑎, 𝑦 = 2(𝑎 − 1)/𝑎, 𝑧 = −(5𝑎 − 2)/2; 𝑎 = 0, inconsistent ⟩
(b) Find a basis, some parametric equations and some implicit equations for an algebraic complement 𝑈 𝑐 for 𝑈 in
R3 [𝑥]. Decompose the vector 1 + 𝑥 + 2𝑥 2 + 𝑥 3 as the sum of a vector of 𝑈 and a vector of 𝑈 𝑐 .
⟨ Answer: 𝑈 𝑐 = ⟨𝑥 3 ⟩, 1 + 𝑥 + 2𝑥 2 + 𝑥 3 = 𝑢® + 𝑢®𝑐 , 𝑢® = 1 + 𝑥 + 2(𝑥 2 + 𝑥 3 ), 𝑢®𝑐 = −𝑥 3 ⟩
27
Linear Algebra YEAR: 2021-2022
Exams compilation EXAM: May
Dept. of Mathematics
(c) Find the matrix of 𝑓 w.r.t. the bases B1 of M2 (R) and B2 = {(1, 1), (−1, 0)} for R2 .
⟨ Answer: 00 11 −1 0
−2 0 ⟩
(d) Find a basis and an implicit representation for ker(𝑓 ) and range(𝑓 ).
⟨ Answer: ker(𝑓 ) = 10 , 00 01 = {𝐴 ∈ R3 ⧸ 𝑎 12 = 𝑎 21 = 0}, range(𝑓 ) = R2 ⟩
00
Exercise 6. Determine with reasons whether the following statements are true or false.
(a) If a matrix 𝐴 ∈ M3 (R) has the eigenvalues 𝜆1 = 1 and 𝜆2 = −1, then all its eigenvalues are real.
⟨ Answer: True ⟩
Exercise 8. Let 𝑇 : R3 → R3 be an endomorphism whose matrix w.r.t. the basis B = {(1, −1, 0), (0, 0, 1), (1, 0, 0)} is
1 0 0
= 0 2 0 ®.
© ª
𝑀 B (𝑇 )
« 0 0 2 ¬
(a) Find a basis for R3 whose elements are eigenvectors of 𝑇 .
⟨ Answer: B is a basis of eigenvectors of 𝑇 ⟩
(b) Show that R3 can endowed with the inner product whose Gram matrix w.r.t. the standard basis is
1 1 0
𝐺 = 1 2 0 ®.
© ª
« 0 0 1 ¬
28
Linear Algebra YEAR: 2021-2022
Exams compilation EXAM: May
Dept. of Mathematics
(c) For the inner product defined in part (b), does an orthonormal basis of eigenvectors of 𝑇 exist? If so, find it.
⟨ Answer: B is an orthonormal basis of eigenvectors of 𝑇 ⟩
29
Linear Algebra YEAR: 2021-2022
Exams compilation EXAM: July
Dept. of Mathematics
Exercise 1. Determine with reasons whether the following statements are true or false.
(a) Every polynomial with complex coefficients and even degree has an even number of non-real roots.
⟨ Answer: False ⟩
(b) If we first swap two rows in a square matrix 𝐴 and then interchange two columns, we get a matrix whose
determinant is just that of 𝐴.
⟨ Answer: True ⟩
Exercise 2. Classify the following system of linear equations as a function of 𝑎 ∈ R and solve it whenever possible.
(4 + 𝑎)𝑥 1 −
2𝑥 2 − 𝑥3 = 1
2𝑥 3 = 2
−2𝑥 1 + (1 − 𝑎)𝑥 2 +
−𝑥 + 2𝑥 + (4 − 3 =1
1 2 𝑎)𝑥
√
⟨ Answer: 𝑎 ∉ {−3, 2 ± 7}, consistent with a unique solution; otherwise inconsistent ⟩
(b) Find a complementary subspace 𝑉 𝑐 for 𝑉 in 𝑈 + 𝑉 . Write the vector (1, 0, 2, 3) as the sum of a vector of 𝑉 and a
vector of 𝑉 𝑐 .
⟨ Answer: For example 𝑉 𝑐 = ⟨(0, 0, 0, 1)⟩, (1, 2, 0, 3) = (1, 0, 2, −1) + (0, 0, 0, 4) ⟩
(b) Find a basis of its kernel and a basis of its range. What are their dimensions?
⟨ Answer: Brange 𝑓 = {(2, 0, 1), (0, 3, −1)}, ker 𝑓 = (0, 0) ⟩
(c) Find the matrix associated with 𝑓 with respect to the bases
B1 = {(1, 1), (0, 1)} and B2 = {(0, 0, 1), (0, 1, 1), (1, 1, 1)} .
Use this matrix to compute the image of (2, 1) B1 and deduce the coordinates of such an image with respect to the
standard basis.
−3 −4
⟨ Answer: 1 3 , (4, 9, −1) ⟩
2 0
30
Linear Algebra YEAR: 2022-2023
Exams compilation EXAM: Test 1
Dept. of Mathematics
Exercise 5. Determine with reasons whether the following statements are true or false.
Exercise 6. We consider the endomorphism 𝑓𝑎 : R3 → R3 whose matrix with respect to the standard basis is
2𝑎 − 1 0 2𝑎 − 2
𝐴= 1 2 ®.
© ª
𝑎
«1−𝑎 0 2−𝑎 ¬
(a) Find the values of 𝑎 for which 𝑓𝑎 is diagonalizable.
⟨ Answer: 𝑎 ≠ 1 ⟩
(b) For 𝑎 = 0, find a regular matrix 𝑃 ∈ M3 (R) and a diagonal matrix 𝐷 ∈ M3 (R) such that 𝐷 = 𝑃𝐴𝑃 −1 .
0 0 0 −1 1 −2
⟨ Answer: 𝐷 = 𝑃𝐴𝑃 −1 , 𝐷 = 0 0 0 , 𝑃 = 1 0 1 ⟩
001 −1 0 −2
Exercise 7. Let us consider the real vector space 𝑉 = M2 (R) and define
(b) Starting with the basis 10 00 , 00 01 , 11 10 , −11 11 , apply the Gram-Schmidt procedure to obtain an orthonormal
Year 2022-2023
Midterm Test 1 (units 1–4)
Exercise 1. Determine with reasons whether the following statements are true or false.
𝑥 +𝑦 = 1 3𝑥 − 𝑦 = 1
and
𝑥 −𝑦 = 0 4𝑥 − 6𝑦 = −1
⟨ Answer: True ⟩
31
Linear Algebra YEAR: 2022-2023
Exams compilation EXAM: Test 1
Dept. of Mathematics
(c) Let 𝑣® ∈ R3 . Bases B1 and B2 for R3 such that B1 ∩ B2 = ∅ and 𝑣® = (1, 1, 1) B1 = (1, 1, 1) B2 do not exist.
⟨ Answer: False ⟩
Exercise 2.
⟨ Answer: 𝑧 4 = 4𝑒 𝑖𝜋 = −4 ⟩
(b) Let 𝑧 1 and 𝑧 2 be complex numbers such that 𝜃 1 = 5𝜋/6, |𝑧 2 | = 2 and 𝑧 1 𝑧 2 = 8𝑖, where 𝜃 1 is an argument of 𝑧 1 .
Find 𝑧 1 , 𝑧 2 in rectangular form.
√ √
⟨ Answer: 𝑧 1 = 4𝑒 𝑖5𝜋 /6 = 2(− 3 + 𝑖), 𝑧 2 = 2𝑒 −𝑖𝜋 /3 = 1 − 3𝑖 ⟩
(b) Solve, when possible, the linear system whose augmented matrix is 𝐵.
⟨ Answer: 𝛼 ≠ −4, inconsistent; 𝛼 = −4, consistent with infinitely many solutions given by 𝑆 = {(4 − 𝜆, 𝜆 − 3, 𝜆), 𝜆 ∈ R} ⟩
𝑆 = ⟨(2, 1, 1, 1), (1, 1, −1, 1), (1, 0, 2, −2), (1, −1, 5, −2)⟩,
𝑇 = {(𝑥, 𝑦, 𝑧, 𝑡) ∈ R4 ⧸ 3𝑥 + 2𝑧 − 3𝑡 = 0}.
(b) Prove that B𝑆 = {(1, 1, −1, 2), (−1, 1, −5, 1), (1, 0, 2, −2)} is a basis for 𝑆.
32
Linear Algebra YEAR: 2022-2023
Exams compilation EXAM: Test 1
Dept. of Mathematics
√
(d) Find the dimension of 𝑆 + 𝑇 . Does the vector (10, −14, 𝜋, 2) belong to 𝑆 + 𝑇 ? Give reasons.
√
⟨ Answer: dim(𝑆 + 𝑇 ) = 4, (10, −14, 𝜋, 2) ∈ 𝑆 + 𝑇 ⟩
(e) Let B = {1 + 𝑥 2, −1 + 𝑥 + 𝑥 2 } and B ′ = {2 − 𝑥, 1 + 𝑥 + 3𝑥 2 } be bases for a certain vector subspace of R2 [𝑥]. Find
the change-of-basis matrix from B to B ′ . Given 𝑝 = (−2, 3) B , use the previous matrix to find its coordinates
w.r.t. the basis B ′ . Express 𝑝 as a polynomial.
⟨ Answer: 𝑃 B→B ′ = −11 21 , [𝑝] B ′ = (−8/3, 1/3)𝑇 , 𝑝 (𝑥) = −5 + 3𝑥 + 𝑥 2 ⟩
𝑓 (1, 0, 2) = (1, 1, 1, 1), 𝑓 (0, 1, 7) = (0, 2, 2, 2), 𝑓 (0, 0, 1) = (0, 0, −1, 0).
(a) Find the matrix of 𝑓 w.r.t. the bases B1 = {(1, 0, 0), (0, 1, 0), (0, 0, 1)} for R3 and B2 = {(1, 1, 1, 1), (0, 1, 1, 1),
(0, 0, 1, 1), (0, 0, 0, 1)} for R4 .
1 0 0
⟨ Answer: 0 2 0 ⟩
2 7 −1
−2 −7 1
𝑢 1′ = (1, 0, 2), 𝑢®2′ = (0, 1, 7), 𝑢®3′ = (0, 0, 1)} be a basis for R3 . Find the image under 𝑓 of 𝑢® = 2®
(b) Let B1′ = {® 𝑢 1′ + 𝑢®2′ and
find its coordinates w.r.t. both the standard basis of R4 and B2 .
® = (2, 4, 4, 4) = (2, 2, 0, 0) B2 ⟩
⟨ Answer: 𝑓 (𝑢)
33
Linear Algebra YEAR: 2022-2023
Exams compilation EXAM: Test 2
Dept. of Mathematics
Midterm Test 2
Part 1 (units 1-4)
Exercise 1. Determine with reasons whether the following statements are true or false.
(a) If 1 − 𝑖 and 𝑖 are roots of polynomials 𝑝 (𝑥), 𝑞(𝑥) ∈ R4 [𝑥], then 𝑝 (𝑥) and 𝑞(𝑥) are scalar multiples of each other.
⟨ Answer: True ⟩
(b) The product of all the 4th roots of a complex number 𝑧 is equal to −𝑧.
⟨ Answer: True ⟩
(c) Let 𝑉 be a finite-dimensional vector space and {® 𝑣 1, 𝑣®2, 𝑣®3 } be a set of nonzero vectors of 𝑉 distinct to each other.
If 𝑉 = ⟨®
𝑣 1, 𝑣®2 ⟩ and 𝑊 = ⟨®
𝑣 1, 𝑣®3 ⟩, then dim(𝑉 + 𝑊 ) = 3.
⟨ Answer: False ⟩
(d) Let 𝑓 : R2 → R2 be a nonzero endomorphism and B1 and B2 be two different bases of R2 . Then the matrix of 𝑓
w.r.t. B1 is not equal to the matrix of 𝑓 w.r.t. B2 .
⟨ Answer: False ⟩
Exercise 2.
and 2 respectively.
⟨ Answer: 𝑤 = −44 ⟩
(b) Find all 𝑤 ∈ C such that 𝑤 5 + 8𝑖 = 0, and plot them on the complex plane.
⟨ Answer: 𝑤 0 = 23/5𝑒 −𝑖𝜋 /10 , 𝑤 1 = 23/5𝑒 𝑖3𝜋 /10 , 𝑤 2 = 23/5𝑒 𝑖7𝜋 /10 , 𝑤 3 = 23/5𝑒 −𝑖9𝜋 /10 , 𝑤 4 = 23/5𝑒 −𝑖𝜋 /2 ⟩
𝑥1 + 𝑥2 + 𝑎 𝑥3 = 1 + 𝑎
𝑥 1 + 3𝑥 2 +
𝑏 𝑥3 = 𝑎 𝑎, 𝑏 ∈ R.
𝑥 1 + 5𝑥 2 + (𝑎 + 𝑏)𝑥 3 = 𝑏
(a) Classify and solve the system whenever possible as a function of 𝑎 and 𝑏.
⟨ Answer: 𝑏 ≠ 2𝑎, consistent with a unique solution; 𝑏 = 2𝑎 ≠ −2, inconsistent; 𝑎 = −1, 𝑏 = −2, consistent with infinitely many solutions
given by 𝑆 = {(1/2 + 𝜆/2, −1/2 + 𝜆/2, 𝜆), 𝜆 ∈ R} ⟩
(b) When is the coefficient matrix invertible? Find its inverse for 𝑏 = 2𝑎 + 1.
1
1+ 𝑎2 2 −𝑎
𝑎−1
2
⟨ Answer: The matrix is invertible iff 𝑏 ≠ 2𝑎; 𝐴 −1 = 𝑎2 − 12 −𝑎 𝑎+1 ®⟩
© ª
2
« −1 2 −1 ¬
Exercise 4. Let
𝑉1 = {(𝑥, 𝑦, 𝑧, 𝑡) ∈ R4 ⧸ 𝑥 + 𝑡 + 𝑦 − 2𝑧 = 0},
𝑉2 = ⟨(1, 1, 1, 0), (0, 1, 0, −1), (0, 1, 1, 1)⟩,
𝑉3 = {(𝑥, 𝑦, 𝑧, 𝑡) ∈ R4 ⧸ 𝑥 = 𝛼 + 𝛽, 𝑦 = 𝛼 + 𝛽 + 𝛾, 𝑧 = 𝛼 + 𝛾, 𝑡 = −𝛽 + 𝛾, with 𝛼, 𝛽, 𝛾 ∈ R}.
34
Linear Algebra YEAR: 2022-2023
Exams compilation EXAM: Test 2
Dept. of Mathematics
(c) Find a basis of a complementary subspace 𝑉2c for 𝑉2 such that the coordinates of the vectors are all nonzero.
Decompose the vector (1, 2, 1, 0) as the sum of a vector of 𝑉2 and a vector of 𝑉2c .
⟨ Answer: For example 𝑉2𝑐 = ⟨(1, 1, 1, 1)⟩, (1, 2, 1, 0) = 𝑤® 2 + 𝑤® 2𝑐 , 𝑤® 2 = (0, 1, 0, −1) ∈ 𝑉2 , 𝑤® 2𝑐 = (1, 1, 1, 1) ∈ 𝑉2𝑐 ⟩
(b) Find a basis and some implicit equations for the vector subspaces ker(𝑓 ) and range(𝑓 ).
⟨ Answer: ker(𝑓 ) = ⟨(10, 16, 3, −1) B1 ⟩ = {(𝑥, 𝑦, 𝑧, 𝑡) B1 ⧸ 𝑥 + 10𝑡 = 𝑦 + 16𝑡 = 𝑧 + 3𝑡 = 0}; range(𝑓 ) = R3 ⟩
Exercise 6. Determine with reasons whether the following statements are true or false.
(a) Let 𝑓 : R3 → R3 be an endomorphism such that 𝑓 (1, 1, 1) = (2, 2, 2), 𝑓 (1, 2, 3) = (1, 2, 3), 𝑓 (0, 1, 1) = (0, 2, 2),
𝑓 (2, 4, 6) = (2, 4, 6), 𝑓 (1, 2, 2) = (2, 4, 4). Then the eigenvalues of 𝑓 are 𝜆1 = 1 with algebraic multiplicity 𝑚 1 = 2
and 𝜆2 = 2 with algebraic multiplicity 𝑚 2 = 3.
⟨ Answer: False ⟩
(b) Let 𝑓 : R3 → R3 be an endomorphism such that 𝑓 (1, 1, 1) = (2, 2, 2), 𝑓 (1, 2, 3) = (1, 2, 3), 𝑓 (0, 1, 1) = (0, 2, 2),
𝑓 (2, 4, 6) = (2, 4, 6), 𝑓 (1, 2, 2) = (2, 4, 4). Then the geometric multiplicities of the associated eigenvalues are
dim 𝑆 (1) = 1 and dim 𝑆 (2) = 2.
⟨ Answer: True ⟩
(d) Let R3 be equipped with the usual inner product, C = {® 𝑒 1, 𝑒®2, 𝑒®3 } be the standard basis of R3 and 𝑇 : R3 → R3 be
the endomorphism defined by 𝑇 (®𝑒 1 ) = 𝑒®1 , 𝑇 (®
𝑒 2 ) = 2®
𝑒 2 , 𝑇 (®𝑒 3 ) = 𝑒®2 + 3® 𝑒 3 . Then there exists an orthogonal basis for
R3 whose elements are eigenvectors of 𝑇 .
⟨ Answer: False ⟩
35
Linear Algebra YEAR: 2022-2023
Exams compilation EXAM: Test 2
Dept. of Mathematics
Prove that 𝑓 is diagonalizable and find a basis for R3 w.r.t. which the matrix of 𝑓 is diagonal and find such a matrix.
100
⟨ Answer: B = {(1, 2, 1), (0, 0, 1), (1, 1, 0)}, 𝑀 B (𝑓 ) = 0 2 0 ⟩
002
(a) Find the Gram matrix associated with the inner product with respect to the standard basis.
2 −1 0 0
⟨ Answer: 𝐺 = −10 10 01 00 ⟩
0 001
(c.2) Enlarge a basis for 𝑉 to a basis for M2 (R) so that the resulting basis is orthogonal.
0 1 0 0 1 1 1 1
⟨ Answer: B = 0 0 , 1 0 , 0 −1 , 0 1 ⟩
Exercise 9.
(a) Let (𝑉 , ) be a real Euclidean space and 𝑇 : 𝑉 → 𝑉 be a one-to-one linear map. Consider the mapping
∗ : 𝑉 × 𝑉 → R defined by
𝑢® ∗ 𝑣® = 𝑇 (𝑢)
® 𝑇 (®
𝑣 ), ® 𝑣® ∈ 𝑉 .
𝑢,
(b) Let 𝑉 = R3 , ‘ ’ be the usual inner product and 𝑇 : R3 → R3 be the linear map defined by
(b.1) Find the Gram matrix of the inner product ‘∗’ with respect to the standard basis.
18 9 9
⟨ Answer: 9 18 9 ⟩
9 9 18
(b.2) Show that 𝑇 a symmetric operator with respect to the inner product defined in 𝐸. Find an orthogonal basis
B for 𝐸 made up of eigenvectors of 𝑇 . If B orthogonal for (𝑉 , ) too? Give reasons.
⟨ Answer: B = {(1, 1, 1), (1, 0, −1), (1, −2, 1)}. B is also orthogonal with respect to the inner product ‘∗’ ⟩
36
Linear Algebra YEAR: 2022-2023
Exams compilation EXAM: July
Dept. of Mathematics
Exercise 1. Determine with reasons whether the following statements are true or false.
√
(a) The complex number 𝑤 = 1 − 3𝑖 is a 30th root of 𝑧 = 230 .
⟨ Answer: True ⟩
(b) Any linear system of equations whose coefficient matrix is of order 4 × 3 has either no solution or infinitely
many solutions.
⟨ Answer: False ⟩
(c) The set 𝑈 = {𝑝 (𝑥) ∈ R2 [𝑥] ⧸ 𝑝 ′ (0) = 0} is a vector subspace of R2 [𝑥] of dimension 2.
⟨ Answer: True ⟩
Exercise 2. Classify the following system of linear equations as a function of 𝑎, 𝑏 ∈ R and solve it whenever
possible:
𝑥+ 2𝑦 + (𝑎 + 3)𝑧 = 𝑎 2 + 1
−𝑥 + (𝑏 − 2)𝑦 − 2𝑧 = 𝑎 − 1
𝑥+ 2𝑦 + 3𝑧 = 1
⟨ Answer: 𝑎 ≠ 0, 𝑏 ≠ 0, a unique solution (1 − 3𝑎, 0, 𝑎); 𝑎 = 0, infinitely many solutions depending on one free variable,
𝑆 = {1 + (2 − 3𝑏)𝜆, −𝜆, 𝑏𝜆), 𝜆 ∈ R}; 𝑎 ≠ 0, 𝑏 = 0, infinitely many solutions depending on one free variable, 𝑆 = {(1 − 3𝑎 − 2𝜆, 𝜆, 𝑎)} ⟩
𝑊2 = (𝑥, 𝑦, 𝑧, 𝑡) ∈ R4 ⧸ 𝑥 = 0, 𝑦 = 2𝛼 − 𝛽, 𝑧 = 𝛼, 𝑡 = 𝛽 with 𝛼, 𝛽 ∈ R ,
Exercise 4. Let B = {® 𝑒 1, 𝑒®2, 𝑒®3 } be a basis for R3 , C = {® 𝑢 1, 𝑢®2, 𝑢®3, 𝑢®4 } be a basis for R4 and 𝑓 : R3 → R4 be the linear
map defined by 𝑓 (®
𝑒 1 ) = 𝑢®1 + 𝑢®4 , 𝑓 (®𝑒 2 ) = 𝑢®2 − 𝑢®4 , 𝑓 (®
𝑒 3 ) = 𝑢®1 + 𝑢®2 .
(a) Find the matrix of 𝑓 with respect to the bases B and C and find the analytical expression of 𝑓 (𝑥),
® where
𝑥® = (𝑥 1, 𝑥 2, 𝑥 3 ) B .
1 0 1
⟨ Answer: 𝑀 B C (𝑓 ) = 00 10 10 ; 𝑓 (𝑥 1, 𝑥 2, 𝑥 3 ) B = (𝑥 1 + 𝑥 3, 𝑥 2 + 𝑥 3, 0, 𝑥 1 − 𝑥 2 ) C ⟩
1 −1 0
𝑣 1, 𝑣®2, 𝑣®3 } be a basis for R3 such that 𝑣®1 = (−1, 2, 1) B , 𝑣®2 = (1, 0, 1) B , 𝑣®3 = (3, 1, 0) B . Find the matrix of
(c) Let B1 = {®
𝑓 with respect to the basis B1 for R3 and the basis C for R4 .
0 2 3
⟨ Answer: 311 ⟩
000
−3 1 2
37
Linear Algebra YEAR: 2022-2023
Exams compilation EXAM: July
Dept. of Mathematics
Exercise 5. Determine with reasons whether the following statements are true or false.
(a) Let 𝑇 : 𝑉 → 𝑉 be an endomorphism such that 𝑣®1 and 𝑣®2 are eigenvectors corresponding to the eigenvalue 𝜆 = 3.
Then 2®𝑣 1 + 𝑣®2 is an eigenvector of 𝑇 corresponding to the eigenvalue 𝜆 ′ = 9.
⟨ Answer: False ⟩
(b) Let R𝑛 be endowed with an inner product and let 𝑇 : R𝑛 → R𝑛 be an endomorphism whose matrix with respect
to the standard basis is symmetric. Then 𝑇 is a symmetric operator.
⟨ Answer: False ⟩
(c) Let 𝐸 = (R3, ·) be a Euclidean space and let 𝑆 = {® 𝑣 1, 𝑣®2, 𝑣®3 } be a linearly independent set of vectors of R3 such
that 𝑣®1 · 𝑣®2 = 𝑣®2 · 𝑣®3 = 0. Then 𝑆 is an orthogonal basis for 𝐸.
⟨ Answer: False ⟩
Exercise 6. Find a fundamental set of real valued solutions of the following system of ordinary differential equations:
Exercise 7. Let R3 be endowed with an inner product with respect to which the basis
𝑇 (®
𝑒 1 ) = 𝑒®1, 𝑒 2 ) = 2®
𝑇 (® 𝑒 2, 𝑒 3 ) = 3®
𝑇 (® 𝑒3 .
(a) Find the matrix of the inner product with respect to the standard basis.
2 0 −1
⟨ Answer: 01 0 ⟩
−1 0 1
(b) Find the orthogonal projection of 𝑤® = (4, 5, 9) onto the vector subspaces ⟨®
𝑒 1, 𝑒®3 ⟩ and ⟨®
𝑒1 ⟩⊥ .
⟨ Answer: proj ⟨𝑒®1 ,®𝑒3 ⟩ (𝑤)
® = 5®
𝑒 1 + 4®
𝑒 3 = (4, 5, 4); proj ⟨𝑒®1 ⟩ ⊥ (𝑤)
® = 5®
𝑒 2 + 4®
𝑒 3 = (4, 0, 9) ⟩
38