Matrices
Matrices – How to write & What is Order AppleOrangePear Shop Shop rows and 3 columns Matrix has order 2x3 (read as “2 by 3”)
Matrices E.g: A drink stalls sold 160 cups of coffee, 125 cups of tea and 210 glasses of soft drinks on Monday. On Tuesday, it sold 145 cups of coffee, 130 cups of tea and 275 glasses of soft drinks. On Wednesday, it sold 120 cups of tea, 155 cups of coffee and 325 glasses of soft drinks. Design a matrix to represent this information. State the order of your matrix. C T SDM T W order 3x3 OR
Matrices Matrix Operations B – A ? Observation 1: Matrices must be same order to add or subtract
Matrices Observation 1: A + B = B + A Addition is commutative Observation 2: (A + B) + C = A + (B + C) Addition is associative
(3 × 3) + (4 × 1) = 13(3 × 2) + (4 × 1) = 10 (1 × 2) + (3 × 1) = 5 (1 × 2) + (2 × 1) = 4 Matrices Scalar Multiplication: Matrix Multiplication: Remember: ROW multiply by COLUMN **Play this slide as slide show to view the multiplication step-by-step
Matrices An electrical shop sold 5 televisions, 10 VCD players and 15 DVD players on Monday. On Tuesday, it sold 7 televisions, 8 VCD players and 9 DVD players. Given that the price of television is $90, the price of VCD player is $40 and the price of DVD player is $80, find the total sales for Monday and Tuesday. MTMT TV VCD DVD Total for Monday Total for Tuesday $T $V $D
Matrices
B A Not possible! (2 x 2) (3 x 2) Not equal! Can only multiply matrices if these numbers are the same!
Matrices Observation 1: Observation 2: (AB)C = A(BC) Multiplication is associative AB = BA Multiplication is NOT commutative!
Matrices The matrix with all entries zero is called a null matrix. This matrix is called the identity matrix. The diagonal are all 1’s. Observation 1: A0 = 0A = 0 Observation 2: AI = IA = A
Practice Find (a) BA (b) BA – 2A If, find a and b.
Answer a = − 8, b = 238