Professional Documents
Culture Documents
INTRODUCTION TO MATRICES
R f
Reference : Croft
C ft & Davison,
D i Ch
Chapter
t 1212, Bl
Blocks
k 11,2
2
A matrix
t i is
i a rectangular
t l array or bl
block
k off numbers
b usually
ll
enclosed in brackets.
where aij represents the number or element in the ith row and
jth column.
An identity matrix,
matrix denoted by I,
I is a square matrix with
ones on the main diagonal and zeros elsewhere.
1 0 0
I 0 1 0
0 0 1
The transpose of A is obtained by writing rows as columns
and
d columns
l as rows, andd iis d t d AT.
denoted
Matrix Algebra Page 3
Equality of Matrices
If A = (aij) and B = (bij), A = B if and only if aij= bij.
find A + B, B + C and B - C.
3 5 7 6 10 11
B + C = 2 1 3 9 5 8
4 2 1 5 5 7
B–C=
-A =
BC
A
mn pq mq
n p
AB=
Determinant
D t i t
All square matrices, A, possess a determinant denoted by :
d t(A) |A|.
det(A), |A|
Determinant of a 2 x 2 matrix
a b a b
If A , then det(A) = |A| = = ad - bc
c d c d
The minor of aij is the determinant formed by crossing out the ith
row and jth column of det(A).
Note that the term (-1)i+j is called the place sign of the element
on the ith row and jth column.
column The following may help you to
memorize this.
Matrix Algebra Page 11
Determinant of a 3 x 3 Matrix
a11 a12 a13
Consider a general 3 x 3 matrix, A = a21 a22 a23
a a33
31 a32
det(A)
d t(A) can be
b calculated
l l t db by expanding
di along
l any row or
column. For example, expanding along the first row:
1 4 17
11 24 5
6 31 15
14
5 7 3
Matrix Algebra Page 19
TYPES OF SOLUTIONS TO SYSTEM OF LINEAR EQUATIONS
2 x 3 y 3 2 3 3 x 3
i.
(unique
q solution)
0 x y 1 0 1 1 y 1
i. Two equations
q in 2 unknowns
a1 x b1 y k1
If a2 x b2 y k 2
k1 b1 a1 k1
k 2 b2 a2 k 2 a1 b1
then x a b , y a b , provided d d that
h
a2 b2
0
1 1 1 1
a2 b2 a2 b2
Matrix Algebra Page 22
ii. 3 equations in 3 unknowns
a1 x b1 y c1 z k1 a1 b1 c1
If a2 x b2 y c2 z k 2 where a2 b2 c2 0
a x b y c z k
3 3 3 3 a3 b3 c3
then
k1 b1 c1 a1 k1 c1 a1 b1 k1
k2 b2 c2 a2 k 2 c2 a2 b2 k2
k3 b3 c3 a3 k3 c3 a3 b3 k3
x , y , z
a1 b1 c1 a1 b1 c1 a1 b1 c1
a2 b2 c2 a2 b2 c2 a2 b2 c2
a3 b3 c3 a3 b3 c3 a3 b3 c3
a1 x b1 y k1
Note that
a2 x b2 y k 2
a1 b1 x k1
can be written as
a2 b 2 y k 2
a1 b1 c1 x k1
can also be written as a2 b2 c2 y k 2
a c3 z k3
3 b3
i
i.e. th generall matrix
the t i fform off a system
t off equations:
ti
AX = B
A-1AX = A-1 B
I X = A-1 B
X = A-1 B
Introduction
Gaussian Elimination is a systematic way of simplifying a
system of equations.
A matrix,, called an augmented
g matrix,, which captures
p all the
properties of the equations, is used.
A sequence of elementary row operations on this matrix
eventually brings it into a form known as echelon form (to be
discussed in Page 32)
32).
From this, the solution to the original equations is easily found.
a1 x b1 y k1
a2 x b2 y k 2
it can be represented
p by
y an augmented
g matrix:
a1 b1 k1
a b k2
2
2
coefficients constants
this vertical line can be
omitted as in your textbook
a1 x b1 y c1 z k1
a2 x b2 y c2 z k 2
a x b y c z k
3 3 3 3
a1 b1 c1 k1
a2 b2 c2 k 2
a c3 k3
3 b3
9 x 7 y 65 z 15
b. 5 x 12 y 2 z 64
4 x 22 y 3 z 7
17 x 3 y 6
c. 4 x 8 y 3 z 12
3 y 5z 7
a. 1 7 15
0 1 2
1 2 1 5
b. 0 1 3 1
0 0
1 1
1 2 5 78 1 4 1 5
a. 0 1 8 14 b. 0 0 1 2
0 0 1 22 0 1 1 27
2 1 2 8
The augmented matrix is 1 3 3 4
4 2 1 1
1 3 3 4
Interchange row 1 and row 2
2 1 2 8
4 2 1 1
1 3 3 4 row 2 – 2*row 1
0 7 4 16 row 3 – 4*row 1
0 14 13 17
1 3 3 4
row 2 / 7
0 1 7
4 16
7
0 0 row 3 / -5
1 3
Hence z 3
4 16
y z or y 4
7 7
x 3 y 3z 4 or x 1
l ti iis x z 1 4 3
T T
Th solution
The y
Matrix Algebra Page 41
4 x 3 y 5
e g 3 Use Gaussian elimination to solve
e.g.3
3 x 2 y 3
a b x 0 or simply, AX 0
c d y 0
a b x x AX X
or
c d y y
solutions.
The system can be written as A I X 0
The system has non-trivial solutions if A I 0
AX
AX
m1 m2
x1 x2
AX X .
5 6 4 1 4
When 6 , ( A I )
1 2 6 1 4
i.e. x 4 y 0 or x 4 y . In general, x 4t
4t , y t
x 4
The eigenvector is t
y 1
Matrix Algebra Page 53
1 , 5 1 4 4 4
When ( A I )
1 2 1 1 1
i.e. x y 0 or x y . In general, x t , y t
x 1
The eigenvector
g is t
y 1
3 1
A
1 5
1 2 0
A 1 1 1
3 2 2
i j
4 EI 2 EI
qi i j 4 EI 2 EI
L L
qi L L i 2 EI 2 1 i k
q 2 EI 4 EI j 1 2
2 EI 4 EI j L j
qj i j L L
L L
qi
[q]] - force
f matrix
ti
q j