EE5120 Linear Algebra: Tutorial 1, July-Dec Solve the following sets of linear equations using Gaussian elimination (a)

Similar documents
Review. Example 1. Elementary matrices in action: (a) a b c. d e f = g h i. d e f = a b c. a b c. (b) d e f. d e f.

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

Math 4377/6308 Advanced Linear Algebra

Lecture 22: Section 4.7

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Review Questions REVIEW QUESTIONS 71

Matrix operations Linear Algebra with Computer Science Application

Linear Algebra Math 221

Extra Problems: Chapter 1

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013

Linear Equations and Matrix

3.4 Elementary Matrices and Matrix Inverse

Matrix decompositions

This MUST hold matrix multiplication satisfies the distributive property.

Derivation of the Kalman Filter

Solving Linear Systems Using Gaussian Elimination

Today s class. Linear Algebraic Equations LU Decomposition. Numerical Methods, Fall 2011 Lecture 8. Prof. Jinbo Bi CSE, UConn

Linear Algebra Exam 1 Spring 2007

2.1 Gaussian Elimination

Department of Aerospace Engineering AE602 Mathematics for Aerospace Engineers Assignment No. 4

MODEL ANSWERS TO THE FIRST QUIZ. 1. (18pts) (i) Give the definition of a m n matrix. A m n matrix with entries in a field F is a function

7.6 The Inverse of a Square Matrix

(17) (18)

Chapter 2 Notes, Linear Algebra 5e Lay

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

CME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 6

Math 313 Chapter 1 Review

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices

Solving Ax = b w/ different b s: LU-Factorization

Matrix decompositions

Math 415 Exam I. Name: Student ID: Calculators, books and notes are not allowed!

MA2501 Numerical Methods Spring 2015

Review of matrices. Let m, n IN. A rectangle of numbers written like A =

Inverting Matrices. 1 Properties of Transpose. 2 Matrix Algebra. P. Danziger 3.2, 3.3

