Instruction of Chapter 8 on

Slides:



Advertisements
Similar presentations
Chapter 2 Solutions of Systems of Linear Equations / Matrix Inversion
Advertisements

Chapter 2 Simultaneous 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.
1.5 Elementary Matrices and a Method for Finding
Lecture 9: Introduction to Matrix Inversion Gaussian Elimination Sections 2.4, 2.5, 2.6 Sections 2.2.3, 2.3.
Refresher: Vector and Matrix Algebra Mike Kirkpatrick Department of Chemical Engineering FAMU-FSU College of Engineering.
Linear Algebraic Equations
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 14 Elimination Methods.
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
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.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
Multivariate Linear Systems and Row Operations.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
Systems and Matrices (Chapter5)
ECON 1150 Matrix Operations Special Matrices
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Review for Chapter 4 Important Terms, Symbols, Concepts 4.1. Systems of Linear Equations in Two Variables.
Copyright © 2011 Pearson, Inc. 7.3 Multivariate Linear Systems and Row Operations.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Matrix Algebra. Quick Review Quick Review Solutions.
Slide Chapter 7 Systems and Matrices 7.1 Solving Systems of Two Equations.
MATH 250 Linear Equations and Matrices
G AUSSIAN E LIMINATION Presented by: Max Le Max Le Justin Lavorgna Data Structures II: Algorithm Design & Analysis Algorithm Design & Analysis.
Chapter 9 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Multiplicative Inverses of Matrices and Matrix Equations.
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.
Linear algebra: matrix Eigen-value Problems Eng. Hassan S. Migdadi Part 1.
Copyright © 2011 Pearson Education, Inc. Solving Linear Systems Using Matrices Section 6.1 Matrices and Determinants.
Chapter 8 Matrices and Determinants Matrix Solutions to Linear Systems.
1/18/ LU Decomposition Industrial Engineering Majors Authors: Autar Kaw Transforming.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
STROUD Worked examples and exercises are in the text Programme 5: Matrices MATRICES PROGRAMME 5.
3/1/ LU Decomposition Computer Engineering Majors Authors: Autar Kaw Transforming.
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,
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. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Copyright © Cengage Learning. All rights reserved. 8 Matrices and Determinants.
Linear Algebra by Dr. Shorouk Ossama.
Matrices Introduction.
College Algebra Chapter 6 Matrices and Determinants and Applications
MTH108 Business Math I Lecture 20.
Linear Equations in Linear Algebra
Solving Systems of Equations Using Matrices
MAT 322: LINEAR ALGEBRA.
ECE 3301 General Electrical Engineering
5 Systems of Linear Equations and Matrices
Matrices SSP 2017.
Chapter 1 Systems of Linear Equations and Matrices
Matrices and Systems of Equations
Matrix Algebra - Overview
Chemical Engineering Majors Authors: Autar Kaw
Elementary Matrix Methid For find Inverse
Chapter 2 Determinants Basil Hamed
Chapter 4 Systems of Linear Equations; Matrices
Dr Huw Owens Room B44 Sackville Street Building Telephone Number 65891
Matrix Solutions to Linear Systems
Review of Matrix Algebra
Numerical Analysis Lecture14.
CSE 541 – Numerical Methods
Numerical Analysis Lecture10.
Linear Systems Numerical Methods.
College Algebra Chapter 6 Matrices and Determinants and Applications
Linear Equations in Linear Algebra
Major: All Engineering Majors Authors: Autar Kaw
Chapter 4 Systems of Linear Equations; Matrices
Chapter 2 Determinants.
Matrices and Determinants
Ax = b Methods for Solution of the System of Equations (ReCap):
Presentation transcript:

Instruction of Chapter 8 on ME 130 Applied Engineering Analysis Instruction of Chapter 8 on Matrices and Solution to Simultaneous Equations Using Matrix Techniques for Fall 2017 (Chapter 8 for Fall 2017)

Chapter Learning Objectives and self review and re-lean (NOTE: All self review and re-learned subjects will be in the final exam too. Students are encourage to contact the Instructor for their difficulty in self-learning of the designated topics in this Chapter)   • Matrices in engineering analysis • Distinction between matrices and determinates (self learning) • Evaluation of determinants (self learning) • Different forms of matrices (Section 8.2 – self learning) • Transposition of matrices (Section 8.3) • Addition, subtraction and multiplication of matrices (Section 8.4 self review & learning) • Inversion of matrices (Section 8.3 Self learning) • Solution of simultaneous equations using matrix inversion method (Section 8.6) • Solution of large numbers of simultaneous equations using Gaussian elimination method (Section 8.7)

