1 Chapter: 3a System of Linear Equations Dr. Asaf Varol.

Slides:



Advertisements
Similar presentations
Numerical Solution of Linear Equations
Advertisements

Elementary Linear Algebra Anton & Rorres, 9th Edition
Chapter 2 Solutions of Systems of Linear Equations / Matrix Inversion
Chapter: 3c System of Linear Equations
Algebraic, transcendental (i.e., involving trigonometric and exponential functions), ordinary differential equations, or partial differential equations...
2. Review of Matrix Algebra Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical.
Chapter: 3b System of Linear Equations
Systems of Linear Equations
Lecture 9: Introduction to Matrix Inversion Gaussian Elimination Sections 2.4, 2.5, 2.6 Sections 2.2.3, 2.3.
Part 3 Chapter 9 Gauss Elimination
Chapter 9 Gauss Elimination The Islamic University of Gaza
Matrices and Systems of Equations
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 14 Elimination Methods.
Dr. Jie Zou PHY Chapter 3 Solution of Simultaneous Linear Algebraic Equations: Lecture (II) Note: Besides the main textbook, also see Ref: Applied.
ECIV 520 Structural Analysis II Review of Matrix Algebra.
Linear Equations in Linear Algebra
Matrix Algebra THE INVERSE OF A MATRIX © 2012 Pearson Education, Inc.
Mujahed AlDhaifallah (Term 342) Read Chapter 9 of the textbook
1 Systems of Linear Equations Error Analysis and System Condition.
Chapter 5 Determinants.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Linear Algebraic Equations ~ Gauss Elimination Chapter.
Autar Kaw Humberto Isaza
1 Numerical Integration Dr. Asaf Varol
Chapter 10 Review: Matrix Algebra
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
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.
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 9 Matrices and Determinants.
MATLAB for Engineers 4E, by Holly Moore. © 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected by Copyright.
Matrices & Determinants Chapter: 1 Matrices & Determinants.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 9 Matrices and Determinants.
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 5-1 1© 2006 by Prentice Hall, Inc. Upper Saddle River, NJ Module 5 Mathematical.
1 1.3 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra VECTOR EQUATIONS.
CMPS 1371 Introduction to Computing for Engineers MATRICES.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Matrices CHAPTER 8.1 ~ 8.8. Ch _2 Contents  8.1 Matrix Algebra 8.1 Matrix Algebra  8.2 Systems of Linear Algebra Equations 8.2 Systems of Linear.
Part 3 Chapter 11 Matrix Inverse and Condition Part A All images copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lecture 7 - Systems of Equations CVEN 302 June 17, 2002.
Elementary Linear Algebra Anton & Rorres, 9 th Edition Lecture Set – 02 Chapter 2: Determinants.
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.
1 Solution of Nonlinear Equation Dr. Asaf Varol
Numerical Solutions of ODE
Introduction to computing
ME 142 Engineering Computation I Matrix Operations in Excel.
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.
Chapter 9 Gauss Elimination The Islamic University of Gaza
Chapter 2 Determinants. With each square matrix it is possible to associate a real number called the determinant of the matrix. The value of this number.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Chapter 5 More Work with Matrices
Copyright ©2015 Pearson Education, Inc. All rights reserved.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Lecture 9 Numerical Analysis. Solution of Linear System of Equations Chapter 3.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices.
CHAPTER 7 Determinant s. Outline - Permutation - Definition of the Determinant - Properties of Determinants - Evaluation of Determinants by Elementary.
College Algebra Chapter 6 Matrices and Determinants and Applications
MTH108 Business Math I Lecture 20.
Part 3 Chapter 9 Gauss Elimination
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Chapter: 3c System of Linear Equations
Numerical Integration
Chapter 7 Matrix Mathematics
ECON 213 Elements of Mathematics for Economists
Linear Equations in Linear Algebra
Review of Matrix Algebra
Numerical Analysis Lecture14.
Numerical Analysis Lecture10.
Matrix Algebra THE INVERSE OF A MATRIX © 2012 Pearson Education, Inc.
Presentation transcript:

1 Chapter: 3a System of Linear Equations Dr. Asaf Varol

2 Introduction (I) Linear Equation: an equations where only the first exponent of the unknown is present System of Linear Equations: the set of linear equations where there are more than one unknown

3 Introduction (II)

4 Introduction Example - Vibration of Three Railroad Cars

5

6 Introduction Example - Forces Acting on a Simple Truss

7

8

9 Review of Matrix Algebra

10 Review of Matrix Algebra - Addition

11 Review of Matrix Algebra - Multiplication

12 Example E3.2.1

13 Transpose and Determinant of a Matrix

14 Example E Find the Determinant of a Matrix

