Calculation in the special cases n = 2 and n = 3:

Similar documents
(1) for all (2) for all and all

9. The determinant. Notation: Also: A matrix, det(a) = A IR determinant of A. Calculation in the special cases n = 2 and n = 3:

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

Lecture Summaries for Linear Algebra M51A

, some directions, namely, the directions of the 1. and

Elementary maths for GMT

LS.1 Review of Linear Algebra

Basic Concepts in Linear Algebra

Review of Basic Concepts in Linear Algebra

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Linear Algebra (part 1) : Matrices and Systems of Linear Equations (by Evan Dummit, 2016, v. 2.02)

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

Matrix Operations: Determinant

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Math 240 Calculus III

1 Matrices and Systems of Linear Equations

Linear Algebra M1 - FIB. Contents: 5. Matrices, systems of linear equations and determinants 6. Vector space 7. Linear maps 8.

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

Notes on Row Reduction

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

POLI270 - Linear Algebra

The determinant. Motivation: area of parallelograms, volume of parallepipeds. Two vectors in R 2 : oriented area of a parallelogram

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

ECON 186 Class Notes: Linear Algebra

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

Math113: Linear Algebra. Beifang Chen

MAT 1332: CALCULUS FOR LIFE SCIENCES. Contents. 1. Review: Linear Algebra II Vectors and matrices Definition. 1.2.

EE731 Lecture Notes: Matrix Computations for Signal Processing

II. Determinant Functions

EA = I 3 = E = i=1, i k

CS 246 Review of Linear Algebra 01/17/19

Lecture 7. Econ August 18

CHAPTER 8: Matrices and Determinants

Linear Algebra March 16, 2019

Linear Equations and Matrix

3 (Maths) Linear Algebra

Section 9.2: Matrices.. a m1 a m2 a mn

Review problems for MA 54, Fall 2004.

Linear Algebra Primer

Fundamentals of Engineering Analysis (650163)

Linear Algebra: Matrix Eigenvalue Problems

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway

1 9/5 Matrices, vectors, and their applications

Algorithms to Compute Bases and the Rank of a Matrix

1 Last time: determinants

Econ Slides from Lecture 7

Math 123, Week 5: Linear Independence, Basis, and Matrix Spaces. Section 1: Linear Independence

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Math 102, Winter Final Exam Review. Chapter 1. Matrices and Gaussian Elimination

LINEAR ALGEBRA SUMMARY SHEET.

ELEMENTS OF MATRIX ALGEBRA

Vectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes.

Matrices and systems of linear equations

All of my class notes can be found at

SUMMARY OF MATH 1600

Gaussian Elimination and Back Substitution

Cheat Sheet for MATH461

4.2. ORTHOGONALITY 161

1 Matrices and Systems of Linear Equations. a 1n a 2n

Fundamentals of Linear Algebra. Marcel B. Finan Arkansas Tech University c All Rights Reserved

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

Introduction to Determinants

Contents. 1 Vectors, Lines and Planes 1. 2 Gaussian Elimination Matrices Vector Spaces and Subspaces 124

Definition 2.3. We define addition and multiplication of matrices as follows.

Honors Advanced Mathematics Determinants page 1

Row Space and Column Space of a Matrix

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

Chapter 2 Notes, Linear Algebra 5e Lay

Chapter 1: Systems of Linear Equations

Introduction to Matrices

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

MAC Module 1 Systems of Linear Equations and Matrices I

Review of Linear Algebra

Chapter Two Elements of Linear Algebra

Section 1.6. M N = [a ij b ij ], (1.6.2)

ELE/MCE 503 Linear Algebra Facts Fall 2018

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

1 Determinants. 1.1 Determinant

Topic 15 Notes Jeremy Orloff

Mobile Robotics 1. A Compact Course on Linear Algebra. Giorgio Grisetti

This MUST hold matrix multiplication satisfies the distributive property.

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Math 302 Outcome Statements Winter 2013

NOTES on LINEAR ALGEBRA 1

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

1 Matrices and Systems of Linear Equations

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

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

1. General Vector Spaces

2018 Fall 2210Q Section 013 Midterm Exam I Solution

OHSx XM511 Linear Algebra: Solutions to Online True/False Exercises

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

Linear equations in linear algebra

Solving Systems of Equations Row Reduction

2. Linear algebra. matrices and vectors. linear equations. range and nullspace of matrices. function of vectors, gradient and Hessian

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

Transcription:

9. The determinant The determinant is a function (with real numbers as values) which is defined for quadratic matrices. It allows to make conclusions about the rank and appears in diverse theorems and formulas. Notation: matrix, determinant. Also: A matrix, det(a) = A IR determinant of A. We call this a determinant of order n. Calculation in the special cases n = 2 and n = 3: 74