Matrices and Engineering Analysis Matrices are the logical and convenient representations of LARGE NUMBERS OF REAL NUMBERS AND EQUATIONS that frequently occur in many engineering analyses, Matrix algebra is for arithmetic manipulations of matrices. It is a vital tool to solve systems of linear equations Matrix techniques are most efficient tools to solve very large number of simultaneous equations often occur in advance numerical analyses and engineering software codes, e.g., in finite element analysis and computer-aided design codes.

Rectangular Matrices: What are Matrices? ● Matrices are used to express arrays of numbers, variables or data in a logical format that can be accepted by digital computers ● Matrices are made up with ROWS and COLUMNS: n=1 Column (n): n=2 n = n Row Number (m): n=3 Abbreviation of Rectangular Matrices: m =1 m =2 Rows (m) ● Matrix elements i = row number J = column number ● m = m ● Matrices can represent vector quantities such as force vectors, stress vectors, velocity vectors, etc. All these vector quantities consist of several components ● Huge amount of numbers and data are common place in modern-day engineering analysis, especially in numerical analyses such as the finite element analysis (FEA) or finite deference analysis (FDA) Matrices and Determinants (self-learning): ●Matrices [A] CANNOT be evaluated to a single real number – It’s an expression of arrays of numbers. ●Determinants are expressions of arrays of real numbers, but it CAN be evaluated to a single number. Expect students remember how to evaluate a determinant.

Different Forms of Matrices (section 8.2), Self learning: Rectangular matrices Square matrices Row matrices Column matrices Upper triangular matrices Lower triangular matrices Diagonal matrices Unity matrices The transposition of a matrix [A] is designated by [A]T : ● The transposition of matrix [A] is carried out by interchanging the elements in a square matrix across the diagonal line of that matrix: diagonal line

MATRIX ALGEBRA (Section 8.4, Self-learning) 1) Addition and subtraction of matrices The involved matrices must have the SAME size (i.e., number of rows and columns): 2) Multiplication with a scalar quantity (α): α [C] = [α cij] 3) Multiplication of 2 matrices: Multiplication of two matrices is possible only when: The total number of columns in the 1st matrix = the number of rows in the 2nd matrix: [C] = [A] x [B] (m x p) (m x n) (n x p) The following recurrence relationship applies: cij = ai1b1j + ai2b2j + ……………………………ainbnj with i = 1, 2, ….,m and j = 1,2,….., n

Matrix Inversion (Section 8.5, Self-learning) The inverse of a matrix [A], expressed as [A]-1, is defined as: [A][A]-1 = [A]-1[A] = [I] (8.13) ( a UNITY matrix) NOTE: the inverse of a matrix [A] exists ONLY if where = the equivalent determinant of matrix [A] Following are the general steps in inverting the matrix [A]: Step 1: Evaluate the equivalent determinant of the matrix. Make sure that Step 2: If the elements of matrix [A] are aij, we may determine the elements of a co-factor matrix [C] to be: (8.14) in which is the equivalent determinant of a matrix [A’] that has all elements of [A] excluding those in ith row and jth column. Step 3: Transpose the co-factor matrix, [C] to [C]T. Step 4: The inverse matrix [A]-1 for matrix [A] may be established by the following expression: (8.15)

Solution of Simultaneous Equations Using Matrix Techniques A vital tool for solving very large number of simultaneous equations

Solution of Simultaneous Equations Using Inverse Matrix Technique Let us express the n-simultaneous equations to be solved in the following form: (8.16) where a11, a12, ………, amn are constant coefficients x1, x2, …………., xn are the unknowns to be solved r1, r2, …………., rn are the “resultant” constants

