Matrices and systems of Equations
Definition of a Matrix * Rectangular array of real numbers m rows by n columns * Named using capital letters * First subscript is row, second subscript is column
Terminology * A matrix with m rows and n columns is called a matrix of order m x n. A square matrix is a matrix with an equal number of rows and columns. Since the number of rows and columns are the same, it is said to have order n. * The main diagonal of a square matrix are the elements from the upper left to the lower right of the matrix. * A row matrix is a matrix that has only one row. * A column matrix is a matrix that has only one column. * A matrix with only one row or one column is called a vector.
Converting Systems of Linear Equations to Matrices Each equation in the system becomes a row. Each variable in the system becomes a column. The variables are dropped and the coefficients are placed into a matrix x + y - z = 13 x - 2y + z = 34 x + y - 2z = 9 x y z rhs []
Augmented Matrix: standard form of a matrix derived from a system of linear equations Coefficient Matrix: standard form of a matrix not including the constant terms x y z rhs [ ] x y z [ ]
Convert the following into augmented matrix x - z = 13 -2y + z = 34 -x + y = 9 -x + 2y - 6z = 1 x - y + 3z = 1 x + y - z = 4 4x +2y - z = 44 x - y + 3z = 9 x + 3y - z = 0 z = 1 -2y = 24 x = 6
Back-Substitution x-2y+3z=9 y+3z=5 z=2 { [] y + 3(2) = 5 y = -1 x - 2 (-1) + 3 (2) = 9 x - 2(-1) + 3(2) = 9 x =9 x=1 x=1, y=-1, z=2
Practice: Use back substitution to find the value of x, y, z X=2, y=-2, z=2X=-126, y=39, z=3 X=22, y=38, z=-7 X=89, y=23, z=7