Determinants: Elementary Row/Column Operations

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

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

Evaluating Determinants by Row Reduction

Math 240 Calculus III

Components and change of basis

Linear Transformations: Standard Matrix

Determinants by Cofactor Expansion (III)

k=1 ( 1)k+j M kj detm kj. detm = ad bc. = 1 ( ) 2 ( )+3 ( ) = = 0

Lecture 10: Determinants and Cramer s Rule

Chapter 4. Determinants

Determinants Chapter 3 of Lay

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

Lecture 8: Determinants I

Determinant of a Matrix

Question: Given an n x n matrix A, how do we find its eigenvalues? Idea: Suppose c is an eigenvalue of A, then what is the determinant of A-cI?

Determinants. Recall that the 2 2 matrix a b c d. is invertible if

Here are some additional properties of the determinant function.

Determinant: 3.2 Evaluation of Determinant with Elementary

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

Math 4377/6308 Advanced Linear Algebra

A = , A 32 = n ( 1) i +j a i j det(a i j). (1) j=1

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants.

Determinants. Samy Tindel. Purdue University. Differential equations and linear algebra - MA 262

DETERMINANTS DEFINED BY ROW OPERATIONS

Lemma 8: Suppose the N by N matrix A has the following block upper triangular form:

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

Properties of the Determinant Function

Linear Algebra Math 221

1111: Linear Algebra I

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

Recall : Eigenvalues and Eigenvectors

Math 110 Linear Algebra Midterm 2 Review October 28, 2017

Graduate Mathematical Economics Lecture 1

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to:

Math 344 Lecture # Linear Systems

Matrix Operations: Determinant

Linear Systems and Matrices

Homework Set #8 Solutions

Math Linear Algebra Final Exam Review Sheet

REPLACE ONE ROW BY ADDING THE SCALAR MULTIPLE OF ANOTHER ROW

1300 Linear Algebra and Vector Geometry

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

Chapter 2. Square matrices

Math 313 (Linear Algebra) Exam 2 - Practice Exam

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by

Lectures on Linear Algebra for IT

MATH 1210 Assignment 4 Solutions 16R-T1

II. Determinant Functions


Calculating determinants for larger matrices

and let s calculate the image of some vectors under the transformation T.

Chapter 3. Determinants and Eigenvalues

sum of squared error.

Functions of Several Variables: Chain Rules

ANSWERS. E k E 2 E 1 A = B

Math 416, Spring 2010 The algebra of determinants March 16, 2010 THE ALGEBRA OF DETERMINANTS. 1. Determinants

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

Undergraduate Mathematical Economics Lecture 1

22m:033 Notes: 3.1 Introduction to Determinants

Linear Algebra: Lecture notes from Kolman and Hill 9th edition.

Inner Product Spaces

Warm-up. True or false? Baby proof. 2. The system of normal equations for A x = y has solutions iff A x = y has solutions

Vectors: Introduction

2 b 3 b 4. c c 2 c 3 c 4

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

Topic 15 Notes Jeremy Orloff

1 Determinants. 1.1 Determinant

Multiplying matrices by diagonal matrices is faster than usual matrix multiplication.

Math 2331 Linear Algebra

This MUST hold matrix multiplication satisfies the distributive property.

Linear Algebra 1 Exam 1 Solutions 6/12/3

Section 6.4. The Gram Schmidt Process

spring, math 204 (mitchell) list of theorems 1 Linear Systems Linear Transformations Matrix Algebra

Notes on Determinants and Matrix Inverse

4. Determinants.

The Determinant: a Means to Calculate Volume

EXAM. Exam #3. Math 2360 Fall 2000 Morning Class. Nov. 29, 2000 ANSWERS

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

Positive Series: Integral Test & p-series

Numerical Linear Algebra Homework Assignment - Week 2

Gaussian Elimination and Back Substitution

Math 304 Fall 2018 Exam 3 Solutions 1. (18 Points, 3 Pts each part) Let A, B, C, D be square matrices of the same size such that

Determinants and Scalar Multiplication

Math 320, spring 2011 before the first midterm

Determinants in detail

MATH 2030: EIGENVALUES AND EIGENVECTORS

Chapter 2: Matrices and Linear Systems

13. Systems of Linear Equations 1

(b) If a multiple of one row of A is added to another row to produce B then det(b) =det(a).

Methods for Solving Linear Systems Part 2

Linear Transformations: Kernel, Range, 1-1, Onto

LINEAR ALGEBRA REVIEW

MATRICES AND MATRIX OPERATIONS

Elementary Row Operations on Matrices

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

TOPIC III LINEAR ALGEBRA

Matrices. In this chapter: matrices, determinants. inverse matrix

Linear algebra and differential equations (Math 54): Lecture 7

1 Last time: least-squares problems

Transcription:

Determinants: Elementary Row/Column Operations Linear Algebra Josh Engwer TTU 23 September 2015 Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 1 / 16

