Chapter 1 (2)
Chapter 1 (2)
Element = entry
Row by row
EXAMPLES
An 2x3 matrix // 2 rows, 3 columns
Read: two by three matrix
(1,3)-entry
7 -3 1/2 a[1,3] = 1/2
A= a13 = ½
3 -5 0 Read: a_one_three entry
Example:
A)
B)
SCALAR MULTIPLICATION
2 A=2 ×
( 1 2
−3 5
=
)(
2 4
− 6 10 )
A=
1 2
(
−3 5 )
− A= (− 1 ) A=
( −1 −2
3 −5 )
B=
( 12 4 8
0 10 2 ) (
=2×
6 2 4
0 5 1 )
PROPERTIES
Example. Simplify:
2 ( A+ 3C ) −3 ( 2 C − B ) − 3 [ 2 ( 2 A + B −4 C ) − 4 ( A − 2C ) ]
Ans: 2A-
3B
DATA REPRESENTATION
day 1
addition
subtraction
day 1 + day 2?
day 1 – day 2?
Am n . Bn p = Cm p //suitable size
1 2 1.1+2.1
3 4 1 2
1 0 1 2
0 1 -1 -2 -1 0
2 0 1 2 1 0 -2 0 2 -4
APPLICATION
2 gift sets: A&B.
4 stores
different prices
Find the best choice?
peanuts soda hot dogs
set A 8 5 12
Matrix
set B 15 7 13
set A
peanuts
8
soda
5
hot dogs
12
A=
[
8 5 12
15 7 13 ]
set B 15 7 13
row ×col=set ×item
[ ]
2 2.5 2 2.5
B= 2.5 2 2.75 2
3 3 2.5 3
dimension :item× store
APPLICATION
Price
Quantity
[ ]
2 2.5 2 2.5
[
A = 8 5 12
15 7 13 ] B= 2.5 2 2.75 2
3 3 2.5 3
row ×col=set ×item
dimension : item× store
Quantity × Price=A × B=
[ 64.5 ? ? ?
? ? ? ? ]
Dimension :? ×?
[ ]()
6 3 1 x1
1 4 − 2 × x 2 =0
4 −1 5 x3
WHY NO DIVISION
1.5 PROPERTIES OF MATRIX MULTIPLICATION
1. A, B, C are nxn matrices;
2. I is the identity matrix and 0 is the zero matrix.
SOME REMARKS
1. AB =AC B=C
2. AB = 0 A = 0 or B = 0
3. (AB)T = BTAT (see transpose)
Example:
A, B, C are
singular matrices
TERMS
In view of the general rule AB not equal BA, the terms premultiply
and postmultiply are often used to specify the order of
multiplication.
In the product A.B,
the matrix B is said to be premultiplied by A,
and A to be postmultiplied by B.
Or in brief left and right multiplied
1.6 TRANSPOSE OF A MATRIX
The transpose of an mxn matrix [aij] is an nxm matrix [aji]
Notation: AT
Remember: row column
1.6 TRANSPOSE OF A MATRIX
A transposed
matrix
A diagonal matrix
2.5 RANK OF THE MATRIX
Row echelon matrix
Reduced row echelon matrix
Rank of a matrix
ROW ECHELON MATRIX
REDUCED ROW-ECHELON FORM
zero rows
[ ] [ ] [ ]
1 22 3 1 −2 3 5 0 0 0 0
A= 0 0 1 B= 0 10 3 6 1 −2 3 5
C=
0 1 −3 0 0 1 −3 0 1 3 6
0 0 1 −3
[ ] [ ] [ ]
1 −2 3 5
10 − 2 3 5 1 −2 3 5
0 1 3 6
D= E= 0 3 3 6 F= 0 1 3 6
0 0 1 −3
0 0 6 −3 0 0 1 −3
0 0 0 0
ELEMENTARY ROW OPERATIONS (ROW REDUCTION)
3 E.R.O
MATRIX A R.E.F
Every matrix can be brought to row-echelon form by a
sequence of elementary row operations.
EXAMPLE
[ ]
0 2 3
Let the matrix A given as A= 2 − 3 5
−1 2 0
r 2 → r 2 +2 r 1 r 3 → r 3 −2 r 2
r 3 ← →r 1
A1 A2 A3
A
ROW REDUCTION ALGORITHM
PIVOT
EXAMPLE
2 6 2 2
Carry the matrix 2 3 11 4
3 11 3 0
A) to row-echelon matrix
B) to reduced row-echelon matrix
EXAMPLE
2 6 2 2 r 1 r 1 3 1 1 rr rr 32rr 1 3 1 1
1 1
2 2 1
2 3 11 4 2 2 3 11 4 0 3 9 6 3 3 1
3 11 3 0 3 11 3 0 0 2 6 3
1 3 1 1 r 2 r r
1
r2 r2 1 3 1 1 r 1r
3 3
1 3 1 1
0 1 3 2 0 1 3 2 7 0 1 3 2
3 3 2 3
0 2 6 3 0 0 0 7 0 0 0 1
row-echelon
matrix
But not
reduced yet
EXAMPLE
1 3 1 1 rr rr r2 r
2 2 3 1 3 1 0 r 3r r 1 0 10 0
0 1 3 2 1 1 3
0 1 3 0 0 1 3 0
1 2 1
0 0 0 1 0 0 0 1 0 0 0 1
reduced row-echelon ma
THE RANK OF A MATRIX
1 0 * 0
0 1 * 0 rank(A)=2 r(A)=2
0 0 0 0
The rank of matrix A is the number of leading 1s in any row-
echelon matrix to which A can be carried by row operations.
Conclusion ???
PROPERTIES
2.6 THE INVERSE OF A MATRIX
REMARK
Not all square matrices are invertible.
There are many nonzero matrices that are not invertible
An invertible matrix is said to be nonsingular.
A square matrix with no inverse is called a singular
matrix.
EXAMPLE
THE INVERSE OF 2X2 MATRICES
determinant of A, denoted by
det(A)
PROPERTIES
(Cancellation Laws) Let A be an invertible matrix.
[A | I n] [I n |A-1]
A-1
EXAMPLE
USING CALCULATOR - 580FX
Follow this link:
https://support.casio.com/global/vi/fx/manual/fx-580VNX
_VI/using_calculation_modes/matrix_calculations/