Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 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 of a matrix is described in terms of number of rows and columns in contains. A matrix with only one column is called a column matrix (or a column vector). A matrix with only one row is called a row matrix (or a row vector). Example:

2 Matrices The entry that occurs in row i and column j of a matrix of A will be denoted by aij. A general 3X4 matrix might be written as A general mXn matrix as It can be written as

3 The entry in row I and column j of a matrix A is also commonly denoted by the Symbol Example: A general 1Xn row matrix a and a general mX1 column matrix b would be written as A matrix A with n rows and n columns is called a square matrix of order n, and the Shaded entries of A are said to be on the main diagonal of A

4 Operations on Matrices Two matrices are defined to be equal if they have the same size and their Corresponding entries are equal. In matrix notation, if have the same size, then A=B if and only if for all i and j. 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, and the difference A-B is The matrix obtained by subtracting the entries of B from the corresponding entries of A. Matrices of different sizes cannot be added or subtracted. In matrix notation, if, then

5

6 If A is any matrix and c is any scalar (real number), then the product cA is the matrix Obtained by multiplying each entry of the matrix A by c. The matrix cA is caid to be A scalar multiple of A. In matrix notation, if A=, then

7 If are matrices of the same size and are scalars, then Is called a linear combination of with coefficients 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 The definition of matrix multiplication requires that the number of columns of the First factor A be the same as the number of rows of the second factor B in order To form the product AB. If this condition is not satisfied, the product is undefined.

8 In general, if is an mXr matrix and is an rXn matrix, then The entry in row i and column j of AB is given by

9

10 Partitioned Matrices A matrix can be subdivided or partitioned into smaller matrices by inserting horizontal and vertical rules between selected rows and columns Example

11 Matrix Multiplication by Columns and by Rows jth column matrix of AB = A [ jth column matrix of B ] ith row matrix of AB = [ ith row matrix of A ] B If a 1, a 2, …, a m denote the row matrices of A and b1, b2,..., bn denote the column matrices of B, then it follows that

12 Example:

13 Matrix Products as Linear Combinations Row and column matrices provide an alternative way of thinking about matrix multiplication.

14 Similarly, you can show that The product yA of a 1Xm matrix y with an mXn matrix A is a linear combination of the Row matrices of A with scalar coefficients coming from y. Example: Example In words, the product Ax of a matrix A with a column matrix x is a linear combination Of the column matrices of A with the coefficients coming from the matrix x

15 It follows that the jth column matrix of a product AB is a linear combination of the Column matrices of A with the coefficients coming from the jth column of B. Example:

16 Matrix Form of a Linear System

17 Let then the original system of linear equations can be replaced by the matrix equation Ax=b Here A is called the coefficient matrix.

18 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. Transpose of a Matrix Example:

19 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. Trace of a Matrix Example:


Download ppt "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."

Similar presentations


Ads by Google