Docsity

Chapter 1: Systems of Linear Equations - Notes | MATH 290, Study notes of Linear Algebra

Toggle sidebar
bg1
Chapter 1
Systems of Linear Equations
1.1 Intro. to systems of linear equations
Homework: [Textbook, Ex. 13, 15, 41, 47, 49, 51, 65, 73; page 11-].
Main points in this section:
1. Definition of Linear system of equations and homogeneous sys-
tems.
2. Row-echelon form of a linear system and Gaussian elimination.
3. Solving linear system of equations using Gaussian elimination.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27

Partial preview of the text

Download Chapter 1: Systems of Linear Equations - Notes | MATH 290 and more Study notes Linear Algebra in PDF only on Docsity!

Chapter 1

Systems of Linear Equations

1.1 Intro. to systems of linear equations

Homework: [Textbook, Ex. 13, 15, 41, 47, 49, 51, 65, 73; page 11-].

Main points in this section:

  1. Definition of Linear system of equations and homogeneous sys- tems.
  2. Row-echelon form of a linear system and Gaussian elimination.
  3. Solving linear system of equations using Gaussian elimination.

2 CHAPTER 1. SYSTEMS OF LINEAR EQUATIONS

Definition 1.1.1 A linear equation in n (unknown) variables x 1 ,... , xn has the form

a 1 x 1 + a 2 x 2 + · · · + anxn = b.

Here a 1 , a 2 ,... , an, b are real numbers. We say b is the constant term and ai is the coefficient of xi.

For real numbers s 1 ,... , sn, if

a 1 s 1 + a 2 s 2 + · · · + ansn = b

we say that

x 1 = s 1 , x 2 = s 2 ,... , xn = sn

is a solution of this equation.

  1. An example of a linear equation in two unknowns is 2x + 7y = 5. A solution of this equation is x = − 1 , y = 1. The equation has many more solutions. The graph of this equation is a line.
  2. An example of a linear equation in three unknowns is 2x+y+πz = π. A solution of this equation is x = 0, y = 0, z = 1. The equation has many more solutions. The graph of this equation (in 3-space) is a plane.
  3. See [Textbook, Example 1, page 2] for examples of linear and non-linear equations.

Definition 1.1.2 By a System of Linear Equations in n variables x 1 , x 2 ,... , xn we mean a collection of linear equations in these variables.

4 CHAPTER 1. SYSTEMS OF LINEAR EQUATIONS

  1. In three variables, the following is an example of a system of two equation: 2 x + y + 2z = 3 x − 9 y + 2z = − 8 Clearly, x = 1, y = 1, z = 0 is a solution to this system. This system has many more solutions. For example,

x = 11, y = 0, z = − 19 / 2

is also a solution of this system. Geometrically, solution given by precisely the points where the graphs (two planes) in 3-space of these two equations meet.

  1. Classification of linear systems: Given a linear system in n variables, precisely on the the following three is true:

(a) The system has exacly one solution (consistent system). (b) The system has infinitely many solutions (consistent sys- tem). (c) The system has NO solution (inconsistent system).

  1. Two systems of linear equations are called equivalent, if they have precisely the same set of solutions.
  2. Following operations on a system produces an equivalent system:

(a) Interchange two equations. (b) Multiply an equation by a nonzero constant. (c) Add a multiple of an equation to another one.

These three operations are sometimes known as basic or elemen- tary operations.

1.1. INTRO. TO SYSTEMS OF LINEAR EQUATIONS 5

  1. A linear system of the form

x 1 + a 12 x 2 + a 13 x 3 + · · · + a 1 nxn = b 1 x 2 + a 23 x 3 + · · · + a 2 nxn = b 2 x 3 + · · · + a 3 nxn = b 3 · · · · · ·

is said to be in row-echelon form. In two variables x, y this would (sometime) look like

x + a 12 y = b 1 y = b 2

In three variables x, y, z this would (sometime) look like

x + a 12 y + a 13 z = b 1 y + a 23 z = b 2 z = b 3