Elementary Row Operations & Determinants Theorem (Elementary Row Operations & Determinants) Recall the elementary row operations: (SWAP) [R i R j ] Swap row i & row j (SCALE) [αr j R j ] Multiply row j by a non-zero scalar α (COMBINE) [αr i + R j R j ] Add scalar multiple α of row i to row j Let A, B be n n square matrices. Then: (ROW SWAP) If A (ROW SCALE) If A (ROW COMBINE) If A R i R j αr j R j αr i+r j R j B, then det(b) = det(a) B, then det(b) = αdet(a) B, then det(b) = det(a) i.e. Performing a row swap causes the determinant to change sign. i.e. Performing a row scale by α causes the determinant to multiplied by α. i.e. Performing a row combine causes the determinant to remain the same. PROOF: Requires proof-by-induction - see the textbook if interested. Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 2 / 16

Elementary Column Operations & Determinants Theorem (Elementary Column Operations & Determinants) Recall the elementary column operations: (SWAP) [C i C j ] Swap column i & row j (SCALE) [αc j C j ] Multiply column j by a non-zero scalar α (COMBINE) [αc i + C j C j ] Add scalar multiple α of column i to column j Let A, B be n n square matrices. Then: (COLUMN SWAP) If A (COLUMN SCALE) If A (COLUMN COMBINE) If A C i C j αc j C j αc i+c j C j B, then det(b) = det(a) B, then det(b) = αdet(a) B, then det(b) = det(a) i.e. Performing a column swap causes the determinant to change sign. i.e. Performing a column scale by α causes determinant to multiplied by α. i.e. Performing a column combine causes determinant to remain the same. PROOF: Requires proof-by-induction - see the textbook if interested. Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 3 / 16

Elem. Row Operations & Determinants (Examples) (ROW SWAP) (ROW SCALE) (ROW COMBINE) 4 5 6 4 5 6 4 5 6 R 2 R 3 ( 1) ( (4)R 2 R 2 1 4) ( 3)R 1+R 3 R 3 4 5 6 16 20 24 4 5 6 4 2 0 Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 4 / 16

Elem. Col Operations & Determinants (Examples) (COLUMN SWAP) (COLUMN SCALE) (COLUMN COMBINE) 4 5 6 4 5 6 4 5 6 C 2 C 3 ( 1) ( (4)C 2 C 2 1 4) ( 3)C 1+C 3 C 3 1 3 2 4 6 5 7 9 8 1 8 3 4 20 6 7 32 9 1 2 0 4 5 6 7 8 12 Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 5 / 16

Row-Equivalent Matrices & Determinants Definition (Row-Equivalent Matrices) Let A, B be m n matrices. Then A and B are row-equivalent if B can be obtained from A by elementary row operations. Since performing elementary row operations causes the determinant to be multiplied by a scalar, it follows that the determinants of two row-equivalent matrices differ by a scalar multiple: Corollary (Determinants of Row-Equivalent Matrices) Let A, B be n n square matrices. Then if A and B are row-equivalent, then det(b) = βdet(a) for some β 0. Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 6 / 16

Column-Equivalent Matrices & Determinants Definition (Column-Equivalent Matrices) Let A, B be m n matrices. Then A and B are column-equivalent if B can be obtained from A by elementary column operations. Since performing elementary column operations causes the determinant to be multiplied by a scalar, it follows that the determinants of two column-equivalent matrices differ by a scalar multiple: Corollary (Determinants of Column-Equivalent Matrices) Let A, B be n n square matrices. Then if A and B are column-equivalent, then det(b) = βdet(a) for some β 0. Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 7 / 16

Matrices with a Zero Determinant Theorem (Conditions that yield a Zero Determinant) Let A be a n n square matrix. Then: (Z1) If an entire row of A consists of all zeros, then det(a) = 0 (Z2) If an entire column of A consists of all zeros, then det(a) = 0 (Z3) If two rows of A are equal, then det(a) = 0 (Z4) If two columns of A are equal, then det(a) = 0 (Z5) If one row of A is a multiple of another row of A, then det(a) = 0 (Z6) If one column of A is a multiple of another column of A, then det(a) = 0 0 0 0 2 4 6 Z1 = 0, Z5 = 0, 1 2 0 4 5 0 7 8 0 1 2 10 4 5 25 7 8 40 Z2 = 0, Z6 = 0 Z3 = 0, 1 2 2 4 5 5 7 8 8 Z4 = 0 Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 8 / 16

Matrices with a Zero Determinant Theorem (Conditions that yield a Zero Determinant) Let A be a n n square matrix. Then: (Z1) If an entire row of A consists of all zeros, then det(a) = 0 (Z2) If an entire column of A consists of all zeros, then det(a) = 0 (Z3) If two rows of A are equal, then det(a) = 0 (Z4) If two columns of A are equal, then det(a) = 0 (Z5) If one row of A is a multiple of another row of A, then det(a) = 0 (Z6) If one column of A is a multiple of another column of A, then det(a) = 0 PROOF: (WLOG Without Loss Of Generality ) (Z1): WLOG, let the k th row of A consist of all zeros. Then: A = a k1 C k1 + a k2 C k2 + + a kn C kn [Cofactor Expansion along k th row of A] = (0)C k1 + (0)C k2 + + (0)C kn [Every entry in the k th row is zero] = 0 QED Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 9 / 16

