Simultaneous Linear Equations

Slides:



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

Linear Algebra Applications in Matlab ME 303. Special Characters and Matlab Functions.
Algebraic, transcendental (i.e., involving trigonometric and exponential functions), ordinary differential equations, or partial differential equations...
Autar Kaw Humberto Isaza
Simultaneous Linear Equations
Lecture 7 Intersection of Hyperplanes and Matrix Inverse Shang-Hua Teng.
Major: All Engineering Majors Authors: Autar Kaw
SOLVING SYSTEMS OF LINEAR EQUATIONS. Overview A matrix consists of a rectangular array of elements represented by a single symbol (example: [A]). An individual.
Lecture 9: Introduction to Matrix Inversion Gaussian Elimination Sections 2.4, 2.5, 2.6 Sections 2.2.3, 2.3.
Chapter 9 Gauss Elimination The Islamic University of Gaza
Major: All Engineering Majors Author(s): Autar Kaw
Linear Algebraic Equations
Algorithm for Gauss elimination 1) first eliminate for each eq. j, j=1 to n-1 for all eq.s k greater than j a) multiply eq. j by a kj /a jj b) subtract.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW II.
Simultaneous Linear Equations
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 10 LU Decomposition and Matrix.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 18 LU Decomposition and Matrix Inversion.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Part 31 Chapter.
Autar Kaw Humberto Isaza
Major: All Engineering Majors Author(s): Autar Kaw
LU Decomposition 1. Introduction Another way of solving a system of equations is by using a factorization technique for matrices called LU decomposition.
Scientific Computing Linear Systems – LU Factorization.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Part 31 Linear.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Square n-by-n Matrix.
ΑΡΙΘΜΗΤΙΚΕΣ ΜΕΘΟΔΟΙ ΜΟΝΤΕΛΟΠΟΙΗΣΗΣ 4. Αριθμητική Επίλυση Συστημάτων Γραμμικών Εξισώσεων Gaussian elimination Gauss - Jordan 1.
Chemical Engineering Majors Author(s): Autar Kaw
Lecture 8 Matrix Inverse and LU Decomposition
Lecture 7 - Systems of Equations CVEN 302 June 17, 2002.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 3 - Chapter 9 Linear Systems of Equations: Gauss Elimination.
Gaussian Elimination Electrical Engineering Majors Author(s): Autar Kaw Transforming Numerical Methods Education for.
Direct Methods for Linear Systems Lecture 3 Alessandra Nardi Thanks to Prof. Jacob White, Suvranu De, Deepak Ramaswamy, Michal Rewienski, and Karen Veroy.
Chapter 9 Gauss Elimination The Islamic University of Gaza
Simultaneous Linear Equations
Gaussian Elimination Industrial Engineering Majors Author(s): Autar Kaw Transforming Numerical Methods Education for.
Gaussian Elimination Mechanical Engineering Majors Author(s): Autar Kaw Transforming Numerical Methods Education for.
1/18/ LU Decomposition Industrial Engineering Majors Authors: Autar Kaw Transforming.
3/1/ LU Decomposition Computer Engineering Majors Authors: Autar Kaw Transforming.
3/6/ Gauss-Siedel Method Major: All Engineering Majors Author: دکتر ابوالفضل رنجبر نوعی
Gaussian Elimination Civil Engineering Majors Author(s): Autar Kaw Transforming Numerical Methods Education for STEM.
Unit #1 Linear Systems Fall Dr. Jehad Al Dallal.
Autar Kaw Benjamin Rigsby Transforming Numerical Methods Education for STEM Undergraduates.
Linear Algebra Review Tuesday, September 7, 2010.
Autar Kaw Benjamin Rigsby Transforming Numerical Methods Education for STEM Undergraduates.
Numerical Methods.  LU Decomposition is another method to solve a set of simultaneous linear equations  For most non-singular matrix [A] that one could.
Numerical Methods. Introduction Prof. S. M. Lutful Kabir, BRAC University2  One of the most popular techniques for solving simultaneous linear equations.
Numerical Computation Lecture 6: Linear Systems – part II United International College.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 3 - Chapter 9.
Numerical Methods. Prof. S. M. Lutful Kabir, BRAC University2  One of the most popular techniques for solving simultaneous linear equations is the Gaussian.
Part 3 Chapter 9 Gauss Elimination
Simultaneous Linear Equations
Spring Dr. Jehad Al Dallal
Gaussian Elimination.
Gauss-Siedel Method.
Simultaneous Linear Equations
Naïve Gauss Elimination Pitfalls
Autar Kaw Benjamin Rigsby
RECORD. RECORD Gaussian Elimination: derived system back-substitution.
Part 3 - Chapter 9.
Chemical Engineering Majors Authors: Autar Kaw
Simultaneous Linear Equations
Major: All Engineering Majors Author(s): Autar Kaw
Unit 3: Matrices
Linear Systems Numerical Methods.
Simultaneous Linear Equations
Lecture 13 Simultaneous Linear Equations – Gaussian Elimination (2) Partial Pivoting Dr .Qi Ying.
Major: All Engineering Majors Authors: Autar Kaw
Simultaneous Linear Equations Gaussian Elimination with Partial Pivoting
Lecture 8 Matrix Inverse and LU Decomposition
Naïve Gauss Elimination Pitfalls
Presentation transcript:

Simultaneous Linear Equations

The size of matrix A. B. C. D. is 10

The c 32 entity of the matrix A. 2 B. 3 C. 6.3 D. does not exist 10

