5.7 - 1 10 TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.

Slides:



Advertisements
Similar presentations
“No one can be told what the matrix is…
Advertisements

LIAL HORNSBY SCHNEIDER
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
3.8 Matrices.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
4.2 Operations with Matrices Scalar multiplication.
Matrix Algebra. Quick Review Quick Review Solutions.
Chapter 5.7 Properties of Matrices. Basic Definitions It is necessary to use capital letters to name matrices. Also, subscript notation is often used.
Copyright © 2007 Pearson Education, Inc. Slide 7-1.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
5 Systems and Matrices © 2008 Pearson Addison-Wesley. All rights reserved Sections 5.6–5.8.
Chapter 8 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Matrix Operations and Their Applications.
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
8.1 Matrices & Systems of Equations
Copyright © 2011 Pearson, Inc. 7.2 Matrix Algebra.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
13.1 Matrices and Their Sums
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
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Copyright © Cengage Learning. All rights reserved. 7 Linear Systems and Matrices.
Chapter 6 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Matrix Operations and Their Applications.
Meeting 18 Matrix Operations. Matrix If A is an m x n matrix - that is, a matrix with m rows and n columns – then the scalar entry in the i th row and.
2 2.1 © 2012 Pearson Education, Inc. Matrix Algebra MATRIX OPERATIONS.
Chapter 8 Matrices and Determinants Matrix Solutions to Linear Systems.
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.
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.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Chapter 5 More Work with Matrices
Matrices and Determinants
MATRIX A set of numbers arranged in rows and columns enclosed in round or square brackets is called a matrix. The order of a matrix gives the number of.
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.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
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.
MTH108 Business Math I Lecture 20.
Properties and Applications of Matrices
MATRICES.
Christmas Packets are due on Friday!!!
10.4 The Algebra of Matrices
Matrix Operations Free powerpoints at
College Algebra Chapter 6 Matrices and Determinants and Applications
Matrix Operations.
Matrix Operations Free powerpoints at
What we’re learning today:
Matrix Operations Monday, August 06, 2018.
Matrix Operations.
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Matrix Operations Free powerpoints at
Chapter 7: Matrices and Systems of Equations and Inequalities
Math-2 (honors) Matrix Algebra
Section 2.4 Matrices.
Matrix Algebra.
[MATRICES ].
3.5 Perform Basic Matrix Operations
Matrix Operations Ms. Olifer.
Matrix Operations SpringSemester 2017.
3.5 Perform Basic Matrix Operations Algebra II.
[MATRICES ].
Presentation transcript:

TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA

Properties of Matrices Basic Definitions Adding Matrices Special Matrices Subtracting Matrices Multiplying Matrices Applying Matrix Algebra

Basic Definitions It is customary to use capital letters to name matrices. Also, subscript notation is often used to name elements of a matrix, as in the following matrix A.

Basic Definitions Certain matrices have special names: an n x n matrix is a square matrix because the number of rows is equal to the number of columns. A matrix with just one row is a row matrix, and a matrix with just one column is a column matrix.

Basic Definitions Two matrices are equal if they are the same size and if corresponding elements, position by position, are equal. Using this definition, the matrices and are not equal (even though they contain the same elements and are the same size), since the corresponding elements differ.

Example 1 FINDING VALUES TO MAKE TWO MATRICES EQUAL Find the values of the variables for which each statement is true, if possible. Solution a. From the definition of equality, the only way that the statement can be true is if 2 = x, 1 = y, p = – 1 and q = 0.

Example 1 FINDING VALUES TO MAKE TWO MATRICES EQUAL Find the values of the variables for which each statement is true, if possible. Solution b. This statement can never be true since the two matrices are different sizes. (One is 2  1 and the other is 3  1. )

Addition of Matrices To add two matrices of the same size, add corresponding elements. Only matrices of the same size can be added.

Example 2 ADDING MATRICES Find each sum, if possible. Solution a.