y b where U. matrix inverse A 1 ( L. 1 U 1. L 1 U 13 U 23 U 33 U 13 2 U 12 1

Solution Set 3, Fall '12

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Eigenvalues and Eigenvectors

Math 220: Summer Midterm 1 Questions

MATH 2360 REVIEW PROBLEMS

Online Exercises for Linear Algebra XM511

Solving Consistent Linear Systems

Linear Algebra Linear Algebra : Matrix decompositions Monday, February 11th Math 365 Week #4

Applied Matrix Algebra Lecture Notes Section 2.2. Gerald Höhn Department of Mathematics, Kansas State University

Dylan Zwick. Fall Ax=b. EAx=Eb. UxrrrEb

Next topics: Solving systems of linear equations

MAT 343 Laboratory 3 The LU factorization

Problem Set # 1 Solution, 18.06

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

30.3. LU Decomposition. Introduction. Prerequisites. Learning Outcomes

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

(Mathematical Operations with Arrays) Applied Linear Algebra in Geoscience Using MATLAB

Eigenvalues and Eigenvectors

Methods for Solving Linear Systems Part 2

1 Implementation (continued)

Section 5.6. LU and LDU Factorizations

Maths for Signals and Systems Linear Algebra for Engineering Applications

4 Elementary matrices, continued

Gaussian Elimination and Back Substitution

Final Examination 201-NYC-05 December and b =

4 Elementary matrices, continued

pset2-sol September 7, 2017 a 2 3

MATH 3511 Lecture 1. Solving Linear Systems 1

Linear Algebra Practice Problems

Department of Mathematics California State University, Los Angeles Master s Degree Comprehensive Examination in. NUMERICAL ANALYSIS Spring 2015

Elementary maths for GMT

Chapter 1: Systems of Linear Equations and Matrices

Math 2331 Linear Algebra

Pair of Linear Equations in Two Variables

Lesson U2.1 Study Guide

MATRICES. a m,1 a m,n A =

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

Math 3C Lecture 20. John Douglas Moore

Matrices and systems of linear equations

5x 2 = 10. x 1 + 7(2) = 4. x 1 3x 2 = 4. 3x 1 + 9x 2 = 8

18.06 Problem Set 2 Solution

Mon Feb Matrix algebra and matrix inverses. Announcements: Warm-up Exercise:

Solutions to Exam I MATH 304, section 6

Total 170. Name. Final Examination M340L-CS

Linear Algebra Math 221

Matrix Factorization Reading: Lay 2.5

Some notes on Linear Algebra. Mark Schmidt September 10, 2009

Math 3191 Applied Linear Algebra

Hani Mehrpouyan, California State University, Bakersfield. Signals and Systems

7. LU factorization. factor-solve method. LU factorization. solving Ax = b with A nonsingular. the inverse of a nonsingular matrix

2. Every linear system with the same number of equations as unknowns has a unique solution.

Remark By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

Linear Algebraic Equations

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

Elementary Row Operations on Matrices

Components and change of basis

Applied Linear Algebra in Geoscience Using MATLAB

Linear Algebra. Solving Linear Systems. Copyright 2005, W.R. Winfrey

2018 Fall 2210Q Section 013 Midterm Exam I Solution

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

Extra Problems for Math 2050 Linear Algebra I

Numerical Linear Algebra

Example Linear Algebra Competency Test

Transcription:

EE5120 Linear Algebra: Tutorial 1, July-Dec 2017-18 1. Solve the following sets of linear equations using Gaussian elimination (a) 2x 1 2x 2 3x 3 = 2 3x 1 3x 2 2x 3 + 5x 4 = 7 x 1 x 2 2x 3 x 4 = 3 (b) x 1 + 2x 2 x 3 + x 4 = 5 x 1 + 4x 2 3x 3 3x 4 = 6 2x 1 + 3x 2 x 3 + 4x 4 = 8 (a) System after simplifications x 1 x 2 2x 3 x 4 = 3 x 3 + 2x 4 = 4 4x 3 + 8x 4 = 16 Thus solution is {(5 + s 3t, s, 4 2t, t) : s, t R} (b) No solutiom 2. State True or False for each of the following with proper justification: (a) An elementary matrix is always a square matrix. (b) The n n identity matrix is an elementary matrix. (c) Product of two elementary matrices (each of appropriate dimensions) is an elementary matrix. (d) Sum of two elementary matrices of same dimension is also an elementary matrix. (e) If B is a matrix that can be obtained by performing an elementary row operation on a matrix A, then A can be obtained by performing an elementary row operation on B. (f) If B is a matrix that can be obtained by performing an elementary row operation on a matrix A, then B can also be obtained by performing an elementary column operation on A. (a) True. Since every elementary matrix comes from identity matrix which is a square matrix.

(b) True. It can be considered as an elementary matrix performing the operation of multiplying a row (column) by the scalar value 1. [ ] [ ] 2 0 0 1 (c) False. Counter example: Let A = and B =. A and B are 0 1 elementary matrices representing [ multiplication ] of first row by 2 and exchange of 0 2 rows, respectively. But AB = which is not an elementary matrix. (d) False. Counter [ example: ] Consider the same matrices A and B stated in (c). Now, 2 1 A + B = which is clearly not an elementary matrix. 1 1 (e) True. Suppose E is the elementary matrix such that B = EA, then A = E 1 B, where E 1 is the inverse of E which is well defined as inverse of elementary matrices exist. [ ] [ ] (f) False. Counter example: Let A = and B =. We can obtain B 0 0 from A by adding one time the first row of A to its second row. But no column operation on A can change the fact that the second row of A has two zeros. 3. What three elimination matrices E 21, E 31, E 32 put A into upper triangular form E 32 E 31 E 21 A = U? Multiply by E32 1, E 1 31 and E 1 21 to factor A into LU where L = E 1 32 E 1 31 E 1 21. Find L and U: A = 1 2 2 2 3 4 5 E 21 = 2, E 31 = 0 0 1 E 1 21 = 2 0 0 1 where A = LU., E 1 31 = 0 3 0 1, and E 32 = U = E 32 E 31 E 21 A = 0 3 0 1, and E 1 32 = L = E 1 21 E 1 31 E 1 32 = 1 0 2 0 0 0 2 2 3 2 1 0 0 2 1 0 0 2 1 Page 2

4. Find L and U for the nonsymmetric matrix A = a r r r a b s s a b c t a b c d Find the four conditions on a, b, c, d, r, s, t to get A = LU with four pivots. We are going to do the elimination in the following order E 43, E 32, and E 21. 0 0 0 E 1 43 = 0 0 0, E 1 32 = 0 0 1, and E 1 21 = 1 0 0 0 0 1 1 0 0 0 1 0 0 0 1 U = E 21 E 32 E 43 A = a r r r 0 b r s r s r 0 0 c s t s 0 0 0 d t Conditions to have four pivots are: a = 0, b = r, c = s and d = t. And, 0 L = E 1 43 E 1 32 E 1 21 = 1 1 1 1 1 1 1 It should be observed that L matrix has elements also in places where row elimination is not done, as the standard order is not followed in elimination. 5. (a) The equation of the line through the following pair of points (3, 2, 4) T and ( 5, 7, 1) T in R 3 is (x, y, z) T = (3, 2, 4) T + t(...,...,...) T where t R. (b) The equation of the plane through the following set of points (2, 5, 1) T, (0, 4, 6) T and ( 3, 7, 1) T in R 3 is where s, t R. (x, y, z) T = (2, 5, 1) T + s(...,...,...) T + t(...,...,...) T (a) Equation of line: (Refer LHS figure below) The endpoint of every vector of the form tw that begins at A lies on the line joining A and B. Thus, an equation of the line through A and B is x = u + tw = u + t(v u). For the given set of points, equation is (x, y, z) T = (3, 2, 4) T + t( 8, 9 3) T Page 3

(b) Equation of plane: (Refer RHS figure below) For any real number s and t, the vector su + tv lies in the plane containing A, B and C. Thus, the equation of the plane becomes x = A + su + tv. For the given set of points, equation is (x, y, z) T = (2, 5, 1) T + s( 2, 9, 7) T + t( 5, 12, 2) T 6. If (a, b) is a multiple of (c, d) with abcd = 0, show that (a, c) is a multiple of (b, d). Thus show that if a matrix has dependent rows, then it has dependent columns. If (a, b) is a multiple of (c, d), then there is some rɛr such that Hence, Thus, (a, b) = r(c, d) = (rc, rd) a = rc = r c d d = c d (rd) = c d b. (a, c) = ( c d b, c d d) = c d (b, d) [ ] a b Thus if a matrix has dependent rows, it has dependent columns. c d 7. Working with inverse matrices: (a) Suppose that A R n n is a square invertible matrix and u, v R n are column vectors. Prove that (A + uv T ) 1 = A 1 A 1 uv T A 1 1 + v T A 1 u provided 1 + v T A 1 u = 0. This formula goes by the name of Sherman-Morrison. (b) The practical use of this formula? Let s say that you have been solving matrix equations of the form Ax = b and the system description (embedded in A) changed slightly from A to A = A + uv T. This formula allows you to use your previous method (e.g. the LU factors of A) in solving for a new A x = b. Show that a new LU decomposition of A is unnecessary. Page 4

In part (a) substitute the given inverse and multiply with A + uv T A to obtain I. In the second part, multiply the given inverse expression with b to see that LU decomposition is not needed afresh. Page 5