Matrices. Given below is a record of all the types of books kept in a class library. TypeFictionGeneral Malay2547 Chinese4072 English8085.

Slides:



Advertisements
Similar presentations
Determinant The numerical value of a square array of numbers that can be used to solve systems of equations with matrices. Second-Order Determinant (of.
Advertisements

Matrix Algebra Matrix algebra is a means of expressing large numbers of calculations made upon ordered sets of numbers. Often referred to as Linear Algebra.
Chapter 4 Systems of Linear Equations; Matrices Section 6 Matrix Equations and Systems of Linear Equations.
Matrices: Inverse Matrix
MF-852 Financial Econometrics
Chapter 2 Matrices Definition of a matrix.
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.
Economics 2301 Matrices Lecture 13.
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
Matrices and Determinants
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
3.8 Matrices.
1 Operations with Matrice 2 Properties of Matrix Operations
1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.
5  Systems of Linear Equations: ✦ An Introduction ✦ Unique Solutions ✦ Underdetermined and Overdetermined Systems  Matrices  Multiplication of Matrices.
259 Lecture 14 Elementary Matrix Theory. 2 Matrix Definition  A matrix is a rectangular array of elements (usually numbers) written in rows and columns.
Compiled By Raj G. Tiwari
Rev.S08 MAC 1140 Module 10 System of Equations and Inequalities II.
Matrix Inversion.
Matrix Entry or element Rows, columns Dimensions Matrix Addition/Subtraction Scalar Multiplication.
4.6 Matrix Equations and Systems of Linear Equations In this section, you will study matrix equations and how to use them to solve systems of linear equations.
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.
WEEK 8 SYSTEMS OF EQUATIONS DETERMINANTS AND CRAMER’S RULE.
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
Matrices. A matrix, A, is a rectangular collection of numbers. A matrix with “m” rows and “n” columns is said to have order m x n. Each entry, or element,
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.
8.1 Matrices & Systems of Equations
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Unit 6 : Matrices.
Chapter 3 Determinants Linear Algebra. Ch03_2 3.1 Introduction to Determinants Definition The determinant of a 2  2 matrix A is denoted |A| and is given.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Notes 7.2 – Matrices I. Matrices A.) Def. – A rectangular array of numbers. An m x n matrix is a matrix consisting of m rows and n columns. The element.
ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.
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.
Matrices. What you need to learn Know how to write a Matrix Know what is ORDER of Matrices Addition and Subtraction of Matrices Multiplication of Matrices.
Matrices: Basic Operations and Their Properties
Matrices: Simplifying Algebraic Expressions Combining Like Terms & Distributive Property.
Sec 4.1 Matrices.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
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
Goal: Find sums, differences, products, and inverses of matrices.
What is Matrix Multiplication? Matrix multiplication is the process of multiplying two matrices together to get another matrix. It differs from scalar.
Matrices and Matrix Operations. Matrices An m×n matrix A is a rectangular array of mn real numbers arranged in m horizontal rows and n vertical columns.
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.
2.5 – Determinants and Multiplicative Inverses of Matrices.
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,
Matrices Presentation by : Miss Matkar Pallavi. P.
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.
Matrix Operations McDougal Littell Algebra 2 Larson, Boswell, Kanold, Stiff Larson, Boswell, Kanold, Stiff Algebra 2: Applications, Equations, Graphs Algebra.
Section 6-2: Matrix Multiplication, Inverses and Determinants There are three basic matrix operations. 1.Matrix Addition 2.Scalar Multiplication 3.Matrix.
MATRICES A rectangular arrangement of elements is called matrix. Types of matrices: Null matrix: A matrix whose all elements are zero is called a null.
Copyright © Cengage Learning. All rights reserved. 8 Matrices and Determinants.
Matrices Introduction.
College Algebra Chapter 6 Matrices and Determinants and Applications
Elementary Matrix Theory
Chapter 4 Systems of Linear Equations; Matrices
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Matrix Algebra.
Dr Huw Owens Room B44 Sackville Street Building Telephone Number 65891
Matrices.
Matrix Algebra.
Rayat Shikshan Sanstha’s S.M.Joshi College, Hadapsar -28
Matrix Operations Ms. Olifer.
Matrix Operations SpringSemester 2017.
3.5 Perform Basic Matrix Operations Algebra II.
Presentation transcript:

Matrices

Given below is a record of all the types of books kept in a class library. TypeFictionGeneral Malay2547 Chinese4072 English8085

The numbers in the table can be presented in a rectangular array. The first column represents the number of books which are fiction and the first row represents the number of books in Malay, and so on.

A set of numbers arranged in this manner is called a matrix ( plural – matrices) The numbers within each matrix are the elements. In the above matrix, there are 3 rows and 2 columns. This matrix has a order of 3 by 2 or it is a 3 x 2 matrix. In general an m x n matrix refers to m rows and n columns. Its order is m x n

Column matrix : If the matrix only has one singular column Row matrix : If the matrix only has one singular row.

Square matrix : Is when the matrix has an equal number of rows & columns. If every elements in a matrix is zero then its is a null matrix ( zero matrix) ; It is denoted by 0

Identity matrix Given that matrix A has an inverse, which is A -1, Then when matrix A is multiplied with the inverse matrix A -1, it will give a matrix called identity matrix. A A -1 = I

Singular Matrix. Given that the determinant of A is 0. i.e. det A = 0, then the inverse of A does not exist. When a matrix does not have an inverse then that matrix is called the Singular matrix. For example this matrix does not have an inverse, it is a singular matrix.