Example 2 ADDING MATRICES Find each sum, if possible. Solution b.

Example 2 ADDING MATRICES Find each sum, if possible. Solution c. A + B, if A =and B = The matrices and have different sizes so A and B cannot be added; the sum does not exist.

Special Matrices A matrix containing only zero elements is called a zero matrix. A zero matrix can be written with any size. 1  3 zero matrix 2  3 zero matrix

Special Matrices By the additive inverse property, each real number has an additive inverse: if a is a real number, then there is a real number such that

Special Matrices Given matrix A, there is a matrix – A such that A + (– A) = . The matrix – A has as elements the additive inverses of the elements of A. (Remember, each element of A is a real number and therefore has an additive inverse.) For example, if

Special Matrices To check, test that A + (– A) equals the zero matrix, O Matrix – A is called the additive inverse, or negative, of matrix A. Every matrix has an additive inverse.

Subtraction of Matrices If A and B are two matrices of the same size, then A – B = A + (– B).

Example 3 SUBTRACTING MATRICES a. Find each difference, if possible. Solution

Example 3 SUBTRACTING MATRICES b. Find each difference, if possible. Solution

Example 3 SUBTRACTING MATRICES c. Find each difference, if possible. Solution The matrices and A – B, if A =and B = have different sizes and cannot be subtracted, so the difference does not exist.

Example 4 MULTIPLYING MATRICES BY SCALARS Find each product. Solution a. Multiply each element of the matrix by the scalar 5.

Example 4 MULTIPLYING MATRICES BY SCALARS Find each product. Solution b.

Properties of Scalar Multiplication If A and B are matrices of the same size and c and d are scalars, then

Matrix Multiplication We have seen how to multiply a real number (scalar) and a matrix. To find the product of two matrices, such as

Matrix Multiplication first locate row 1 of A and column 1 of B, shown shaded below.

Matrix Multiplication Multiply corresponding elements, and find the sum of the products. This result is the element for row 1, column 1 of the product matrix. Now use row 1 of A and column 2 of B to determine the element in row 1, column 2 of the product matrix.

Matrix Multiplication Next, use row 2 of A and column 1 of B; this will give the row 2, column 1 entry of the product matrix. Finally, use row 2 of A and column 2 of B to find the entry for row 2, column 2 of the product matrix.

Matrix Multiplication The product matrix can now be written.

Matrix Multiplication To find the ith row, jth column element of AB, multiply each element in the ith row of A by the corresponding element in the jth column of B. (Note the shaded areas in the matrices below.) The sum of these products will give the row i, column j element of AB.

Matrix Multiplication

Matrix Multiplication

Matrix Multiplication The number of columns of an m  n matrix A is the same as the number of rows of an n  p matrix B (i.e., both n). The element c ij of the product matrix C = AB is found as follows: Matrix AB will be an m  p matrix.

Example 5 DECIDING WHETHER TWO MATRICES CAN BE MULTIPLIED Suppose A is a 3  2 matrix, while B is a 2  4 matrix. Solution a. Can the product AB be calculated? The following diagram shows that AB can be calculated, because the number of columns of A is equal to the number of rows of B. (Both are 2.) Matrix AMatrix B 3  22  4 must match size of AB 3  4

Example 5 DECIDING WHETHER TWO MATRICES CAN BE MULTIPLIED Suppose A is a 3  2 matrix, while B is a 2  4 matrix. Solution b. Matrix AMatrix B 3  22  4 must match size of AB 3  4 If AB can be calculated, what size is it? As indicated in the diagram below, the product AB is a 3 x 4 matrix.

Example 5 DECIDING WHETHER TWO MATRICES CAN BE MULTIPLIED Suppose A is a 3  2 matrix, while B is a 2  4 matrix. Solution c. Matrix BMatrix A 3  4 different Can BA be calculated? The diagram below shows that BA cannot be calculated.

