Method 1: Substitution methods

Slides:



Advertisements
Similar presentations
Matrices. Special Matrices Matrix Addition and Subtraction Example.
Advertisements

Systems of Equations. I. Systems of Linear Equations Four Methods: 1. Elimination by Substitution 2. Elimination by Addition 3. Matrix Method 4. Cramer’s.
ENGG2013 Unit 9 3x3 Determinant
Pam Perlich Urban Planning 5/6020
Matrix Mathematics in MATLAB and Excel
Solving Simultaneous Equations by Matrix Inverse Problem 2.5 # 37 Presented by E. G. Gascon.
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
1 Chapter 3 Matrix Algebra with MATLAB Basic matrix definitions and operations were covered in Chapter 2. We will now consider how these operations are.
Solving a System of Equations by ELIMINATION. Elimination Solving systems by Elimination: 1.Line up like terms in standard form x + y = # (you may have.
Using Inverse Matrices Solving Systems. You can use the inverse of the coefficient matrix to find the solution. 3x + 2y = 7 4x - 5y = 11 Solve the system.
Ch 5.4 Elimination (multiplication)
Precalculus – MAT 129 Instructor: Rachel Graham Location: BETTS Rm. 107 Time: 8 – 11:20 a.m. MWF.
3.5 Solution by Determinants. The Determinant of a Matrix The determinant of a matrix A is denoted by |A|. Determinants exist only for square matrices.
Systems and Matrices (Chapter5)
ECON 1150 Matrix Operations Special Matrices
 Row and Reduced Row Echelon  Elementary Matrices.
Matrix Inversion.
CHAPTER 2 MATRIX. CHAPTER OUTLINE 2.1 Introduction 2.2 Types of Matrices 2.3 Determinants 2.4 The Inverse of a Square Matrix 2.5 Types of Solutions to.
Presentation by: H. Sarper
Solving Systems of 3 or More Variables Why a Matrix? In previous math classes you solved systems of two linear equations using the following method:
Copyright © 2007 Pearson Education, Inc. Slide 7-1.
8.1 Matrices & Systems of Equations
Matrices Addition & Subtraction Scalar Multiplication & Multiplication Determinants Inverses Solving Systems – 2x2 & 3x3 Cramer’s Rule.
1 Ch. 4 Linear Models & Matrix Algebra Matrix algebra can be used: a. To express the system of equations in a compact manner. b. To find out whether solution.
1 MAC 2103 Module 3 Determinants. 2 Rev.F09 Learning Objectives Upon completing this module, you should be able to: 1. Determine the minor, cofactor,
ENE MATHLAB ® Lecture 3: Matrix Review. Determinant  To use MATLAB to compute determinants:  Enter the determinant as an array.  Use ‘det’ command.
© 2005 Baylor University Slide 1 Fundamentals of Engineering Analysis EGR Adjoint Matrix and Inverse Solutions, Cramer’s Rule.
Chapter 9 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Determinants and Cramer’s Rule.
Chapter 3 Determinants Linear Algebra. Ch03_2 3.1 Introduction to Determinants Definition The determinant of a 2  2 matrix A is denoted |A| and is given.
ME 142 Engineering Computation I Matrix Operations in Excel.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Solving by Substitution Method or Elimination (Addition) Method
1 Section 5.3 Linear Systems of Equations. 2 THREE EQUATIONS WITH THREE VARIABLES Consider the linear system of three equations below with three unknowns.
Elimination Method: Solve the linear system. -8x + 3y=12 8x - 9y=12.
ME 142 Engineering Computation I Matrix Operations in Excel.
Introduction and Definitions
Solving Linear Systems by Substitution
Copyright © 2007 Pearson Education, Inc. Slide 7-1.
 In this lesson we will go over how to solve a basic matrix equation such as the following: These are matrices, not variables.
