2.2/2.3 - Solving Systems of Linear Equations



Similar documents
Solving Systems of Linear Equations Using Matrices

Arithmetic and Algebra of Matrices

1.2 Solving a System of Linear Equations

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

Solving Systems of Linear Equations

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

Row Echelon Form and Reduced Row Echelon Form

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

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

Solving Linear Systems, Continued and The Inverse of a Matrix

Systems of Equations

Lecture 1: Systems of Linear Equations

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

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.

α = u v. In other words, Orthogonal Projection

Lecture Notes 2: Matrices as Systems of Linear Equations

Vector Spaces 4.4 Spanning and Independence

5.5. Solving linear systems by the elimination method

Systems of Linear Equations

Lecture 5 Principal Minors and the Hessian

Math 312 Homework 1 Solutions

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

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

Math Quizzes Winter 2009

MAT 242 Test 2 SOLUTIONS, FORM T

160 CHAPTER 4. VECTOR SPACES

Solutions to Math 51 First Exam January 29, 2015

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

Linear Equations and Inequalities

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

( ) which must be a vector

Elementary Matrices and The LU Factorization

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d.

Methods for Finding Bases

Notes on Determinant

Name: Section Registered In:

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.

Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = i.

Linear Algebra Notes

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

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

SECOND DERIVATIVE TEST FOR CONSTRAINED EXTREMA

Direct Methods for Solving Linear Systems. Matrix Factorization

Linearly Independent Sets and Linearly Dependent Sets

x y The matrix form, the vector form, and the augmented matrix form, respectively, for the system of equations are

How To Understand And Solve A Linear Programming Problem

8 Square matrices continued: Determinants

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).

DERIVATIVES AS MATRICES; CHAIN RULE

MATH APPLIED MATRIX THEORY

Solving Systems of Linear Equations

4.5 Linear Dependence and Linear Independence

LAB 11: MATRICES, SYSTEMS OF EQUATIONS and POLYNOMIAL MODELING

x + y + z = 1 2x + 3y + 4z = 0 5x + 6y + 7z = 3

10.2 Systems of Linear Equations: Matrices

Applied Math 245 Midterm Exam: Winter 2007

Similar matrices and Jordan form

Lecture 5: Singular Value Decomposition SVD (1)

Brief Introduction to Vectors and Matrices

A =

Homogeneous systems of algebraic equations. A homogeneous (ho-mo-geen -ius) system of linear algebraic equations is one in which

Chapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints

5 Homogeneous systems

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

1 Determinants and the Solvability of Linear Systems

Introduction to Matrix Algebra

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max

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.

Orthogonal Projections

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication).

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

Systems of Linear Equations

Multiple regression - Matrices

Vector and Matrix Norms

Similarity and Diagonalization. Similar Matrices

How To Understand And Solve Algebraic Equations

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method

Data Mining: Algorithms and Applications Matrix Math Review

6. Cholesky factorization

UNIVERSITY OF WISCONSIN COLLEGES ONLINE. MAT 110 College Algebra. WRITTEN ASSIGNMENT (Version 1)

MATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2

Linear Algebra Review. Vectors

Recall that two vectors in are perpendicular or orthogonal provided that their dot

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

Math Common Core Sampler Test

1 Introduction to Matrices

Chapter 4 -- Decimals

Linear Algebra and TI 89

EQUATIONS and INEQUALITIES

Algebraic expressions are a combination of numbers and variables. Here are examples of some basic algebraic expressions.

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

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

DATA ANALYSIS II. Matrix Algorithms

Study Guide 2 Solutions MATH 111

Rotation Matrices and Homogeneous Transformations

a(1) = first.entry of a

Lecture notes on linear algebra

Sect Greatest Common Factor and Factoring by Grouping

LINEAR ALGEBRA W W L CHEN

Orthogonal Projections and Orthonormal Bases

Transcription:

c Kathryn Bollinger, August 28, 2011 1 2.2/2.3 - Solving Systems of Linear Equations A Brief Introduction to Matrices Matrices are used to organize data efficiently and will help us to solve systems of linear equations. Matrices are usually denoted by a capital letter, say A. A matrix with m rows and n columns is called an m x n matrix. This is the size (or dimension) of the matrix. Ex: Size Name A = B = 2 3 1 4 3 2 C = 1 5 7 To specify an element from a matrix, use its row and column number as subscripts of the lowercase letter of the matrix name. (ROW NUMBER FIRST!) Ex: Using the matrices above, find the following: a 11 = a 21 = b 12 = b 22 = 5a 21 3c 13 = Ex: Use a matrix to organize information from the following scenario: Two brothers, Kevin and Mark, go to college. Kevin s expenses include $800 for books, $4000 for tuition, and $2000 for a meal plan. Mark s expenses include $1500 for a meal plan, $1200 for books, and $4500 for tuition.

