
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























Definition:
A matrix is a rectangular array of numbers (aka entries or elements) in
parentheses, each entry being in a particular row and column.
def
a m 1
a mn
The element in row i and column j of a matrix is written as a ij
and called
the (i, j)
th entry of A.
a
a 13
23
a 33
a m 3
a
a 12
22
a 32
a m 2
( a ij
m n
Definition:
The order of a matrix is given as m n (read m by n), where m is the
number of rows and n the number of columns and is written as,
Matrices
Prerequisites: Adding, subtracting, multiplying and dividing numbers;
elementary row operations.
Maths Applications: Solving systems of equations; describing geometric
transformations; deriving addition formulae.
Real-World Applications: Balancing chemical equations; flight
stopover information; currents in electrical
circuits; formulation of fundamental physical
laws.
Basic Definitions
In this course, we will deal almost exclusively with matrices that have
orders 2 2 and 3 3.
m 1
a 11
21
a
Definition:
A row matrix is a 1 n matrix and is written as,
( a 11
a 12
a 1( n −1)
a 1 n
A column matrix is a m 1 matrix and is written as,
a m 2
a
a
a 12
22
a
Definition:
A square matrix (of order m m) is a matrix with the same number of
rows as columns (equal to m ) and is written as,
Definition:
The identity matrix (of order m) is the m m matrix all of whose
entries are 0 apart from those on the main diagonal, where they all equal
Special cases arise when either m = 1 or n = 1.
The case when m = n is a very important one.
Definition:
The main diagonal (aka leading diagonal) of any matrix is the set of
entries a ij
where i = j.
Example 1
Definition:
The scalar multiplication of A by k ( k R ) is obtained by multiplying
each entry of A by k ,
( ka ) ij
def
ka ij
Add the matrices A =
and B =
As the matrices have the same order, they can be added.
Example 2
Find the difference P − Q where P =
and
Example 3
Definition:
The matrix product of A and B , where A is of order m n and B is of
order n p is obtained by the following prescription,
( ab ) ij
def
∑
n
a b ik kj
k = 1
If A = 5 6 1 , calculate
1 A.
2
8 9 − 1
1 A =
1 5 6 1
2 2
8 9 − 1
5 3
1
2 2
9 −
1
2 2
Matrix Multiplication
Note that the number of columns of A must equal the number of rows of
B. To see how to use the horrible prescription, split up A into rows and B
into columns; then taking the ‘ scalar product ’ of the i
th row of A with
the j
th column of B gives the ( i , j )
th entry of AB.
Definition:
When forming AB , B is pre-multiplied by A and A is post-multiplied by
Definition:
The transpose of A (with the order of A being m n ), denoted by A
T
(sometimes A′ ), is the n m matrix obtained by interchanging the rows
and columns of A ,
(a
T ) ij
def
a ji
Definition:
A (square) matrix A can be multiplied by itself any number of times,
giving the n
th power of A ,
n
def
n times
Example 6
Find the transpose of P =
T = − 7 9
Basic Properties of Matrices
T = A
T
T
T )
T = A
T = kA
T
T = B
T A
T
m A
n = (^) A
m + n = A
n A
m
There are 3 important properties that are worth singling out separately.
Thus, the identity and zero matrices behave like the numbers 1 and 0
respectively in ordinary arithmetic and algebra.
Example 7
For the matrix A =
, show that A
2
= pA + qI 2
, stating the
values of the integers p and q. Hence write A
3
stating the values of g and h.
in the form gA + hI 2
Example 8
Show that ( kABC )
T = k C
T B
T A
T .
( kABC )
T = k ( ABC )
T
= k (( AB ) C )
T
= k C
T ( AB )
T
= k C
T ( B
T A
T )
= k C
T B
T A
T
Make sure you can justify each equality in Example 8.
One matrix property that has no counterpart in ordinary arithmetic and
algebra is the fact that the product of 2 matrices can be zero without
either of the matrices being the zero matrix.
Example 9
Calculate AB for the matrices A =
and B =
Definition:
A matrix A is symmetric if,
T = A
Definition:
A matrix A is skew-symmetric (aka anti-symmetric) if,
T = − A
Special Types of Matrices
Symmetric and Skew-Symmetric Matrices
Note that a symmetric matrix must be square.
Example 10
Show that the matrix A = − 2 0 17
is symmetric.
T
T = (^) − 2 0 17
Interchanging the rows and columns of A gives,
T = (^) − 2 0 17
T = A
Hence, as A
T = A , A is symmetric.
2
Hence, as R
T R equals the identity matrix, R is orthogonal.
Determinants
The solution to the 1 × 1 system,
ax = b
is,
assuming a ≠ 0.
x =
b
a
The solution to the 2 × 2 system of equations,
ax + by = e
cx + dy = f
is,
x =
de − bf
ad − bc
y =
af − ce
ad − bc
assuming ad − bc ≠ 0.
The solution to the 3 × 3 system of equations,
ax + by
dx + ey
gx + hy
cz = j
fz = k
iz = l
is (this takes a lot more effort),
Definition:
A permutation, denoted by σ , of an ordered set of numbers (1, 2, 3,
n ) is a rearrangement of those numbers.
An even permutation is one where the rearrangement involves an even
number of consecutive switches starting from the original numbers.
An odd permutation is one where the rearrangement involves an odd
number of consecutive switches starting from the original numbers.
Definition:
The sign of a permutation σ , denoted by sign σ , is defined to be + 1
for an even permutation and − 1 for an odd permutation.
x =
j ( ei − fh ) − k ( bi − ch ) + l ( bf − ce )
a ( ei − fh ) − b ( di − fg ) + c ( dh − eg )
y =
j ( fg − di ) − k ( cg − ai ) + l ( cd − af )
a ( ei − fh ) − b ( di − fg ) + c ( dh − eg )
z =
j ( dh − ge ) − k ( ah − bg ) + l ( ae − bd )
a ( ei − fh ) − b ( di − fg ) + c ( dh − eg )
assuming a ( ei — fh ) — b ( di — fg ) + c ( dh — eg ) ≠ 0.
In each of these solutions, we require the denominators to be non-zero.
The denominators that arise in the solutions have a pattern (not
necessarily that obvious !) and a special name. We first need some
definitions.
Example 13
For the case n = 3, the permutation (1, 2, 3)
σ → (2, 1, 3) is odd, as
the result of σ involves only 1 switch (1 ↔ 2) between consecutive
numbers of (1, 2, 3). The sign of this permutation is − 1.
Theorem:
The determinant of a 1 1 matrix is,
A ( a ) = a
Theorem:
The determinant of a 2 2 matrix is,
ad − bc
e + c
h
Theorem:
The determinant of a 3 3 matrix is,
The Laplace expansion formula expresses the determinant of a matrix in
terms of smaller determinants. For satisfaction and reassurance, the
following theorems should be proven using the Laplace expansion formula.
Notice that these are precisely the expressions for the denominators for
the systems at the start of this section.
Theorem:
The determinant of an n n matrix is given by the Laplace expansion
formula,
det ( A ) = ∑
a ij
ij
n
( i = 1, 2, 3, , n )
Example 15
Calculate the determinant of the matrix B =
det ( B ) =
Example 16
Calculate the determinant of the matrix F = 6 0 − 1.
det ( F ) = 6 0 − 1
Example 17
Solve the equation
= 21 for x.
3 x 5
3 x 5
10 + 12 x = 21
Theorem:
The inverse of a matrix A is given by,
− 1
adj ( A )
det ( A )
Theorem:
A matrix is invertible iff det ( A ) 0.
This theorem implies that a matrix is non-invertible iff det ( A ) = 0.
Example 18
Show that A = (^) − 2 0 17
is invertible.
det ( A ) = (^) − 2 0 17
Definition:
The cofactor matrix of a square matrix A is the matrix C whose ( i , j )
th
entry is C ij
Definition:
The adjugate (aka classical adjoint) of a square matrix A is the
transpose of the cofactor matrix C ,
adj ( A ) =
def
T
2
Hence, as det ( A ) 0, A is invertible.
Example 19
Determine the values of k for which the matrix
k − 2
is singular.
− 2 k + 5
For singularity, we require the determinant of the given matrix to be 0.
k − 2
= 0
− 2 k + 5
k ( k + 5) − ( −2). ( −2) = 0
k
2
( k + 1) ( k + 4) = 0
Hence, the given matrix is singular when k = − 1 and k = −4.
Example 20
If the matrix A satisfies the equation A
2 = 18 A − 27 I 2
, show
(without explicitly calculating A
− 1 ) that A
− 1 = DA + EI , stating the
2
values of D and E.
2 = 18 A − 27 I 2
Multiplying (doesn’t matter whether post or pre, as the only matrices
involved are A and I ) this equation throughout by A
− 1 gives,
− 1 A
2 = A
− 1 (18 A − 27 I )
2
Performing the multiplications and simplifying gives,
2
− 1