Matrices with a Zero Determinant Theorem (Conditions that yield a Zero Determinant) Let A be a n n square matrix. Then: (Z1) If an entire row of A consists of all zeros, then det(a) = 0 (Z2) If an entire column of A consists of all zeros, then det(a) = 0 (Z3) If two rows of A are equal, then det(a) = 0 (Z4) If two columns of A are equal, then det(a) = 0 (Z5) If one row of A is a multiple of another row of A, then det(a) = 0 (Z6) If one column of A is a multiple of another column of A, then det(a) = 0 PROOF: (WLOG Without Loss Of Generality ) (Z2): WLOG, let the k th column of A consist of all zeros. Then: A = a 1k C 1k + a 2k C 2k + + a nk C nk [Cofactor Expansion along k th column] = (0)C 1k + (0)C 2k + + (0)C nk [Every entry in the k th column is zero] = 0 QED Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 10 / 16

Matrices with a Zero Determinant Theorem (Conditions that yield a Zero Determinant) Let A be a n n square matrix. Then: (Z1) If an entire row of A consists of all zeros, then det(a) = 0 (Z2) If an entire column of A consists of all zeros, then det(a) = 0 (Z3) If two rows of A are equal, then det(a) = 0 (Z4) If two columns of A are equal, then det(a) = 0 (Z5) If one row of A is a multiple of another row of A, then det(a) = 0 (Z6) If one column of A is a multiple of another column of A, then det(a) = 0 PROOF: (WLOG Without Loss Of Generality ) (Z4): WLOG, let columns i & j of A be equal. Then A ( 1)Ci+Cj Cj B = column j of B consists of all zeros = Z2 det(b) = 0. Since A, B are column-equivalent, det(a) = βdet(b) = (β)(0) = 0. QED Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 11 / 16

Matrices with a Zero Determinant Theorem (Conditions that yield a Zero Determinant) Let A be a n n square matrix. Then: (Z1) If an entire row of A consists of all zeros, then det(a) = 0 (Z2) If an entire column of A consists of all zeros, then det(a) = 0 (Z3) If two rows of A are equal, then det(a) = 0 (Z4) If two columns of A are equal, then det(a) = 0 (Z5) If one row of A is a multiple of another row of A, then det(a) = 0 (Z6) If one column of A is a multiple of another column of A, then det(a) = 0 PROOF: (WLOG Without Loss Of Generality ) (Z5): WLOG, let α 0 and (row j of A) = α (row i of A). Then A ( α)ri+rj Rj B = row j of B consists of all zeros = Z1 det(b) = 0. Since A, B are row-equivalent, det(a) = βdet(b) = (β)(0) = 0. QED Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 12 / 16

Finding Determinants via Elem Row/Col Operations Since the determinant of a triangular matrix is simply the product of its main diagonal entries, it s best to row/column-reduce a dense matrix down to a triangular matrix. If in the process the matrix reduces to a matrix with a row or column consisting of all zeros, then the determinant is zero: Proposition (Finding Determinants via Elementary Row/Column Operations) GIVEN: n n square dense matrix A TASK: Find the determinant of A (1) Perform elem. row or column op s until one of the following is attained: A matrix with a row or column of all zeros (whose determinant is zero) A triangular matrix (whose determinant is product of main diagonal) ( ) Keep track of each scalar factor resulting from a SWAP or SCALE row op. ( ) It s best to use only row ops column ops will never be used again. Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 13 / 16

Finding Determinants via Elem Row/Col Operations WEX 3-2-1: Find the determinant of A = 2 4 8 3 5 5 10 20 50 ( 3)R 1+R 2 R 2 (2) ( 5)R 1+R 3 R 3 1 2 4 0 1 7 0 0 10 WEX 3-2-2: Find the determinant of A = 2 4 8 3 3 12 10 20 40 ( 4)C 1+C 3 C 3 2 4 8 3 5 5 10 20 50 ( 1 2)R 1 R 1 (2). 2 4 8 3 5 5 0 0 10 = (2)[(1)( 1)(10)] = 20 2 4 8 3 3 12. 10 20 40 2 4 0 3 3 0 10 20 0 Z2 = 0 1 2 4 3 5 5 0 0 10 Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 14 / 16

Cofactor Expansions vs. Elem Row/Col Operations For large n n square dense matrices (n 4), elementary row operations require far less work than a cofactor expansion: COFACTOR EXPANSION ELEM. ROW OPERATIONS n ADDITIONS MULTIPLICATIONS ADDITIONS MULTIPLICATIONS 2 1 2 1 3 3 5 9 5 10 4 23 40 14 23 5 119 205 30 44..... 10 3,628,799 6,235,300 285 339 Even for computers, finding 10 10 determinants are significantly faster using elementary row operations! Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 15 / 16

Fin Fin. Josh Engwer (TTU) Determinants: Elementary Row/Column Operations 23 September 2015 16 / 16