ENGR-1100 Introduction to Engineering Analysis

Slides:



Advertisements
Similar presentations
Elementary Linear Algebra
Advertisements

Chapter 1: Linear Equations
Gauss Elimination.
Chapter 2 Simultaneous Linear Equations
Objectives  Represent systems of equations with matrices  Find dimensions of matrices  Identify square matrices  Identify an identity matrix  Form.
Objectives  Represent systems of equations with matrices  Find dimensions of matrices  Identify square matrices  Identify an identity matrix  Form.
Lesson 8 Gauss Jordan Elimination
Solving Systems of Linear Equations Part Pivot a Matrix 2. Gaussian Elimination Method 3. Infinitely Many Solutions 4. Inconsistent System 5. Geometric.
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
Solving System of Linear Equations. 1. Diagonal Form of a System of Equations 2. Elementary Row Operations 3. Elementary Row Operation 1 4. Elementary.
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 and Row Echelon Form.
SYSTEMS OF LINEAR EQUATIONS
Elementary Linear Algebra
Chapter 1 Systems of Linear Equations and Matrices
Copyright © 2000 by the McGraw-Hill Companies, Inc. Barnett/Ziegler/Byleen Precalculus: A Graphing Approach Chapter Eight Systems: Matrices.
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.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Section 1.1 Introduction to Systems of Linear Equations.
Warm-Up Write each system as a matrix equation. Then solve the system, if possible, by using the matrix equation. 6 minutes.
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.
Systems of Linear Equation and Matrices
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.
Chapter 1 Systems of Linear Equations
Guass-jordan Reduction :
 Lecture #9: 1.Linear Equations: y=mx +b 2.Solution System: N.S., U.S., I.S. 3.Augmented Matrix 4.Solving a System of Linear Equations  Today: 1.Echelon.
Sec 3.2 Matrices and Gaussian Elemination Coefficient Matrix 3 x 3 Coefficient Matrix 3 x 3 Augmented Coefficient Matrix 3 x 4 Augmented Coefficient Matrix.
Copyright © 1999 by the McGraw-Hill Companies, Inc. Barnett/Ziegler/Byleen Precalculus: Functions & Graphs, 4 th Edition Chapter Eight Systems of Equations.
Using Matrices A matrix is a rectangular array that can help us to streamline the solving of a system of equations The order of this matrix is 2 × 3 If.
MCV4U1 Matrices and Gaussian Elimination Matrix: A rectangular array (Rows x Columns) of real numbers. Examples: (3 x 3 Matrix) (3 x 2 Matrix) (2 x 2 Matrix)
Matrices and Systems of Equations
Matrices and Systems of Linear Equations
Section 1.2 Gaussian Elimination. REDUCED ROW-ECHELON FORM 1.If a row does not consist of all zeros, the first nonzero number must be a 1 (called a leading.
Copyright © 2009 Pearson Education, Inc. CHAPTER 9: Systems of Equations and Matrices 9.1 Systems of Equations in Two Variables 9.2 Systems of 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.
 SOLVE SYSTEMS OF EQUATIONS USING MATRICES. Copyright © 2012 Pearson Education, Inc. Publishing as Addison Wesley 9.3 Matrices and Systems of Equations.
Chapter 1 Linear Algebra S 2 Systems of Linear Equations.
10.3 Systems of Linear Equations: Matrices. A matrix is defined as a rectangular array of numbers, Column 1Column 2 Column jColumn n Row 1 Row 2 Row 3.
Matrices and Systems of Equations
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.
Def: A matrix A in reduced-row-echelon form if 1)A is row-echelon form 2)All leading entries = 1 3)A column containing a leading entry 1 has 0’s everywhere.
Section 5.3 MatricesAnd Systems of Equations. Systems of Equations in Two Variables.
Slide Copyright © 2009 Pearson Education, Inc. 7.4 Solving Systems of Equations by Using Matrices.
Def: A matrix A in reduced-row-echelon form if 1)A is row-echelon form 2)All leading entries = 1 3)A column containing a leading entry 1 has 0’s everywhere.
Gaussian Elimination Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 Gaussian elimination with back-substitution.
College Algebra Chapter 6 Matrices and Determinants and Applications
Systems of linear equations
Gaussian Elimination and Gauss-Jordan Elimination
Gaussian Elimination and Gauss-Jordan Elimination
Chapter 8: Lesson 8.1 Matrices & Systems of Equations
Chapter 1 Systems of Linear Equations and Matrices
Matrices and Systems of Equations
Elementary Row Operations Gaussian Elimination Method
Systems of Linear Equations
Linear Algebra Lecture 3.
Chapter 1: Linear Equations in Linear Algebra
Gaussian Elimination.
Section 8.1 – Systems of Linear Equations
Presentation transcript:

ENGR-1100 Introduction to Engineering Analysis Lecture 5

Introduction to System of Linear Equations a1.x+a2.y = b z x a1x+a2y+a3z = b a1x1+a2x2+….+anxn = b

