Chapter 2 Review. Solution of Linear Systems by the Echelon Method

Similar documents
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

1 Introduction to Matrices

Using row reduction to calculate the inverse and the determinant of a square matrix

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

Lecture 2 Matrix Operations

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Linear Equations ! $ & " % & " 11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

Arithmetic and Algebra of Matrices

Lecture 1: Systems of Linear Equations

Solving Systems of Linear Equations

Row Echelon Form and Reduced Row Echelon Form

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. (

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

Solving Linear Systems, Continued and The Inverse of a Matrix

Question 2: How do you solve a matrix equation using the matrix inverse?

Solving Systems of Linear Equations Using Matrices

Systems of Linear Equations

Lecture Notes 2: Matrices as Systems of Linear Equations

Solving simultaneous equations using the inverse matrix

Introduction to Matrix Algebra

Notes on Determinant

MATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2

Introduction to Matrices for Engineers

Typical Linear Equation Set and Corresponding Matrices

Solution to Homework 2

5.5. Solving linear systems by the elimination method

Linear Algebra Notes for Marsden and Tromba Vector Calculus

How To Understand And Solve Algebraic Equations

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.

1 VECTOR SPACES AND SUBSPACES

Name: Section Registered In:

MAT188H1S Lec0101 Burbulla

Math 312 Homework 1 Solutions

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

Linearly Independent Sets and Linearly Dependent Sets

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

Lecture notes on linear algebra

9 MATRICES AND TRANSFORMATIONS

Systems of Linear Equations

Operation Count; Numerical Linear Algebra

Systems of Equations

Solving Systems of Linear Equations

Similar matrices and Jordan form

Brief Introduction to Vectors and Matrices

Some Lecture Notes and In-Class Examples for Pre-Calculus:

CURVE FITTING LEAST SQUARES APPROXIMATION

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Style. Learning Outcomes

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

10.2 Systems of Linear Equations: Matrices

Linear Algebra Review. Vectors

Chapter Two: Matrix Algebra and its Applications 1 CHAPTER TWO. Matrix Algebra and its applications

5 Homogeneous systems

Data Mining: Algorithms and Applications Matrix Math Review

Section 5.3. Section 5.3. u m ] l jj. = l jj u j + + l mj u m. v j = [ u 1 u j. l mj

MATH APPLIED MATRIX THEORY

Reduced echelon form: Add the following conditions to conditions 1, 2, and 3 above:

DATA ANALYSIS II. Matrix Algorithms

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form

LINEAR ALGEBRA. September 23, 2010

University of Lille I PC first year list of exercises n 7. Review

Equations, Inequalities & Partial Fractions

MATH2210 Notebook 1 Fall Semester 2016/ MATH2210 Notebook Solving Systems of Linear Equations... 3

Section 8.2 Solving a System of Equations Using Matrices (Guassian Elimination)

CS3220 Lecture Notes: QR factorization and orthogonal transformations

Linear Algebra: Determinants, Inverses, Rank

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method

x = + x 2 + x

1 Sets and Set Notation.

8 Square matrices continued: Determinants

Matrix Algebra in R A Minimal Introduction

How To Understand And Solve A Linear Programming Problem

Vocabulary Words and Definitions for Algebra

Linear Algebra Notes

u = [ 2 4 5] has one row with three components (a 3 v = [2 4 5] has three rows separated by semicolons (a 3 w = 2:5 generates the row vector w = [ 2 3

Methods for Finding Bases

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.

Here are some examples of combining elements and the operations used:

MATHEMATICS FOR ENGINEERING BASIC ALGEBRA

Excel supplement: Chapter 7 Matrix and vector algebra

Math Common Core Sampler Test

Vector and Matrix Norms

( ) which must be a vector

SOLVING LINEAR SYSTEMS

1.2 Solving a System of Linear Equations

Linear Algebra and TI 89

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

6. Cholesky factorization

A =

7. LU factorization. factor-solve method. LU factorization. solving Ax = b with A nonsingular. the inverse of a nonsingular matrix

Elementary Matrices and The LU Factorization

1 Solving LPs: The Simplex Algorithm of George Dantzig

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components

Determinants can be used to solve a linear system of equations using Cramer s Rule.

Transcription:

Chapter 2 Review Solution of Linear Systems by the Echelon Method A first-degree equation in n unknowns is any equation of the form a 1 x 1 + a 2 x 2 + + a n x n = k, where a 1, a 2,..., a n and k are real numbers and x 1, x 2,..., x n represent variables. A solution of the first degree equation a 1 x 1 + a 2 x 2 + + a n x n = k is a sequence of numbers s 1, s 2,..., s n such that and is written as (s 1, s 2,..., s n ). a 1 s 1 + a 2 s 2 + + a n s n = k, When there are only two variables involved, first-degree equations are just our good old linear equations, because their graphs are straight lines. Because of this, we refer to all first degree equations as linear equations. A system of linear equations is a collection of at least two linear equations. A solution to a system of linear equations, or a linear system is a sequence of numbers that simultaneously satisfy all the equations in the system. The following are examples of linear systems: 2x + 3y = 12 3x 4y = 1. 2x + y z = 2 x + 3y + 2z = 1 x + y + z = 2. To solve a linear system of equations, we use properties of algebra to change, or transform, the system into a simpler equivalent system. An equivalent system is one that has the same solutions as the given system. What can you do? - Transformations of a system: Exchange any two equations; Multiply both sides of an equation by a non-zero number; Penn State University, University Park Page 1

Replace any equation by a non-zero multiple of that equation plus a non-zero multiple of any other equation of the system. The Echelon Method of Solving a Linear System 1. If possible, arrange the equations so that there is an x 1 -term in the first equation, an x 2 -term in the second equation, and so on. 2. Eliminate the x 1 -term in all equations after the first equation. Use the first equation for this. 3. Eliminate the x 2 -term in all equations after the second equation. Use the second equation for this. 4. Eliminate the x 3 -term in all equations after the third equation. Use the third equation for this. 5. Continue in this way until the last equation has the form ax n = k, for constants a 0 and k, if possible. 6. Multiply each equation by the reciprocal of the coefficient of its first term. 7. Use back-substitution to find the value of each variable. If the variables involved are x, y, z, treat x as x 1, y as x 2, and z as x 3. Types of Solutions Exactly one solution: In this case, we say that the system is consistent and independent. Infinitely many solutions: In this case, we say that the system is consistent and dependent. The solutions are expressed in terms of a parameter. The right-most variable is commonly chosen as the parameter. No solution: In this case, we say that the system is inconsistent. For examples, see Exam 1 and Homework 4. Penn State University, University Park Page 2

Solution of Linear Systems by the Gauss-Jordan Method A rectangular array of numbers enclosed by brackets is called a matrix (plural: matrices). Each number in the array is called an element or entry of the matrix. A system of equations can be written in an abbreviated form using a matrix. This is called the augmented matrix. For example, the augmented matrix for the system of equations is 2x + y z = 2 x + 3y + 2z = 1 x + y + z = 2 2 1 1 2 1 3 2 1 1 1 1 2 The vertical line in the augmented matrix separates the constants from the coefficients of the variables. The rows of the augmented matrix can be transformed in the same way as the equations of the system, since the matrix is just a shortened form of the system. These transformations are called row operations. What can you do? - Row Operations: Interchange any two rows. Multiply each element of a row by a non-zero number. Add a non-zero multiple of the elements of one row to the corresponding elements of a non-zero multiple of some other row. These row operations produce augmented matrices of equivalent linear systems. The Gauss-Jordan Method of Solving a Linear System 1. Write each equation so that variable terms are in the same order on the left side of the equals sign and constants are on the right. This is the proper form of the linear system. 2. Write the augmented matrix that corresponds to the system. 3. Use row operations to transform the first column so that all elements except the element in the first row are zero. Use row-1 to change all other rows. 4. Use row operations to transform the second column so that all elements except the element in the second row are zero. Use row-2 to change all other rows. 5. Use row operations to transform the third column so that all elements except the element in the third row are zero. Use row-3 to change all other rows. Penn State University, University Park Page 3

6. Continue in this way, when possible, until the last row is written in the form [ 0 0 0 0 j k ], where j and k are constants with j 0. When this is not possible, continue until every row has more zeros on the left than the previous row (except possibly for any row of all zeros at the bottom of the matrix), and the first non-zero entry in each row is the only non-zero entry in its column. 7. Multiply each row by the reciprocal of the first non-zero element in that row. For a system of 3 equations in 3 variables, the following are the possible final forms of the augmented matrices: Inconsistent system: 1 0 0 1 0 0 0 [A stands for some number (zero or non-zero), whereas a stands for some non-zero number.] There is no solution. Consistent and Dependent system: 1 0 0 1 0 0 0 0 or 1 0 0 0 0 0 0 0 0 [A stands for some number (zero or non-zero).] There are infinitely many solutions. The general solution will be in terms of one parameter for a system with a matrix of the first form, and in terms of two parameters for a system with a matrix of the second form. Consistent and Independent system: 1 0 0 0 1 0 0 0 1 [A stands for some number (zero or non-zero).] There is exactly one solution to this system. For examples, see Quiz 2, Exam 2 and Homework 5. Penn State University, University Park Page 4

Addition and Subtraction of Matrices Size of a Matrix: Matrices are classified by size; that is, by the number of rows and columns they contain. A matrix with m rows and n columns is called an m n matrix. A matrix with the same number of rows as columns is called a square matrix. A matrix containing only one row is called a row matrix or row vector. A matrix containing only one column is called a column matrix or column vector. Matrix Equality: Two matrices are equal if they are the same size and if their corresponding elements are equal. Adding Matrices: The sum of two m n matrices A and B is the m n matrix A + B in which each element is the sum of the corresponding elements of A and B. Subtracting Matrices: The difference of two m n matrices A and B is the m n matrix A B in which each element is the difference of the corresponding elements of A and B. [ADDITION AND SUBTRACTION CAN BE DONE ONLY ON MATRICES THAT ARE THE SAME SIZE.] Zero Matrix: A matrix whose elements are all zeros is called a zero matrix. There is an m n zero matrix for each pair of values of m and n. Such a matrix serves as an m n additive identity, that is, for any m n matrix, A, if O is the m n zero matrix, then A + O = O + A = A. Multiplication of Matrices In work with matrices, a real number is called a scalar. Product of a Matrix and a Scalar: The product of a scalar k and a matrix A is the matrix ka, each of whose elements is k times the corresponding element of A. Product of two Matrices: Let A be an m n matrix and let B be an n k matrix. To find the element in the ith row and jth column of the product matrix AB, multiply each element in the ith row of A by the corresponding element in the jth column of B, and then add these products. The product matrix AB is an m k matrix. The product AB of two matrices A and B can be found only if the number of columns of A is the same as the number of rows of B. Penn State University, University Park Page 5

The order of multiplication of matrices is important. The product of two matrices may exist if they are multiplied in one order, but not in the reverse order. For two matrices, A and B, even if AB and BA both exist, they may be unequal. However, we have the following properties of matrix multiplication: For appropriate matrices, A, B, C, A(BC) = (AB)C. For appropriate matrices, A, B, C, A(B + C) = AB + AC. For examples, see Quiz 3, Exam 2 and Homework 6. Penn State University, University Park Page 6

Matrix Inverses Identity Matrix: An identity matrix is a square matrix, I such that if A is any other square matrix of the same size, then The 2 2 identity matrix is AI = IA = A. [ ] 1 0 0 1 0, the 3 3 identity matrix is 0 1 0, and so on. 0 1 0 0 1 Inverse of a Matrix: For a square matrix, A, if there exists another square matrix, B of the same size such that AB = BA = I, where I is the identity matrix of the same size as A, then we say that the matrix A is invertible, and B is called the inverse of A. We then denote this inverse matrix by A 1. Non-square matrices do not have inverses. Not all square matrices have inverses. For a square matrix, A, if A 1 exists, then AA 1 = A 1 A = I, the identity matrix of the same size as A. Finding the Inverse of an n n Matrix, A 1. Form the augmented matrix [A I], where I is the n n identity matrix. 2. Perform row operations on [A I] to get a matrix of the form [I B], if this is possible. 3. Matrix B is A 1. Solving a System of Equations with Inverses: A linear system of equations can be written as a matrix equation AX = B, where A is the matrix of the coefficients of the variables, X is the matrix of the variables, and B is the matrix of the constants. Matrix A is called the coefficient matrix. Solving a system AX = B using Matrix Inverses: To solve a linear system of equations AX = B, where A is the matrix of coefficients, X is the matrix of the variables, and B is the matrix of the constants, first find A 1. Then X = A 1 B. For examples, see Quiz 3 and Exam 2. Penn State University, University Park Page 7

Other things to Read: More on Matrices (Separate notes) Transpose of a matrix Symmetric matrices Antisymmetric matrices Diagonal matrices Triangular matrices For examples, see Quiz 4. Determinants (Separate notes) For examples, see Quiz 5. Input-Output Models (Separate notes) For examples, see Homework 7. Penn State University, University Park Page 8