Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

Similar documents
Linear System Equations

Chapter 6 Page 1 of 10. Lecture Guide. Math College Algebra Chapter 6. to accompany. College Algebra by Julie Miller

Methods for Solving Linear Systems Part 2

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

Chapter 3. Linear Equations. Josef Leydold Mathematical Methods WS 2018/19 3 Linear Equations 1 / 33

EXAM. Exam #1. Math 2360, Second Summer Session, April 24, 2001 ANSWERS

Math 1314 Week #14 Notes

Solving Linear Systems Using Gaussian Elimination

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

5x 2 = 10. x 1 + 7(2) = 4. x 1 3x 2 = 4. 3x 1 + 9x 2 = 8

1 - Systems of Linear Equations

Linear Algebra Practice Problems

Dr. Abdulla Eid. Section 4.2 Subspaces. Dr. Abdulla Eid. MATHS 211: Linear Algebra. College of Science

Relationships Between Planes

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

DM559 Linear and Integer Programming. Lecture 6 Rank and Range. Marco Chiarandini

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

Chapter 1. Vectors, Matrices, and Linear Spaces

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Properties of the Determinant Function

Linear Algebra I Lecture 10

Math x + 3y 5z = 14 3x 2y + 3z = 17 4x + 3y 2z = 1

Row Reduction and Echelon Forms

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Chapter 1: Systems of Linear Equations and Matrices

Linear Algebra Exam 1 Spring 2007

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University

9.1 - Systems of Linear Equations: Two Variables

Solving Systems of Linear Equations Using Matrices

Section 6.2 Larger Systems of Linear Equations

MATH 1210 Assignment 4 Solutions 16R-T1

CHAPTER 1 Systems of Linear Equations

Math 2174: Practice Midterm 1

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Elementary maths for GMT

MATH 2050 Assignment 6 Fall 2018 Due: Thursday, November 1. x + y + 2z = 2 x + y + z = c 4x + 2z = 2

Lecture 2 Systems of Linear Equations and Matrices, Continued

March 19 - Solving Linear Systems

Solutions of Linear system, vector and matrix equation

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

Linear Algebra 1 Exam 1 Solutions 6/12/3

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

4 Elementary matrices, continued

MATH 2360 REVIEW PROBLEMS

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

MIDTERM 1 - SOLUTIONS

Lectures on Linear Algebra for IT

System of Linear Equations

System of Linear Equations

Chapter 9: Systems of Equations and Inequalities

Matrices and Determinants

4 Elementary matrices, continued

web: HOMEWORK 1

Matrix equation Ax = b

Extra Problems: Chapter 1

Linear Algebra I Lecture 8

MATH 2331 Linear Algebra. Section 1.1 Systems of Linear Equations. Finding the solution to a set of two equations in two variables: Example 1: Solve:

Math 2331 Linear Algebra

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Applied Matrix Algebra Lecture Notes Section 2.2. Gerald Höhn Department of Mathematics, Kansas State University

Matrices and systems of linear equations

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013

Math "Matrix Approach to Solving Systems" Bibiana Lopez. November Crafton Hills College. (CHC) 6.3 November / 25

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to:

Chapter 2. Systems of Equations and Augmented Matrices. Creighton University

Systems of Linear Equations

3. Replace any row by the sum of that row and a constant multiple of any other row.

Linear Methods (Math 211) - Lecture 2

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

MTH 2530: Linear Algebra. Sec Systems of Linear Equations

Math 301 Test I. M. Randall Holmes. September 8, 2008

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

6-1 Study Guide and Intervention Multivariable Linear Systems and Row Operations

Properties of Linear Transformations from R n to R m

Solving Linear Systems

Section Gaussian Elimination

Systems of Equations

Evaluating Determinants by Row Reduction

Notes on Row Reduction

PH1105 Lecture Notes on Linear Algebra.

Chapter 7 Linear Systems

Lecture 1 Systems of Linear Equations and Matrices

y x -0.5 y

Linear Algebra Math 221

Elementary matrices, continued. To summarize, we have identified 3 types of row operations and their corresponding

EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

0.0.1 Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros.

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

CHAPTER 8: Matrices and Determinants

Linear Systems and Matrices

Rank and Nullity. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

Linear Equations in Linear Algebra

Row Space, Column Space, and Nullspace

Math 2030 Assignment 5 Solutions

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

DM559 Linear and Integer Programming. Lecture 2 Systems of Linear Equations. Marco Chiarandini

1300 Linear Algebra and Vector Geometry

Transcription:

Section 1.1 System of Linear Equations College of Science MATHS 211: Linear Algebra (University of Bahrain) Linear System 1 / 33

Goals:. 1 Define system of linear equations and their solutions. 2 To represent system of linear equations by several ways. 3 To solve system of linear equations using Gaussian Jordan Elimination. 4 To solve system of linear equations using the inverse of a matrix. 5 To solve system of linear equations using Cramer s rule. (University of Bahrain) Linear System 2 / 33

