### Video Transcript

Find the cofactor matrix of matrix π΄ equals seven, negative five, negative eight, negative three, negative seven, negative two, zero, negative four, negative eight.

So, in a problem like this, where we want to find the cofactor of a matrix, then what we want to do first of all is find the minors of each of our elements in this matrix. Well, first, weβll just remind ourselves what we need to do if we want to find the minor of an element. Well, Iβve just drawn another matrix here π, π, π, π, π, π, π, β, π. Well, now, if we want to find the minor of element π, then what we do is we delete the column and row that element π is in. And then our minor is the determinant of the four elements that are left behind. So itβs gonna be determinant of the two-by-two matrix π, π, β, π. Okay, great. So weβve reminded ourselves what a minor is. So now letβs find the minors of our elements in our matrix.

So now if we have a matrix made up with the minors of matrix π΄, Iβve called it π΄ sub π, this is equal to β then weβve got the determinant of negative seven, negative two, negative four, negative eight. Then weβve got negative three, negative two, zero, negative eight; negative three, negative seven, zero, negative four; negative five, negative eight, negative four, negative eight; seven, negative eight, zero, negative eight; seven, negative five, zero, negative four; negative five, negative eight, negative seven, negative two; seven, negative eight, negative three, negative two; and finally the determinant of seven, negative five, negative three, negative seven.

So now, before we work out the values of our determinants, what we need to do is remember the sign rule. And the sign rule which helps us with this tells us that we have elements, and this is the signs that they need to take, positive, negative, positive; negative, positive, negative; and then positive, negative, positive. So what we can do is add these in front of the different elements weβve got in our matrix of our minors. But if we put these signs in front of our different elements in our matrix, then what we actually do is now have the cofactor of our matrix π΄. So all we need to do now is work out the values for each of the determinants of our minors.

So now, just to remind us how we work out the values for the determinants of our minors, then if we take a look at the right-hand side, weβve got the minor π, π, β, π. Then this is equal to ππ, so π multiplied by π, minus π multiplied by β. So to give us an example of this, weβll take a look at our first element. So what weβd have is negative seven multiplied by negative eight minus negative two multiplied by negative four, which would give us 56 minus eight, which would be 48. And it would stay positive because we can see that following our sign rule, the first element is going to be positive. Then weβll just do the next one as another example before filling them all in.

So for our next element, what weβre gonna have is negative three multiplied by negative eight minus negative two multiplied by zero, which gonna give us 24 minus zero, which is equal to 24. So is that our next element? Well no, and this is where we need to make sure that we donβt make any mistakes in our calculations because if we take a look at the sign rule, our second element should be negative. So therefore, the value we want is negative 24. So then we can use this method for the rest of our elements. And when we do, what weβre gonna have is the cofactor matrix of matrix π΄, which is equal to seven, negative five, negative eight, negative three, negative seven, negative two, zero, negative four, negative eight. And this cofactor matrix is gonna be the matrix 48, negative 24, 12, negative eight, negative 56, 28, negative 46, 38, and negative 64.