The formula for the case 3 3 is called "Sarrus' rule". Other notation for it, using auxiliary columns for better memorizing the products and their signs: = The calculation formula for the general case requires the notion of a subdeterminant: Let A be an n n matrix. Its determinant is A. By omitting the ith row and the jth column we obtain a subdeterminant of order n 1. Notation: A ij. In the following formulas, the value of this subdeterminant is multiplied by the factor ( 1) i+j, giving a sign which alternates between rows and columns like in a chessboard: 75

Formulas for calculating determinants of n n matrices A of arbitrary size (so-called development theorems): (a) For a fixed jth column: A = (b) For a fixed ith row: A = On the right-hand side we have again determinants, but with smaller size. We call this "to develop a determinant for a given column (or row)". Example n = 3: When we have zero entries, it is advantageous to choose the rows or columns with most zeros. Example for n = 4: 76

Rules for determinants: (1) Switching two rows or two columns changes the sign of the determinant. (2) If a matrix has a zero row (or a zero column), its determinant is 0. (3) Has a matrix two identical rows (or columns), its determinant is 0. (4) If a row (column) of a matrix is multiplied by k, the value of its determinant increases also by the factor k. (5) If some row (column) is a linear combination of the other rows (columns), the determinant is 0. (6) The determinant does not change its value if some linear combination of the other rows (columns) is added to a row (column). (7) The determinant of a matrix does not change if the matrix is transposed: A = A T. (8) The determinant of a triangular matrix is the product of the elements of the principal diagonal. Definition "regular" / "singular": An n n matrix A is called regular if rank(a) = n (i.e., if it has the maximal possible rank) or, expressed in another way: if all its rows (columns) are linearly independent Otherwise, A is called singular. Theorem: A is regular A 0. Corollary: A is singular A = 0. 77

We can thus use the determinant as an indicator of linear independence (of all rows or columns of A). Geometrical application of the determinant: When the sign is disregarded, is the area content of the parallelogram spanned by the two column vectors and. (Remark: The area of the spanned triangle is exactly half of this value!) Analogously in IR 3 : Disregarding the sign, the parallelepiped spanned by. is the volume of 78

10. More on linear mappings and matrices Linear mappings can be carried out one after the other (composition of mappings): Let be described by the matrix A, be described by the matrix B. By composing both mappings, we obtain a new mapping, the composition of f 1 and f 2 (notice the notation from right to left): The new mapping : IR m IR p is again linear and has also a corresponding matrix (of type (p, m)). Its matrix is called the product of the matrices A and B: B A How is the product of two matrices calculated? 79

The case of two matrices of type (2, 2): All possible inner products "row of the first matrix" by "column of the second matrix" are calculated and written into the result matrix. This holds also in the general case: Definition: The product of two matrices A of type (m, n) and B of type (n, p) is a matrix C = A B of type (m, p) with the elements. The product exists only in the case when the first matrix has as many columns as the second has rows! Example: 80

Attention: In the general case, A B B A. Example: 1 0 1 0 0 0 1 0 = 1 0 2 0 0 1, but 1 1 0 0 =. 0 1 0 0 0 0 Transposition of a matrix product: The product of a matrix A with a column vector v r is a special case of the product of two matrices (second factor of type (n, 1)). Application: Transformation of age-class vectors We remember: The age-class structure of a forest at time t can be described by an age-class vector. area with trees of age class 1 area with trees of age class 2 area with trees of age class n = (n = number of successive age classes) 81

The development of the age structure over time can be described by a linear mapping IR n IR n. Let p j,k be the part of the area of the jth age class which comes into the kth age class. Example: p 3,4 = 0.7 p 3,1 = 0.3, i.e., 30% of the stand of age class 3 are cut and the free area is immediately reforested with young trees (age class 1) p 3,k = 0 for all other k. Age-class transition matrix: In the calculations, more often the transposed matrix P T is used. In population ecology, it is called the Leslie matrix. Theorem: The age class vector of the stand at time t+1 can be calculated as In the simple case n=3, this gives 82

Because some of the entries of P T are necessarily 0 (organisms cannot stop ageing; they cannot overjump some age class or become younger), this can be simplified to: We can say that P describes a forest management strategy. Usage of the matrix product in this context: If between times t and t+1, strategy P is applied, and between times t+1 and t+2 strategy Q, then we have in total: If the strategy is the same in every time step, we have: (Here, () T means transposition, () t means the t-fold product of a matrix with itself.) 83

The inverse matrix Let A be an n n matrix. A 1 is called the inverse matrix of A if (= the unit matrix). Not every matrix has an inverse. If the inverse matrix of A exists, it is unique. It is always (A 1 ) 1 = A. When does A 1 exist? A is a matrix of type (n, n) corresponding linear mapping f : IR n IR n IR n f IR n x r f 1 y r r r y = f ( x) = r A x when does the inverse mapping f 1 exist? If f is bijective, i.e., f injective not: and f surjective not: 84

