Simultaneous Linear Equations

Similar documents
Simultaneous Linear Equations

Chapter 9: Gaussian Elimination

Matrix notation. A nm : n m : size of the matrix. m : no of columns, n: no of rows. Row matrix n=1 [b 1, b 2, b 3,. b m ] Column matrix m=1

Numerical Analysis Fall. Gauss Elimination

Section Matrices and Systems of Linear Eqns.

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

4 Elementary matrices, continued

Y = ax + b. Numerical Applications Least-squares. Start with Self-test 10-1/459. Linear equation. Error function: E = D 2 = (Y - (ax+b)) 2

y b where U. matrix inverse A 1 ( L. 1 U 1. L 1 U 13 U 23 U 33 U 13 2 U 12 1

Matrix decompositions

Solving Linear Systems of Equations

2.1 Gaussian Elimination

Midterm for Introduction to Numerical Analysis I, AMSC/CMSC 466, on 10/29/2015

LU Factorization. Marco Chiarandini. DM559 Linear and Integer Programming. Department of Mathematics & Computer Science University of Southern Denmark

Matrix decompositions

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

ECON 331 Homework #2 - Solution. In a closed model the vector of external demand is zero, so the matrix equation writes:

Solving Consistent Linear Systems

4 Elementary matrices, continued

TABLE OF CONTENTS INTRODUCTION, APPROXIMATION & ERRORS 1. Chapter Introduction to numerical methods 1 Multiple-choice test 7 Problem set 9

6-3 Solving Systems by Elimination

6.3. MULTIVARIABLE LINEAR SYSTEMS

Adding and Subtracting Rational Expressions. Add and subtract rational expressions with the same denominator.

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

30.3. LU Decomposition. Introduction. Prerequisites. Learning Outcomes

Linear Algebra Linear Algebra : Matrix decompositions Monday, February 11th Math 365 Week #4

Elementary Linear Algebra

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

7.6 The Inverse of a Square Matrix

Math 4377/6308 Advanced Linear Algebra

Math 2331 Linear Algebra

Chapter 3 - From Gaussian Elimination to LU Factorization

Solving Linear Systems Using Gaussian Elimination. How can we solve

Find two positive factors of 24 whose sum is 10. Make an organized list.

MAC Module 1 Systems of Linear Equations and Matrices I

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

Chapter 4. Solving Systems of Equations. Chapter 4

Direct Methods for Solving Linear Systems. Matrix Factorization

Matrix Solutions to Linear Equations

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

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

MATH 3511 Lecture 1. Solving Linear Systems 1

6: Introduction to Elimination. Lecture

Linear Equations in Linear Algebra

9 Appendix. Determinants and Cramer s formula

Today s class. Linear Algebraic Equations LU Decomposition. Numerical Methods, Fall 2011 Lecture 8. Prof. Jinbo Bi CSE, UConn

MAC Learning Objectives. Learning Objectives (Cont.) Module 10 System of Equations and Inequalities II

Math 313 Chapter 1 Review

Solving Ax = b w/ different b s: LU-Factorization

Lecture 12 Simultaneous Linear Equations Gaussian Elimination (1) Dr.Qi Ying

1.Chapter Objectives

CHAPTER 8: Matrices and Determinants

Math 250B Midterm I Information Fall 2018

MCR3U Unit 7 Lesson Notes

3.3 Dividing Polynomials. Copyright Cengage Learning. All rights reserved.

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Outcomes

10.2 Systems of Linear Equations

Introduction to Systems of Equations

Learning Module 1 - Basic Algebra Review (Appendix A)

CS475: Linear Equations Gaussian Elimination LU Decomposition Wim Bohm Colorado State University

Determinant: 3.2 Evaluation of Determinant with Elementary

Numerical Methods for Chemical Engineers

Department of Aerospace Engineering AE602 Mathematics for Aerospace Engineers Assignment No. 4

1. Solve each linear system using Gaussian elimination or Gauss-Jordan reduction. The augmented matrix of this linear system is

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column


Computational Methods. Systems of Linear Equations

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

UNIT 3 INTERSECTIONS OF LINES AND PLANES

MA2501 Numerical Methods Spring 2015

Math Lecture 26 : The Properties of Determinants

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

After we have found an eigenvalue λ of an n n matrix A, we have to find the vectors v in R n such that

COMPUTING AND DATA ANALYSIS WITH EXCEL. Matrix manipulation and systems of linear equations

The Solution of Linear Systems AX = B

Gauss Elimination. Hsiao-Lung Chan Dept Electrical Engineering Chang Gung University, Taiwan

Linear Algebra. Solving Linear Systems. Copyright 2005, W.R. Winfrey

Lesson 2: Introduction to Variables

Math 343 Midterm I Fall 2006 sections 002 and 003 Instructor: Scott Glasgow

Section 6.2 Larger Systems of Linear Equations

Cofactors and Laplace s expansion theorem

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn

Linear Algebraic Equations

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

Graduate Mathematical Economics Lecture 1

Matrix Basic Concepts

TMA4125 Matematikk 4N Spring 2017

Gauss-Jordan elimination ( used in the videos below) stops when the augmented coefficient

Matrix Algebra: Introduction

Lemma 8: Suppose the N by N matrix A has the following block upper triangular form:

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker.

Elementary Matrices. which is obtained by multiplying the first row of I 3 by -1, and

CE 206: Engineering Computation Sessional. System of Linear Equations

LPSS MATHCOUNTS Lecture 1: Arithmetic Series 4/6/04

Eigenvalues and Eigenvectors

22A-2 SUMMER 2014 LECTURE 5

Solving Systems of Linear and Quadratic Equations

Matrix Algebra and Inverses

MATRICES The numbers or letters in any given matrix are called its entries or elements

Transcription:

Simultaneous Linear Equations PHYSICAL PROBLEMS Truss Problem Pressure vessel problem a a b c b

Polynomial Regression We are to fit the data to the polynomial regression model Simultaneous Linear Equations Naive Gaussian Elimination (Naïve and the Not That So Innocent Also) Naïve Gaussian Elimination A method to solve simultaneous linear equations of the form [A][X]=[C] The goal of forward elimination is to transform the coefficient matrix into an upper triangular matrix Two steps 1. 2.

Exercise: Show the steps for this slide (10 minutes). Solve each equation starting from the last equation Example of a system of 3 equations A set of n equations and n unknowns Step 1 For Equation 2, divide Equation 1 by multiply by. and (n-1) steps of forward elimination

Subtract the result from Equation 2. Repeat this procedure for the remaining equations to reduce the set of equations as... or End of Step 1 Step 2 Repeat the same procedure for the 3 rd term of Equation 3. At the end of (n-1) steps, the system of equations will look like End of Step 2 End of Step (n-1)

Matrix Form at End of Forward Elimination Solve each equation starting from the last equation Example of a system of 3 equations Starting Eqns Start with the last equation because it has only one unknown

Naïve Gauss Elimination Example http://numericalmethods.eng.usf.edu Example 1 The upward velocity of a rocket is given at three different times Table 1 Velocity vs. time data. Time, Velocity, 5 106.8 8 177.2 12 279.2 Assume Example 1 Cont. Results in a matrix template of the form: Using data from Table 1, the matrix becomes: The velocity data is approximated by a polynomial as: Find the velocity at t=6 seconds.

Example 1 Cont. 1. 2. Number of Steps of Number of steps of forward elimination is (n 1) (3 1) 2 : Step 1 Divide Equation 1 by 25 and multiply it by 64,.. Subtract the result from Equation 2 Substitute new equation for Equation 2

: Step 1 (cont.) Divide Equation 1 by 25 and multiply it by 144,. : Step 2 Divide Equation 2 by 4.8 and multiply it by 16.8,. Subtract the result from Equation 3. Subtract the result from Equation 3 Substitute new equation for Equation 3 Substitute new equation for Equation 3 Solving for a 3

(cont.) (cont.) Solving for a 2 Solving for a 1 Naïve Gaussian Elimination Solution Example 1 Cont. Solution The solution vector is The polynomial that passes through the three data points is then:

Determinant of a Square Matrix Using Naïve Gauss Elimination Example Theorem of Determinants If a multiple of one row of [A] nxn is added or subtracted to another row of [A] nxn to result in [B] nxn then det(a)=det(b) http://nm.mathforcollege.com Theorem of Determinants The determinant of an upper triangular, lower triangular or diagonal matrix [A] nxn is given by of a Square Matrix Using forward elimination to transform [A] nxn to an upper triangular matrix, [U] nxn.

Example Using Naive Gaussian Elimination method, find the determinant of the following square matrix. Finding the Determinant After forward elimination steps.