Matrices and Matrix Operations

Slides:



Advertisements
Similar presentations
Applied Informatics Štefan BEREŽNÝ
Advertisements

Matrices & Systems of Linear Equations
MF-852 Financial Econometrics
Matrices. Special Matrices Matrix Addition and Subtraction Example.
Matrices and Systems of Equations
Review of Matrix Algebra
CALCULUS – II Matrix Multiplication by Dr. Eman Saad & Dr. Shorouk Ossama.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
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.
1 Operations with Matrice 2 Properties of Matrix Operations
8.4 Matrix Operations Day 1 Thurs May 7 Do Now Solve X – 2y = -6 3x + 4y = 7.
1.3 Matrices and Matrix Operations.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
ECON 1150 Matrix Operations Special Matrices
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Chap. 2 Matrices 2.1 Operations with Matrices
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.
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.
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,
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.
Company LOGO Chapter 1: Matrix, Determinant, System of linear equations Module 1: Matrix Natural Science Department Example 1: The following rectangular.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Prepared by Deluar Jahan Moloy Lecturer Northern University Bangladesh
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: Basic Operations and Their Properties
Chapter 2 … part1 Matrices Linear Algebra S 1. Ch2_2 2.1 Addition, Scalar Multiplication, and Multiplication of Matrices Definition A matrix is a rectangular.
1.3 Matrices and Matrix Operations. A matrix is a rectangular array of numbers. The numbers in the arry are called the Entries in the matrix. The size.
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.
Matrices and Determinants
Linear Algebra Chapter 2 Matrices.
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.
STROUD Worked examples and exercises are in the text Programme 5: Matrices MATRICES PROGRAMME 5.
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,
STROUD Worked examples and exercises are in the text PROGRAMME 5 MATRICES.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
MATRICES. Introduction Matrix algebra has several uses in economics as well as other fields of study. One important application of Matrices is that it.
2.1 Matrix Operations 2. Matrix Algebra. j -th column i -th row Diagonal entries Diagonal matrix : a square matrix whose nondiagonal entries are zero.
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.
Linear Algebra by Dr. Shorouk Ossama.
Matrices.
MTH108 Business Math I Lecture 20.
Linear Equations in Linear Algebra
7.1 Matrices, Vectors: Addition and Scalar Multiplication
3.8 Matrices L Al-zaid Math1101.
Sections 2.4 and 2.5 Matrix Operations
Matrices and Matrix Operations
MATRICES.
Lecture 2 Matrices Lat Time - Course Overview
MATHEMATICS Matrix Algebra
5 Systems of Linear Equations and Matrices
MATHEMATICS Matrix Multiplication
Matrix Operations.
Matrices and Systems of Equations 8.1
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
7.3 Matrices.
1.3 Vector Equations.
Section 2.4 Matrices.
CS100: Discrete structures
6 Systems of Linear Equations and Matrices
MATRICES Operations with Matrices Properties of Matrix Operations
Systems of Linear Equations and Matrices
Linear Equations in Linear Algebra
Matrix Operations SpringSemester 2017.
3.8 Matrices L Al-zaid Math1101.
Presentation transcript:

Matrices and Matrix Operations Lecture 4 Matrices and Matrix Operations

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.

Example 1 Examples of matrices Some examples of matrices Size 3 x 2, 1 x 4, 3 x 3, 2 x 1, 1 x 1 entries row matrix or row vector column matrix or column vector # columns # rows

Matrices Notation and Terminology(1/2) A general m x n matrix A as The entry that occurs in row i and column j of matrix A will be denoted . If is real number, it is common to be referred as scalars.

Matrices Notation and Terminology(2/2) The preceding matrix can be written as A matrix A with n rows and n columns is called a square matrix of order n, and the shaded entries are said to be on the main diagonal of A.

Definition Two matrices are defined to be equal if they have the same size and their corresponding entries are equal.

Example 2 Equality of Matrices Consider the matrices If x=5, then A=B. For all other values of x, the matrices A and B are not equal. There is no value of x for which A=C since A and C have different sizes.

Operations on Matrices If A and B are matrices of the same size, then the sum A+B is the matrix obtained by adding the entries of B to the corresponding entries of A. Vice versa, the difference A-B is the matrix obtained by subtracting the entries of B from the corresponding entries of A. Note: Matrices of different sizes cannot be added or subtracted.

Example 3 Addition and Subtraction Consider the matrices Then The expressions A+C, B+C, A-C, and B-C are undefined.

Definition If A is any matrix and c is any scalar, then the product cA is the matrix obtained by multiplying each entry of the matrix A by c. The matrix cA is said to be the scalar multiple of A.

Example 4 Scalar Multiples (1/2) For the matrices We have It common practice to denote (-1)B by –B.

Example 4 Scalar Multiples (2/2)

Definition If A is an m×r matrix and B is an r×n matrix, then the product AB is the m×n matrix whose entries are determined as follows. To find the entry in row i and column j of AB, single out row i from the matrix A and column j from the matrix B .Multiply the corresponding entries from the row and column together and then add up the resulting products.

Example 5 Multiplying Matrices (1/2) Consider the matrices Solution Since A is a 2 ×3 matrix and B is a 3 ×4 matrix, the product AB is a 2 ×4 matrix. And:

Example 5 Multiplying Matrices (2/2)

Examples 6 Determining Whether a Product Is Defined Suppose that A ,B ,and C are matrices with the following sizes: A B C 3 ×4 4 ×7 7 ×3 Solution: Then by (3), AB is defined and is a 3 ×7 matrix; BC is defined and is a 4 ×3 matrix; and CA is defined and is a 7 ×4 matrix. The products AC ,CB ,and BA are all undefined.

Example 7 Example5 Revisited This is the special case of a more general procedure for multiplying partitioned matrices. If A and B are the matrices in Example 5,then from (6)the second column matrix of AB can be obtained by the computation From (7) the first row matrix of AB can be obtained by the computation

Matrix Products as Linear Combinations (1/2)

Matrix form of a Linear System(1/2) Consider any system of m linear equations in n unknowns. Since two matrices are equal if and only if their corresponding entries are equal. The m×1 matrix on the left side of this equation can be written as a product to give:

Matrix form of a Linear System(1/2) If w designate these matrices by A ,x ,and b ,respectively, the original system of m equations in n unknowns has been replaced by the single matrix equation The matrix A in this equation is called the coefficient matrix of the system. The augmented matrix for the system is obtained by adjoining b to A as the last column; thus the augmented matrix is

Definition If A is any m×n matrix, then the transpose of A ,denoted by ,is defined to be the n×m matrix that results from interchanging the rows and columns of A ; that is, the first column of is the first row of A ,the second column of is the second row of A ,and so forth.

Example 10 Some Transposes (1/2)

Example 10 Some Transposes (2/2) Observe that In the special case where A is a square matrix, the transpose of A can be obtained by interchanging entries that are symmetrically positioned about the main diagonal.

Definition If A is a square matrix, then the trace of A ,denoted by tr(A), is defined to be the sum of the entries on the main diagonal of A .The trace of A is undefined if A is not a square matrix.

Example 11 Trace of Matrix