Section 4.1 Using Matrices to Represent Data. Matrix Terminology A matrix is a rectangular array of numbers enclosed in a single set of brackets. The.

Slides:



Advertisements
Similar presentations
2.3 Modeling Real World Data with Matrices
Advertisements

Chapter 4 Systems of Linear Equations; Matrices
Chapter 4 Systems of Linear Equations; Matrices Section 2 Systems of Linear Equations and Augmented Matrics.
Matrices: Inverse Matrix
Chapter 2 Matrices Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.
Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 1 of 86 Chapter 2 Matrices.
Ch 7.2: Review of Matrices For theoretical and computation reasons, we review results of matrix theory in this section and the next. A matrix A is an m.
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 86 Chapter 2 Matrices.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
8.4 Matrix Operations Day 1 Thurs May 7 Do Now Solve X – 2y = -6 3x + 4y = 7.
4.1 Using Matrices to Represent Data
Matrix Solution of Linear Systems The Gauss-Jordan Method Special Systems.
1.3 Matrices and Matrix Operations.
Systems and Matrices (Chapter5)
ECON 1150 Matrix Operations Special Matrices
 Row and Reduced Row Echelon  Elementary Matrices.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Review for Chapter 4 Important Terms, Symbols, Concepts 4.1. Systems of Linear Equations in Two Variables.
