10.4 The Algebra of Matrices

Slides:



Advertisements
Similar presentations
Matrix.
Advertisements

Fundamentals of matrices
Objective Video Example by Mrs. G Give It a Try Lesson 4.1  Add and subtract matrices  Multiply a matrix by a scalar number  Solve a matrix equation.
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
4.2 Operations with Matrices Scalar multiplication.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Chapter 4 Matrices By: Matt Raimondi.
4.1 Matrix Operations What you should learn: Goal1 Goal2 Add and subtract matrices, multiply a matrix by a scalar, and solve the matrix equations. Use.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
If A and B are both m × n matrices then the sum of A and B, denoted A + B, is a matrix obtained by adding corresponding elements of A and B. add these.
Operations with Matrices
Copyright © Cengage Learning. All rights reserved. 7 Linear Systems and Matrices.
Slide Copyright © 2009 Pearson Education, Inc. 7.3 Matrices.
Matrix Algebra Section 7.2. Review of order of matrices 2 rows, 3 columns Order is determined by: (# of rows) x (# of columns)
Matrices: Simplifying Algebraic Expressions Combining Like Terms & Distributive Property.
Matrix Operations.
3.4 Solution by Matrices. What is a Matrix? matrix A matrix is a rectangular array of numbers.
MATRICES MATRIX OPERATIONS. About Matrices  A matrix is a rectangular arrangement of numbers in rows and columns. Rows run horizontally and columns run.
Sec 4.1 Matrices.
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
Matrices Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 A matrix is a rectangular array of real numbers. Each entry.
3.5 Perform Basic Matrix Operations Add Matrices Subtract Matrices Solve Matric equations for x and y.
Systems of Equations and Matrices Review of Matrix Properties Mitchell.
Matrix Operations McDougal Littell Algebra 2 Larson, Boswell, Kanold, Stiff Larson, Boswell, Kanold, Stiff Algebra 2: Applications, Equations, Graphs Algebra.
If A and B are both m × n matrices then the sum of A and B, denoted A + B, is a matrix obtained by adding corresponding elements of A and B. add these.
A rectangular array of numeric or algebraic quantities subject to mathematical operations. The regular formation of elements into columns and rows.
Matrix Operations McDougal Littell Algebra 2 Larson, Boswell, Kanold, Stiff Larson, Boswell, Kanold, Stiff Algebra 2: Applications, Equations, Graphs Algebra.
Ch. 12 Vocabulary 1.) matrix 2.) element 3.) scalar 4.) scalar multiplication.
Matrices. Matrix A matrix is an ordered rectangular array of numbers. The entry in the i th row and j th column is denoted by a ij. Ex. 4 Columns 3 Rows.
Copyright © Cengage Learning. All rights reserved. 7 Matrices and Determinants.
4.4 Matrices: Basic Operations
Sections 2.4 and 2.5 Matrix Operations
Matrices and Matrix Operations
Properties and Applications of Matrices
12-1 Organizing Data Using Matrices
Multiplying Matrices.
Christmas Packets are due on Friday!!!
Chapter 4 Systems of Linear Equations; Matrices
Matrix Operations Free powerpoints at
Linear Algebra review (optional)
Matrix Operations.
10.5 Inverses of Matrices and Matrix Equations
Matrix Operations.
Matrix Operations Free powerpoints at
What we’re learning today:
L6 matrix operations.
Matrix Operations Monday, August 06, 2018.
Matrix Operations.
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Matrix Operations Free powerpoints at
WarmUp 2-3 on your calculator or on paper..
MULTIPLYING TWO MATRICES
Matrix Algebra.
7.3 Matrices.
25. Basic matrix operations
MATRICES MATRIX OPERATIONS.
Section 2.4 Matrices.
Objectives Multiply two matrices.
Matrices and Matrix Operations
Section 11.4 Matrix Algebra
Matrix Algebra.
3.5 Perform Basic Matrix Operations
Matrix Operations Ms. Olifer.
Matrix Operations SpringSemester 2017.
3.5 Perform Basic Matrix Operations Algebra II.
Presentation transcript:

10.4 The Algebra of Matrices Copyright © Cengage Learning. All rights reserved.