Given then if [C]=[A]+[B], c 12 = A.0 B.6 C

Given then if [C]=[A]-[B], c 23 = A. -3 B. 3 C. 9

Given then if [C]=[A][B], then c 31 =. A.-57 B.-45 C.57 D.does not exist 10

A square matrix [A] is lower triangular if A. B. C. D. 10

A square matrix [A] is upper triangular if

An example of upper triangular matrix is A. B. C. D. none of the above

An example of lower triangular matrix is A. B. C. D. none of the above

An identity matrix [I] needs to satisfy the following A. B. C. D. all of the above matrix is square 10

Given then [A] is a matrix. A.diagonal B. identity C. lower triangular D.upper triangular

A square matrix is diagonally dominant if

The following system of equations x + y=2 6x + 6y=12 has solution(s). 1.no 2.one 3.more than one but a finite number of 4.infinite 10

PHYSICAL PROBLEMS

Truss Problem

Pressure vessel problem a b a b c

Polynomial Regression We are to fit the data to the polynomial regression model

END

Simultaneous Linear Equations Gaussian Elimination (Naïve and the Not That So Innocent Also)

The goal of forward elimination steps in Naïve Gauss elimination method is to reduce the coefficient matrix to a (an) _________ matrix. A.diagonal B. identity C. lower triangular D. upper triangular

One of the pitfalls of Naïve Gauss Elimination method is A.large truncation error B.large round-off error C.not able to solve equations with a noninvertible coefficient matrix

Increasing the precision of numbers from single to double in the Naïve Gaussian elimination method A.avoids division by zero B.decreases round-off error C.allows equations with a noninvertible coefficient matrix to be solved

Division by zero during forward elimination steps in Naïve Gaussian elimination for [A][X]=[C] implies the coefficient matrix [A] 1.is invertible 2.is not invertible 3.cannot be determined to be invertible or not

Division by zero during forward elimination steps in Gaussian elimination with partial pivoting of the set of equations [A][X]=[C] implies the coefficient matrix [A] 1.is invertible 2.is not invertible 3.cannot be determined to be invertible or not

Using 3 significant digit with chopping at all stages, the result for the following calculation is A B C D

Using 3 significant digits with rounding-off at all stages, the result for the following calculation is A B C D

Simultaneous Linear Equations LU Decomposition

You thought you have parking problems. Frank Ocean is scared to park when __________ is around. A.A$AP Rocky B.Adele C.Chris Brown D.Hillary Clinton

Truss Problem

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) The determinant of an upper triangular matrix [A] nxn is given by Using forward elimination to transform [A] nxn to an upper triangular matrix, [U] nxn.

If you have n equations and n unknowns, the computation time for forward substitution is approximately proportional to A.4n B.4n 2 C.4n 3

If you have a n x n matrix, the computation time for decomposing the matrix to LU is approximately proportional to A.8n/3 B.8n 2 /3 C.8n 3 /3

LU decomposition method is computationally more efficient than Naïve Gauss elimination for solving A.a single set of simultaneous linear equations B.multiple sets of simultaneous linear equations with different coefficient matrices and same right hand side vectors. C.multiple sets of simultaneous linear equations with same coefficient matrix and different right hand side vectors

For a given 1700 x 1700 matrix [A], assume that it takes about 16 seconds to find the inverse of [A] by the use of the [L][U] decomposition method. Now you try to use the Gaussian Elimination method to accomplish the same task. It will now take approximately ____ seconds. A.4 B.64 C.6800 D

For a given 1700 x 1700 matrix [A], assume that it takes about 16 seconds to find the inverse of [A] by the use of the [L][U] decomposition method. The approximate time in seconds that all the forward substitutions take out of the 16 seconds is A.4 B.6 C.8 D.12

The following data is given for the velocity of the rocket as a function of time. To find the velocity at t=21s, you are asked to use a quadratic polynomial v(t)=at 2 +bt+c to approximate the velocity profile. t(s) vm/s A. B. C. D.

Three kids-Jim, Corey and David receive an inheritance of $2,253,453. The money is put in three trusts but is not divided equally to begin with. Corey’s trust is three times that of David’s because Corey made and A in Dr.Kaw’s class. Each trust is put in and interest generating investment. The total interest of all the three trusts combined at the end of the first year is $190, The equations to find the trust money of Jim (J), Corey (C) and David (D) in matrix form is A. B. C. D.

THE END

4.09 Adequacy of Solutions

The well or ill conditioning of a system of equations [A][X]=[C] depends on the A.coefficient matrix only B.right hand side vector only C.number of unknowns D.coefficient matrix and the right hand side vector

The condition number of a n×n diagonal matrix [A] is A. B. C. D.

The adequacy of a simultaneous linear system of equations [A][X]=[C] depends on (choose the most appropriate answer) A. condition number of the coefficient matrix B. machine epsilon C. product of the condition number of coefficient matrix and machine epsilon D. norm of the coefficient matrix

If then in [A][X]=[C], at least these many significant digits are correct in your solution, A. 0 B. 1 C. 2 D. 3

THE END

Consider there are only two computer companies in a country. The companies are named Dude and Imac. Each year, company Dude keeps 1/5 th of its customers, while the rest switch to Imac. Each year, Imac keeps 1/3 rd of its customers, while the rest switch to Dude. If in 2003, Dude had 1/6 th of the market and Imac had 5/6 th of the marker, what will be share of Dude computers when the market becomes stable? 1. 37/ / / /90