Needs Work Need to add –HW Quizzes Chapter 13 Matrices and Determinants.
Matrices King Saud University. If m and n are positive integers, then an m  n matrix is a rectangular array in which each entry a ij of the matrix is.
Copyright © 2011 Pearson, Inc. 7.3 Multivariate Linear Systems and Row Operations.
Section 1.1 Introduction to Systems of Linear Equations.
Warm-Up Write each system as a matrix equation. Then solve the system, if possible, by using the matrix equation. 6 minutes.
Matrix Algebra. Quick Review Quick Review Solutions.
Three variables Systems of Equations and Inequalities.
8.1 Matrices and Systems of Equations. Let’s do another one: we’ll keep this one Now we’ll use the 2 equations we have with y and z to eliminate the y’s.
Chapter 7 Notes Honors Pre-Calculus. 7.1/7.2 Solving Systems Methods to solve: EXAMPLES: Possible intersections: 1 point, 2 points, none Elimination,
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.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
1.3 Matrices and Matrix Operations. Definition A matrix is a rectangular array of numbers. The numbers in the array are called the entries in the matrix.
8.1 Matrices & Systems of Equations
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
1. Inverse of A 2. Inverse of a 2x2 Matrix 3. Matrix With No Inverse 4. Solving a Matrix Equation 1.
Matrix Multiplication The inner dimensions must be the same (or the number of columns in the first matrix is equal to the number of rows in the second.
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.
Algebra 2 Chapter 4 Notes Matrices & Determinants Algebra 2 Chapter 4 Notes Matrices & Determinants.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Copyright © 2011 Pearson Education, Inc. Solving Linear Systems Using Matrices Section 6.1 Matrices and Determinants.
Matrices and Systems of Equations
Matrices and Systems of Linear Equations
Copyright © 2009 Pearson Education, Inc. CHAPTER 9: Systems of Equations and Matrices 9.1 Systems of Equations in Two Variables 9.2 Systems of Equations.
 SOLVE SYSTEMS OF EQUATIONS USING MATRICES. Copyright © 2012 Pearson Education, Inc. Publishing as Addison Wesley 9.3 Matrices and Systems of Equations.
Chapter 8 Matrices and Determinants Matrix Solutions to Linear Systems.
Matrices and Systems of Equations
Sec 4.1 Matrices.
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.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
Section 5.3 MatricesAnd Systems of Equations. Systems of Equations in Two Variables.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Matrices. Matrix - a rectangular array of variables or constants in horizontal rows and vertical columns enclosed in brackets. Element - each value in.
Designed by Victor Help you improve MATRICES Let Maths take you Further… Know how to write a Matrix, Know what is Order of Matrices,
Matrices, Vectors, Determinants.
College Algebra Chapter 6 Matrices and Determinants and Applications
Use Inverse Matrices to Solve Linear Systems
Chapter 4 Systems of Linear Equations; Matrices
Solving Systems of Equations Using Matrices
Matrices and Systems of Equations 8.1
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Matrix Algebra.
Chapter 4 Systems of Linear Equations; Matrices
2.2 Introduction to Matrices
Matrices and Matrix Operations
Matrices.
Matrix Algebra.
[MATRICES ].
Matrix Operations Ms. Olifer.
Matrix Operations SpringSemester 2017.
[MATRICES ].
Presentation transcript:

Section 4.1 Using Matrices to Represent Data

Matrix Terminology A matrix is a rectangular array of numbers enclosed in a single set of brackets. The dimensions of a matrix are the number of horizontal rows and the number of vertical columns it has. For example, if a matrix has 2 rows and 3 columns, its dimensions are 2 x 3. Each number in the matrix is an called an entry or element.

Using Matrices to Represent Data Inventory (June 1) Small Large Sales (June) Small Large Deliveries (June) Small Large Picnic tables Barbeque grills The table below shows business activity for one month in a home-improvement store. The table shows stock (inventory on June 1), sales (during June), and receipt of new goods (deliveries in June).

Examples of Matrices Inventory Matrix Small Large Picnic tables ⌈ 8 10 ⌉ Barbeque grills ⌊ ⌋ ⌈ 8 10 ⌉ ͟ M ͟ ⌈ m₁₁ m₁₂ ⌉ ⌊ ⌋ ͞ ͞ ⌊ m₂₁ m₂₂ ⌋ M is the name of the matrix. Sales Matrix Small Large Picnic tables ⌈ 7 9 ⌉ Barbeque grills ⌊ ⌋ ⌈ 7 9 ⌉ ͟ S ͟ ⌈ s₁₁ s₁₂ ⌉ ⌊ ⌋ ͞ ͞ ⌊ s₂₁ s₂₂ ⌋ S is the name of the matrix.

If Two Matrices are Equal Two matrices are equal if they have the same dimensions and if corresponding entries are equivalent. Solve ⌈ 2x ⌉ ͟ ⌈ ⌉ for x & y. ⌊ -2 -3y ⌋ ͞ ⌊ -2 5y – 3 -4 ⌋ Because the matrices are equal: 2x + 4 = 12 and -3y + 5 = 5y – 3.

Solving for x and y 2x + 4 = 12 Subtract 4 from both sides 2x = 8 Divide both sides by 2 X = 4 -3y + 5 = 5y – 3 Add 3y to both sides 5 = 8y – 3 Add 3 to both sides 8 = 8y Divide both sides by 8 1 = y

Addition and Scalar Multiplication To find the sum (or difference) of matrices A and B with the same dimensions, find the sums (or differences) of corresponding entries in A and B. Scalar multiplication is multiplication of each entry in a matrix by the same real number.

Properties of Matrix Addition For matrices A, B, and C, each with dimensions of m x n: CommutativeA + B = B + A Associative(A + B) + C = A + (B + C) Additive IdentityThe m x n matrix having 0 as all of its entries is the m x n identity matrix for addition. Additive InverseFor every m x n matrix A, the matrix whose entries are the opposite of those in A is the additive inverse of A.

Section 4.2 Matrix Multiplication

If matrix A has dimensions m x n and matrix B has dimensions n x r, then the product AB has dimensions m x r. Find the entry in row i and column j of AB by finding the sum of the products of the corresponding entries in row i of A and column j of B.

Matrix Multiplication If matrix A has the dimensions 2 x 3 and matrix B has the dimensions 3 x 2, then: AB will have the dimensions 2 x 2. BA will have the dimensions 3 x 3. For AB, 2 x 3 3 x 2, the 2’s are the outer dimensions and the 3’s are the inner dimensions. For BA, 3 x 2 2 x 3, the 3’s are the outer dimensions and the 2’s are the inner dimensions.

Matrix Multiplication If the inner dimensions are the same, then multiplication can occur. The outer dimensions give the product dimensions after multiplication occurs. If the inner dimensions are not the same, then multiplication cannot occur.

Matrix Multiplication ⌈ 2 - 3⌉ ⌈5 0⌉ Let R = | 0 5| and W = ⌊4 7⌋ 3x2 ⌊ - 2 0⌋ 2x2 Row 1 of R, Column 1 of WRow 1 of R, Column 2 of W ⌈(2)(5) + (-3)(4) (2)(0) + (-3)(7)⌉ Row 2 of R, Column 1 of WRow 2 of R, Column 2 of W |(0)(5) + (5)(4)(0)(0) + (5)(7)| Row 3 of R, Column 1 of WRow 3 of R, Column 2 of W ⌊(-2)(5) + (0)(4)(-2)(0) + (0)(7)⌋

Matrix Multiplication ⌈ ⌉ RW = | 20 35| ⌊ ⌋ WR -does not exist because the inner dimensions do no not match. W 2 x 2 3 x 2 R

Matrix Multiplication A network is a finite set of connect points. Each point is called a vertex. A directed network is a network in which permissible directions of travel between the vertices are indicated. You can represent a network in an adjacency matrix, which indicates how many one-stage (direct) paths are possible from one vertex to another.

Section 4.3 The Inverse of a Matrix

Square Matrix A square matrix is a matrix that has the same number of columns and rows. 2x2, 3x3, 4x4,… An identity matrix, called I, has 1’s on the main diagonal and 0’s elsewhere. ⌈ 1 0 0⌉ I₃ₓ₃ = | 0 1 0| ⌊ 0 0 1⌋

More About Matrices The Identity Matrix of Mult. Let A be a square matrix with n rows and n columns. Let I be a matrix with the same dimensions and with 1’s on the main diagonal and 0’s elsewhere. Then A I = I A = A The Inverse of a Matrix Let A be a square matrix with n rows and n columns. If there is an n x n matrix B, such that AB = I, then A and B are inverses of one another. The inverse of matrix A is denoted by A ⁻ ¹. Note A ⁻ ¹ ≠ 1/A

Determinant of a 2 x 2 Matrix Let A = ⌈ a b ⌉. ⌊c d⌋ The determinant of A, denoted by det(A) or |a b| |c d|, Is defined as det(A) = |a b| = ad – bc. |c d| Matrix A has an inverse if and only if det(A) ≠ 0.

Section 4.4 Solving Systems With Matrix Equations

A matrix equation – an equation of the form AX = B, where A is the coefficient matrix, X is the variable matrix, and B is the constant matrix. A system of linear equations can be used to represent situations and be written as a matrix equation.

Solving a Matrix Equation Real Numbers ax = b (1/a)(ax) = (1/a)(b) (1/a)(a)x = b/a x = b/a A linear equation of the form ax = b, where a, b, and x are real numbers and a ≠ 0. Matrices AX = B A ⁻ ¹ (AX) = A ⁻ ¹ (B) (A ⁻ ¹ )(A)X = A ⁻ ¹( B) I X = A ⁻ ¹( B) X = A ⁻ ¹( B)

Example 5x + 2y – z = - 7 ⌈ ⌉ ⌈ x ⌉ ⌈- 7⌉ x - 2y + 2z = 0 → | ||y| = | 0 | 3y + z = 17 ⌊ ⌋ ⌊ z ⌋ ⌊17⌋ ⌈ x ⌉ ⌈ ⌉ ⁻ ¹ ⌈- 7⌉ |y| = | | | 0 | ⌊ z ⌋ ⌊ ⌋ ⌊17⌋ ⌈ x ⌉ ⌈- 2⌉ |y| = | 4 | ⌊ z ⌋ ⌊ 5 ⌋ Thus, the solution is x = - 2, y = 4, and z = 5.

Section 4.5 Using Matrix Row Operations

The row-reduction method of solving a system allows you to determine whether the system is independent, dependent, or inconsistent. The row-reduction method is performed on an augmented matrix. An augmented matrix consists of the coefficients and constant terms in the system of equations. Reduced row-echelon form – an augmented matrix is in this form if the coefficient columns form an identity matrix.

Elementary Row Operations The following operations produce equivalent matrices, and may be used in any order and as many times as necessary to obtain reduced row-echelon form. Interchange two rows. Multiply all entries in one row by a nonzero #. Add a multiple of one row to another.

Example SystemAugmented Matrix m + a + n = 21 ⌈1 1 1 : 21⌉ 2m + a = 23 |2 1 0 : 23| a + 3n = 25 ⌊0 1 3 : 25⌋ coefficients constants -2R₁ + R₂ → R₂ ⌈1 1 1 : 21⌉ | : -19| ⌊0 1 3 : 25⌋

Example Cont. R₂ + R₁ → R₁ -1 R₂ → R₂⌈ : 2 ⌉ | : -19||0 1 2 : 19|⌊0 1 3 : 25⌋ -1 R₂ + R₃ → R₃ R₃ + R₁ → R₁ ⌈ : 2 ⌉⌈1 0 0 : 8 ⌉|0 1 2 : 19|⌊0 0 1 : 6 ⌋

Example Cont. -2R₃ + R₂ → R₂ ⌈1 0 0 : 8 ⌉ |0 1 0 : 7 | ⌊0 0 1 : 6 ⌋ The matrix is now in reduced row-echelon form. m = 8, a = 7, n = 6

Dependent, Independent, or Inconsistent Dependent System – a system of equations that has infinitely many solutions. Independent System – a system of equations that has exactly one solution. Inconsistent System – a system of equations or inequalities that has no solution.