SlideShare uma empresa Scribd logo
1 de 31
LESSON 1- MATRICES:
BASIC OPERATIONS
Math 2B (Contemporary Mathematics)
Barnett/Ziegler/Byleen Finite Mathematics 11e 1
2
Learning Objectives for Lesson 1-
Matrices: Basic Operations
 The student will be able to perform addition and subtraction
of matrices.
 The student will be able to find the scalar product of a
number k and a matrix M.
 The student will be able to calculate a matrix product.
3
Addition and Subtraction
of Matrices
 To add or subtract matrices, they must be of the same order,
m x n. To add matrices of the same order, add their
corresponding entries. To subtract matrices of the same order,
subtract their corresponding entries. The general rule is as
follows using mathematical notation:
ij ij
ij ij
A B a b
A B a b
 + = + 
 − = − 
4
Example: Addition
 Add the matrices
4 3 1 1 2 3
0 5 2 6 7 9
5 6 0 0 4 8
− −   
   − + −   
   − −   
5
Example: Addition
Solution
 Add the matrices
 Solution: First note that
each matrix has dimensions
of 3x3, so we are able to
perform the addition. The
result is shown at right:
 Adding corresponding
entries, we have
4 3 1 1 2 3
0 5 2 6 7 9
5 6 0 0 4 8
− −   
   − + −   
   − −   
3 1 4
6 2 7
5 10 8
− 
 − 
 − 
6
Example: Subtraction
 Now, we will subtract the
same two matrices
4 3 1 1 2 3
0 5 2 6 7 9
5 6 0 0 4 8
− −   
   − − −   
   − −   
=
7
Example: Subtraction
Solution
 Now, we will subtract the
same two matrices
 Subtract corresponding
entries as follows:
4 3 1 1 2 3
0 5 2 6 7 9
5 6 0 0 4 8
− −   
   − − −   
   − −   
4 ( 1) 3 2 1 3
0 6 5 ( 7) 2 9
5 0 6 ( 4) 0 8
− − − − − 
 − − − − − 
 − − − − − 
5 5 2
6 12 11
5 2 8
− − 
 − − 
 − − 
=
8
Scalar Multiplication
 The scalar product of a number k and a matrix A is the
matrix denoted by kA, obtained by multiplying each entry of
A by the number k. The number k is called a scalar. In
mathematical notation,
ijAk ka =  
9
Example: Scalar Multiplication
 Find (-1)A, where A =
1 2 3
6 7 9
0 4 8
− 
 − 
 − 
10
Example: Scalar Multiplication
Solution
 Find (-1)A, where A =  Solution:
(-1)A= -1
1 2 3
6 7 9
0 4 8
− 
 − 
 − 
1 2 3
6 7 9
0 4 8
− 
 − 
 − 
1 2 3 1 2 3
( 1) 6 7 9 6 7 9
0 4 8 0 4 8
− − −   
   = − − = − −   
   − −   
11
Alternate Definition of
Subtraction of Matrices
 The definition of
subtraction of two real
numbers a and b is
a – b = a + (-1)b or
“a plus the opposite of b”.
We can define subtraction
of matrices similarly:
 If A and B are two matrices
of the same dimensions,
then
A – B = A + (-1)B,
where (-1) is a scalar.
12
Example
 The example on the right
illustrates this procedure for
two 2x2 matrices.





−
=






−
−
+





=






−
−
−+





=






−
−
−