Theorem 1.1.3 1. Any system of linear equations is equivalent to a linear system in row-echelon form.

  1. This can be achieved by a sequence of application of the three basic operation described in (6).
  2. This process is known as Gaussian elimination.

Read Examples 5-9 (page 6-).

Practice: For exercise 31-56 (page 110), reduce the system to a row- echelon form and solve.

1.1. INTRO. TO SYSTEMS OF LINEAR EQUATIONS 7

This is the row-echelon form.

Now substitute y = − 12 in Eqn-

x − (^49)

−^12

=^59 or x =^13.

So, the solution is x =^13 , y = − 12.

Exercise 1.1.6 (Ex. 44. p 12) x 1 + 4 +^ x 2 − 1 3 = 1^ Eqn^ −^1 2 x 1 − x 2 = 12 Eqn − 2

multiply Eqn-1 by 12 and simplify:

3 x 1 + 4x 2 = 7 Eqn − 3 2 x 1 − x 2 = 12 Eqn − 2

Add − 23 times Eqn-3 to Eqn-2:

3 x 1 + 4x 2 = 7 Eqn − 3 − 11 3 x^2 =^ 22 3 Eqn^ −^4

Multiply Eqn-4 by − 113 :

3 x 1 + 4x 2 = 7 Eqn − 3 x 2 = − 2 Eqn − 5

Multiply Eqn-3 by 13 :

x 1 + 43 x 2 = 73 Eqn − 6 x 2 = − 2 Eqn − 5

So, above is the row-echelon form of the system. Now substitute x 2 = −2 in Eqn-6 and get x 1 = 83 + 73 = 5. So, the systme is consistentand has unique solution x 1 = 5, x 2 = − 2.

8 CHAPTER 1. SYSTEMS OF LINEAR EQUATIONS

Exercise 1.1.7 (Ex. 50, p 12) Deduce an equivalent row-echelon form and solove the following system:

5 x 1 − 3 x 2 + 2x 3 = 3 Eqn − 1 2 x 1 + 4x 2 − x 3 = 7 Eqn − 2 x 1 − 11 x 2 + 4x 3 = 3 Eqn − 3 First, switch Eqn-1 and Eqn-3: x 1 − 11 x 2 + 4x 3 = 3 Eqn − 3 2 x 1 + 4x 2 − x 3 = 7 Eqn − 2 5 x 1 − 3 x 2 + 2x 3 = 3 Eqn − 1

Subtract 2 times Eqn-3 from Eqn-2 and 5 times Eqn-3 from Eqn-1:

x 1 − 11 x 2 + 4x 3 = 3 Eqn − 3 26 x 2 − 9 x 3 = 1 Eqn − 4 52 x 2 − 18 x 3 = − 12 Eqn − 5

Subtract 2 times Eqn-4 from Eqn-5:

x 1 − 11 x 2 + 4x 3 = 3 Eqn − 3 26 x 2 − 9 x 3 = 1 Eqn − 4 0 = − 14 Eqn − 6

The system is inconsistent because Eqn-6 is absurd. To obtain the row-echelon form, we divid Eqn-4 by 26:

x 1 − 11 x 2 + 4x 3 = 3 Eqn − 3 x 2 − 269 x 3 = 261 Eqn − 7 0 = − 14 Eqn − 6

Exercise 1.1.8 (Ex. 52, p 12) Deduce an equivalent row-echelon form and solove the following system:

x 1 + 4x 3 = 13 Eqn − 1 4 x 1 − 2 x 2 + x 3 = 7 Eqn − 2 2 x 1 − 2 x 2 − 7 x 3 = − 19 Eqn − 3

10 CHAPTER 1. SYSTEMS OF LINEAR EQUATIONS

Subtract 2 time Eqn-1 from Eqn-4:

x 1 +3x 4 = 4 Eqn − 1 2 x 2 −x 3 −x 4 = 0 Eqn − 2 3 x 2 − 2 x 4 = 1 Eqn − 3 −x 2 +4x 3 − 6 x 4 = − 3 Eqn − 5

Multiply Eqn-2 by .5:

