Algebraic, transcendental (i.e., involving trigonometric and exponential functions), ordinary differential equations, or partial differential equations...

Slides:



Advertisements
Similar presentations
Numerical Solution of Linear Equations
Advertisements

Chapter 2 Solutions of Systems of Linear Equations / Matrix Inversion
MATH 685/ CSI 700/ OR 682 Lecture Notes
Linear Systems of Equations
Solving Linear Systems (Numerical Recipes, Chap 2)
Systems of Linear Equations
SOLVING SYSTEMS OF LINEAR EQUATIONS. Overview A matrix consists of a rectangular array of elements represented by a single symbol (example: [A]). An individual.
CISE301_Topic3KFUPM1 SE301: Numerical Methods Topic 3: Solution of Systems of Linear Equations Lectures 12-17: KFUPM Read Chapter 9 of the textbook.
Lecture 9: Introduction to Matrix Inversion Gaussian Elimination Sections 2.4, 2.5, 2.6 Sections 2.2.3, 2.3.
Numerical Algorithms Matrix multiplication
Refresher: Vector and Matrix Algebra Mike Kirkpatrick Department of Chemical Engineering FAMU-FSU College of Engineering.
Solution of linear system of equations
Chapter 9 Gauss Elimination The Islamic University of Gaza
Linear Algebraic Equations
Linear Systems of Equations Ax = b Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften ETH Hönggerberg/
Matrices and Systems of Equations
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 14 Elimination Methods.
Chapter 2 Matrices Definition of a matrix.
ECIV 520 Structural Analysis II Review of Matrix Algebra.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW II.
Chapter 1 Systems of Linear Equations
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
Mujahed AlDhaifallah (Term 342) Read Chapter 9 of the textbook
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Part 31 Chapter.
5  Systems of Linear Equations: ✦ An Introduction ✦ Unique Solutions ✦ Underdetermined and Overdetermined Systems  Matrices  Multiplication of Matrices.
ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Prof. Gevelyn B. Itao.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Linear Algebraic Equations ~ Gauss Elimination Chapter.
SYSTEMS OF LINEAR EQUATIONS
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Elementary Linear Algebra
Chapter 1 Systems of Linear Equations and Matrices
Systems and Matrices (Chapter5)
ECON 1150 Matrix Operations Special Matrices
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.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Review for Chapter 4 Important Terms, Symbols, Concepts 4.1. Systems of Linear Equations in Two Variables.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Systems of Linear Equation and Matrices
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.
WEEK 8 SYSTEMS OF EQUATIONS DETERMINANTS AND CRAMER’S RULE.
ΑΡΙΘΜΗΤΙΚΕΣ ΜΕΘΟΔΟΙ ΜΟΝΤΕΛΟΠΟΙΗΣΗΣ 4. Αριθμητική Επίλυση Συστημάτων Γραμμικών Εξισώσεων Gaussian elimination Gauss - Jordan 1.
Chapter 3 Solution of Algebraic Equations 1 ChE 401: Computational Techniques for Chemical Engineers Fall 2009/2010 DRAFT SLIDES.
Lecture 7 - Systems of Equations CVEN 302 June 17, 2002.
Linear algebra: matrix Eigen-value Problems Eng. Hassan S. Migdadi Part 1.
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.
Copyright © 2011 Pearson Education, Inc. Solving Linear Systems Using Matrices Section 6.1 Matrices and Determinants.
Chapter 9 Gauss Elimination The Islamic University of Gaza
Chapter 1 Systems of Linear Equations Linear Algebra.
1 Chapter 7 Numerical Methods for the Solution of Systems of Equations.
STROUD Worked examples and exercises are in the text Programme 5: Matrices MATRICES PROGRAMME 5.
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,
Gaoal of Chapter 2 To develop direct or iterative methods to solve linear systems Useful Words upper/lower triangular; back/forward substitution; coefficient;
Unit #1 Linear Systems Fall Dr. Jehad Al Dallal.
STROUD Worked examples and exercises are in the text PROGRAMME 5 MATRICES.
Linear Algebra Engineering Mathematics-I. Linear Systems in Two Unknowns Engineering Mathematics-I.
Matrices, Vectors, Determinants.
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 Numerical Methods Solution of Systems of Linear Equations.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 3 - Chapter 9.
Matrices Introduction.
Linear Equations in Linear Algebra
Chapter 1 Systems of Linear Equations and Matrices
Numerical Analysis Lecture14.
Matrices Introduction.
Linear Systems Numerical Methods.
Linear Equations in Linear Algebra
Presentation transcript:

Algebraic, transcendental (i.e., involving trigonometric and exponential functions), ordinary differential equations, or partial differential equations... ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology

1. Analytical Method – is one that produces either exact or approximate solutions in closed form 2. Components – the elements of a vector 3. Conformable – matrices with identical dimensions 4. Accuracy – is a measure of the nearness of a value for the true value 5. Precision – is a measure of the clustering of values near each other

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology 6. Triangular matrix – a square matrix in which all the elements on one side of the diagonal are zero 7. Gauss elimination – methods for solving a system; reducing the matrix to the upper triangular form, and then back to substitution 8. Double sequence – is a function of domain of ordered pairs (i, j)of integer and with range consisting of a portion of the real number system 9. Non- singular matrix – a square matrix with a non- zero determinant

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology :::: : Where x j (j=1,2,…m) denotes the unknown variable a ij (i=1,2,…n; j=1,2,…m) denotes the coefficients of the unknown variable b i (i=1,2,…n) denotes the non-homogeneous terms

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology  One that produces either exact or approximate solutions in closed form.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology 1. A unique solution – a consistent set of solutions 2. No solution – an inconsistent set of equations 3. An infinite number of solutions – a redundant set of equations 4. The trival solution x j = 0 – a set of homogenous equations

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology 1. Direct methods – are systematic procedures, based on algebraic elimination, that obtain the solution in a fixed number of operations. 2. Iterative methods – obtain the solution asymptotically by an iterative procedure. A trial solution is assumed, the trial solution is substituted into the system of equations to determine the mismatch in the trial solution, and an improved solution is obtained from the mismatch data.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 1 An (m x n) or (m, n) matrix is a rectangular array of quantities arranged in m rows and n columns.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 2 A matrix with only one row is a special kind of matrix known as a row vector.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 3 A matrix with only one column is a special kind of matrix known as a column vector.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 4 The (n x m) or (n, m) matrix obtained from a given (m x n) or (m, n) A by interchanging its rows and columns is called the transpose of A denoted by the symbol A T.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 5 A square matrix is a matrix where the dimensions m is equal to n.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 6 A symmetric matrix is one where a ij = a ji for all i’s and j’s.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 7 A square matrix in which each element not on the principal diagonal is zero is called a diagonal matrix.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 8 A square matrix in which every element below the principal diagonal is zero is said to be upper triangular matrix.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 9 A square matrix in which every element above the principal diagonal is zero is said to be lower triangular matrix.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 10 A square matrix in which all elements equal to zero, with the exception of a band centered on the main diagonal is called a bonded matrix (e.g. tridiagonal matrix).

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 11 A diagonal matrix in which each diagonal element is 1 is called a unit matrix or identity matrix.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 12 A matrix in which every element is zero is called a null matrix or zero matrix.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 13 The determinant of an (n, n) square matrix A is written as lAl and is defined by either of or in which c ij is known as the cofactor of the element a ij.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 14 The cofactor c ij of an (n, n) square matrix A is obtained by first removing row i and column j to form an (n-1, n-1) matrix and then performing the operation

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 15 The augmented matrix is obtained by adjoining the column vector b to the coefficient matrix A.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Definition 16 A coefficient matrix with a zero determinant is singular, a unique solution for x requires a non- singular coefficient matrix.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology A. Methods for Triangular Matrices It involves reduction of matrix equation into one of the forms:, L = lower triangular matrix, U = upper triangular matrix

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology B. Cramer’s Rule  Gives the components x i of x in terms of determinants according to:

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology B. Cramer’s Rule Example  Use the Cramer’s rule to solve: 0.3x x 2 + x 3 = x 1 + x x 3 = x x x 3 = -0.44

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology C. Gaussian Elimination  a method for solving a system of the type (A x = b) wherein the goal is to reduce it to the upper triangular form and then use the back substitution scheme to obtain the components from each of the remaining equations.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology C. Gaussian Elimination Example Use Gaussian elimination to solve: 3x x x 3 = x 1 + 7x x 3 = x 1 – 0.2x x 3 = 71.4

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology D. Gauss-Jordan Method  a variation of Gauss Elimination wherein the goal is to reduce the original matrix to a diagonal form.  not popular since there is neither a reduction in programming complexity nor increased efficiency.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology D. Gauss-Jordan Example Use Gauss-Jordan to solve the previous problem: 3x x x 3 = x 1 + 7x x 3 = x 1 – 0.2x x 3 = 71.4

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology E. LU Decomposition Method  is another elimination method of solving general systems of linear algebraic equations wherein the objective is to find a lower triangular factor L and an upper triangular factor U such that the system of equations can be transformed according to Where A* = matrix after row exchange have been made to allow the factors L and U to be computed accurately; b* = vector b after an identical set of row exchanges.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology E. LU Decomposition Example Solve the previous problem: 3x x x 3 = x 1 + 7x x 3 = x 1 – 0.2x x 3 = 71.4

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology 1. Division by Zero 2. Round-off Errors 3. Ill-Condition Systems  is one where a small changes in one or more of the coefficients results in large changes in the solution. 4. Singular Systems  is worse than ill-conditioned because two equations in the system are identical.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology 1. Pivoting 2. Use of more significant figures 3. Scaling

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology 1.Solve the following systems: x 1 + 2x 2 = x 1 + 2x 2 = 10.4 Then solve it again, but with the coefficient of x 1 in the second equation modified slightly to 1.05.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology 2. Evaluate the determinant of the following systems: 3x 1 + 2x 2 = 18 -x 1 + 2x 2 = 2 And solve also the determinant in prob. 1.

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology A. Gauss-Seidel Method  Iterative or approximate methods.  Start the process by assigning initial values (guessing a value) and then use a systematic method to obtain a refined estimate of the root. Then solve for the subsequent values of x 1, x 2, x 3, etc., using the following equations:

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology A. Gauss-Seidel Method

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology A. Gauss-Seidel Example Solve the previous problem: 3x x x 3 = x 1 + 7x x 3 = x 1 – 0.2x x 3 = 71.4

ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Convergence criterion for the Gauss-Seidel and