15 Identity Matrix and the Inverse of a Matrix

16 Inverse of a matrix

17 Inverse of a matrix (Cont’d)

18 Rules Governing Matrix Algebra

19 Matrix Norms

20 Matrix Norms (II)

21 Example E3.2.3

22 Condition Number and Ill-Conditioned Systems The condition number of a matrix, A. is defined by Cond([A]) = where the symbol indicates any norm of the matrix. It can be shown by matrix algebra, that the condition number of a matrix is always greater than or equal to one., i.e. Cond ([A]) = If the condition number of a matrix is “large” it is said to be ill-conditioned. Systems of equations that involve ill-conditioned matrices are difficult to solve. These systems must be first preconditioned before attempting to find a numerical solution. How large should the condition number be before one can call a matrix truly ill- conditioned is a matter of order of magnitudes. For ill-conditioned systems, a small change in coefficients leads to large changes in the solution.

23 Example E3.3.1 Problem:Find the condition number of the following matrix: [A] = [A] -1 = (1/56) Solution: Using the uniform matrix norm: = Max (4, 7, 12) = 12; = Max[(1/56) (36, 24, 18)] = 36/56 = 9/14 Cond ([A]) = (12)(9/14) = 54/7 Using the Column norm = Max (6, 9, 8) = 9; = Max[(1/56) (40, 24, 14)] = 40/56 = 5/7 Cond ([A]) = (9)(5/7) = 45/7

24 Rules of Thumb for Checking the Condition of a Matrix Apply the following tests after scaling (or normalizing) the matrix, [A], such that the largest element in each row is one. (i) If the sum of the absolute value of off-diagonal elements is less than the absolute value of the diagonal element for each row separately, this matrix is most likely to be well-conditioned. Note that interchanging the rows, i.e. partial pivoting, does not improve the condition number of a matrix. (ii) If det[A]  0. This matrix is ill-conditioned. (iii) If there are elements of [A] -1 which are several order of magnitude larger than one, it is most likely that this matrix is ill-conditioned. (iv) Let [I]* = [A] [A] -1 ; if [I]* is significantly different (i.e. the diagonal elements are not close to one) than the identity matrix, [I], then the matrix [A] is likely to be ill-conditioned. (v) Let [A]* = {[A] -1 } -1 ; if [A]* is not close to the original matrix [A] the matrix is most likely to be ill-conditioned.

25 Example E3.3.2 Problem: Given the following Show that the condition number of the matrix does not change when the rows are interchanged. Solution: Now interchange the rows to obtain One can show that the inverse of the matrices are right by checking if the product [B][B] -1 = I is satisfied. Using the Froberius norm we find cond([A]) = ||[A]|| e ||[A] -1 || e = (1.4177)(1.4177) = cond([B]) = ||[B]|| e ||[B] -1 || e = (1.4177)(1.4177) = 2.001

26 Direct Methods for Solving Linear Systems Survey of several commonly used direct methods meaning that when the outlined procedure or (algorithm) is completed we get the solution, hence there is no need for iteration to improve an approximate solution. Cramer’s Method: This method is the oldest but the most cumbersome and expensive method to solve a given system of linear equations. It requires computation of (n+1) determinants of nxn matrices, where n is the number of unknowns. The rule is given by x i = det{[A]*}/det[A] for i=1,2,3,...,n (3.4.1) where [A]* is the modified matrix where the “i”th column is replaced by the right hand side of the equations, i.e. by {c} T = (c 1,c 2,c 3,...

27 Example E3.4.1 Problem: Find the solution of the system of equations given by Equation (3.1.4). Solution: First we write the equations in matrix form [A]{X}={C} and observe that x 1 = a 0 = det[A*] 1 /det[A]; x 2 = a 1 = det[A*] 2 /det[A]; x 3 = a 2 = det[A*] 3 /det[A] where It follows thendet[A] = 6 a 0 = 8/6a 1 = 3/6a 2 = -5/6

28 References Celik, Ismail, B., “Introductory Numerical Methods for Engineering Applications”, Ararat Books & Publishing, LCC., Morgantown, 2001 Fausett, Laurene, V. “Numerical Methods, Algorithms and Applications”, Prentice Hall, 2003 by Pearson Education, Inc., Upper Saddle River, NJ Rao, Singiresu, S., “Applied Numerical Methods for Engineers and Scientists, 2002 Prentice Hall, Upper Saddle River, NJ Mathews, John, H.; Fink, Kurtis, D., “Numerical Methods Using MATLAB” Fourth Edition, 2004 Prentice Hall, Upper Saddle River, NJ Varol, A., “Sayisal Analiz (Numerical Analysis), in Turkish, Course notes, Firat University,