x 1 +3x 4 = 4 Eqn − 1 x 2 −. 5 x 3 −. 5 x 4 = 0 Eqn − 6 3 x 2 − 2 x 4 = 1 Eqn − 3 −x 2 +4x 3 − 6 x 4 = − 3 Eqn − 5

Subtract 3 times Eqn-6 from Eqn-3 and add Eqn-2 to Eqn-5:

x 1 +3x 4 = 4 Eqn − 1 x 2 −. 5 x 3 −. 5 x 4 = 0 Eqn − 6

  1. 5 x 3 −. 5 x 4 = 1 Eqn − 7
  2. 5 x 3 − 6. 5 x 4 = − 3 Eqn − 8

1.1. INTRO. TO SYSTEMS OF LINEAR EQUATIONS 11

Myltiply Eqn-7 by 23 :

x 1 +3x 4 = 4 Eqn − 1 x 2 −. 5 x 3 −. 5 x 4 = 0 Eqn − 6 x 3 −^13 x 4 = 23 Eqn − 9

  1. 5 x 3 − 6. 5 x 4 = − 3 Eqn − 8

Subtract 3.5 times Eqn-9 from Eqn-8:

x 1 +3x 4 = 4 Eqn − 1 x 2 −. 5 x 3 −. 5 x 4 = 0 Eqn − 6 x 3 −^13 x 4 = 23 Eqn − 9 −^163 x 4 = −^163 Eqn − 10

Multiply Eqn-10 by − 163 :

x 1 +3x 4 = 4 Eqn − 1 x 2 −. 5 x 3 −. 5 x 4 = 0 Eqn − 6 x 3 −^13 x 4 = 23 Eqn − 9 x 4 = 1 Eqn − 11

The above is a row-echelon form of the system. By back-substitution:

x 4 = 1, x 3 =^23 +^13 = 1, x 2 = 1, x 1 = 1.

1.2. GAUSSIAN, GAUSS-JORDAN ELIMINATION 13

Definition 1.2.1 For two positive integers m, n and m × n−matrix is a rectangular array      

a 11 a 12 a 13 · · · a 1 n a 21 a 22 a 23 · · · a 2 n a 31 a 32 a 33 · · · a 3 n · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · am 1 am 2 am 3 · · · amn

  1. the array has m rows ana n column.
  2. Here aij is a real number, to be called ijth−entry. This entry sits in the ith−row jth−column. The first subscript i of aij is called the row subscript and j is called the column subscript.
  3. It is possible to talk about matrices whose entries aij are not real numbers. We can talk about matrices of any kind of objects. We will only talk about matrices with real entries and such matrices are also called real matrices.
  4. We say that the size of the matrix is m × n.
  5. A square matrix of order n is a matrix whose number of rows and columns are same and equal to n.
  6. For a square matrix of order n, the entries a 11 , a 22 ,... , ann are called the main diaginal entries.

The most common use, for this class, of matrices is to represent system of liner equation. Given a system of liner equations, an asso- ciated matrix to be called the augmented matrix contains all the information regarding the system.

14 CHAPTER 1. SYSTEMS OF LINEAR EQUATIONS

Definition 1.2.2 Given a system of m linear equations

a 11 x 1 + a 12 x 2 + a 13 x 3 + · · · + a 1 nxn = b 1 a 21 x 1 + a 22 x 2 + a 23 x 3 + · · · + a 2 nxn = b 2 a 31 x 1 + a 32 x 2 + a 33 x 3 + · · · + a 3 nxn = b 3 · · · · · · · · · · · · am 1 x 1 + am 2 x 2 + am 3 x 3 + · · · + amnxn = bm

the augmented matrix of the system is defined as

    

a 11 a 12 a 13 · · · a 1 n b 1 a 21 a 22 a 23 · · · a 2 n b 2 a 31 a 32 a 33 · · · a 3 n b 3 · · · · · · · · · · · · · · · · · · am 1 am 2 am 3 · · · amn bm

and the coefficient matrix is defined as

    