85 ) (,, ) ( 1 n e f e f v K r span IR n completely = + + = + + = n n n n n m m f m e m e f e f m e f m y M r K r r K r r 1 1 1 1 1 ) ( ) ( ) ( regular A A n A rank = 0 det ) ( Exactly the regular n n matrices have an inverse matrix. How to calculate it? Most efficient way: by elementary row operations. Concatenate an n n unit matrix E to A: Then transform this larger matrix by elementary row operations in a way that the left part is transformed into the unit matrix. The resulting right part is then A 1 : [ E A 1 ].

Example: The start scheme is By subtracting the first row 3 times from the second row, and then the second row 3 times from the third, we get It is recommended to check if really A A 1 = E (otherwise some error must have occurred). 86

Systems of linear equations A system of m linear equations with n unknowns can always be ordered and rewritten in the form If we collect the unknowns x k in a column vector and the numbers b i on the right-hand side (called absolute terms) also in a column vector and the coefficients a ik in a matrix A of type (m, n), we can write the whole system as a single equation: is called the coefficient matrix of the system, 87

A ext = the extended matrix of the system. Notice: r r can also be interpreted as f ( x ) = b, with f the linear mapping described by the matrix A. Finding a solution of the linear system means thus to find a vector which is mapped to b r. For each system of linear equations, there are three possibilities: (1) The system has exactly one solution x r, (2) the system has infinitely many solutions, (3) the system has no solutions at all (it is then called inconsistent). Examples: (1) The system has exactly one solution:, that means, x 1 = 2 and x 2 = 3. Indeed, 2 + 3 = 5 and 2 2 + 3 = 7, and there are no other combinations of numbers which fulfill both equations simultaneously. 88

(2) The system has infinitely many solutions, which all have the form (a IR), that means, x 1 = 5 a and x 2 = a. (3) The system has no solution. Both equations contradict each other. Frobenius' Theorem: The system of m linear equations with n unknowns which is described by the vector equation has solutions if and only if rank(a) = rank(a ext ). More precisely: (1) If rank(a) = rank(a ext ) = n, the system has exactly one solution. (2) If rank(a) = rank(a ext ) < n, the system has infinitely many solutions. In this case, the values of n rank(a) of the unknowns can be chosen arbitrarily. (3) If rank(a) rank(a ext ), the system has no solutions at all. We can check the theorem at the examples from above: (1), 89

so, A ext =, and we have rank(a) = rank(a ext ) = 2 = n, there is exactly one solution. (2), A ext = Here, rank(a) = rank(a ext ) = 1 < 2 = n (the second row is a multiple of the first one), and we have infinitely many solutions (2 1 = 1 unknown can be put to an arbitrary value). (3), A ext = Here, rank(a) = 1 < rank(a ext ) = 2. There is no solution. How to solve systems of linear equations? "Gaussian method of elimination": most effective method in the general case. By elementary row operations, the extended matrix of the system is transformed into an upper triangular matrix. The solutions of the corresponding system of equations remain the same! The system corresponding to the upper triangular matrix can easily be solved "bottom-up" by successive insertion and elimination of unknowns. 90

Example: Solve the system Its extended matrix is A ext = By applying elementary row operations, one gets (upper triangular matrix). From this, we can immediately see that rank(a) = rank(a ext ) = 3 = n, and following Frobenius we can conclude that the system has exactly one solution. The system of equations corresponding to the transformed matrix is and this can be solved easily from the third row up to the second and first row by elimination of variables. We obtain: and thus the unique vector solution. 91

Special cases of linear mappings (a) Rotations around the origin Let f be the counterclockwise rotation by the angle ϕ around the zero point (0; 0) (origin of the cartesian coordinate system). Each vector is rotated by ϕ, its image has the same length as before. Image vectors of the standard basis vectors =? cos ϕ sin ϕ cos ϕ sin ϕ We obtain as image vectors: The matrix of f is thus: cosϕ sinϕ and sinϕ cosϕ. We call this a rotation matrix. 92

(b) Scaling Let f be the mapping which enlarges (or shrinks) every vector by a certain, fixed factor λ 0. Its corresponding matrix is, called a scaling matrix with factor λ. Indeed, we have The image of each vector has the same direction as before (or the opposite direction, if λ is negative), but a length which is modified by the factor λ. Parallelism and all angles remain unchanged under this mapping. 93

(c) Centroaffine mapping Let f act as a scaling by λ 1 on the x axis and as a scaling by λ 2 on the y axis, with two different numbers λ 1 λ 2. The corresponding matrix is This mapping is called centroaffine. Its effect: It works as a pure scaling on the x and y axis, but not for vectors which are outside these coordinate axes (they are also rotated a bit): λ λ The centroaffine mapping is thus not a scaling for all vectors. Certain vectors play a special role for this mapping, namely, those on the coordinate axes: They are only scaled, the others are also rotated. 94