The n-simultaneous equations in Equation (8 The n-simultaneous equations in Equation (8.16) can be expressed in matrix form as: (8.17) or in an abbreviate form: (8.18) [A]{x} = {r} in which [A] = Coefficient matrix with m-rows and n-columns {x} = Unknown matrix, a column matrix {r} = Resultant matrix, a column matrix Now, if we let [A]-1 = the inverse matrix of [A], and multiply this [A]-1 on both sides of Equation (8.18), we will get: [A]-1 [A]{x} = [A]-1 {r} Leading to: [ I ] {x} = [A]-1 {r} ,in which [ I ] = a unity matrix The unknown matrix, and thus the values of the unknown quantities x1, x2, x3, …, xn may be obtained by the following relation: (8.19) {x} = [A]-1 {r}

Let us express the above equations in a matrix form: Example 8.6 Solve the following simultaneous equation using matrix inversion technique; 4x1 + x2 = 24 x1 – 2x2 = -21 Let us express the above equations in a matrix form: [A] {x} = {r} where and Following the procedure presented in Section 8.5, we may derive the inverse matrix [A]-1 to be: Thus, by using Equation (8.19), we have: from which we solve for x1 = 3 and x2 = 12

Solution of Simultaneous Equations Using Gaussian Elimination Method Johann Carl Friedrich Gauss (1777 – 1855) A German astronomer (planet orbiting), Physicist (molecular bond theory, magnetic theory, etc.), and Mathematician (differential geometry, Gaussion distribution in statistics Gaussion elimination method, etc.) ● Gaussian elimination method and its derivatives, e.g., Gaussian-Jordan elimination method and Gaussian-Siedel iteration method are widely used in solving large number of simultaneous equations as required in many modern-day numerical analyses, such as FEM and FDM as mentioned earlier. ● The principal reason for Gaussian elimination method being popular in this type of applications is the formulations in the solution procedure can be readily programmed using concurrent programming languages such as FORTRAN for digital computers with high computational efficiencies

The essence of Gaussian elimination method: 1) To convert the square coefficient matrix [A] of a set of simultaneous equations into the form of “Upper triangular” matrix in Equation (8.5) using an “elimination procedure” Via “elimination process 2) The last unknown quantity in the converted upper triangular matrix in the simultaneous equations becomes immediately available. x3 = r3’’/a33’’ 3) The second last unknown quantity may be obtained by substituting the newly found numerical value of the last unknown quantity into the second last equation: 4) The remaining unknown quantities may be obtained by the similar procedure, which is termed as “back substitution”

The Gaussian Elimination Process: We will demonstrate this process by the solution of 3-simultaneous equations: (8.20 a,b,c) We will express Equation (8.20) in a matrix form: 8.21) or in a simpler form: We may express the unknown x1 in Equation (8.20a) in terms of x2 and x3 as follows:

Now, if we substitute x1 in Equation (8.20b and c) by we will turn Equation (8.20) from: (8.22) You do not see x1 in the new Equation (20b and c) anymore – So, x1 is “eliminated” in these equations after Step 1 elimination The new matrix form of the simultaneous equations has the form: (8.23) The index numbers (“1”) indicates “elimination step 1” in the above expressions

Step 2 elimination involve the expression of x2 in Equation (8 Step 2 elimination involve the expression of x2 in Equation (8.22b) in term of x3: from (8.22b) to and submitted it into Equation (8.22c), resulting in eliminate x2 in that equation. The matrix form of the original simultaneous equations now takes the form: (8.24) We notice the coefficient matrix [A] now has become an “upper triangular matrix,” from which we have the solution The other two unknowns x2 and x1 may be obtained by the “back substitution process from Equation (8.24),such as:

Recurrence relations for Gaussian elimination process: Given a general form of n-simultaneous equations: (8.16) The following recurrence relations can be used in Gaussian elimination process: (8.25a) For elimination: i > n and j>n (8.25b) For back substitution (8.26)

Example Solve the following simultaneous equations using Gaussian elimination method: x + z = 1 2x + y + z = 0 x + y + 2z = 1 (a) Express the above equations in a matrix form: (b) If we compare Equation (b) with the following typical matrix expression of 3-simultaneous equations: we will have the following: a11 = 1 a12 = 0 a13 = 1 a21 = 2 a22 = 1 a23 = 1 a31 = 1 a32 – 1 a33 = 2 r1 = 1 r2 = 0 r3 = 1 and

Let us use the recurrence relationships for the elimination process in Equation (8.25): with i >n and j> n Step 1 n = 1, so i = 2,3 and j = 2,3 For i = 2, j = 2 and 3: i = 2, j = 2: i = 2, j = 3: i = 2: For i = 3, j = 2 and 3: i = 3, j = 2: i = 3, j = 3: i = 3:

So, the original simultaneous equations after Step 1 elimination have the form: We now have:

Step 2 n = 2, so i = 3 and j = 3 (i > n, j > n) i = 3 and j = 3: The coefficient matrix [A] has now been triangularized, and the original simultaneous equations has been transformed into the form: We get from the last equation with (0) x1 + (0) x2 + 2 x3 = 2, from which we solve for x3 = 1. The other two unknowns x2 and x1 can be obtained by back substitution of x3 using Equation (8.26): and We thus have the solution: x = x1 = 0; y = x2 = -1 and z = x3 = 1