50
31
13
12
43
21
13
12
)1(
43
21
13
12
43
21
13
Matrix Equations
Example: Find a, b, c, and d so that
2 1 4 3
5 6 2 4
a b
c d
−     
− =     − −     
14
Matrix Equations
Example: Find a, b, c, and d so that
2 1 4 3
5 6 2 4
a b
c d
−     
− =     − −     
Solution: Subtract the matrices on the left side:
2 1 4 3
5 6 2 4
a b
c d
− +   
=   + − −   
Use the definition of equality to change this matrix equation
into 4 real number equations:
a - 2 = 4 b + 1 = 3 c + 5 = -2 d - 6 = 4
a = 6 b = 2 c = -7 d = 10
15
Matrix Products
 The method of
multiplication of matrices
is not as intuitive and may
seem strange, although
this method is extremely
useful in many
mathematical applications.
 Matrix multiplication was
introduced by an English
mathematician named
Arthur Cayley (1821-1895).
We will see shortly how
matrix multiplication can be
used to solve systems of
linear equations.
16
Arthur Cayley
1821-1895
 Introduced matrix multiplication
17
Product of a Row Matrix
and a Column Matrix
 In order to understand the general procedure of matrix
multiplication, we will introduce the concept of the product of
a row matrix by a column matrix.
 A row matrix consists of a single row of numbers, while a
column matrix consists of a single column of numbers. If the
number of columns of a row matrix equals the number of rows
of a column matrix, the product of a row matrix and column
matrix is defined. Otherwise, the product is not defined.
18
Row by Column Multiplication
 Example: A row matrix consists of 1 row of 4 numbers so this
matrix has four columns. It has dimensions 1 x 4. This matrix
can be multiplied by a column matrix consisting of 4 numbers
in a single column (this matrix has dimensions 4 x 1).
 1x4 row matrix multiplied by a 4x1 column matrix. Notice the
manner in which corresponding entries of each matrix are
multiplied:
19
Example:
Revenue of a Car Dealer
 A car dealer sells four model types: A, B, C, D. In a given
week, this dealer sold 10 cars of model A, 5 of model B, 8 of
model C and 3 of model D. The selling prices of each
automobile are respectively $12,500, $11,800, $15,900 and
$25,300. Represent the data using matrices and use matrix
multiplication to find the total revenue.
20
Solution using Matrix Multiplication
 We represent the number of each model sold using a row
matrix (4x1), and we use a 1x4 column matrix to represent the
sales price of each model. When a 4x1 matrix is multiplied by
a 1x4 matrix, the result is a 1x1 matrix containing a single
number.
[ ] [ ] [ ]
12,500
11,800
10 5 8 3 10(12,500) 5(11,800) 8(15,900) 3(25,300) 387,100
15,900
25,300
 
 
  = + + + =
 
 
 
Barnett/Ziegler/Byleen Finite Mathematics 11e 21
Matrix Product
 If A is an m x p matrix and B is a p x n matrix, the matrix
product of A and B, denoted by AB, is an m x n matrix whose
element in the i th
row and j th
column is the real number
obtained from the product of the i th
row of A and the j th
column of B. If the number of columns of A does not equal
the number of rows of B, the matrix product AB is not defined.
Barnett/Ziegler/Byleen Finite Mathematics 11e 22
Multiplying a 2x4 matrix by a
4x3 matrix to obtain a 2x3
 The following is an illustration of the product of a 2x4 matrix
with a 4x3. First, the number of columns of the matrix on the
left must equal the number of rows of the matrix on the right,
so matrix multiplication is defined. A row-by column
multiplication is performed three times to obtain the first row
of the product: 70 80 90.
23
Final Result
24
Undefined Matrix Multiplication
Why is the matrix multiplication below not defined?
25
Undefined Matrix Multiplication
Solution
Why is the matrix multiplication below not defined?
The answer is that the left matrix has three columns but the
matrix on the right has only two rows. To multiply the second
row [4 5 6] by the third column, 3 , there is no number to pair
with 6 to multiply. 7
26
Example
Given A = B =
Find AB if it is defined:
3 1 1
2 0 3
− 
 
 
1 6
3 5
2 4
 
 − 
 − 
1 6
3 5
2 4
 
 − 
 − 
3 1 1
2 0 3
− 
 
 
27
Solution
2 0 3
3 1 1 
 
 
−
 Since A is a 2 x 3 matrix
and B is a 3 x 2 matrix, AB
will be a 2 x 2 matrix.
1. Multiply first row of A by
first column of B:
3(1) + 1(3) +(-1)(-2)=8
2. First row of A times
second column of B:
3(6)+1(-5)+ (-1)(4)= 9
3. Proceeding as above the
final result is
6
5
4
1
3
2
 
 
 
  
−
−
4
98
4 2
 
 − 
=
28
Is Matrix Multiplication
Commutative?
 Now we will attempt to multiply the matrices in reverse
order: BA = ?
 We are multiplying a 3 x 2 matrix by a 2 x 3 matrix. This
matrix multiplication is defined, but the result will be a 3 x 3
matrix. Since AB does not equal BA, matrix multiplication is
not commutative.
1 6
3 5
2 4
 
 − 
 − 
3 1 1
2 0 3
− 
 
 
15 1 17
1 3 18
2 2 14
 
 − − 
 − 
=
29
Practical Application
 Suppose you are a business owner and sells clothing. The
following represents the number of items sold and the cost for
each item. Use matrix operations to determine the total
revenue over the two days:
Monday: 3 T-shirts at $10 each, 4 hats at $15 each, and
1 pair of shorts at $20.
Tuesday: 4 T-shirts at $10 each, 2 hats at $15 each, and
3 pairs of shorts at $20.
30
Solution of Practical Application
 Represent the information using two matrices: The product of
the two matrices gives the total revenue:
 Then your total revenue for the two days is = [110 130]
Price times Quantity = Revenue
[ ]
3 4
10 15 20 4 2
1 3
 
 
 
  
Unit price of
each item:
Qty sold
of each
item on
Monday
Qty sold of
each item on
Tuesday
End of Lesson.
Reference:
Barnett/Ziegler/Byleen. Finite Mathematics 11e
31

Mais conteúdo relacionado

Mais procurados

Laws of exponents
Laws of exponentsLaws of exponents
Laws of exponents
masljr
 
Adding and subtracting matrices unit 3, lesson 2
Adding and subtracting matrices   unit 3, lesson 2Adding and subtracting matrices   unit 3, lesson 2
Adding and subtracting matrices unit 3, lesson 2
holmsted
 
Absolute value
Absolute valueAbsolute value
Absolute value
tvierra
 
Matrix basic operations
Matrix basic operationsMatrix basic operations
Matrix basic operations
Jessica Garcia
 
Matrices & determinants
Matrices & determinantsMatrices & determinants
Matrices & determinants
indu thakur
 
Algebra Tiles Pp Version 2
Algebra Tiles Pp   Version 2Algebra Tiles Pp   Version 2
Algebra Tiles Pp Version 2
guest880c6c
 

Mais procurados (20)

Ppt sets and set operations
Ppt sets and set operationsPpt sets and set operations
Ppt sets and set operations
 
Laws of exponents
Laws of exponentsLaws of exponents
Laws of exponents
 
Matrices
MatricesMatrices
Matrices
 
Adding and subtracting matrices unit 3, lesson 2
Adding and subtracting matrices   unit 3, lesson 2Adding and subtracting matrices   unit 3, lesson 2
Adding and subtracting matrices unit 3, lesson 2
 
Trigonometric Function of General Angles Lecture
Trigonometric Function of General Angles LectureTrigonometric Function of General Angles Lecture
Trigonometric Function of General Angles Lecture
 
INTRODUCTION TO MATRICES, TYPES OF MATRICES,
INTRODUCTION TO MATRICES, TYPES OF MATRICES, INTRODUCTION TO MATRICES, TYPES OF MATRICES,
INTRODUCTION TO MATRICES, TYPES OF MATRICES,
 
Trigonometry
TrigonometryTrigonometry
Trigonometry
 
12.3 Volume of Pyramids and Cones
12.3 Volume of Pyramids and Cones12.3 Volume of Pyramids and Cones
12.3 Volume of Pyramids and Cones
 
Slope of a Line
Slope of a LineSlope of a Line
Slope of a Line
 
Parallel lines and transversals
Parallel lines and transversalsParallel lines and transversals
Parallel lines and transversals
 
Absolute value
Absolute valueAbsolute value
Absolute value
 
Matrices
MatricesMatrices
Matrices
 
Contant, Variable and Algebraic Expressions
Contant, Variable and Algebraic ExpressionsContant, Variable and Algebraic Expressions
Contant, Variable and Algebraic Expressions
 
Graph transformations
Graph transformationsGraph transformations
Graph transformations
 
Matrix basic operations
Matrix basic operationsMatrix basic operations
Matrix basic operations
 
Linear Equations
Linear EquationsLinear Equations
Linear Equations
 
Matrices & determinants
Matrices & determinantsMatrices & determinants
Matrices & determinants
 
Introduction to sets
Introduction to setsIntroduction to sets
Introduction to sets
 
Algebra Tiles Pp Version 2
Algebra Tiles Pp   Version 2Algebra Tiles Pp   Version 2
Algebra Tiles Pp Version 2
 
3.1.2 Linear Equations in one Variable dfs
3.1.2 Linear Equations in one Variable dfs3.1.2 Linear Equations in one Variable dfs
3.1.2 Linear Equations in one Variable dfs
 

Destaque

Matrix product
Matrix productMatrix product
Matrix product
mstf mstf
 
Finaalll dr. redddy
Finaalll dr. redddyFinaalll dr. redddy
Finaalll dr. redddy
Teju Yadav
 
MATRICES
MATRICESMATRICES
MATRICES
faijmsk
 
presentation on matrix
 presentation on matrix presentation on matrix
presentation on matrix
Nikhi Jain
 

Destaque (11)

The National Toxicology Program Nonneoplastic Lesion Atlas
The National Toxicology Program Nonneoplastic Lesion AtlasThe National Toxicology Program Nonneoplastic Lesion Atlas
The National Toxicology Program Nonneoplastic Lesion Atlas
 
Matrix product
Matrix productMatrix product
Matrix product
 
Bohr's model
Bohr's modelBohr's model
Bohr's model
 
CIOs Vs CTOs
CIOs Vs CTOsCIOs Vs CTOs
CIOs Vs CTOs
 
Finaalll dr. redddy
Finaalll dr. redddyFinaalll dr. redddy
Finaalll dr. redddy
 
Determinants
DeterminantsDeterminants
Determinants
 
Chemistry 1 - Atomic Structure
Chemistry 1 - Atomic StructureChemistry 1 - Atomic Structure
Chemistry 1 - Atomic Structure
 
MATRICES
MATRICESMATRICES
MATRICES
 
Application of matrices in real life
Application of matrices in real lifeApplication of matrices in real life
Application of matrices in real life
 
presentation on matrix
 presentation on matrix presentation on matrix
presentation on matrix
 
Matrices And Application Of Matrices
Matrices And Application Of MatricesMatrices And Application Of Matrices
Matrices And Application Of Matrices
 

Semelhante a Lesson 1 matrix

Section 7.5 version 2 AM new ppt for every
Section 7.5 version 2 AM new ppt for everySection 7.5 version 2 AM new ppt for every
Section 7.5 version 2 AM new ppt for every
javed75
 
matrix-algebra-for-engineers (1).pdf
matrix-algebra-for-engineers (1).pdfmatrix-algebra-for-engineers (1).pdf
matrix-algebra-for-engineers (1).pdf
ShafaqMehmood2
 

Semelhante a Lesson 1 matrix (20)

matrices basic operation.ppt
matrices basic operation.pptmatrices basic operation.ppt
matrices basic operation.ppt
 
Section 7.5 version 2 AM new ppt for every
Section 7.5 version 2 AM new ppt for everySection 7.5 version 2 AM new ppt for every
Section 7.5 version 2 AM new ppt for every
 
WCS Specialist Maths An Introduction to Matrices PowerPoint
WCS Specialist Maths An Introduction to Matrices PowerPointWCS Specialist Maths An Introduction to Matrices PowerPoint
WCS Specialist Maths An Introduction to Matrices PowerPoint
 
9.matrices and transformation Further Mathematics Zimbabwe Zimsec Cambridge
9.matrices and transformation   Further Mathematics Zimbabwe Zimsec Cambridge9.matrices and transformation   Further Mathematics Zimbabwe Zimsec Cambridge
9.matrices and transformation Further Mathematics Zimbabwe Zimsec Cambridge
 
Matrices & Determinants
Matrices & DeterminantsMatrices & Determinants
Matrices & Determinants
 
Venn Digram
Venn DigramVenn Digram
Venn Digram
 
Lesson 6
Lesson 6Lesson 6
Lesson 6
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -
 
9.2 Matrices
9.2 Matrices9.2 Matrices
9.2 Matrices
 
matrix
matrixmatrix
matrix
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
 
7.5 Matrices and Matrix Operations
7.5 Matrices and Matrix Operations7.5 Matrices and Matrix Operations
7.5 Matrices and Matrix Operations
 
Takue
TakueTakue
Takue
 
MODULE_05-Matrix Decomposition.pptx
MODULE_05-Matrix Decomposition.pptxMODULE_05-Matrix Decomposition.pptx
MODULE_05-Matrix Decomposition.pptx
 
matrix-algebra-for-engineers (1).pdf
matrix-algebra-for-engineers (1).pdfmatrix-algebra-for-engineers (1).pdf
matrix-algebra-for-engineers (1).pdf
 
Matrices
MatricesMatrices
Matrices
 
7 4
7 47 4
7 4
 
M a t r i k s
M a t r i k sM a t r i k s
M a t r i k s
 
Matrices Questions & Answers
Matrices Questions & AnswersMatrices Questions & Answers
Matrices Questions & Answers
 
1565 matrix01-ppt
1565 matrix01-ppt1565 matrix01-ppt
1565 matrix01-ppt
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Último (20)

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 

Lesson 1 matrix

  • 1. LESSON 1- MATRICES: BASIC OPERATIONS Math 2B (Contemporary Mathematics) Barnett/Ziegler/Byleen Finite Mathematics 11e 1
  • 2. 2 Learning Objectives for Lesson 1- Matrices: Basic Operations  The student will be able to perform addition and subtraction of matrices.  The student will be able to find the scalar product of a number k and a matrix M.  The student will be able to calculate a matrix product.
  • 3. 3 Addition and Subtraction of Matrices  To add or subtract matrices, they must be of the same order, m x n. To add matrices of the same order, add their corresponding entries. To subtract matrices of the same order, subtract their corresponding entries. The general rule is as follows using mathematical notation: ij ij ij ij A B a b A B a b  + = +   − = − 
  • 4. 4 Example: Addition  Add the matrices 4 3 1 1 2 3 0 5 2 6 7 9 5 6 0 0 4 8 − −       − + −       − −   
  • 5. 5 Example: Addition Solution  Add the matrices  Solution: First note that each matrix has dimensions of 3x3, so we are able to perform the addition. The result is shown at right:  Adding corresponding entries, we have 4 3 1 1 2 3 0 5 2 6 7 9 5 6 0 0 4 8 − −       − + −       − −    3 1 4 6 2 7 5 10 8 −   −   − 
  • 6. 6 Example: Subtraction  Now, we will subtract the same two matrices 4 3 1 1 2 3 0 5 2 6 7 9 5 6 0 0 4 8 − −       − − −       − −    =
  • 7. 7 Example: Subtraction Solution  Now, we will subtract the same two matrices  Subtract corresponding entries as follows: 4 3 1 1 2 3 0 5 2 6 7 9 5 6 0 0 4 8 − −       − − −       − −    4 ( 1) 3 2 1 3 0 6 5 ( 7) 2 9 5 0 6 ( 4) 0 8 − − − − −   − − − − −   − − − − −  5 5 2 6 12 11 5 2 8 − −   − −   − −  =
  • 8. 8 Scalar Multiplication  The scalar product of a number k and a matrix A is the matrix denoted by kA, obtained by multiplying each entry of A by the number k. The number k is called a scalar. In mathematical notation, ijAk ka =  
  • 9. 9 Example: Scalar Multiplication  Find (-1)A, where A = 1 2 3 6 7 9 0 4 8 −   −   − 
  • 10. 10 Example: Scalar Multiplication Solution  Find (-1)A, where A =  Solution: (-1)A= -1 1 2 3 6 7 9 0 4 8 −   −   −  1 2 3 6 7 9 0 4 8 −   −   −  1 2 3 1 2 3 ( 1) 6 7 9 6 7 9 0 4 8 0 4 8 − − −       = − − = − −       − −   
  • 11. 11 Alternate Definition of Subtraction of Matrices  The definition of subtraction of two real numbers a and b is a – b = a + (-1)b or “a plus the opposite of b”. We can define subtraction of matrices similarly:  If A and B are two matrices of the same dimensions, then A – B = A + (-1)B, where (-1) is a scalar.
  • 12. 12 Example  The example on the right illustrates this procedure for two 2x2 matrices.      − =       − − +      =       − − −+      =       − − −      50 31 13 12 43 21 13 12 )1( 43 21 13 12 43 21
  • 13. 13 Matrix Equations Example: Find a, b, c, and d so that 2 1 4 3 5 6 2 4 a b c d −      − =     − −     
  • 14. 14 Matrix Equations Example: Find a, b, c, and d so that 2 1 4 3 5 6 2 4 a b c d −      − =     − −      Solution: Subtract the matrices on the left side: 2 1 4 3 5 6 2 4 a b c d − +    =   + − −    Use the definition of equality to change this matrix equation into 4 real number equations: a - 2 = 4 b + 1 = 3 c + 5 = -2 d - 6 = 4 a = 6 b = 2 c = -7 d = 10
  • 15. 15 Matrix Products  The method of multiplication of matrices is not as intuitive and may seem strange, although this method is extremely useful in many mathematical applications.  Matrix multiplication was introduced by an English mathematician named Arthur Cayley (1821-1895). We will see shortly how matrix multiplication can be used to solve systems of linear equations.
  • 17. 17 Product of a Row Matrix and a Column Matrix  In order to understand the general procedure of matrix multiplication, we will introduce the concept of the product of a row matrix by a column matrix.  A row matrix consists of a single row of numbers, while a column matrix consists of a single column of numbers. If the number of columns of a row matrix equals the number of rows of a column matrix, the product of a row matrix and column matrix is defined. Otherwise, the product is not defined.
  • 18. 18 Row by Column Multiplication  Example: A row matrix consists of 1 row of 4 numbers so this matrix has four columns. It has dimensions 1 x 4. This matrix can be multiplied by a column matrix consisting of 4 numbers in a single column (this matrix has dimensions 4 x 1).  1x4 row matrix multiplied by a 4x1 column matrix. Notice the manner in which corresponding entries of each matrix are multiplied:
  • 19. 19 Example: Revenue of a Car Dealer  A car dealer sells four model types: A, B, C, D. In a given week, this dealer sold 10 cars of model A, 5 of model B, 8 of model C and 3 of model D. The selling prices of each automobile are respectively $12,500, $11,800, $15,900 and $25,300. Represent the data using matrices and use matrix multiplication to find the total revenue.
  • 20. 20 Solution using Matrix Multiplication  We represent the number of each model sold using a row matrix (4x1), and we use a 1x4 column matrix to represent the sales price of each model. When a 4x1 matrix is multiplied by a 1x4 matrix, the result is a 1x1 matrix containing a single number. [ ] [ ] [ ] 12,500 11,800 10 5 8 3 10(12,500) 5(11,800) 8(15,900) 3(25,300) 387,100 15,900 25,300       = + + + =      
  • 21. Barnett/Ziegler/Byleen Finite Mathematics 11e 21 Matrix Product  If A is an m x p matrix and B is a p x n matrix, the matrix product of A and B, denoted by AB, is an m x n matrix whose element in the i th row and j th column is the real number obtained from the product of the i th row of A and the j th column of B. If the number of columns of A does not equal the number of rows of B, the matrix product AB is not defined.
  • 22. Barnett/Ziegler/Byleen Finite Mathematics 11e 22 Multiplying a 2x4 matrix by a 4x3 matrix to obtain a 2x3  The following is an illustration of the product of a 2x4 matrix with a 4x3. First, the number of columns of the matrix on the left must equal the number of rows of the matrix on the right, so matrix multiplication is defined. A row-by column multiplication is performed three times to obtain the first row of the product: 70 80 90.
  • 24. 24 Undefined Matrix Multiplication Why is the matrix multiplication below not defined?
  • 25. 25 Undefined Matrix Multiplication Solution Why is the matrix multiplication below not defined? The answer is that the left matrix has three columns but the matrix on the right has only two rows. To multiply the second row [4 5 6] by the third column, 3 , there is no number to pair with 6 to multiply. 7
  • 26. 26 Example Given A = B = Find AB if it is defined: 3 1 1 2 0 3 −      1 6 3 5 2 4    −   −  1 6 3 5 2 4    −   −  3 1 1 2 0 3 −     
  • 27. 27 Solution 2 0 3 3 1 1      −  Since A is a 2 x 3 matrix and B is a 3 x 2 matrix, AB will be a 2 x 2 matrix. 1. Multiply first row of A by first column of B: 3(1) + 1(3) +(-1)(-2)=8 2. First row of A times second column of B: 3(6)+1(-5)+ (-1)(4)= 9 3. Proceeding as above the final result is 6 5 4 1 3 2          − − 4 98 4 2    −  =
  • 28. 28 Is Matrix Multiplication Commutative?  Now we will attempt to multiply the matrices in reverse order: BA = ?  We are multiplying a 3 x 2 matrix by a 2 x 3 matrix. This matrix multiplication is defined, but the result will be a 3 x 3 matrix. Since AB does not equal BA, matrix multiplication is not commutative. 1 6 3 5 2 4    −   −  3 1 1 2 0 3 −      15 1 17 1 3 18 2 2 14    − −   −  =
  • 29. 29 Practical Application  Suppose you are a business owner and sells clothing. The following represents the number of items sold and the cost for each item. Use matrix operations to determine the total revenue over the two days: Monday: 3 T-shirts at $10 each, 4 hats at $15 each, and 1 pair of shorts at $20. Tuesday: 4 T-shirts at $10 each, 2 hats at $15 each, and 3 pairs of shorts at $20.
  • 30. 30 Solution of Practical Application  Represent the information using two matrices: The product of the two matrices gives the total revenue:  Then your total revenue for the two days is = [110 130] Price times Quantity = Revenue [ ] 3 4 10 15 20 4 2 1 3          Unit price of each item: Qty sold of each item on Monday Qty sold of each item on Tuesday