Linear Algebra (Matrices) : Check 3 1 1 2 2 1 1 3 5 0 0 5 1 0 0 1
Linear Algebra (Matrices) : Check 3 1 1 2 2 1 1 3 5 0 0 5 1 0 0 1
This weeks problem set contains no new material. Instead it consists of a few past exam questions to test
your understanding and help you prepare for the exam in the new year.
Exam 2012 Question 6 - Eigenvalues
det(B ) = −10 + 6 = −4
2 − λ −3
charactenstic equation p(λ ) = =0
2 −5 − λ
(2 − λ )(−5 − λ ) + 6 <0
−10 + 3λ + λ 2 + 6 =0
λ 2 + 3λ − 4 =0
(λ + 4)(λ − 1) =0
Eigenvalues are λ1 = 1, λ2 = −4.
3
(iii) Show that x1 = is an eigenvector of the matrix B with eigenvalue λ1 .
1
2 −3 3 3
B x1 = = = λ1 x1
2 −5 1 1
Indeed x1 is an eigenvector of B with eigenvalue λ1 = 1.
For λ2 = −4,
6 −3 x 0 1
= ⇒ 2x − y = 0 ⇒ y = 2x ⇒ x2 =
2 −1 y 0 2
since B xi = λi xi
−1
and B B xi = B −1 (λi xi ) = λi B −1 (xi )
1
⇒ B−1 x1 = xi
λ
Hence, the eigenvalues of B−1 are λ = 1, − 41
1. (i) Explain the difference between linear dependence and independence of a set of n vectors v1 , v2 , ..., vn
in Rn . How is the determinant of this set of vectors related to their being linearly dependent or
independent?
For a linearly dependent set of vectors any one vector can be written as a superposition of all
others, e.g. v1 = c11 (c2 v2 + c3 v3 + . . .). Linearly dependent vectors cannot.
A linearly dependent set will have the determinant of the matrix formed of the column vectors
equal to zero.
Ai xi + A2 x2 . . . An xn = b,
in which A1 x1 is the i th column of A (i = 1, 2, ..., n) and xi is the i th entry of the column vector x
(i = 1, 2, ..., n).
(a) Referring to your answer in (i), under what conditions on the Ai is there a unique solution to
this equation?
There is a unique solution if det(A ) ̸= 0 and b ̸= 0 or in other words if the Ai are linearly
independent.
(b) Suppose b = 0. Again referring to your answer in (i), under what conditions on the Ai are
there non-trivial solutions to A x = 0?
In this case, det(A ) = 0 or the only solution is the trivial one with all xi = 0.
(c) Suppose that the Ai are linearly dependent. What determines the nature of the solutions to
A x = b?
The nature of the solutions depends on the level of dependence. The solutions will span a Rn
subspace where n is the number of independent vectors. If there is two, all solutions lie on a
plane, if only one on a line etc.
(iii) Consider the following system of 3 equations in 3 unknowns:
x − z = b1 ,
y + z = b2 ,
x + y = b3 .
(a) Use Gaussian elimination to determine the conditions on b1 , b2 , and b3 that yield (i) no
solution and (ii) an infinity of solutions of this system.
By Gaussian elimination:
1 0 −1 b1 1 0 −1 b1 1 0 −1 b1
0 1 1 b2 → 0 1 1 b2 → 0 1 1 b2
1 1 0 b3 0 1 1 b3 − b1 0 0 0 b3 − b1 − b2
These equations are only consistent if b3 − b1 − b2 = 0 in which case there is an infinity of
solutions.
Otherwise there are no solutions.
(b) Determine an expression for the solutions when there is an infinity of solutions to this system.
For the case the equations are consistent, then we can = λ .
set z
x b1 1
x − z = b1 x = b1 + λ y = b2 + λ −1
Reading the rows:
y + z = b2 y = b2 − λ
z 0 1
(iii) From the sign of the dot product a · b, what can you conclude about the angle θ (0 ≤ θ ≤ π)
between the two vectors a and b?
(v) Calculate the area of the parallelogram spanned by the two vectors a and c.
î ĵ k̂ î ĵ k̂ î ĵ k̂
|a × c| = 1 −2 −3 = 1 −2 −3 = 1 0 7 = 7 î + 5 ĵ − k̂
−3 5 4 0 −1 −5 0 −1 −5
√ √ √
and |A| = |a × c| = 49 + 25 + 1 = 75 = 5 3
x − 2y − 3z = 2, (1a)
x − 4y − 13z = 14, (1b)
−3x + 5y + 4z = 0. (1c)
(vi) Let A denote the matrix of coefficients for this system of three linear equations in three unknowns.
Calculate det(A ), the determinant of A .
1 −2 −3 1 0 0
22
det(A) = 1 −4 −13 = 1 −2 −10 =5 =0
11
−3 5 4 −3 −1 −5
(vii) Does the system of linear equations (1a), (1b) and (1c) have a unique solution?
No, the equations do not have a unique solution.
(viii) Using Gaussian elimination or otherwise, show that the solution r = (x, y, z) to equations (1a), (1b)
and (1c) can be written in the form
r = r0 + µd, µ ∈R
1. (a) A particle starts at position r0 = (0, 1, 0) with a velocity v = (2, 1, 3). It collides with a wall whose
position is given by the equation x + y + z = 4.
You may assume throughout this question that all physical quantities are given in dimensionless
units, and there are no external forces acting on the particle.
i) Give an expression for the trajectory of the particle before the collision.
We have, r = r0 + vt
0 2
r = 1 + 1 t
0 3
ii) Find the position at which the particle strikes the wall.
iii) Find the velocity of the particle after the collision with the wall, assuming the collision is
elastic.
v⊥
After collision v|| is unchanged
v||
n̂ but v⊥ is ‘negated’
v||
v⊥ = vproj = ( n̂ · v) n̂
v⊥
1 1
1
n= 1
→ n̂ = 3 1
√
1 1
1 2 1 1 2
1
1 · 3 √1 1 = 1 {6} · 1 = 2
vproj = √
3 1 3 3
1 1 1 2
2 2 0
Then v|| = 1 − 2 = −1
3 2 1
−2
After collision, v⊥ ′ = −2
−2
−2 0 −2
and so vafter = v⊥ ′ + v|| = −2 + −1 = −3
−2 1 −1
(check - energy unchanged)
(NB this could also be found by finding the transformation matrix for the reflection from
x + y + z = 0 but finding the reflection matrix in this case is not trivial.)
(b) For the matrix,
1 1+a
A= ,
1+a 1
i) find the eigenvalues and eigenvectors of A .
1−λ 1+a
First to find eigenvalues λi . we want p(x) = =0
1+a 1−λ
λ 2 − 2λ + 1 − 12 + 2a + a2 = 0
→
→ λ 2 − 2λ − 2a√− a2 = 0
→ λ = 21 (+2
√ ± 4 + 8a + 4a )
2
p
= 1 ± a2 + 2a + 1 = 1 ± (1 + a)2 = 1 ± (1 + a)
→ λ = −a, 2 + a
for λ = −a,
1+a 1+a x
⇒ =0
1+a 1+a y
1
⇒ x+y = 0 → y = −x → v1 =
−1
for λ = 2 + a,
−(1 + a) 1 + a x
⇒ =0
1 + a −(1 + a) y
1
⇒ x−y = 0 → y=x → v2 =
1
ii) Hence, find A 10 .
We have A 10 = S Λ10 S −1
where S is the matrix of eigenvectors and Λ is the diagonal matrix of the eigenvalues.
So matrixof eigenvectors,
1 1 −1 1 1 −1
S= and S = 2
−1 1 1 1
check,
1
− 12
1 1 1 0 1 1 1 0 1 1 1 0 1 0 2
→ → →
−1 1 0 1 0 2 1 1 0 1 12 12 0 1 1
2
1
2
−a 0
and Λ=
0 2+a
and A 10 = S Λ10 S −1
10
1 11 −a 0 1 −1
=
2 −1 1 0 2+a 1 1
10
1 11 a 0 1 −1
=
2 −1 1 0 (2 + a)10 1 1
10 10
1 1 1 a −a
=
2 −1 1 (2 + a)10 (2 + a)10
1 (2 + a)10 + a10 (2 + a)10 − a10
=
2 (2 + a)10 − a10 (2 + a)10 + a10