Chapter 7 Solving systems of equations substitution (7-1) elimination (7-1) graphically (7-1) augmented matrix (7-3) inverse matrix (7-3) Cramer’s Rule.
BELL-WORK Solve the system of equations using matrices:
Lesson Menu Five-Minute Check (over Lesson 6-2) Then/Now New Vocabulary Key Concept:Invertible Square Linear Systems Example 1:Solve a 2 × 2 System Using.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
SYSTEMS OF LINEAR EQUATIONS College Algebra. Graphing and Substitution Solving a system by graphing Types of systems Solving by substitution Applications.
Essential Question: How do you solve a system of 3 equations? Students will write a summary of the steps for solving a system of 3 equations. Multivariable.
Matrix Algebra Basics Chapter 3 Section 5. Algebra.
Solving a System of Equations by ELIMINATION. Elimination Solving systems by Elimination: 1.Line up like terms in standard form x + y = # (you may have.
TYPES OF SOLUTIONS SOLVING EQUATIONS
MAT 322: LINEAR ALGEBRA.
3.5: Solving Nonlinear Systems
TYPES OF SOLUTIONS SOLVING EQUATIONS
LINEAR ALGEBRA.
Matrices and Matrix Solutions
Warm Up 3x + 5y = 25 4x + 7y = 34 Find the value of x and y so that both equations are true.
Solve a system of linear equation in two variables
Splash Screen.
Chapter 7: Matrices and Systems of Equations and Inequalities
Using matrices to solve Systems of Equations
Solving Systems of non-linear Equations
Multiplicative Inverses of Matrices and Matrix Equations
Use Inverse Matrices to Solve 2 Variable Linear Systems
Matrix Solutions to Linear Systems
4.6 Cramer’s Rule System of 2 Equations System of 3 Equations
Notes Solving a System by Elimination
Chapter 7: Matrices and Systems of Equations and Inequalities
Solving Linear Systems Using Inverses and Cramer’s Rule
Systems with Three Variables
Solve the linear system.
Multivariable Linear Systems
Using matrices to solve Systems of Equations
Presentation transcript:

APPENDIX 3.A. FOUR ALTERNATIVE METHODS TO SOLVE SYSTEM OF LINEAR EQUATIONS

Method 1: Substitution methods (Reference: Wikipedia) The simplest method for solving a system of linear equations is to repeatedly eliminate variables. This method can be described as follows: In the first equation, solve for one of the variables in terms of the others. Substitute this expression into the remaining equations. This yields a system of equations with one fewer equation and one fewer unknown. Continue until you have reduced the system to a single linear equation. 4.Solve this equation and then back-substitute until the entire solution is found.

For example, consider the following system: Solving the first equation for x gives x = 5 + 2z − 3y, and plugging this into the second and third equation yields (3.A.2)

Solving the first of these equations for y yields y = 2 + 3z, and plugging this into the second equation yields z = 2. We now have: (3.A.3) Substituting z = 2 into the second equation gives y = 8, and substituting z = 2 and y = 8 into the first equation yields x = −15. Therefore, the solution set is the single point (x, y, z) = (−15, 8, 2).

Method 2: Cramer’s rule Explicit formulas for small systems (Reference: Wikipedia) Consider the linear system (3.A.4) which in matrix format is (3.A.5)

Assume a1b2 − b1a2 nonzero. Then, x and y can be found with Cramer's rule as

The rules for 3 × 3 matrices are similar. Given which in matrix format is (3.A.8)

Then the values of x, y and z can be found as follows: And then you need to use determinant calculation, which will be discussed in next session.

Determinant Calculation 3 × 3 matrices The determinant of a 3×3 matrix is defined by (3.A.10)

We use the same example as we did in the first method:

(3.C.12) (3.C.13)

Method 3: Matrix Method Using the example above, we can derive the following matrix equation: (3.A.14) The inversion of matrix A is, by the definition (3.A.15) The Adjoint A is defined by the transpose of the cofactor matrix. First we need to calculate the cofactor matrix of A. Suppose the cofactor matrix is:

Therefore,

(3.A.16) Then, we can get the Adjoint A: (3.A.17)

The determinant of A we have calculated in Cramer’s rule:

Therefore, (3.A.19)

Method 4: Excel Matrix Inversion and Multiplication 1.Using minverse () function to get the A inverse. Type “Ctrl + Shift + Enter” together you will get the inverse of A.

2.Using mmult () function to do the matrix multiplication and type “Ctrl + Shift + Enter” together, you will get the answers for x, y, and z.