Linear equations Definition 1 A linear equation in the variables x 1, x 2,..., x n is an equation of the form a 1 x 1 + + a 2 x 2 + + + a n x n = b where b and the coefficients a 1, a 2,..., a n are real numbers. Note: A linear equations is of degree one in the variables. Example 2 Which of the following are linear equations and why? 1 4x 1 + 3x 2 = 6 2 x 1 + x 2 5 = x 3 + 2x 1 3 3x + 2y z + w = 5 4 x 1 + x 2 = x 1 x 2 5 x 2 = 6x 1 + x 3 6 x 2 = 6 x 1 + x 3 (University of Bahrain) Linear System 3 / 33

System of linear equations Definition 3 A system of linear equation or (linear system) in the variables x 1, x 2,..., x n is a finite collection of linear equations. Example 4 x 1 + x 2 = 5 x 1 + 5x 2 = 1 2x 7y = 1 x + 3y = 6 2x 1 x 2 + 3x 3 = 8 x 1 + 3x 2 2x 3 = 7 3x 1 + x 3 = 3 (University of Bahrain) Linear System 4 / 33

General definition of linear system Definition 5 A general linear system of m equations and n variables x 1, x 2,..., x n can be written as... a 11 x 1 + + a 12 x 2 + + + a 1n x n = b 1 a 21 x 1 + + a 22 x 2 + + + a 2n x n = b 2 a m1 x 1 + + a m2 x 2 + + + a mn x n = b m (University of Bahrain) Linear System 5 / 33

Solution to a system of linear equations Definition 6 A solution is a list of numbers (s 1, s 2,..., s n ) that makes each equation a true statement when we substitute x 1 = s 1, x 2 = s 2,..., x n = s n. A solution set is the set of all possible solution to a linear system. Example 7 Show that (3, 2) is a solution to the system Example 8 3x 1 x 2 = 7 x 1 + 4x 2 = 5 Show that ( 1, 0, 2) is a solution to the system x + y z = 1 3x + y = 3 (University of Bahrain) 3x Linear 4y + System 5z = 7 6 / 33

Solution to a system of linear equations Example 9 Show that (1 + 5t, 3 t, t) is a solution to the system for any t R. x 1 + 6x 2 + x 3 = 19 x 1 5x 3 = 1 3x 1 x 2 + 16x 3 = 0 The solution of linear system that depends on free variable is called parametric solution (University of Bahrain) Linear System 7 / 33

Representing Linear System as augmented matrix and matrix form Example 10 Represent the linear system in two forms 2x 7y = 1 2x 1 x 2 + 3x 3 = 8 x + 3y = 6 x 1 + 3x 2 2x 3 = 7 3x 1 + x 3 = 3 x 1 + x 2 = 5 x 1 + 5x 2 = 1 (University of Bahrain) Linear System 8 / 33

Solving System of Linear Equations using elementary row operations Example 11 Solve the system 2x 7y = 1 x + 3y = 6 Solution: First we write the augmented matrix of the system which is ( ) 2 7 1, R 1 3 6 1 R 2 ( ) 1 3 6, R 2 7 1 2 R 2 2R 1 ( ) 1 3 6 2 2(1) 7 2(3) 1 2(6) (University of Bahrain) Linear System 9 / 33

( ) 1 3 6, 2 2(1) 7 2(3) 1 2(6) ( ) 1 3 6 R 0 13 13 2 1 13 R 2 ( ) 1 3 6 R 0 1 1 1 R 1 3R 2 ( ) 1 3(0) 3 3(1) 6 3(1) 0 1 1 ( ) 1 0 3 0 1 1 So x = 3 and y = 1 and thus the solution set is {(3, 1)} (University of Bahrain) Linear System 10 / 33

Example 12 Solve the system x + y z = 7 4x + 6y 4z = 8 x y 5z = 23 Solution: First we write the augmented matrix of the system which is 1 1 1 7 4 6 4 8, R 2 R 2 4R 1 R 3 R 3 R 1 1 1 5 23 1 1 1 7 4 4(1) 6 4(1) 4 4( 1) 8 4(7) 1 1 1 1 5 ( 1) 23 7 1 1 1 7 0 2 0 20 R 2 1 2 R 2 0 2 4 16 (University of Bahrain) Linear System 11 / 33

1 1 1 7 0 1 0 10, R 3 R 3 + 2R 2 0 2 4 16 1 1 1 7 0 1 0 10 0 2 + 2(1) 4 + 2(0) 16 + 2( 10) 1 1 1 7 0 1 0 10 R 3 1 4 R 3 0 0 4 4 1 1 1 7 0 1 0 10 R 1 R 1 + R 3 0 0 1 1 1 + 1(0) 1 + 1(0) 1 + 1(1) 7 + 1(1) 0 1 0 10 0 0 1 1 1 1 0 8 0 1 0 10 R 1 R 1 R 3 (University of Bahrain) Linear System 12 / 33