Which of the following are linear equations? x+3y=7 x1-3x2+5x3=cos(10) x1+sin x2=b a1x12+a2x2+….+anxn=b Answer: a, b

System of Linear Equations A finite set of linear equations in the variables x1, x2,.. xn is called a system of linear equations. A sequence of numbers s1, s2,.. sn is called a solution of the system if x1=s1, x2=s2,.. xn=sn , is a solution of every equation in the system. For example: 4x1-x2+3x3=-1 3x1+x2+9x3=-4 Has the solution x1=1, x2=2, x3=-1.

No Solution - Inconsistent The following set of linear equations have no solution x+y=3 x+y=4 If there is at least one solution, it is called consistent.

Infinitely many solutions Three Possibilities y x l1 l2 y x l1and l2 y x l1 l2 One solution No solution Infinitely many solutions

Class Assignment Problem- set 1.1-5 For which value(s) of the constant k does the following system of linear equations have no solutions? Exactly one solution? Infinitely many solutions? 2x-2y=6 2x-2y=k *2 x-y=3 2x-2y=k k=6 infinitely number of solutions k=6 no solutions

Class Assignment Problem- set 1.1-5 For which value(s) of the constant k does the following system of linear equations have no solutions? Exactly one solution? Infinitely many solutions? y x x-y = 3 x+y = k For any k only one solution exists 2x=3+k => x=(3+k)/2 y=x-3=(k-3)/2

Augmented Matrix x1+3x2+4x3=8 2x1+5x2-8x3=1 3x1+7x2-9x3=0 1 3 4 8 x1 x2 x3 RHS 1 3 4 8 2 5 –8 1 3 7 –9 0

Class Assignment Problem- set 1.2-4a Find a system of linear equations corresponding to the following augmented matrix. 1 0 -1 2 2 1 1 3 0 -1 2 4

A basic method for solving a system of linear equations Replace the given system by a new system that has the same solution set, but is easier to solve: Multiple a row through by a nonzero constant, Interchange two rows, Add a multiple of one row to anther. a11 a12 …a1n b1 a21 a22 …a2n b2 a31 a32 …a3n b3 : : : : am1 am2 …amn bm 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

Example + + x+y+2z=9 2x+4y-3z=1 3x+6y-5z=0 *-2 1 1 2 9 2 4 -3 1 1 1 2 9 2 4 -3 1 3 6 -5 0 x+y+2z=9 2y-7z=-17 3x+6y-5z=0 1 1 2 9 0 2 -7 -17 3 6 -5 0 *-3 + x+y+2z=9 2y-7z=-17 3y-11z=-27 1 1 2 9 0 2 -7 -17 0 3 -11 -27 *1/2

Example - Continue + + x+y+2z=9 y-7/2z=-17/2 3y-11z=-27 1 1 2 9 1 1 2 9 0 1 –7/2 –17/2 0 3 -11 -27 + *-3 x+y+2z=9 y-7/2z=-17/2 -1/2z=-3/2 1 1 2 9 0 1 –7/2 –17/2 0 0 –1/2 –3/2 *-2 x+y+2z=9 y-7/2z=-17/2 z=3 1 1 2 9 0 1 –7/2 –17/2 0 0 1 3 *-1 +

Example - Continue + x+y+2z=9 1 1 2 9 0 1 –7/2 –17/2 y-7/2z=-17/2 z=3 1 1 2 9 0 1 –7/2 –17/2 0 0 1 3 *-1 + x +11/2z=35/2 y-7/2z=-17/2 z=3 1 0 11/2 35/2 0 1 –7/2 –17/2 0 0 1 3 *-11/2, 7/2 x =1 y =2 z =3 1 0 0 1 0 1 0 2 0 0 1 3

Gauss-Jordan Elimination A systematic procedure for solving a system of linear equations by transforming the augmented matrix to a reduced row-echelon form x =2 y =3 z=1 1 0 0 2 0 1 0 3 0 0 1 1 reduced row-echelon form

Reduced Row - Echelon Form If a row does not consist entirely of zeros, then the first nonzero number in the row is a 1 (leading 1). If there are any rows that consist entirely of zeros, then they are grouped together at the bottom of the matrix. In any two successive rows that do not consist entirely of zeros, the leading 1 in the lower row occurs farther to the right than the leading 1 in the higher row. Each column that contains a leading 1 has zeros everywhere else. x =2 y =3 z=1 1 0 0 2 0 1 0 3 0 0 1 1 Reduced row-echelon form

Solve the following reduced-echelon form matrixes 1 0 0 5 0 1 0 -2 0 0 1 4 1 0 0 4 -1 0 1 0 2 6 0 0 1 3 2 a) b) 1 0 0 0 0 1 2 0 0 0 0 1 c)

Class Assignment Problem- set 1.2-7 Solve the following linear equation system by Gauss-Jordan elimination x1 + x2+ 2x3=8 -x1 - 2x2+3x3=1 3x1 - 7x2+4x3=10 Answer: x1=3, x2=1, x3=2