1 Systems of Linear Equations Error Analysis and System Condition.

Slides:



Advertisements
Similar presentations
SOLUTION OF STATE EQUATION
Advertisements

Algebraic, transcendental (i.e., involving trigonometric and exponential functions), ordinary differential equations, or partial differential equations...
Simultaneous Linear Equations
Chapter 9 Gauss Elimination The Islamic University of Gaza
LU method 1) factor (decompose) A into L and U 2) given b, determine d 3) using Ux=d and backsubstitution, solve for x Advantage: Once you have L and U,
Analysis of Triangular Factorization Lecture #8 EEE 574 Dr. Dan Tylavsky.
1 Systems of Linear Equations Error Analysis and System Condition.
COMP322/S2000/L221 Relationship between part, camera, and robot (cont’d) the inverse perspective transformation which is dependent on the focal length.
1 Neural Nets Applications Vectors and Matrices. 2/27 Outline 1. Definition of Vectors 2. Operations on Vectors 3. Linear Dependence of Vectors 4. Definition.
Tutorial 10 Iterative Methods and Matrix Norms. 2 In an iterative process, the k+1 step is defined via: Iterative processes Eigenvector decomposition.
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems
Vector Norms CSE 541 Roger Crawfis.
Mujahed AlDhaifallah (Term 342) Read Chapter 9 of the textbook
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 10 LU Decomposition and Matrix.
Systems of Linear Equations
1 Systems of Linear Equations Gauss-Jordan Elimination and LU Decomposition.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Linear Algebraic Equations ~ Gauss Elimination Chapter.
Autar Kaw Humberto Isaza
Major: All Engineering Majors Author(s): Autar Kaw
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Spring 2013 Solving a System of Linear Equations Matrix inverse Simultaneous equations Cramer’s rule Second-order Conditions Lecture 7.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Part 31 Linear.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
ES 240: Scientific and Engineering Computation. Matrix Inverse Chapter 11: Matrix Inverse Uchechukwu Ofoegbu Temple University.
The inverse of a Square Matrix 2.1 Day 1 (Out of Pre-Calc book 8.3) We are reloading for another chapter.
Part 3 Chapter 11 Matrix Inverse and Condition PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The McGraw-Hill.
Ch X 2 Matrices, Determinants, and Inverses.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
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.
Part 3 Chapter 11 Matrix Inverse and Condition Part A All images copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2 System of Linear Equations Sensitivity and Conditioning (2.3) Solving Linear Systems (2.4) January 19, 2010.
Lecture 7 - Systems of Equations CVEN 302 June 17, 2002.
Class Opener:. Identifying Matrices Student Check:
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION ASEN 5070 LECTURE 11 9/16,18/09.
2 x 2 Matrices, Determinants, and Inverses.  Definition 1: A square matrix is a matrix with the same number of columns and rows.  Definition 2: For.
Linear Systems – Iterative methods
Matrix Condition Numbers
4.5 Matrices, Determinants, Inverseres -Identity matrices -Inverse matrix (intro) -An application -Finding inverse matrices (by hand) -Finding inverse.
Chapter 9 Gauss Elimination The Islamic University of Gaza
3.6 Solving Systems Using Matrices You can use a matrix to represent and solve a system of equations without writing the variables. A matrix is a rectangular.
1 Chapter: 3a System of Linear Equations Dr. Asaf Varol.
Copyright ©2015 Pearson Education, Inc. All rights reserved.
2/26/ Gauss-Siedel Method Electrical Engineering Majors Authors: Autar Kaw
3/6/ Gauss-Siedel Method Major: All Engineering Majors Author: دکتر ابوالفضل رنجبر نوعی
Determinants Every n  n matrix A is associated with a real number called the determinant of A, written  A . The determinant of a 2  2 matrix.
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Do Now: Perform the indicated operation. 1.). Algebra II Elements 11.1: Matrix Operations HW: HW: p.590 (16-36 even, 37, 44, 46)
Unit #1 Linear Systems Fall Dr. Jehad Al Dallal.
Numerical Analysis CC413 Propagation of Errors. 2 In numerical methods, the calculations are not made with exact numbers. How do these inaccuracies propagate.
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION Statistical Interpretation of Least Squares ASEN.
Chapter 7: Systems of Equations and Inequalities; Matrices
Spring Dr. Jehad Al Dallal
Review Problems Matrices
Gauss-Siedel Method.
Matrix Operations SpringSemester 2017.
Lial/Hungerford/Holcomb/Mullins: Mathematics with Applications 11e Finite Mathematics with Applications 11e Copyright ©2015 Pearson Education, Inc. All.
Multiplicative Inverses of Matrices and Matrix Equations
Matrix Solutions to Linear Systems
Numerical Analysis Lecture14.
6.5 Taylor Series Linearization
Eigenvalues and Eigenvectors
Objectives Identify solutions of linear equations in two variables.
Sec 3.5 Inverses of Matrices
1.8 Matrices.
Matrix Operations SpringSemester 2017.
1.8 Matrices.
Numerical Analysis Lecture11.
Linear Algebra Lecture 16.
Presentation transcript:

1 Systems of Linear Equations Error Analysis and System Condition

2 Question Suppose we use a computer to solve A 1 x 1 = b 1 and A 2 x 2 = b 2 and obtain x' 1 and x' 2. Which of these two solutions is more accurate (as compare relatively to the true solutions)?

3 Error Analysis Suppose we want to find the solution of Ax = b Would there be a x' which gives b – Ax' ≈ 0 ? –i.e., is the system solvable? Would a small rounding error in b or in A results in large change in the solution x ?

4 Error Analysis Relationship between error and residual Suppose x' is an estimated solution of Ax = b. Let the residual be r = b – Ax' ---- (1) Ax = b =>0 = b – Ax---- (2) (1) – (2)=>r = A(x – x') =>x – x' = A -1 r Thus, if A -1 has elements much larger than 1 (assuming A has been scaled), a small residual, r, may result in a large error x – x'. (i.e., ill-condition cases) The inverse of A can indicate if A is ill-condition.

5 Question If a matrix A is scaled (s.t. the largest element is 1), then A -1 can indicate whether A is ill-condition or not. Suppose both A 1 and A 2 are scaled. How can you tell which of them is more ill-condition? We need a way to quantify the condition.

6 Condition number A formal way to state the condition of a system (ill-condition or not) A way to check the condition is the matrix condition number. Cond(A) = || A || · || A -1 || where || · || is the norm, which is a real-valued function that measures the size of length of vectors or matrices. Cond(A) ≥ 1

7 Various definitions of norm for Vectors p-norm Euclidean-norm 1-norm ∞-norm

8 Various definitions of norm for Matrices p-norm Euclidean-norm 1-norm (max column) ∞-norm (max row)

9 Error Analysis Relationship between error in x and (rounding error in A ) If there is a small change in the value of A, what would be the change in x ? It can also be shown that If the condition number is considerably greater than unity, it suggest that the system is ill-conditioned.

10 Examples

11 Iterative Refinement In some cases, we can reduce round-off errors by the following procedure (can repeat for several times): Suppose in solving Ax = b, we obtain an approximated solution x' s.t. x = x' + ε. Substituting x' back into the system yields Ax' = b'---- (1) Ax = b => A(x' + ε) = b---- (2) (2) – (1) =>Aε = b – b'---- (3) Solving the system of equations in (3) yields ε. By adding ε (called the correction factor) to x', we can improve the solution to Ax = b.

12 Summary The inverse of a matrix can indicate if the matrix is ill-condition or not. The matrix condition number can be calculated as Cond(A) = || A || · || A -1 || Large condition number implies matrix is ill-condition.