Objectives Equality of Matrices Addition, Subtraction, and Scalar Multiplication of Matrices Multiplication of Matrices Properties of Matrix Multiplication Applications of Matrix Multiplication

Matrices and Systems Of Linear Equations A matrix is simply a rectangular array of numbers. Matrices are used to organize information into categories that correspond to the rows and columns of the matrix. For example, a scientist might organize information on a population of endangered whales as follows:

Matrices We begin by defining the various elements that make up a matrix.

Matrices Here are some examples of matrices. Matrix Dimension 2  3 [6 –5 0 1] 1  4 2 rows by 3 columns 1 row by 4 columns

Equality of Matrices Two matrices are equal if they have the same entries in the same positions.

Example 1 – Equal Matrices Find a, b, c, and d, if Solution: Since the two matrices are equal, corresponding entries must be the same. So we must have a = 1, b = 3, c = 5, and d = 2.

Addition, Subtraction, and Scalar Multiplication of Matrices

Addition, Subtraction, and Scalar Multiplication of Matrices Two matrices can be added or subtracted if they have the same dimension. (Otherwise, their sum or difference is undefined.) We add or subtract the matrices by adding or subtracting corresponding entries. To multiply a matrix by a number, we multiply every element of the matrix by that number. This is called the scalar product.

Example 2 – Performing Algebraic Operations on Matrices Let Carry out each indicated operation, or explain why it cannot be performed. (a) A + B (b) C – D (c) C + A (d) 5A

Example 2 – Solution (a) A + B = (b) C – D = (c) C + A is undefined because we can’t add matrices of different dimensions.

Example 2 – Solution cont’d (d) 5A =

Addition, Subtraction, and Scalar Multiplication of Matrices

Addition, Subtraction, and Scalar Multiplication of Matrices The properties for working with matrices follow closely the properties of Real Numbers:

Multiplication of Matrices

Multiplication of Matrices Multiplying two matrices is more difficult to describe than other matrix operations. In later examples we will see why multiplying matrices involves a rather complex procedure, which we now describe. First, the product AB (or A  B) of two matrices A and B is defined only when the number of columns in A is equal to the number of rows in B.

Multiplication of Matrices This means that if we write their dimensions side by side, the two inner numbers must match: If the dimensions of A and B match in this fashion, then the product AB is a matrix of dimension m  k. Before describing the procedure for obtaining the elements of AB, we define the inner product of a row of A and a column of B.

Multiplication of Matrices If [a1 a2 . . .an] is a row of A, and if is a column of B, then their inner product is the number a1b1 + a2b2 +…+ anbn. For example, taking the inner product of [2 –1 0 4] and gives 2  5 + (–1)  4 + 0  (–3) + 4  = 8

Example 4 – Multiplying Matrices Let A = and B = Calculate, if possible, the products AB and BA. Solution: Since A has dimension 2  2 and B has dimension 2  3, the product AB is defined and has dimension 2  3.

Example 4 – Solution We can therefore write AB = cont’d We can therefore write AB = where the question marks must be filled in using the rule defining the product of two matrices. Multiply the row of Matrix A by the columns of Matrix B and add the results: 1  (–1) + 3  0 = –1

Example 4 – Solution cont’d Similarly, we calculate the remaining entries of the product as follows.

Example 4 – Solution cont’d Thus we have AB =

Example 4 – Solution cont’d The product BA is not defined, however, because the dimensions of B and A are 2  3 and 2  2 The inner two numbers are not the same, so the rows and columns won’t match up when we try to calculate the product.

Properties of Matrix Multiplication

Properties of Matrix Multiplication Although matrix multiplication is not commutative, it does obey the Associative and Distributive Properties. The next example shows that even when both AB and BA are defined, they aren’t necessarily equal. This proves that matrix multiplication is not commutative.

Example 5 – Matrix Multiplication Is Not Commutative Let A = and B = Calculate the products AB and BA. Solution: Since both matrices A and B have dimension 2  2, both products AB and BA are defined, and each product is also a 2  2 matrix. AB =

Example 5 – Solution cont’d BA = This shows that, in general, AB  BA. In fact, in this example AB and BA don’t even have an entry in common.