When are 2 matrices equal?? If 2 matrices A and B –are of the same order –have corresponding elements that are equal Then, we can say that they are equal.

Addition & Subtraction of Matrices Given that P & Q are matrices of the same order P + Q = =

P - Q = = Note: If the order of P and Q are not the same, their sum and difference are not defined

Scalar Multiplication Multiplication of a matrix by a real number kP = where k is a real number

Matrix Multiplication Possible only if no. of columns in left matrix = no. of rows in right matrix Multiplying m x n matrix by n x p matrix will result in an m x p matrix ie: A 3x3 matrix multiplied by a 3x2 matrix result in a 3x2 matrix. A 3x2 matrix multiplied by a 2x3 matrix result in a 3x3 matrix. A 3x2 matrix multiplied by a 3x3 matrix is not posible

To multiply 2 matrices: = x 22 x 3

Some Properties of Matrix Multiplication NOT commutative ie:AB ≠ BA Is associative ie: ABC = (AB)C = A(BC)

Commutative and associative properties surprised to learn that matrix multiplication is not commutative but associative. Explain using a problem

Commutative and associative properties Prices A C B Calculate (AB)C and A(BC). Explain why they are equal. Page 3 What information does the matrix AB gives? BA? (AB)C is calculated by first finding the number of doors and windows in each of the developments and then finding the total cost of windows and doors for each development. A(BC) is calculated by first finding the cost of the doors and windows in each model and then finding their total cost for each development.

*Determinant of n  n matrix General Formula for the Determinant Let A be a square matrix of order n. Write A = ( a ij ), where a ij is the entry on the row number i and the column number j, for i =1, …, n and j = 1,, n. We have for any fixed i, and for any fixed j where A ij (called the cofactors) is the determinant of the square matrix of order (n-1) obtained from A by removing the row number i and the column number j multiplied by (-1) i + j.

Inverse of a matrix Definition of inverse An n x n matrix A is said to be invertible if we can find an n x n matrix B such that AB = BA = I B is called the inverse of A and is usually denoted A -1.

Inverse of a matrix The inverse of a square matrix does not always exist. If the inverse exists, the matrix is defined to be non-singular (i.e. det A  0) If the inverse does not exist the matrix is singular(i.e. det A =0).

Inverse of a matrix The importance of the inverse matrix can be seen from the solution of a set of algebraic linear equations such as Ax = b If the inverse A -1 exists then pre-multiplying both sides gives A -1 Ax = A -1 b Ix = A -1 b and since pre-multiplying a column vector of length n by the nth order identity matrix I does not affect its value, this process gives an explicit solution to the set of equations x = A -1 b

Using matrices to solve Simultaneous Equations We can solve simple simultaneous equations like x +3y = 6 and 2x + y = 4 by using matrices. It can be represented by matrix equation x + 3y6 2x + y 4 or 1 3x 6 21y4

How to solve simultaneous equations using matrices? This is in the form of AX = B where A 1 3 X x and B y 4 If A has an inverse ( ie A -1 ) Then A -1 A X = A -1 B ie I X = A -1 B X = A -1 B

To find the variables x and y First, determine if determinant A exists det A = ( 1 x 1) – (2 x 3) = 1 – 6 = -5 A Hence, X = A -1 B

Thus, x 6y To check, subsitute x = 6/5 and y =8/5 back into the original set of equations.

Other Applications We are given two matrices X and Y that show the price of 3 brands of cat food sold at two stores, for months May and June respectively. X Y

ai) Evaluate Y - X First, determine if the operation can take place. This means that the order of the two matrices are the same. Y – X = =

Explain what the numbers in the answer represent. The values in the matrix shows the increase or decrease in prices of the three brands of cat food by comparing the June prices against the May prices.

b) Write down a matrix M such that XM will show the total costs for each brand of cat food First, decide which matrix to use. In this case, its matrix X. Write down the order of the matrix. Thus, matrix X is a 3 x 2 matrix.

Know order of final matrix Also, there is a need to know the order of the final matrix. In this case, its going to be a 3 x 1 matrix to show the total cost for each of the brands. X M = Total costfor brand A brand B brand C

To find the order of matrix M X M = Total cost ( 3 x 2) M = ( 3 x 1 ) Thus M needs to be a (2 x 1) matrix.

To find total cost, multiply the two matrices together Total cost In cents = =

What are the values of m 1, m 2, m 3 ? The amount spend in May and June for Cat food on Brand A = 950 cents = $9.50 Brand B = $10.30 and Brand C = $ The prices are given in 50 cents per 100g. If the Question asks for 10 tins of 500g, thus we need to multiply the cost 50 cents by 50.

Matrices Storing and organising numerical data 6 rows and 7 columns of data, we say the matrix has size (order) 6  7 Page 1

Operations with Matrices Page 2 (a) Form a matrix of prices and use it to find the total amount taken on each of the 3 days. (b) What information would be found by pre- multiplying V by (1 1 1)? The prices of the drinks per cup are 55¢ for tea, 60¢ for coffee and 75¢ for drinking chocolate. explain why the matrix of prices can be a 3  1 or 1  3 matrix in (a) and what information is found if V is post-multiplied by

Routes Matrices Page 4 A E D C B the loop at B gives 2 routes from B to B but the loop at D gives only 1 route because it is one-way only. R =