2.1Introduction¶
In the previous chapter we learned that matrices are very similar to numbers - you know how to add two matrices, how to subtract them and you know how to multiply two matrices. The only operation we haven’t mentioned so far is divison - if you have two matrices and , what would it mean to divide matrix by the matrix ?
In order to answer that quesion, let’s see what does it mean to divide two numbers: for example, if we are given numbers 5 and 7, then to divide number 5 by 7 we have to multiply 5 by i.e.
What is the connection between numbers 7 and Well, if we multiply them in any order, we get number 1 as a result:
This also means that the reciprocal value or the inverse of the number 7 is
So, we can see that there are two parts that are crucial when dividing number by the number :
Find the inverse of the number
Multiply and
We can use this approach to define “divison” of matrices. If we would like to divide matrix by the matrix , firstly we need to define what would be the inverse of the matrix and then we would simply need to multiply by that inverse.
So, if we would like to divide the matrix by the matrix , we would need to find the inverse of the matrix and then compute However, here we stumble upon a problem - not all matrices are invertible.
2.2Determinant of a matrix¶
Because not every matrix is invertible, we need a criterion that will allow us to check whether or not a given matrix has an inverse. For that, we will be using the determinant. The determinant is a number that is associated to every square matrix. The determinant of a matrix is denoted by or by The determinant of a matrix is given by a simple formula
In order to find determinant of matrices of higher order, we will use two methods:
Laplace expansion
Elementary transformations
Laplace expansion¶
Elementary transformations¶
As we have seen, Laplace expansion is a very useful method of finding the determinant of a matrix that has a lot of zeros along some row or a column, however what if our has matrix doesn’t have any zeros? In that case, we will use elementary transformations to get the zeros in our matrix so that we can use the Laplace expansion to find the determinant. To use an elementary transformation simply means to multiply a row of a matrix by some number and adding it to some other row. Obviously, the end-goal of performing elementary transformations is to get zeros along some column of the given matrix so that we can use Laplace expansion to calculate the determinant.
The most important theorem when talking about the determinant is the Binet-Cauchy theorem.
Common mistake on the Midterm/Exam
A common mistake that students make when they are asked to state the Binet-Cauchy theorem is that they simply write
That equation, without any additional assumptions is false. What are If they are matrices, what kind of matrices? If they are square matrices, can they be any square matrices or...?
In the second homework, you have a question that deals specifically with this common mistake and shows you what the correct answer should be.
2.3Matrix inversion¶
As we have mentioned in the introduction, the main point of the determinant is to give us a criterion for checking whether or not a matrix has an inverse or not. That criterion is the following:
Since we have just learned how to compute the determinant of a matrix, we know how to chekc whether or not a matrix has an inverse or not. Next thing we would like to know is how to explicitly compute the inverse of a matrix.
Finally, the inverse of the matrix is given by the formula
Common mistake on the Midterm/Exam
Another common mistake that students make on the Midterm/Exam is when they are asked to define an inverse of a regular matrix . A lot of students simply write
and move on. Of course, this answer is wrong. The formula stated above is the consequence of the definition, while the definition of the inverse is that it’s a matrix such that
It is very important - not just in this course, but generally - to know what are the definitions of the terms we are talking about and what are the consequences of those definitions.
2.4Cramer’s system¶
One of the main application of matrices we are going to see is revolving around solving system’s of linear equations.
In general, every system can be written in matrix form as
where is the matrix of coefficients, is the column-matrix of unknowns and is the column-matrix of the right-hand side of the system.
Cramer’s systems are particularly easy to solve because their solutions are given by the formula
where and is the determinant of the matrix obtained by replacing the -th column of the matrix by the column-matrix .