Matrices.

Slides:



Advertisements
Similar presentations
Matrix.
Advertisements

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.
Lesson 12.2 Matrix Multiplication. 3 Row and Column Order The rows in a matrix are usually indexed 1 to m from top to bottom. The columns are usually.
Chapter 4 Systems of Linear Equations; Matrices Section 6 Matrix Equations and Systems of Linear Equations.
MF-852 Financial Econometrics
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.
8.4 Matrix Operations Day 1 Thurs May 7 Do Now Solve X – 2y = -6 3x + 4y = 7.
3.5 Solution by Determinants. The Determinant of a Matrix The determinant of a matrix A is denoted by |A|. Determinants exist only for square matrices.
Systems and Matrices (Chapter5)
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
 Row and Reduced Row Echelon  Elementary Matrices.
Needs Work Need to add –HW Quizzes Chapter 13 Matrices and Determinants.
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.
Matrix Determinants and Inverses
8.1 Matrices & Systems of Equations
Matrices Addition & Subtraction Scalar Multiplication & Multiplication Determinants Inverses Solving Systems – 2x2 & 3x3 Cramer’s Rule.
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.
Unit 6 : Matrices.
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
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.
Prepared by Deluar Jahan Moloy Lecturer Northern University Bangladesh
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Chapter 8 Matrices and Determinants Matrix Solutions to Linear Systems.
Matrices: Basic Operations and Their Properties
4.1: Matrix Operations Objectives: Students will be able to:
4.1: Matrix Operations Objectives: Students will be able to: Add, subtract, and multiply a matrix by a scalar Solve Matrix Equations Use matrices to organize.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Chapter 5 More Work with Matrices
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
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.
Determinants Every n  n matrix A is associated with a real number called the determinant of A, written  A . The determinant of a 2  2 matrix.
Matrices Presentation by : Miss Matkar Pallavi. P.
Matrices. Matrix - a rectangular array of variables or constants in horizontal rows and vertical columns enclosed in brackets. Element - each value in.
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.
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. Introduction Matrix algebra has several uses in economics as well as other fields of study. One important application of Matrices is that it.
10.4 Matrix Algebra. 1. Matrix Notation A matrix is an array of numbers. Definition Definition: The Dimension of a matrix is m x n “m by n” where m =
Linear Algebra by Dr. Shorouk Ossama.
College Algebra Chapter 6 Matrices and Determinants and Applications
Chapter 4 Systems of Linear Equations; Matrices
Finding the Inverse of a Matrix
Chapter 5 Systems and Matricies. Chapter 5 Systems and Matricies.
L6 matrix operations.
L9Matrix and linear equation
ECON 213 Elements of Mathematics for Economists
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Matrix Algebra.
Matrix Algebra.
MATRICES MATRIX OPERATIONS.
Matrix Algebra.
Multiplying Matrices.
MATRICES MATRIX OPERATIONS.
2.2 Introduction to Matrices
Section 8.4 Matrix Algebra
Matrices and Matrix Operations
Section 11.4 Matrix Algebra
Matrices.
Matrix Algebra.
Rayat Shikshan Sanstha’s S.M.Joshi College, Hadapsar -28
MATRICES MATRIX OPERATIONS.
MATRICES MATRIX OPERATIONS.
Matrices.
Matrix Operations Ms. Olifer.
Matrix Operations SpringSemester 2017.
Matrix Algebra.
3.5 Perform Basic Matrix Operations Algebra II.
Presentation transcript:

Matrices

Element - Each value in a matrix; either a number or a constant. Matrix - A rectangular array of variables or constants in horizontal rows and vertical columns enclosed in brackets. Element - Each value in a matrix; either a number or a constant. Dimension - Number of rows by number of columns of a matrix. **A matrix is named by its dimensions.

Examples: Find the dimensions of each matrix. Dimensions: 3x2 Dimensions: 4x1 Dimensions: 2x4

Different types of Matrices Column Matrix - A matrix with only one column. Row Matrix - A matrix with only one row. Square Matrix - A matrix that has the same number of rows and columns.

NAME DESCRIPTION EXAMPLE Row matrix A matrix with only 1 row Column matrix A matrix with only I column Square matrix A matrix with same number of rows and columns Zero matrix A matrix with all zero entries

Equal Matrices - Two matrices that have the same dimensions and each element of one matrix is equal to the corresponding element of the other matrix. *The definition of equal matrices can be used to find values when elements of the matrices are algebraic expressions.

COMPARING MATRICES EQUAL MATRICES: Matrices having equal corresponding entries. For Example:

Addition of Matrices 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. 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 add these add these add these add these add these

Matrix addition is commutative Matrix addition is associative

Scalar Multiplication of Matrices If A is an m × n matrix and s is a scalar, then we let kA denote the matrix obtained by multiplying every element of A by k. This procedure is called scalar multiplication. PROPERTIES OF SCALAR MULTIPLICATION

The m × n zero matrix, denoted 0, is the m × n matrix whose elements are all zeros. 1 × 3 2 × 2

SOLVING A MATRIX EQUATION For example:

Multiplication of Matrices The multiplication of matrices is easier shown than put into words. You multiply the rows of the first matrix with the columns of the second adding products Find AB First we multiply across the first row and down the first column adding products. We put the answer in the first row, first column of the answer.

Find AB Notice the sizes of A and B and the size of the product AB. Now we multiply across the second row and down the second column and we’ll put the answer in the second row, second column. Now we multiply across the first row and down the second column and we’ll put the answer in the first row, second column. Now we multiply across the second row and down the first column and we’ll put the answer in the second row, first column. We multiplied across first row and down first column so we put the answer in the first row, first column.

