A1a Vectors and Matrices: Example Sheet 1 Michaelmas 2014: Copies Available at HTTP://WWW - Damtp.cam - Ac.uk/user/examples
A1a Vectors and Matrices: Example Sheet 1 Michaelmas 2014: Copies Available at HTTP://WWW - Damtp.cam - Ac.uk/user/examples
uk/user/examples/
A ∗ denotes a question, or part of a question, that should not be done at the expense of questions on later sheets.
Starred questions are not necessarily harder than unstarred questions.
Corrections and suggestions should be emailed to [email protected].
1. Let S be the interior of the circle |z − 1 − i| = 1. Show, by using suitable inequalities for |z1 ± z2 |,
that if z ∈ S then √ √
5 − 1 < |z − 3| < 5 + 1.
Obtain the same result geometrically by considering the line containing the centre of the circle and
the point 3.
2. Given |z| = 1 and arg z = θ, find both algebraically and geometrically the modulus-argument forms
of
Copyright © 2014 University of Cambridge. Not to be quoted or reproduced without permission.
(i) 1 + z, (ii) 1 − z .
Show that the locus of w as z varies with |z| = 1, where w is given by
µ ¶
1−z
w2 = ,
1+z
is a pair of straight lines.
3. Use complex numbers to show that the medians of a triangle are concurrent.
Hint: represent the vertices of the triangle by complex numbers z1 , z2 and z3 (or 0, z1 and z2 if you
prefer), then write down equations for two of the medians and find their intersection.
∗4. Express
z5 − 1
I=
z−1
as a polynomial in z. By considering the complex fifth root of unity ω, obtain the four factors of I
linear in z. Hence write I as the product of two real quadratic factors. By considering the term in z 2
in the identity so obtained for I, show that
π π
4 cos sin =1.
5 10
is a circle passing through A and B with its centre on the perpendicular bisector of AB.
Show that the circles Cλ and Sµ are orthogonal for all λ, µ.
7. Show by vector methods that the altitudes of a triangle are concurrent.
Hint: let the altitudes AD, BE of △ABC meet at H, and show that CH is perpendicular to AB.
8. Given that vectors x and y satisfy
x + y(x · y) = a ,
for fixed vector a, show that
|a|2 − |x|2
(x · y)2 = .
2 + |y|2
p + q + r = 0.
10. (a) Using the identity a × (b × c) = (a · c)b − (a · b)c, deduce that
(i) (a × b) · (c × d) = (a · c)(b · d) − (a · d)(b · c),
(ii) a × (b × c) + b × (c × a) + c × (a × b) = 0.
Relate the case c = a, d = b of (i) to a well-known trigonometric identity.
Evaluate (a × b) × (c × d) in two distinct ways and use the result to display explicitly a linear
dependence relation amongst the four vectors a, b, c and d.
(b) Given [a, b, c] ≡ a · (b × c), show that
[a × b, b × c, c × a] = [a, b, c]2 .
∗11. For φ, θ ∈ R, let the vectors er , eθ and eφ in R3 be defined in terms of the Cartesian basis (i, j, k) by
er = cos φ sin θ i + sin φ sin θ j + cos θ k ,
eθ = cos φ cos θ i + sin φ cos θ j − sin θ k ,
eφ = − sin φ i + cos φ j .
Show that (er , eθ , eφ ) constitute an orthonormal right-handed basis. Discuss the significance of this
[local] basis.
12. The set X contains the six real vectors
(1, 1, 0, 0), (1, 0, 1, 0), (1, 0, 0, 1), (0, 1, 1, 0), (0, 1, 0, 1), (0, 0, 1, 1).
Find two different subsets Y of X whose members are linearly independent, each of which yields a
linearly dependent subset of X whenever any element x ∈ X with x ∈
/ Y is adjoined to Y .
13. Let V be the set of all vectors x = (x1 , . . . , xn ) in Rn (n > 4) such that their components satisfy
xi + xi+1 + xi+2 + xi+3 = 0 for i = 1, 2, . . . , n − 3 .
Find a basis for V .
14. Let x and y be non-zero vectors in Rn with scalar product denoted by x · y. Prove that
(x · y)2 6 (x · x)(y · y) ,
and prove also that (x · y)2 = (x · x)(y · y) if and only if x = λy for some scalar λ.
(a) By considering suitable vectors in R3 , or otherwise, prove that the inequality
x2 + y 2 + z 2 > yz + zx + xy
holds for any real numbers x, y and z.
(b) By considering suitable vectors in R4 , or otherwise, show that only one choice of real numbers x,
y and z satisfies
3(x2 + y 2 + z 2 + 4) − 2(yz + zx + xy) − 4(x + y + z) = 0 ,
and find these numbers.
1. In the following, the indices i, j, k, l take the values 1, 2, 3, and the summation convention applies. In
particular, ni ni = 1; i.e., ni are the components of a unit vector n.
(b) Given that Aij = εijk ak (for all i, j), show that 2ak = εkij Aij (for all k).
(c) Show that εijk sij = 0 (for all k) if and only if sij = sji (for all i, j).
(d) Given that Nij = δij − εijk nk + ni nj and Mij = δij + εijk nk , show that Nij Mjk = 2δik .
Copyright © 2014 University of Cambridge. Not to be quoted or reproduced without permission.
2. Let a, b, c and d be fixed vectors in R3 . In each of cases (i) and (ii) find all vectors r such that
(i) r + r × d = c , (ii) r + (r · a) b = c .
In (ii) consider separately the a · b 6= −1 and a · b = −1 subcases.
Hint: given r0 solving (ii) for a·b = −1, show that r0 +λb is another solution for an arbitrary scalar λ.
3. In R3 show that the straight line through the points a and b has equation
r = (1 − λ)a + λb,
and that the plane through the points a, b and c has the equation
r = (1 − µ − ν)a + µb + νc,
where λ, µ and ν are scalars. Obtain forms of these equations that do not involve λ, µ, ν.
4. (a) Let λ be a scalar, and let m, u and a be fixed vectors in R3 such that m · u = 0 and a · u 6= 0.
Show that the straight line r × u = m meets the plane r · a = λ in the point
a × m + λu
r = .
a·u
Explain in detail the geometrical meaning of the condition a · u 6= 0.
(b) In R3 show that if r lies in the planes r · a = λ and r · b = µ, for fixed non-zero vectors a and b,
and scalars λ and µ, show that
r × (a × b) = µa − λb . (∗)
Conversely, given a × b 6= 0, show that (∗) implies both r · a = λ and r · b = µ. Hence deduce that
the intersection of two non-parallel planes is a line. Comment on the case in which a × b = 0.
5. Let n be a unit vector in R3 . Identify the image and kernel (null space) of each of the following linear
maps R3 → R3 :
(a) T : x 7→ x′ = x − (x · n) n , (b) Q : x 7→ x′ = n × x .
Show that T 2 = T and interpret the map T geometrically. Interpret the maps Q2 and Q3 + Q, and
show that Q4 = T .
6. Give a geometrical description of the images and kernels of each of the linear maps of R3
(a) (x, y, z) 7→ (x + 2y + z, x + 2y + z, 2x + 4y + 2z),
(b) (x, y, z) 7→ (x + 2y + 3z, x − y + z, x + 5y + 5z).
7. A linear map A : R4 → R4 is defined by x 7→ Ax where
a a b a
a a b 0
A = a b a b .
a b a 0
Find the kernel and image of A for all real values of a and b.
A ∗ denotes a question, or part of a question, that should not be done at the expense of questions on later sheets.
Starred questions are not necessarily harder than unstarred questions.
Corrections and suggestions should be emailed to [email protected].
[Recall that the value of the determinant is unchanged if a linear combination of any two rows is
added to the third row.]
2. Show that ¯ ¯
¯x y z ¯
¯ ¯
¯ z x y ¯ = x3 + y 3 + z 3 − 3xyz ≡ ∆.
¯ ¯
¯ y z x¯
x + y + z, x + ωy + ω 2 z, x + ω 2 y + ωz
are factors of ∆, where ω is a complex cube root of unity. Show, by considering the coefficients of
x3 , that ∆ is equal to the product of the three indicated factors.
4. Let D be the n × n matrix which has the entry p, p 6= 1, at each place on the main diagonal and
unity in every other position. Show that det D = (p + n − 1)(p − 1)n−1 .
Verify the identity aij ∆ik = δjk det A, and hence construct the matrix A−1 .
Use your result to solve the equations
x+y+z = 1,
x + 2y + 3z = −5 ,
3x − 2y + 2z = 4.
Verify that your answers for (x, y, z) do indeed satisfy the equations.
6. For each real value of t, determine whether or not there exist solutions to the simultaneous equations
x+y+z = t
tx + 2z = 3
3x + ty + 5z = 7,
exhibiting the most general form of such solutions when they exist.
∗7. Let A be a real 3 × 3 matrix, and let d be a 3 component column vector. Explain briefly how the
general solution of the matrix equation Ax = d, where x is a 3 component column vector, depends
on the kernel and image of the linear map x 7→ Ax.
Consider the case
1 1 1 x 1
A = 1 a b , x = y , d = −1 .
1 a2 b2 z 1
Find the kernel and image of the corresponding map, noting the different possibilities according to
different values of a and b.
For which values of a and b do the equations Ax = d have (i) a unique solution, (ii) more than
one solution, (iii) no solution? For each pair (a, b) satisfying (ii), give the solutions as the sum of
a fixed solution and the general solution of the corresponding homogeneous equations.
8. Find the eigenvalues and eigenvectors of the matrix
Copyright © 2014 University of Cambridge. Not to be quoted or reproduced without permission.
1 α 0
A = β 1 0 ,
0 0 1
where neither of the complex constants α and β vanishes. Find the conditions for which (a) the
eigenvalues are real, and (b) the eigenvectors are orthogonal. Hence show that both conditions are
jointly satisfied if and only if A is Hermitian.
Recall both that the scalar product for two vectors u, v ∈ C3 is defined as
u · v = u∗1 v1 + u∗2 v2 + u∗3 v3 ,
where ∗
denotes a complex conjugate, and that u and v are said to be orthogonal if u · v = 0.
9. (a) Find a 3 × 3 real matrix with eigenvalues 1, i, −i. Hint: think geometrically.
(b) Construct a 3 × 3 non-zero real matrix which has all three eigenvalues zero.
10. (a) Let A be a square matrix such that Am = 0 for some integer m. Show that every eigenvalue of
A is zero.
(b) Let A be a real 2 × 2 matrix which has non-zero non-real eigenvalues. Show that the non-
diagonal elements of A are non-zero, but that the diagonal elements may be zero.
11. Let Q be a (2n + 1) × (2n + 1) orthogonal matrix (n ∈ N) with det Q = 1. Show that Q has a unit
eigenvalue. Give a geometric interpretation of your result for 3 × 3 matrices.
∗12. Suppose that A is an n × n square matrix and that A−1 exists. Show that if A has characteristic
equation a0 + a1 t + · · · + an tn = 0, then A−1 has characteristic equation
(−1)n det(A−1 )(an + an−1 t + · · · + a0 tn ) = 0.
Hints. Take n = 3 in this question if you wish, but treat the general case if you can. It should be
clear that λ is an eigenvalue of A if and only if 1/λ is an eigenvalue of A−1 , but this result says
more than this (about multiplicities of eigenvalues). You should use properties of the determinant
to solve this problem, for example, det(A) det(B) = det(AB). You should also state explicitly why
we do not need to worry about zero eigenvalues.
13. For each of the three matrices below,
(a) compute their eigenvalues (as often happens in exercises and seldom in real life each eigenvalue
is a small integer);
(b) for each real eigenvalue λ compute the dimension of the eigenspace {x ∈ R3 : Ax = λx};
(c) determine whether or not the matrix is diagonalizable as a map of R3 into itself.
5 −3 2 1 −3 4 7 −12 6
6 −4 4 , 4 −7 8 , 10 −19 10 .
4 −4 5 6 −7 7 12 −24 13
A ∗ denotes a question, or part of a question, that should not be done at the expense of questions later on the sheet.
Starred questions are not necessarily harder than unstarred questions.
Corrections and suggestions should be emailed to [email protected].
2. Let {e1 , . . . , em } and {f1 , . . . , fn } be bases for Rm and Rn respectively, and let A be a linear mapping
from Rm to Rn . Explain how to represent A by a matrix relative to the given bases.
where components are with respect to the standard bases for R2 and R3 , find the matrix of A with
respect to the bases
µ ¶ µ ¶ 1 0 0
1 −3
e1 = , e2 = ; f1 = 0 , f2 = 1 , f3 = 0 .
−1 2
0 0 1
(b) The mapping A of R3 to itself is a reflection in the plane x1 sin θ = x2 cos θ. Find the matrix A of
A with respect to any basis of your choice, which should be specified.
and interpret the map geometrically. Hence show that, for each positive integer n,
Bn − I = n(B − I) ,
µ ¶
1 0
where I = . Hence evaluate An . Verify that det(An ) = (det A)n .
0 1
∗4. Show that similar matrices have the same rank.
µ ¶
3 4
A= .
−1 −1
Find the characteristic equation for A. Verify that A2 = 2A − I. Is A diagonalisable ?
Show by induction that An lies in the two-dimensional subspace (of the space of 2 × 2 real matrices)
spanned by A and I, i.e. show that there exists real numbers αn and βn such that
An = αn A + βn I .
Find a recurrence relation (i.e. a difference equation) for αn and βn , and hence find an explicit
formula for An .
8. Determine the eigenvalues and eigenvectors of the symmetric matrix
3 1 1
A = 1 2 0 .
1 0 2
det(T + iS − I) 6= 0 .
x 7→ x′ = x + λ(b · x) a (∗)
where λ is a real scalar, a and b are fixed orthogonal unit vectors. Let S(λ, a, b) be the matrix with
elements Sij such that x′i = Sij xj . Give diagrams illustrating the shears
Now let S be the map defined by (∗) but from R3 to R3 , and let i, j, k be unit vectors along the three
perpendicular axes. Find the matrix S in each of the cases
and interpret the corresponding simple shears. Show that any matrix of the form
1 λ µ
0 1 ν
0 0 1
can be displayed (not necessarily uniquely) as the product of matrices of simple shears.
Copyright © 2014 University of Cambridge. Not to be quoted or reproduced without permission.
F = (a cos2 θ + b sin2 θ)x2 + 2(a − b)(sin θ cos θ)xy + (a sin2 θ + b cos2 θ)y 2 ,
λu2 + µv 2 + νw2 = 1.
Find λ, µ and ν and hence find the minimum distance between the origin and Σ. Hint: it is not
necessary to find the basis explicitly.
15. (i) Explain what is meant by saying that a 2 × 2 real matrix,
µ ¶
a b
A= ,
c d
(ii) Using a single real parameter together with a choice of sign (±1), give and justify a description of
all matrices, A, that preserve the scalar product with respect to the Euclidean metric. Show that
these matrices form a group.
(iii) Using a single real parameter together with a choice of sign (±1), give and justify a description of
all matrices, A with a > 0, that preserve the scalar product with respect to the Minkowski metric.
Show that these matrices form a group.
(iv) What is the intersection of the above two groups?
Revision Questions
16. Show that a rotation about the z axis through an angle θ corresponds to the matrix
cos θ − sin θ 0
R = sin θ cos θ 0 .
0 0 1
Write down a real eigenvector of R and give the corresponding eigenvalue. In the case of a matrix
corresponding to a general rotation, how can one find the axis of rotation?
A rotation through 45◦ about the x-axis is followed by a similar one about the z-axis. Show that the
rotation corresponding to their combined effect has its axis inclined at equal angles
1
cos−1 √ √
(5 − 2 2)
Copyright © 2014 University of Cambridge. Not to be quoted or reproduced without permission.
Verify that det Q = ±1. What is the effect of Q on vectors orthogonal to an eigenvector with eigen-
value ±1?
∗18. This is another way of proving det AB = det A det B. You may wish to stick to the case n = 3.
If 1 6 r, s 6 n, r 6= s and λ is real, let E(λ, r, s) be an n × n matrix with (i, j) entry δij + λδir δjs . If
1 6 r 6 n and µ is real, let F (µ, r) be an n × n matrix with (i, j) entry δij + (µ − 1)δir δjr .
(i) Give a simple geometric interpretation of the linear maps from Rn to Rn associated with E(λ, r, s)
and F(µ, r).
(ii) Give a simple account of the effect of pre-multiplying an n × m matrix by E(λ, r, s) and by F(µ, r).
What is the effect of post-multiplying an m × n matrix?
(iii) If A is an n × n matrix, find det(E(λ, r, s)A) and det(F(µ, r)A) in terms of det A.
(iv) Show that every n × n matrix is the product of matrices of the form E(λ, r, s) and F(µ, r) and a
diagonal matrix with entries 0 or 1.
(v) Use (iii) and (iv) to show that, if A and B are n × n matrices, then det A det B = det AB.
∗19. The object of this exercise is to show why finding eigenvalues of a large matrix is not just a matter of
finding a large fast computer.
Consider the n × n complex matrix A = {Aij } given by
Aj j+1 = 1 for 1 6 j 6 n − 1
An1 = κn
Aij = 0 otherwise,