Linear Algebra – Linear Equations

Slides:



Advertisements
Similar presentations
4.3 Matrix Approach to Solving Linear Systems 1 Linear systems were solved using substitution and elimination in the two previous section. This section.
Advertisements

Chapter 1: Linear Equations
Gauss Elimination.
Chapter 2 Simultaneous Linear Equations
Chapter 4 Systems of Linear Equations; Matrices Section 2 Systems of Linear Equations and Augmented Matrics.
Matrices & Systems of Linear Equations
Lesson 8 Gauss Jordan Elimination
Matrices. Special Matrices Matrix Addition and Subtraction Example.
Chapter 1 Systems of Linear Equations
10.1 Gaussian Elimination Method
Lesson 8.1, page 782 Matrix Solutions to Linear Systems
Chapter 1 Section 1.2 Echelon Form and Gauss-Jordan Elimination.
Section 8.1 – Systems of Linear Equations
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2011 Hawkes Learning Systems. All rights reserved. Hawkes Learning Systems College Algebra.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
Introduction Information in science, business, and mathematics is often organized into rows and columns to form rectangular arrays called “matrices” (plural.
Systems of linear equations. Simple system Solution.
1.2 Gaussian Elimination.
Multivariate Linear Systems and Row Operations.
SYSTEMS OF LINEAR EQUATIONS
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
System of Linear Equations Nattee Niparnan. LINEAR EQUATIONS.
Notes 7.3 – Multivariate Linear Systems and Row Operations.
Matrices King Saud University. If m and n are positive integers, then an m  n matrix is a rectangular array in which each entry a ij of the matrix is.
Copyright © 2011 Pearson, Inc. 7.3 Multivariate Linear Systems and Row Operations.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Section 1.1 Introduction to Systems of Linear Equations.
Sec 3.1 Introduction to Linear System Sec 3.2 Matrices and Gaussian Elemination The graph is a line in xy-plane The graph is a line in xyz-plane.
Matrix Algebra. Quick Review Quick Review Solutions.
Three variables Systems of Equations and Inequalities.
How To Find The Reduced Row Echelon Form. Reduced Row Echelon Form A matrix is said to be in reduced row echelon form provided it satisfies the following.
MATH 250 Linear Equations and Matrices
Row rows A matrix is a rectangular array of numbers. We subscript entries to tell their location in the array Matrices are identified by their size.
Systems of Equations and Inequalities Systems of Linear Equations: Substitution and Elimination Matrices Determinants Systems of Non-linear Equations Systems.
4.3 Gauss Jordan Elimination Any linear system must have exactly one solution, no solution, or an infinite number of solutions. Just as in the 2X2 case,
Copyright © 2011 Pearson Education, Inc. Solving Linear Systems Using Matrices Section 6.1 Matrices and Determinants.
Matrices and Systems of Equations
Matrices and Systems of Linear Equations
How To Find The Reduced Row Echelon Form. Reduced Row Echelon Form A matrix is said to be in reduced row echelon form provided it satisfies the following.
Sullivan Algebra and Trigonometry: Section 12.3 Objectives of this Section Write the Augmented Matrix of a System of Linear Equations Write the System.
Linear Equation System Pertemuan 4 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Chapter 1 Linear Algebra S 2 Systems of Linear Equations.
Matrices and Systems of Equations
Systems of Equations and Inequalities Ryan Morris Josh Broughton.
7.3 & 7.4 – MATRICES AND SYSTEMS OF EQUATIONS. I N THIS SECTION, YOU WILL LEARN TO  Write a matrix and identify its order  Perform elementary row operations.
Chapter 1 Systems of Linear Equations Linear Algebra.
Arab Open University Faculty of Computer Studies M132: Linear Algebra
Student Handbook 1. Matrices A matrix (plural: matrices, not matrixes) is a rectangular array of numbers such as Matrices are useful when modelling a.
1 SYSTEM OF LINEAR EQUATIONS BASE OF VECTOR SPACE.
College Algebra Chapter 6 Matrices and Determinants and Applications
Section 6.1 Systems of Linear Equations
Systems of linear equations
Gaussian Elimination and Gauss-Jordan Elimination
Gaussian Elimination and Gauss-Jordan Elimination
Solving Systems of Equations Using Matrices
12-2: Matrices.
Chapter 1 Systems of Linear Equations
Chapter 8: Lesson 8.1 Matrices & Systems of Equations
Chapter 1 Systems of Linear Equations and Matrices
Matrices and Systems of Equations
Gaussian Elimination and Gauss-Jordan Elimination
Chapter 4 Systems of Linear Equations; Matrices
Elementary Row Operations Gaussian Elimination Method
Chapter 1: Linear Equations in Linear Algebra
College Algebra Chapter 6 Matrices and Determinants and Applications
Chapter 4 Systems of Linear Equations; Matrices
Section 8.1 – Systems of Linear Equations
Matrices are identified by their size.
Presentation transcript:

Sections 1.1 & 1.2 Intro to Systems of Linear Equations & Gauss Jordan Elimination

Linear Algebra – Linear Equations y = 3x – 2 2x – 3y + 4z = 9   Vector Spaces

A solution to an equation. A solution to multiple equations (a system of equations).

A parametric representation of a solution.

Geometrical meaning of a solution. For two equations in two unknowns: One Solution No Solutions Infinite Solutions 2x + 3y = 6 2x + 3y = 6 2x + 3y = 6 4x – 2y = 12 4x + 6y = –24 4x + 6y = 12

Geometrical meaning of a solution. For three equations in three unknowns:

Geometrical meaning of a solution. For three equations in three unknowns:

The number of solutions to a system of linear equations.

A system is consistent if there is at least one solution to it. A system is inconsistent if there is no solution for it.

Equivalent systems – systems that have the same solution set.

Hard to solve: Easy to solve: x – 2y + 3z = 9 –x + 3y = –4 → 2x – 5y + 5z = 17 + 0y + 0z 0x + + 0z 0x + 0y + x = 1 y = –1 z = 2

Hard to solve: Easy to solve: x – 2y + 3z = 9 –x + 3y = –4 → 2x – 5y + 5z = 17 x = 1 y = –1 z = 2 1 2 3

Elementary Operations: 1. Interchange any two equations. 2. 3. x – 2y + 3z = 9 –2x + 3y + 7z = –4 2x – 5y + 5z = 17 –2x + 3y + 7z = –4 x – 2y + 3z = 9 2x – 5y + 5z = 17

Elementary Operations: 1. 2. Multiply any equation by a nonzero scalar. 3. x – 2y + 3z = 9 –2x + 3y + 7z = –4 2x – 5y + 5z = 17 x – 2y + 3z = 9 –2x + 3y + 7z = –4 20x – 50y + 50z = 170

Elementary Operations: 1. 2. 3. Add a multiple of one equation to another equation. x – 2y + 3z = 9 –2x + 3y + 7z = –4 2x – 5y + 5z = 17 x – 2y + 3z = 9 –2x + 3y + 7z = –4 2x – 5y + 5z = 17 2x – 4y +12z = 18 –2x + 3y + 7z = –4 2x – 5y + 5z = 17 2x – 4y + 12z = 18 – y + 19z = 14 2x – 5y + 5z = 17 x – 2y + 3z = 9 – y + 19z = 14 2x – 5y + 5z = 17

Gauss Jordan Elimination: x – 2y + 3z = 9 –x + 3y = –4 → 2x – 5y + 5z = 17 + 0y + 0z 0x + + 0z 0x + 0y + x = 1 y = –1 z = 2 Gaussian Elimination: x – 2y + 3z = 9 –x + 3y = –4 → 2x – 5y + 5z = 17 0x + 0x + 0y + x – 2y + 3z = 9 y + 3z = 5 z = 2

Ex. Use Gauss Jordan elimination to solve the system x – 2y + 3z = 9 (method of elimination) x – 2y + 3z = 9 y + 3z = 5 2x – 5y + 5z = 17 –y – z = –1 x – 2y + 3z = 9 2z = 4 x + 9z = 19

Ex. Use Gauss Jordan elimination to solve the system x – 2y + 3z = 9 x + 9z = 19 y + 3z = 5 2z = 4

Ex. Use Gauss Jordan elimination to solve the system x – 2y + 3z = 9 x + 9z = 19 y + 3z = 5 2z = 4 x + 9z = 19 z = 2 y = –1 x = 1 z = 2

Notice that we can use elementary row operations on a matrix to work through the Gauss Jordan method of elimination. x – 2y + 3z = 9 –x + 3y = –4 2x – 5y + 5z = 17 x – 2y + 3z = 9 y + 3z = 5 2x – 5y + 5z = 17 –y – z = –1 x – 2y + 3z = 9 2z = 4 x + 9z = 19 R2+R1→R2 R3–2R1→R3 R3+R2→R3 R1+2R2→R3

Notice that we can use elementary row operations on a matrix to work through the Gauss Jordan method of elimination. x – 2y + 3z = 9 –x + 3y = –4 2x – 5y + 5z = 17 x + 9z = 19 y + 3z = 5 2z = 4

Notice that we can use elementary row operations on a matrix to work through the Gauss Jordan method of elimination. x – 2y + 3z = 9 –x + 3y = –4 2x – 5y + 5z = 17 x + 9z = 19 y + 3z = 5 2z = 4 z = 2 x = 1 x = 1 y = –1 z = 2 ½ R3→R3 R1–9R3→R1 R2–3R3→R2

Elementary Row Operations (We are allowed to use these operations on a matrix when trying to solve a system of linear equations.) Elementary Row Operation: Notation: 1. 2. 3. 1. Interchange two rows Ri ↔ Rk 2. Multiply (or divide) a row by a nonzero constant. cRi → Ri 3. Add (or subtract) a multiple of one row to another. Ri + cRk → Ri

We'd like to take our original augmented matrix, and through row operations put it in the following form: where the bi's are just some constants (some numbers).

For example, this matrix has a solution that is easy to see, (1, 3, 5), because the matrix is in the final form that we want. This is not always possible though. The following are matrices that cannot be put into this form.

Reduced Row Echelon Form A matrix is said to be in reduced echelon form if all of the following properties hold true: 1. All rows consisting entirely of zeros are grouped at the bottom. 2. The leftmost nonzero number in each row is 1 (called the leading one). 3. The leading 1 of a row is to the right of the previous row's leading 1. 4. All entries directly above and below a leading 1 are zeros.

Reduced Row Echelon Form A matrix is said to be in reduced echelon form if all of the following properties hold true: 1. All rows consisting entirely of zeros are grouped at the bottom. 2. The leftmost nonzero number in each row is 1 (called the leading one). 3. The leading 1 of a row is to the right of the previous row's leading 1. 4. All entries directly above and below a leading 1 are zeros.

Gauss Jordan Elimination: x – 2y + 3z = 9 –x + 3y = –4 → 2x – 5y + 5z = 17 x = 1 y = –1 z = 2 Gaussian Elimination: x – 2y + 3z = 9 –x + 3y = –4 → 2x – 5y + 5z = 17 x – 2y + 3z = 9 y + 3z = 5 z = 2 Reduced Row Echelon Form Row Echelon Form

Ex. Determine which of the following matrices are in reduced row echelon form. (a) (b) (c) Reduced Row Echelon Form 1. All rows consisting entirely of zeros are grouped at the bottom. 2. The leftmost nonzero number in each row is 1 (called the leading one). 3. The leading 1 of a row is to the right of the previous row's leading 1. 4. All entries directly above and below a leading 1 are zeros.

Ex. Determine which of the following matrices are in reduced row echelon form. (d) (e) (f) Reduced Row Echelon Form 1. All rows consisting entirely of zeros are grouped at the bottom. 2. The leftmost nonzero number in each row is 1 (called the leading one). 3. The leading 1 of a row is to the right of the previous row's leading 1. 4. All entries directly above and below a leading 1 are zeros.

Ex. Determine which of the following matrices are in reduced row echelon form. (g) (h) Reduced Row Echelon Form 1. All rows consisting entirely of zeros are grouped at the bottom. 2. The leftmost nonzero number in each row is 1 (called the leading one). 3. The leading 1 of a row is to the right of the previous row's leading 1. 4. All entries directly above and below a leading 1 are zeros.

Ex. Put the matrix into reduced row echelon form. R2 – 3R1→R2 R3 – 2R1→R3 –1/13 R2→R2 R1 – 3R2→R1 R3 + 13R2→R3

Using a calculator with matrices.

Ex. Solve the following system. x + y = 11 3x – 4y = –6 2x – 7y = –17

Ex. Solve the following system of equations. x1 – 4x2 + 7x3 = –3

Ex. Solve the following system of equations. x1 – 4x2 + 7x3 = –3 (A graph of this system is given below.) –2x1 + 9x2 – 4x3 = 7 x1 – 3x2 + 17x3 = –2 Here's one view of the three planes: Here's a side view of the three planes:

Ex. Solve the following system of equations. x1 – 2x2 + 3x3 = 4

Ex. Solve the following system of equations. x1 – 2x2 + 3x3 = 4 (A graph of this system is given below.) –2x1 + 4x2 – 6x3 = –8 3x1 – 6x2 + 9x3 = 12 Here's one view of the three planes: Here's a side view of the three planes:

Notation and terminology

If we call a matrix A then we shall refer to the entries in A as follows: ai j is the number in matrix A in row i column j.

If we call a matrix A then we shall refer to the entries in A as follows: ai j is the number in matrix A in row i column j. If then we have the following: a1 2 = a3 1 = If then we have the following: b1 2 = b2 3 = 13 –4 3 1

Given a system like –5x + 6y – 2z = 11 we will often look at the following x + 3y = 2 two matrices. Coefficient Matrix Augmented Matrix

Homogenous systems 8x – 2y + 6z = 0 9x + 3y + 7z = 0 4x – 5y + 2z = 0 13x – 8y + 2z = 0 2x + 4y –10z = 0 5x – 7y + 3z = 0 x + 3y + 5z = 0