To multiply matrices A and B look at their dimensions MUST BE SAME SIZE OF PRODUCT If the number of columns of A does not equal the number of rows of B then the product AB is undefined.

23 32 Now let’s look at the product BA. can multiply size of answer across third row as we go down first column: across third row as we go down second column: across second row as we go down third column: across second row as we go down second column: across third row as we go down third column: across second row as we go down first column: across first row as we go down first column: across first row as we go down second column: across first row as we go down third column: Completely different than AB!

PROPERTIES OF MATRIX MULTIPLICATION Is it possible for AB = BA ? ,yes it is possible.

Multiplying a matrix by the identity gives the matrix back again. What is AI? What is IA? identity matrix an n  n matrix with ones on the main diagonal and zeros elsewhere

Can we find a matrix to multiply the first matrix by to get the identity? Let A be an n n matrix. If there exists a matrix B such that AB = BA = I then we call this matrix the inverse of A and denote it A-1.

PRODUCT OF TWO MATRICES For example: FIND (a.) AB and (b.) BA

SOLUTION

INVERSE MATRIX The inverse of the matrix

EXAMPLE Find the inverse of Solution:

CHECK THE SOLUTION

If A has an inverse we say that A is nonsingular If A has an inverse we say that A is nonsingular. If A-1 does not exist we say A is singular. To find the inverse of a matrix we put the matrix A, a line and then the identity matrix. We then perform row operations on matrix A to turn it into the identity. We carry the row operations across and the right hand side will turn into the inverse. To find the inverse of a matrix we put the matrix A, a line and then the identity matrix. We then perform row operations on matrix A to turn it into the identity. We carry the row operations across and the right hand side will turn into the inverse. r2 r1  r2 2r1+r2

Check this answer by multiplying Check this answer by multiplying. We should get the identity matrix if we’ve found the inverse.

We can use A-1 to solve a system of equations To see how, we can re-write a system of equations as matrices. coefficient matrix variable matrix constant matrix

left multiply both sides by the inverse of A This is just the identity but the identity times a matrix just gives us back the matrix so we have: This then gives us a formula for finding the variable matrix: Multiply A inverse by the constants.

x y find the inverse -2r1+r2 r1-3r2 -r2 This is the answer to the system y

Determinants

**To find a determinant you must have a SQUARE MATRIX!!** Determinant - A square array of numbers or variables enclosed between parallel vertical bars. **To find a determinant you must have a SQUARE MATRIX!!** Finding a 2 x 2 determinant:

Find the determinant:

Step 1: Rewrite first two rows of the matrix. Finding a 3x3 determinant: SARRUS DIAGRAM METHOD Step 1: Rewrite first two rows of the matrix.

126 - (-52) 126 + 52 = 178 Step 2: multiply diagonals going up! -224 +10 +162 = -52 Step 2: multiply diagonals going up! Step 2: multiply diagonals going down! +12 -126 +240 =126 Step 3: Bottom minus top! 126 - (-52) 126 + 52 = 178

38 - 38 = 0 Step 2: multiply diagonals going up! -18 +50 +6 = 38 Step 2: multiply diagonals going up! Step 2: multiply diagonals going down! - 15 45 + 8 = 38 Step 3: Bottom minus top! 38 - 38 = 0

CRAMER”S RULE FOR A 22 SYSTEM Let A be the co-efficient matrix of the linear system: ax+by= e & cx+dy= f. IF det A ≠0, then the system has exactly one solution. The solution is: The numerators for x and y are the determinant of the matrices formed by using the column of constants as replacements for the coefficients of x and y, respectively.

EXAMPLE Use cramer’s rule to solve this system: 8x+5y = 2 2x-4y = -10

SOLUTION Solution: Evaluate the determinant of the coefficient matrix Apply cramer’s rule since the determinant is not zero. The solution is (-1,2)

Assignment

If a matrix has 24 elements , what are the possible order it can have? Construct a 3x3 matrix whose elements are aij=i+j

3.The bookshop of a school has 10 dozen chemistry books, 8 dozen physics books, and 10 dozen books of maths. Their selling price are Rs.80 ,Rs 60 and Rs 40resp.find the total amount the bookshop will receive from selling all the books? 4.Expand the determinent 2 -4 3 3 1 2 7 6 1 5. find x: x 2 -1 2 5 x -1 2 x

6. evaluate by sarrus diagram: 1 a b+c 1 b c+a 1 c a+b 7. Prove that 1 1 1 a b c = (b-c)(c-a)(a-b)(a+b+c) a3 b3 c3

Solve the equations by crammer rule: 8. 3x-4y=1 -2x+5y=-3 9 Solve the equations by crammer rule: 8. 3x-4y=1 -2x+5y=-3 9. x+y=1 x+z=-6 x-y-2z=3 10. 2x-y+z=11 X+2y+3z=2 3x+y-z=6

test NOTE:DO ANY THREE

1: find X and Y ,if 2X+3Y=1 And 5X+7Y=2 2: Construct a 2x2 Matrix A =[a] where a= I2i-3jI/2 3 :If 2 4 = 2x 4 ; Find the value of x 5 1 6 x 4:Evaluate 1 3 5 2 6 10 31 11 38

6.Solve the equation : 5.Let f(x)=x-5x+6 .find f(A) A= 2 0 1 2 1 3 2 1 3 1 -1 0 6.Solve the equation : 6x+y-3z=5 x+3y-2z=5 2x+y+4z=8