a 11 a 12 a 13 · · · a 1 n a 21 a 22 a 23 · · · a 2 n a 31 a 32 a 33 · · · a 3 n · · · · · · · · · · · · · · · am 1 am 2 am 3 · · · amn

  1. Conversely, given a m × (n + 1) matrix, we can write down a system of linear m equations in n unknowns (variables).
  2. Consider the linear system (from exercise 1.1.4):

4 x − 5 y = 3 − 8 x + 10y = 14

16 CHAPTER 1. SYSTEMS OF LINEAR EQUATIONS

  1. Consider the linear system (from exercise 1.1.9): x 1 +3x 4 = 4 Eqn − 1 2 x 2 −x 3 −x 4 = 0 Eqn − 2 3 x 2 − 2 x 4 = 1 Eqn − 3 2 x 1 −x 2 +4x 3 = 5 Eqn − 4

The augmented and the coefficient matrices are:    

Recall that we deduced an equivalent system in row-echelon form: x 1 +3x 4 = 4 Eqn − 1 x 2 −. 5 x 3 −. 5 x 4 = 0 Eqn − 6 x 3 −^13 x 4 = 23 Eqn − 9 x 4 = 1 Eqn − 11 The augmented and the coefficient matrices of this echelon form are given by:    

0 0 1 −^1323

0 0 1 −^13

The above discussions and examples demonstrate that the three basic operations that we used to reduce a system of linear equations to a row-echelon form, can be translated to a version for matrices.

Definition 1.2.3 By an elementary row operation on a matrix we mean one of the following three:

1.2. GAUSSIAN, GAUSS-JORDAN ELIMINATION 17

  1. Interchange two rows.
  2. Multiply a row by a nonzero constant.
  3. Add a multiple of a row to another row.

Two matrices are said to be row-equivalent if one can be obtained from another by application of a sequence of elementary row operations.

Two row-equivalent matrices, correspond to two equivalent system of equations.

Now we define the matrix version of row-echelon form:

Definition 1.2.4 A matrix is said to be in row-echelon form, if it has the following properties:

  1. All rows conssiting entierly of zeros occur at the bottom of the matrix.
  2. For each non-zero row, first nonzero entry is 1 (called the leading 1 ).
  3. For each successive nonzero rows, the leading 1 in the higher row is farther to the left than the leading 1 in the lower row.

A matrix in row-echelon form is said to be in reduced row-echelon form, if every column that has a leading 1 has zeros in evey position above and below the leading 1.

Theorem 1.2.5 A matrix is row-equivalent to a matrix is row-echelon form. We gave (see below definition 1.2.2 above) the augmented matrix of the system in exercise 1.1.9 and that of the equivalent system in row- echelon form.

1.2. GAUSSIAN, GAUSS-JORDAN ELIMINATION 19

Multiply row-2 by .5:    

Subtract 3 times row-2 from row-3 and add row-2 to Eqn-4:    

Myltiply row-3 by 23 :    

0 0 1 −^1323

Subtract 3.5 times row-3 from row-4:    

0 0 1 −^1323

0 0 0 −^163 −^163

Multiply row-4 by − 163 :    

0 0 1 −^1323

20 CHAPTER 1. SYSTEMS OF LINEAR EQUATIONS

The above is a matrix in row-echelon form row-equivalent to the aug- mented matrix. Now the system of linear equations corresponding this row-echelon matrix is

x 1 +3x 4 = 4 x 2 −. 5 x 3 −. 5 x 4 = 0 x 3 −^13 x 4 = (^23) x 4 = 1

By back-substitution:

x 4 = 1, x 3 =^23 +^13 = 1, x 2 = 1, x 1 = 1.

Read [Textbook, Example 5, 6, p 19-] for other such use of this method.

Definition 1.2.8 A matrix in row-echelon form is said to be in Gauss- Jordan form, if all the entries above leading entries are zero.

The method of Gaussian elimination with back substitution to solve system of linear equations can be refined by first further reducing the augmented matrix to a Gauss-Jordan form and work with the sytem corresponding to it. This method is called Gauss-Jordan elimina- tion method of solving linear sytems.

Consider exercise 1.2.7, the matrix in the row-echelon form, equiv- alent to the augmented matrix, is    

0 0 1 −^1323