I'm trying to use cofactor expansions to find the determinant of a 3x3 matrix. I'm pretty sure I understand the approach, but I keep missing the answer in my book and calculator by 4. Would appreciate an extra set of eyes. I've attached a screenshot of my work.
Ah, I think I may have jumped the gun on a technique. I'm going to try a different approach and see where I net out. :P
The second method is correct, i.e. 8 is the correct answer. In the first method, the second and fifth expansions are duplicated. I usually expand it by row or column, not the whole matrix.
UGH. :) I don't know how many times I looked at that top row and couldn't figure out why it wasn't adding up. Thank you Here goes.
I do for example: 3 4 1 2 4 2 1 2 3 = 3(4*3-2*2)-4(2*3-2*1)+1(2*2-4*1)=24-16+0=8
Ah, that's the way I was just about to try.
Also, the first matrix is not the same as the second one.
To avoid having to worry about the sign of the cofactor, I also extend the first column to the right so I always add: 3 4 1 2 4 2 2 1 2 3 1 so I have instead of the second element of first row being -4(2*3-2*1), I do +4(2*1-2*3)
The correct answer for the first one is 4. BTW, how did you make the writing with a black background? With a special software?
It's one of my favorite math tools, Photoshop. I draw a lot, too. http://imgur.com/a/rxkCM#37 Or at least I used to, before physics. :)
Wow, did you draw all that? and your writing is beautiful as well! congrats!
I did, thank you. :)
I wish I were as patient with the manual bookkeeping of linear algebra. Having been a programmer for the last 15 or so years, it's hard to want to do something out long when even my old HP calculator can hash it out in seconds.
"How I wonder what you are" Were those chocolates, or meant to be a twinkling star? :)
"Twinkie, Twinkie, little star..." :D
Your HP cannot do a 3x3? I guess HP25, but that's more than 15 years!
It *can*, it's just that my professor is going to want to see more work than an answer.
I have an HP50G (my 48g died).
Yes, linear algebra takes a little patience, but after a while, and with a little discipline, expanding a 3x3 won't be any challenge to a 15-year programmer! :)
It's much easier than linked lists or binary trees!
Once you know it. ;)
yep, the secret is "practice, practice, and practice", just like programming... Hands on, not a spectator sport! :)
Im following allllll the way up to the last step, det(A). What's going on there?
Well, after watching a video on Khan, I *thought* that's the step where I arrive at the determinant. I was trying to go from matrix of minors to the cofactor matrix, and from there, the sum of the orange arrows minus the sum of the blue ones.
Im trying to understand why 4(1)(1) = -4....etc.
That first screenshot is off. I'm trying to work through it now.
Ohh, ok.
\(\color{blue}{\text{Originally Posted by}}\) @mathmate The correct answer for the first one is 4. BTW, how did you make the writing with a black background? With a special software? \(\color{blue}{\text{End of Quote}}\) I just saw this. Hahahah. Sorry, I didn't bother reading through the other posts.
Funny, that is the biggest question I get here. :)
Im off, good luck!
Thanks.
Argh. The arithmetic is killing me.
Even with the 0, 1 and 2's? It's probably the bookkeeping that bothers you!
That + ADHD, yes.
What I usually try to do is to blank mentally (if you can) the row and column that we cross-out, and do the calculation of the 2x2 mentally. This will reduce a lot of your bookkeeping. Khan used all the bookkeeping to explain, but surprises me he didn't show what people actually do.
So when I get to the 2x2, let's say it's this in the top-left corner: 21 12 That position should =3, right?
yep!
Pray continue!
Something's just not coming out in the wash.
Which method are you doing, the cofactors? It's a little longer than expansion by row/columns.
Minors and cofactors and a little something extra probably.
What you can do, instead of writing out a whole matrix, you write out the cofactors, and alternate the signs, 2 1 1 2 =3 1 1 0 2 =(-) 2 1 2 0 1 = 1 for the first row, but you don't have to write out the cofactors, so it simplifies to 3-2+1
Basically a cross-product?
Yes!
Saves you a lot of writing.
Aw man, they could have just said *that* in the book. :|
Even better, you don't even have to expand all nine of them! In fact, if you multiply each of the cofactor by the value of the element you're expanding on, you get the determinant: 2(3)+1(-2)+0(1)=4
So when they say "use cofactor expansions to evaluate", that's what I'm doing?
* determinant of each cofactor
And does that work for any square matrix?
That's good for any matrix (must be square), and any degree. It's just that finding the determinant of a 4x4 means expanding the cofactor of a 3x3 16 times!
Well now, *that* actually makes sense! Maybe *you* should be writing textbooks. :)
As I said, Khan is very strong in explaining, but I am surprised they didn't show these "normal practices" at the end.
So want to try a 3x3? 2 0 1 1 2 0 0 1 2 You can check by the method, perhaps even mentally.
I think 9 is the answer to yours? That's the first time I've been lead down a *more* difficult path on that site. It seems like every weekend, I get right up to the point where I think I can't possibly decipher the next concept. Fortunately kind, patient people like yourself manage to get me to the next exam. I don't know what I'd do without this site.
Thank you.
Going to try a 4x4 now.
Yes, nine is correct. You can solve it by the short method: 2(4-0)-0(2-0)+1(1-0) or your second method : 2*2*2+1*1*1*1+0*0*0 -(1*2*0+0*1*2+0*1*2)=8+1+0-(0+0+0)=9
Great! Do you need one to work on?
I think I'm good for now. Just going to see if I can get back on track with the rest of my homework.
Fortunately, my book has *all* the answers in the back, and I can make problems up with the calculator if I need more. Thanks again.
Yeah, that's good! If you want, you can try 2 1 3 0 0 2 1 3 3 0 2 1 1 3 0 2 The answer should be 48, but it will take A LOT OF patience! Catch up with you some other time!
Excellent. :)
In fact, it's not that bad, if you use the short method. The 3x3 can be solved mentally using your second method.
Bye and thanks for the interesting conversation!
Thank you, as well. Take care.
you too!
Join our real-time social learning platform and learn together with your friends!