1 / 10

Chapter 1

Chapter 1. Section 1.5 Matrix Operations. Matrices A matrix (despite the glamour of the movie) is a collection of numbers arranged in a rectangle or an array . We use variables like A , B , C , …, [capital letter] to stand for a matrix.

edan
Download Presentation

Chapter 1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 1 Section 1.5 Matrix Operations

  2. Matrices A matrix (despite the glamour of the movie) is a collection of numbers arranged in a rectangle or an array. We use variables like A, B, C, …, [capital letter] to stand for a matrix. We use what are called double scripted variables with a lower case letter of the matrix to refer to the entries in a matrix. The numbers in the subscript give the position the variable is located in with the first number referring to the row and the second number the column. The dimensions or order of the matrix is given in the form (number of rows)  (number of columns). Don't multiply leave it this way! B 9 7 b32 3  3 What do we name this? What is the entry b21? What is the entry b12? What is the variable for 4? What are the dimensions? We name this matrix A This matrix has 2 rows and 3 columns, or has order or dimension 2  3 "read 2 by 3".

  3. Matrix Operations Adding & Subtracting Matrices The way that matrices are added or subtracted is to add or subtract their corresponding entries. This means that the matrices must be of the same dimensions or order. If they are not we say the two matrices are not the same dimensions we say the matrices are nonconformable. The matrices C and D are nonconformable. They can not be added even though they both have 6 entries. Matrix C is 2  3 Matrix D is 1  6

  4. Multiplication by a Scalar We can multiply a matrix by a number (sometimes called a scalar) by multiplying each entry in the matrix by the number. This operation can always be done. We say it is always conformable. We can begin to combine more than one operation at a time. What you get here is nonconformable since the first matrix is 1  3 and the second matrix is 3  1.

  5. Vectors in A vector (or column vector) is a matrix with only 1 column. If number of rows (entries or components) is n we call the vector an n-dimensional vector and it is in the set , which consists of all vectors with n rows. x is a vector in Linear Combinations of Vectors If each entry in a vector is a linear combination of the variables then that vector can be rewritten (expressed) as each variable being multiplied by a vector. We call this a linear combination of vectors.

  6. Vector Form of Solution The general solution to a linear system of equation can be expressed as a linear combination of vectors. The number of vectors required to do this is the same as the number of independent variables and a vector for the constants (if required for a nonhomogeneous system). Some examples are given below. Vector Form Augmented Matrix General Solution

  7. Multiplying Matrices This is not as obvious an operation as you might think! It is not as easy as addition or subtraction that you get with the corresponding entries! What you do is to multiply each entry in a row on the matrix on the left with its corresponding entry in a column of the matrix on the right and add them up. AB = (rows of matrix A) (columns of matrix B) Look at the example below: The dimensions of the result are given by the rows of A and columns of B. 2 3 3 1 2 1 The matrix A is 2  3 and the matrix B is 3  1. The number of columns for the matrix on the right must be the same as the number of rows for the matrix on the left or else they are nonconformable!

  8. 1  3 2  3 1  2 The matrix E and the matrix D are nonconformable even though they are the same dimensions. The columns and rows do not match up! 2  3 2  3 If you multiply a 2  2 matrix by a 2  1 matrix you get another 2  1 matrix!

  9. Matrix Multiplication and Linear Systems A linear system of equations can be written (expressed) as a matrix equation of the form where A is the coefficient matrix, x is a vector consisting of the variables and b is a vector of the constants. Matrix Column Vectors The columns of a matrix can be expressed as vectors. The notation refers to the ith column of matrix A.

  10. Column Vectors and Linear Systems A linear system of equations written in matrix form as can be expressed as linear combination of the column vectors as shown to the right. Column Vectors and Matrix Multiplication The product of a matrix A and a matrix B can be formed by taking each column vector of B and multiplying it by the matrix A.

More Related