Tutorial_2_Matrices

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

UNIVERSITY OF DAR ES SALAAM

PH 201/204

Tutorial Sheet 2

1. Simple introduction to some properties of matrices. Evaluate/show the following:


a) If ! !
1 2 3 −1 5 −2
A= and B = ,
−1 0 2 2 2 −1
find A + B and 2A − 3B.
b) In general, matrices are non-commutative (AB 6= BA). Demonstrate this for
! !
1 2 2 0
A= , B= .
3 −1 1 1

c) However, show that a matrix of the form


!
a −b
A=
b a

does have a commutative product.


d) Matric multiplication is associative, i.e. (AB)C = A(BC). Show this for
 
! 1 1 !
2 1 −1 1
A= ,B =  2 0 ,C = .
 
3 1 2 3
3 −1

e) If A is the matrix  
1 1 1
A= 0 1 1 
 
0 0 1
calculate A2 and A3 .
f) If A, B are square n × n matrices, then the traces of the products are given by
Tr{AB} =Tr{BA}. Show this for
   
1 −1 1 3 1 2
A= 2 4 1 , B =  1 1 0 .
   
3 0 1 −1 2 1

g) If A, B are arbitrary m × n matrices, show that (A + B)T = AT + B T , where T


represents the transpose.

1
2. Find the inverse of A.B with
! !
−3 −5 5 3
A= , B= .
5 9 3 2

3. Find the two-dimensional matrix A which has the properties:


! !
1 1
A =
0 1
and ! !
−1 1 1
A = .
2 −1

4. For which values of α is the matrix


 
1 −3 2
A =  −α −1 2 
 
3 α −4

not invertible (i.e. the inverse doesn’t exist)?

5. Find a general 2 × 2 matrix A such that


!
2 −1 0
A = −I = .
0 −1

What are the possible sets of elements of A if the matrix is (i) diagonal and (ii) anti-
diagonal?

6. Let A be a square matrix


a) If A2 = 0 show that I − A is invertible.
b) If A3 = 0 show that I − A is invertible.
c) If An = 0 for some positive integer n, show that I − A is invertible.
d) If A2 + 2A + I = 0, show that A is invertible.

7. Calculate the determinants of the matrices


   √
√ √ 
0 −i i 3 − 2 − 3
1  √
(a) A =  i 0 −i  , (b) B = √  1 6 −1  .
  
8
−i i 0 2 0 2

Are the matrices (i) real, (ii) diagonal, (iii) symmetric, (iv) antisymmetric, (v) singular,
(vi) orthogonal, (vii) Hermitian, (viii) anti-Hermitian, (ix) unitary, (x) normal?

2
8. A vector y is related to vector x by the equation

y = Kx

where K is a matrix.
 For the case when
 x and
 y are 
both3−dimensional
 vectors,
 it
1 1 0 0
is found that y =  0  when x =  2 , y =  1  when x =  1 , and
       
0 −2 0 3
   
0 1
y =  0  when x =  −2 .
   
1 −5
Write down the inverse matrix K −1 and then calculate the matrix K.

9. A is a non-singular 3×3 matrix and B = 2A−1 . Calculate Tr{AB} and det(A)det(B).

10. Demonstrate that the determinant of a 3 × 3 matrix does not change if one of
the matrix rows is multiplied by a constant k and added to another row so that the
new matrix has two rows unchanged and one row replaced with the new elements. This
property is important in the solution of systems of linear equations.

11. Prove the following results involving Hermitian matrices:


a) If A is Hermitian and U is unitary then U −1 AU is Hermitian.
b) If A is anti-Hermitian then iA is Hermitian.
c) The product of two Hermitian matrices A and B is Hermitian if and only if A and
B commute.
! !
x x0
12. The points A = and A0 = are related by the equation
y y0

A0 = RA
!
cos θ sin θ
where R is the (2 × 2) matrix, R = . By expressing x2 + y 2 and
− sin θ cos θ
x02 + y 02 in terms of A and A0 respectively show that x2 + y 2 = x02 + y 02 and hence find
the inverse, R−1 , of R.

13. A linear homogeneous transformation that moves a point r = (x, y, z) to a new


point r0 = (x0 , y 0 , z 0 ) can be represented by a matrix M such that M r = r0 . Determine
the 3 × 3 matrices for the following situations:
(a) A counter-clockwise rotation by an angle α about the z-axis.
(b) A counter-clockwise rotation by an angle β about the x-axis.
(c) Counter-clockwise rotations, first by an angle β about the x-axis and then by an
angle α about the z-axis.
For the special case of part (c) where α = β = π/2, determine the unit vector v such
that the effect of the transformation represented by matrix M is to leave v unaltered.

You might also like