Example 5 DECIDING WHETHER TWO MATRICES CAN BE MULTIPLIED Suppose A is a 3  2 matrix, while B is a 2  4 matrix. Solution d. If BA can be calculated, what size is it? The product BA cannot be calculated, because B has 4 columns and A has only 3 rows.

Example 6 MULTIPLYING MATRICES Let Find each product, if possible. Solution a. AB First decide whether AB can be found. Since A is 2  2 and B is 2  4, the product can be found and will be a 2  4 matrix.

Example 6 Use the definition of matrix multiplication Perform the operations. MULTIPLYING MATRICES

Example 6 Let Find each product, if possible. Solution b. BA Since B is a 2  4 matrix, and A is a 2  2 matrix, the number of columns of B (4) does not equal the number of rows of A (2). Therefore, the product BA cannot be found. MULTIPLYING MATRICES

Example 7 SQUARE Let Find each product. Solution a. AB

Example 7 Let Find each product. Solution b. BA Note that AB ≠ BA. SQUARE

In general, if A and B are matrices, then AB ≠ BA. Matrix multiplication is not commutative.

Properties of Matrix Multiplication If A, B, and C are matrices such that all the following products and sums exist, then

Example 8 USING MATRIX MULTIPLICATION TO MODEL PLANS FOR A SUBDIVISION A contractor builds three kinds of houses, models A, B, and C, with a choice of two styles, colonial or ranch. Matrix P shows the number of each kind of house the contractor is planning to build for a new 100-home subdivision. The amounts for each of the main materials used depend on the style of the house. These amounts are shown in matrix Q, while matrix R gives the cost in dollars for each kind of material. Concrete is measured here in cubic yards, lumber in 1000 board feet, brick in 1000s, and shingles in 100 square feet.

Example 8 USING MATRIX MULTIPLICATION TO MODEL PLANS FOR A SUBDIVISION Colonial Ranch Model A Model B Model C

Example 8 USING MATRIX MULTIPLICATION TO MODEL PLANS FOR A SUBDIVISION Colonial Ranch ConcreteLumberBrickShingles

Example 8 USING MATRIX MULTIPLICATION TO MODEL PLANS FOR A SUBDIVISION Cost per Unit Concrete Lumber Brick Shingles

Example 8 USING MATRIX MULTIPLICATION TO MODEL PLANS FOR A SUBDIVISION Solution a. What is the total cost of materials for all houses of each model? To find the materials cost for each model, first find matrix PQ, which will show the total amount of each material needed for all houses of each model.

Example 8 USING MATRIX MULTIPLICATION TO MODEL PLANS FOR A SUBDIVISION ConcreteLumberBrickShingles Model A Model B Model C

Example 8 USING MATRIX MULTIPLICATION TO MODEL PLANS FOR A SUBDIVISION Multiplying PQ and the cost matrix R gives the total cost of materials for each model. Cost Model A Model B Model C

Example 8 USING MATRIX MULTIPLICATION TO MODEL PLANS FOR A SUBDIVISION Solution b. How much of each of the four kinds of material must be ordered? To find how much of each kind of material to order, refer to the columns of matrix PQ. The sums of the elements of the columns will give a matrix whose elements represent the total amounts of each material needed for the subdivision. Call this matrix T, and write it as a row matrix.

Example 8 USING MATRIX MULTIPLICATION TO MODEL PLANS FOR A SUBDIVISION Solution c. The total cost of all the materials is given by the product of matrix T, the total amounts matrix, and matrix R, the cost matrix. To multiply these and get a 1  1 matrix, representing the total cost, requires multiplying a 1  4 matrix and a 4  1 matrix. This is why in part (b) a row matrix was written rather than a column matrix. The total materials cost is given by TR, so What is the total cost of the materials?

Example 8 USING MATRIX MULTIPLICATION TO MODEL PLANS FOR A SUBDIVISION The total cost of materials is $188,400.