Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— 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! We name this matrix A This matrix has 2 rows and 3 columns, or has order or dimension 2  3 "read 2 by 3". What do we name this? What is the entry b 21 ? What is the entry b 12 ? What is the variable for 4? What are the dimensions? B 9 7 b 32 3  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

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. Augmented Matrix Vector Form 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 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! 2  32  33  13  12  12  1 The dimensions of the result are given by the rows of A and columns of B.

8 1  2 2  3 1  3 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 If you multiply a 2  2 matrix by a 2  1 matrix you get another 2  1 matrix!

9

10


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

Similar presentations


Ads by Google