1 1 0 8 0 1 0 10 R 1 R 1 R 3 0 0 1 1 1 0 0 18 0 1 0 10 0 0 1 1 So x = 18, y = 10, and z = 1. Solution Set = {(18, 10, 1)}. (University of Bahrain) Linear System 13 / 33

Example 13 Solve the system x + 4y = 9 3x y = 6 2x 2y = 4 Solution: First we write the augmented matrix of the system which is 1 4 9 3 1 6, R 2 R 2 3R 1 R 3 R 3 2R 1 2 2 4 1 4 9 3 3(1) 1 3(4) 6 3(9) 2 2(1) 2 2(4) 4 2(9) 1 4 9 0 13 21 R 2 1 13 R 2 0 10 14 (University of Bahrain) Linear System 14 / 33

1 4 9 21 0 1 13, R 3 R 3 + 10R 2 0 10 14 1 4 9 21 0 1 13 0 10 + 10(1) 14 + 10( 21 13 ) 1 4 9 21 0 1 13 28 0 0 13 We have 0 = 28 13 solution. which is a false statement and thus there will be no (University of Bahrain) Linear System 15 / 33

Example 14 Solve the system Solution: x y + 2z = 5 2x 2y + 4z = 10 3x 3yy + 6z = 15 (University of Bahrain) Linear System 16 / 33

Example 15 Solve the system Solution: x + y + z = 9 x + 5y + 10z = 44 (University of Bahrain) Linear System 17 / 33

Types of solutions for a linear system Consistent. It has a solution. 1 Unique solution. No free variables. 2 Infinitely many solutions Inconsistent. It has no solution. (University of Bahrain) Linear System 18 / 33

Example 16 Find the value of h such that the system has (a) unique solution, (b) no solution, (c) infinitely many solutions. x + hy = 4 3x + 6y = 8 (University of Bahrain) Linear System 19 / 33

Example 17 Find the value of h, k such that the system has (a) unique solution, (b) no solution, (c) infinitely many solutions. x 1 + hy = 2 4x + 8y = k (University of Bahrain) Linear System 20 / 33

What is the height of the table? (University of Bahrain) Linear System 21 / 33

Network Flow (University of Bahrain) Linear System 22 / 33

Lines in 2 D Example 18 Solve the system geometrically 2x 7y = 2, x + 3y = 6 y l 2 l 1 x (University of Bahrain) Linear System 23 / 33

Lines in 2 D Example 19 Solve the system geometrically 2x + 6y = 2, x + 3y = 6 y l 2 x l 1 (University of Bahrain) Linear System 24 / 33

Lines in 2 D Example 20 Solve the system geometrically 2x + 6y = 12, x + 3y = 6 y l 2 l 1 x (University of Bahrain) Linear System 25 / 33

Lines in 3 D Example 21 Solve the system geometrically x + 2y z = 3, z x + 3y + 5z = 1 line of intersection x y (University of Bahrain) Linear System 26 / 33

Solving Linear System using the inverse of a matrix Example 22 Solve 3x + y = 2 4x + y = 3 Solution: This system can be written in a matrix multiplication form as ( ) ( ) ( ) 3 1 x 2 = 4 1 y 3 ( ) ( ) x 2 A = y 3 ( ) ( ) A 1 x A = A 1 2 y 3 ) ) I 2 ( x y = A 1 ( 2 3 (University of Bahrain) Linear System 27 / 33

( ) ( ) ( ) ( ) x = A 1 2 1 1 2 = y 3 4 3 3 ( ) ( x 1 = y 1) (University of Bahrain) Linear System 28 / 33

Exercise 23 Solve the following system using the inverse matrix method. 2x 3y = 9 4x + y = 1 (University of Bahrain) Linear System 29 / 33

Cramer s Rule Theorem 24 If Ax = b is a system of n linear equations in n unknowns such that det(a) = = 0, then the system has a unique solution given by x 1 = det(a 1) det(a), x 2 = det(a 2) det(a),... x n = det(a n) det(a), where A j is the matrix obtained by replacing the entries in the jth column of A by the entries in the matrix b 1 b 2 b = b n (University of Bahrain) Linear System 30 / 33

Example 25 Solve using Cramer s rule the following system of linear equations Solution: 3x 1 + x 2 = 2 4x 1 + x 2 = 3 (University of Bahrain) Linear System 31 / 33

Example 26 Solve using Cramer s rule the following system of linear equations Solution: 3x 1 + 5x 2 = 7 6x 1 + 2x 2 + 4x 3 = 10 x 1 + 4x 2 3x 3 = 0 (University of Bahrain) Linear System 32 / 33

The equation Ax = b Theorem 27 The following are equivalent: 1 A is invertible. 2 det(a) = 0. 3 The reduced row echelon form is I n. 4 Ax = b is consistent for every n 1 matrix b. 5 Ax = b has a unique solution for every n 1 matrix b. (University of Bahrain) Linear System 33 / 33