c Kathryn Bollinger, August 28, 2011 2 Systems of Linear Equations and Matrices A system of linear equations can be written as an augmented matrix. Ex: Write the following system of equations as an augmented matrix. 3x+6y 10z = 25 x+5z = 20 2y z = 15 2x Ex: Write the given augmented matrix as an equivalent system of equations with variables x, y and z. 1 2 3 1 3 4 2 1 2 3 7 6

c Kathryn Bollinger, August 28, 2011 3 You can use Gauss-Jordan elimination (GJ) to solve any system of linear equations. Idea: You will perform operations on your system that will result in an equivalent system where the answer to your system can easily be read. In order to simplify things, we will work with our system in matrix form and by using the operations we will be producing a matrix in reduced row-echelon form (the form where the answer can be easily found). Gauss-Jordan Operations 1. Interchange any two equations (rows). Notation: 2. Replace an equation (row) by a NON-ZERO constant multiple of itself. Notation: 3. Replace an equation (row) by the sum of that equation (row) and a constant multiple of any other equation (row). Notation: Reduced Row-Echelon Form (RREF) of a Matrix 1. Each row consisting entirely of zeros lies below any other row having non-zero entries. 2. The first non-zero entry in each row is 1 (called a leading 1). 3. In any two succesive (non-zero) rows, the leading 1 in the lower row lies to the right of the leading 1 in the upper row. 4. If a column contains a leading 1, then the other entries in that column are zeros, called a unit column.

c Kathryn Bollinger, August 28, 2011 4 Ex: Which of the following matrices are in reduced row-echelon form? If the matrix is not in reduced form, which condition is violated? 1 2 (a) 0 1 1 0 0 (b) 0 0 1 0 1 (c) 1 0 (d) 1 0 0 0 0 0 0 0 1 1 0 (e) 0 1 (f) 1 2 1 0 0 0 0 0 0 0 1 (g) 0 0 (h) 1 0 3 0 1 0 0 0 0

c Kathryn Bollinger, August 28, 2011 5 Ex: Find the solution to the following system using Gauss-Jordan elimination: 3x+2y = 1 7x 2y = 1 Solution: STEP 1: Represent the system as an augmented matrix. STEP 2: Perform row operations on the augmented matrix until you have the left hand side of the matrix in reduced row-echelon form (Refer to Handout). STEP 3: Read the solution to your system from the reduced matrix.

c Kathryn Bollinger, August 28, 2011 6 Ex: You are given the following system of equations: x+2y 3z = 8 3y +4z = 10 2x 5z = 15 (a) Write the system as an augmented matrix. (b) On this matrix perform the first two row operations you should use to get the matrix in reduced row-echelon form, showing the resulting matrices. (c) Is the final matrix in (b) in reduced row-echelon form? There is a built-in function on your calculator that will put a matrix in reduced row-echelon form. To use this function, you must have a matrix where the number of rows is less than or equal to the number of columns. You may use this function to perform the Gauss-Jordan method (or to help solve any system of equations), unless you are specifically told to perform specific steps (and show the resulting matrices) in the Gauss-Jordan process. Calculator Instructions Call the rref function: MATRX MATH B:rref( Call the matrix to be used: MATRX NAMES 1:A (or any matrix) Make your answer exact: MATH 1:Frac

c Kathryn Bollinger, August 28, 2011 7 Ex: Solve the following systems of equations: (a) 3x 9y +6z = 12 x 3y +2z = 4 8 2x = 6y +4z (b) 2x 2y = 6 2 x = 2y

c Kathryn Bollinger, August 28, 2011 8 (c) x 2y +z = 3 2z +2x+y = 2 x 3z +3y = 5 (d) x 1 +2x 2 +4x 3 = 2 x 1 +x 2 +2x 3 = 14 Note: Number of Equations Number of Variables = Any type of solution is possible (one, none, or infinitely-many solutions) Number of Equations < Number of Variables = Either no solution or infinitely-many solutions

c Kathryn Bollinger, August 28, 2011 9 Ex: A school has allocated $250,000 to purchase 100 new computers. The school has decided to purchase an assortment of desktops, small laptops, and high-end laptops costing $2000, $3000, and $5000 each, respectively. Find all options available to the school.