r/MathHelp • • Dec 16 '20

3x3 determinant explained differently by different people

I'm learning linear algebra and I'm at determinants of 3x3 matrices.

I have noticed that some sources on books/YT will calculate the determinant differently. Like this. One uses the top row as the factor for the 2x2 matrices and the other uses the left row.

Is there any difference between these methods and if not, why is it taught differently?

(Since this isn't a question, I just want an explanation, I can't really show proof of prior attempts. Though I did put effort into making that image with LaTeX)

8 Upvotes

9 comments sorted by

5

u/plaustrarius Dec 16 '20

Thanks for the LaTeX appreciate the effort haha

This is the subject of matrix cofactor and minor matrices.

You can expand a matrix along any row or column to compute its determinant basically.

For some intuition, should we expect A and AT to have the same determinants right?

https://en.m.wikipedia.org/wiki/Minor_(linear_algebra)

3

u/Badde00 Dec 16 '20

Damn, never thought about how A and AT have the same determinant. Thanks, this explains it well!

1

u/[deleted] Dec 16 '20

This is a theorem about the determinant. You can expand it about any row/column you want. A linear algebra book should have the proof. The way that is faster for large matrices is to use row operations until the matrix is upper or lower triangular, and then take the product of the diagonal entries. The proof of this just amounts to determining how row operations affect the determinant.

1

u/Badde00 Dec 17 '20

Now that I've gotten a bit further in, the best explanation i could find was that the determinant was aei+bfg+...-...-...-... I can't remember the whole thing but it simply multiplied and added/subtracted 3 terms together for the final answer (which i guess in a way answers the original question too, if badly)

2

u/edderiofer Dec 16 '20

Is there any difference between these methods

In the sense that both give the same result, no. Actually working out those 2x2 determinants and multiplying everything out will give you the same expression in both cases.

and if not, why is it taught differently?

Because some teachers prefer teaching it one way and others prefer teaching it a different way. As long as you recognise that both are OK, you're fine.

(In fact, there are a few other ways to teach determinants of 3x3 matrices.)

2

u/hausdorffparty Dec 16 '20

The determinant process can actually be done starting at any row or column of a matrix, but if you start at an even numbered row/column you have to swap positive and negatives!

Here's how to compute a determinant "starting anywhere." The first thing to know is computing a determinant is a recursive process. The "base case" is that the determinant of any 1x1 matrix is just equal to the entry of that matrix.

Here's the general process that works for all matrices and starting with any row or column.

You have a matrix A and want to compute |A|. Here I'll use a_ij to represent the entry in row i column j. Pick one row or column and loop through its entries. For each entry a_ij, determine a "sign" by adding the row and column index (i+j even -> positive, odd -> negative.) Then, compute the determinant of the matrix "minor" (We'll say A_ij is the matrix minor, which is the matrix that results from deleting the row i and column j). Multiply |A_ij| by the sign. Do this for every entry in the row (or column) and add it all up and you have the determinant. This works no matter what row or column you pick.

As a formula, this is a recursive definition, if you pick a fixed column j:

|A| = Σ _(i=1 to n) (-1)^(i+j) * |A_ij|

Or equivalently if you pick a fixed row, i:

|A| = Σ _(j=1 to n) (-1)^(i+j) * |A_ij|

The fact that these all give the same answer takes some work to see, however...

2

u/wednesday-potter Dec 17 '20

Do you mind if I hijack this for my own question? I initially learned the top way as how to find the determinant but in a book I read once I learnt that it could also be found by taking the sum of the right diagonal products minus the sum of the left diagonal products, has anyone else seen this method and why is it never taught?

1

u/AutoModerator Dec 16 '20

Reminder:

  • What have you tried so far? (See Rule #2)

  • Please don't delete your post. (See Rule #7)

We, the moderators of /r/MathHelp, appreciate that your question contributes to the MathHelp archived questions that will help others searching for similar answers in the future. Thank you for obeying these instructions.

(Note that this is an automatic message posted on every submission by default.)

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.