Ask your own question, for FREE!
Mathematics 6 Online
OpenStudy (anonymous):

...

terenzreignz (terenzreignz):

Can you get inverse matrices?

OpenStudy (anonymous):

What? Sorry, i dont understand.

OpenStudy (anonymous):

I really suck at math. Just a forewarning...

terenzreignz (terenzreignz):

Can you multiply matrices, though?

OpenStudy (anonymous):

http://mathworld.wolfram.com/MatrixInverse.html

OpenStudy (anonymous):

Oh. Im not exactly clear on how to do that, but i think so.

OpenStudy (helder_edwin):

you have this \[ AX=B\] if A is invertible, its solution is \[ X=A ^{-1}B \]

terenzreignz (terenzreignz):

Oh? Multiply these for me... \[\huge \left[\begin{matrix}5 & 2 \\ 2&1\end{matrix}\right]\left[\begin{matrix}1 & -2 \\ -2&5\end{matrix}\right]\]

OpenStudy (helder_edwin):

find the inverse of A

OpenStudy (anonymous):

inverse of A not B

OpenStudy (anonymous):

So i just do 5(1), 2(-2), 2(-2), and 1(5)?

terenzreignz (terenzreignz):

I see... that's not how you multiply matrices... at all :) It's far more complicated than that, I'm afraid...

OpenStudy (anonymous):

Can you show me? Please?

terenzreignz (terenzreignz):

Of course, but first, I need you to understand the concept of "dot product" It's simpler than it sounds, it's a way to multiply a vector (basically a group of numbers) to another vector... For 2x2 vectors (any dimension, it's basically the same) <a , b> (dot) <c , d> the answer is simply ac + bd for example, the dot product <2 , 3> (dot) <1 , 5> is equal to (2)(1) + (3)(5) = 2 + 15 = 17 Catch me so far?

OpenStudy (anonymous):

Oh ok so its like [a b] [c d] and you multiply a and c then b and d? Then add them together?

terenzreignz (terenzreignz):

Yes, something like that... so, for a small drill, what's the dot product of <3 , -1> and <2 , 4> ?

OpenStudy (helder_edwin):

you have the equation \[ \large \begin{pmatrix} 9 & 4\\ 2 & 1 \end{pmatrix}X=\begin{pmatrix} -9 & -6\\ -1 & -8 \end{pmatrix} \]

terenzreignz (terenzreignz):

@amir.sat Nice. I'm just telling the asker exactly what to do with the rows of the left and the columns of the right :)

OpenStudy (helder_edwin):

lets find the inverse of A: \[ \large \left(\begin{array}{cc|cc} 9 & 4 & 1 & 0\\ 2 & 1 & 0 & 1 \and{array}\right) \]

OpenStudy (anonymous):

So i solve the [9 4] by doing 9(2) + 4(1)? [2 1]

OpenStudy (anonymous):

i found this sites it's pretty cool http://www.purplemath.com/modules/mtrxmult.htm

terenzreignz (terenzreignz):

Don't get ahead of yourself, @stop!hammertime! we're getting there... I asked you what the dot product of <3 , -1> and <2 , 4> is?

OpenStudy (helder_edwin):

sorry

OpenStudy (anonymous):

Oh sorry. Hold on...

OpenStudy (anonymous):

So it would be -3 + 8 and that equals 5.

terenzreignz (terenzreignz):

No. <a , b> (dot) <c , d> = ac + bd NOT ab + cd

terenzreignz (terenzreignz):

Product of left components plus product of right components.

OpenStudy (anonymous):

Yeah thats what i did. I took 3(-1) + 2(4). I thought thats what i was supposed to do.

terenzreignz (terenzreignz):

That's what I just said NOT to do.... Look more carefully... \[\large <a,b> \cdot <c,d> = ac + bd\\\large <a,b> \cdot <c,d> \color{red}{\ne}ab + cd\]

OpenStudy (anonymous):

Ohhhhh ok! Sorry. Ill try again.

OpenStudy (anonymous):

So 3(2) + (-1(4)) = 6 + (-4) = 2

terenzreignz (terenzreignz):

Okay, much better :) Now, to get the product of matrices, remember this... in the left matrix, we deal with its ROWS, while in the right matrix, we deal with its COLUMNS. \[\huge \left[\begin{matrix}5 & 2 \\ 2&1\end{matrix}\right]\left[\begin{matrix}1 & -2 \\ -2&5\end{matrix}\right]\] for now I'll skip the details of matrix dimensions, but just accept that the product of two 2x2 matrices would also be a 2x2 matrix... \[\huge \left[\begin{matrix}{5} & {2} \\ {2}&{1}\end{matrix}\right]\left[\begin{matrix}{1} & {-2} \\ {-2}&{5}\end{matrix}\right]=\left[\begin{matrix}? & ? \\ ?&?\end{matrix}\right]\]

terenzreignz (terenzreignz):

So, let's see what this value's gonna be... \[\huge \left[\begin{matrix}{5} & {2} \\ {2}&{1}\end{matrix}\right]\left[\begin{matrix}{1} & {-2} \\ {-2}&{5}\end{matrix}\right]=\left[\begin{matrix}\boxed{\color{red}?} & ? \\ ?&?\end{matrix}\right]\] This is in the FIRST row and the FIRST column of the resulting matrix... right?

OpenStudy (anonymous):

Yep. So how do i find that?

OpenStudy (helder_edwin):

\[ \begin{array}{cc|cc} 9 & 4 & 1 & 0\\ 2 & 1 & 0 & 1 \end{array} \] multiply the second by -4 and add to the first row \[ \begin{array}{cc|cc} 1 & 0 & 1 & -4\\ 2 & 1 & 0 & 1 \end{array} \] and then multiply the first row by -2 and add to the second row \[ \begin{array}{cc|cc} 1 & 0 & 1 & -4\\ 0 & 1 & -2 & 9 \end{array} \]

OpenStudy (helder_edwin):

do u know this?

terenzreignz (terenzreignz):

Well, your keywords here are "first row" and "first column" so we get the first row of the LEFT matrix and the first column of the RIGHT matrix... \[\huge \left[\begin{matrix}\color{red}{5} & \color{red}{2} \\ {2}&{1}\end{matrix}\right]\left[\begin{matrix}\color{red}{1} & {-2} \\\color{red} {-2}&{5}\end{matrix}\right]=\left[\begin{matrix}? & ? \\ ?&?\end{matrix}\right]\] And guess what? :P

terenzreignz (terenzreignz):

We take their DOT PRODUCT. So, what's the dot product of <5 , 2> and <1 , -2> ?

OpenStudy (anonymous):

So would i do 5(1) + 2(-2) right?

terenzreignz (terenzreignz):

Yes. And...?

OpenStudy (anonymous):

That would be 5 + (-4) = -20

terenzreignz (terenzreignz):

Excuse me? \[\huge 5 + (-4) = 20 \quad\quad\quad\color{red}{???????}\]

OpenStudy (anonymous):

Sorry i miscalculated it = 1

terenzreignz (terenzreignz):

Okay, good :) So that upper left entry (the one on the first row and first column) would be equal to 1 \[\huge \left[\begin{matrix}{5} & {2} \\ {2}&{1}\end{matrix}\right]\left[\begin{matrix}{1} & {-2} \\ {-2}&{5}\end{matrix}\right]=\left[\begin{matrix}\color{blue}1 & ? \\ ?&?\end{matrix}\right]\]

terenzreignz (terenzreignz):

Now what about this one? \[\huge \left[\begin{matrix}{5} & {2} \\ {2}&{1}\end{matrix}\right]\left[\begin{matrix}{1} & {-2} \\ {-2}&{5}\end{matrix}\right]=\left[\begin{matrix}\color{blue}1 & \color{red}{\boxed ?} \\ ?&?\end{matrix}\right]\] this one is in the FIRST row but in the SECOND column. So which row and column do we dot this time?

OpenStudy (anonymous):

<5, 2> and <-2, 5> ?

terenzreignz (terenzreignz):

YES. Exactly :)

OpenStudy (anonymous):

So 5(-2) + 2(5) = -10 + 10 = 0

terenzreignz (terenzreignz):

Mhmm :) \[\huge \left[\begin{matrix}{5} & {2} \\ {2}&{1}\end{matrix}\right]\left[\begin{matrix}{1} & {-2} \\ {-2}&{5}\end{matrix}\right]=\left[\begin{matrix}\color{blue}1 & \color{blue}0 \\ ?&?\end{matrix}\right]\] Can you do fill in the rest of the ?'s ?

OpenStudy (anonymous):

So it would be <2, 1> and <1, -2> ?

terenzreignz (terenzreignz):

Yes, and you get...?

OpenStudy (anonymous):

2(1) + 1(-2) = 2 + (-2) = 0

terenzreignz (terenzreignz):

Okay... \[\huge \left[\begin{matrix}{5} & {2} \\ {2}&{1}\end{matrix}\right]\left[\begin{matrix}{1} & {-2} \\ {-2}&{5}\end{matrix}\right]=\left[\begin{matrix}\color{blue}1 & \color{blue}0 \\ \color{blue}0&?\end{matrix}\right]\]

OpenStudy (anonymous):

Then id do <2, 1> and <-2, 5> and that = 2(1) + (-2)(5) = 2 + (-10) = -8

terenzreignz (terenzreignz):

You're doing it again... \[\huge <a,b> \cdot <c,d> \color{red}\ne ab + cd\] dot product, please, do it correctly...

OpenStudy (anonymous):

uck sorry. 2(-2) + 1(5) = -4 + 5 = 1

terenzreignz (terenzreignz):

Better.\[\huge \left[\begin{matrix}{5} & {2} \\ {2}&{1}\end{matrix}\right]\left[\begin{matrix}{1} & {-2} \\ {-2}&{5}\end{matrix}\right]=\left[\begin{matrix}\color{blue}1 & \color{blue}0 \\ \color{blue}0&\color{blue}1\end{matrix}\right]\]

terenzreignz (terenzreignz):

Okay, now that you have matrix multiplication down, let's get to your original problem... You have to find the inverse of \[\huge \left[\begin{matrix}{9} & {4} \\ {2}&{1}\end{matrix}\right]\] Finding inverses is generally a very tasky endeavour, but fortunately, for 2x2 matrices, there is a shortcut. \[\huge \left[\begin{matrix}{a} & {b} \\ {c}&{d}\end{matrix}\right]^{-1} =\frac1{ad-bc} \left[\begin{matrix}{d} & {-b} \\ {-c}&{a}\end{matrix}\right]\]

terenzreignz (terenzreignz):

Using that formula, find \[\huge \left[\begin{matrix}{9} & {4} \\ {2}&{1}\end{matrix}\right]=\color{red}?\]

terenzreignz (terenzreignz):

Sorry... \[\huge \left[\begin{matrix}{9} & {4} \\ {2}&{1}\end{matrix}\right]^{-1} = \color{red}?\]

OpenStudy (anonymous):

So do i do 9(2) + 4(1)?

terenzreignz (terenzreignz):

This particular bit has nothing to do with dot products. Use this formula... \[\huge \left[\begin{matrix}{a} & {b} \\ {c}&{d}\end{matrix}\right]^{-1} =\frac1{ad-bc} \left[\begin{matrix}{d} & {-b} \\ {-c}&{a}\end{matrix}\right]\]

OpenStudy (anonymous):

Ok give me a couple minutes.

OpenStudy (anonymous):

1/9 - 8 = 1/1 or 1 [1 -4] [-2 9]

terenzreignz (terenzreignz):

Okay, so that's the inverse of this matrix \[\huge\left[\begin{matrix}{9} & {4} \\ {2}&{1}\end{matrix}\right]\] So back to your original question \[\huge \left[\begin{matrix}{9} & {4} \\ {2}&{1}\end{matrix}\right]\color{green}X=\left[\begin{matrix}{-9} & {-6} \\ {-1}&{-8}\end{matrix}\right]\]

terenzreignz (terenzreignz):

What we're going to do is multiply both sides of this equation by the inverse of \[\huge\left[\begin{matrix}{9} & {4} \\ {2}&{1}\end{matrix}\right]\] Which is \[\huge\left[\begin{matrix}{1} & {-4} \\ {-2}&{9}\end{matrix}\right]\]

terenzreignz (terenzreignz):

\[\huge\left[\begin{matrix}{1} & {-4} \\ {-2}&{9}\end{matrix}\right]\left[\begin{matrix}{9} & {4} \\ {2}&{1}\end{matrix}\right]\color{green}X=\left[\begin{matrix}{1} & {-4} \\ {-2}&{9}\end{matrix}\right]\left[\begin{matrix}{-9} & {-6} \\ {-1}&{-8}\end{matrix}\right]\] Catch me so far?

OpenStudy (anonymous):

I think so.

terenzreignz (terenzreignz):

Be sure, before we continue. (You also said "I think so" when I asked you if you could multiply matrices, and it turned out, you didn't. )

OpenStudy (anonymous):

haha good point. Ill look it over here a sec.

OpenStudy (anonymous):

Ok yeah i get it.

terenzreignz (terenzreignz):

Keep in mind, this is only a *crash course* I'm cramming so many lessons into one, so this is by no means a complete reference. However, it may serve as a good guideline in the future. (You're not supposed to be doing questions like this if you don't know how to multiply matrices...)

terenzreignz (terenzreignz):

Anyway, since these two are inverses of each other... \[\huge\color{blue}{\left[\begin{matrix}{1} & {-4} \\ {-2}&{9}\end{matrix}\right]\left[\begin{matrix}{9} & {4} \\ {2}&{1}\end{matrix}\right]}\color{green}X=\left[\begin{matrix}{1} & {-4} \\ {-2}&{9}\end{matrix}\right]\left[\begin{matrix}{-9} & {-6} \\ {-1}&{-8}\end{matrix}\right]\] They just cancel out... \[\huge \color{green}X=\left[\begin{matrix}{1} & {-4} \\ {-2}&{9}\end{matrix}\right]\left[\begin{matrix}{-9} & {-6} \\ {-1}&{-8}\end{matrix}\right]\] And now you have X. Just multiply these two matrices, and you'll have your answer.

OpenStudy (anonymous):

So first row first column = 1(-4) + (-9)(-1) = -4 + 9 = 5

terenzreignz (terenzreignz):

I'll tell you this one last time... \[\Huge \bf <a,b>\cdot <c,d> \color{red} \ne ab + cd \] I have now told you this three times, if you make that same mistake, then ...

OpenStudy (anonymous):

Ahhh! Sorry! I just cant seem to get that right can i? Hold on...

OpenStudy (anonymous):

<1,-4> and <-9,-1> 1(9) + (-4)(-1) = 9 + 4 = 13. But thats not one of my answer choices...

OpenStudy (anonymous):

Where did i screw up this time?

terenzreignz (terenzreignz):

Of course. The answer is a matrix. What you're trying to solve for now is the upper left entry of the matrix. Wrong, by the way, it's -9, and not 9 Why are you doing this sort of problem if you haven't been taught matrix multiplication yet?

OpenStudy (anonymous):

I have, its just im not good at it. At all! As you can probably see. Its so confusing.

terenzreignz (terenzreignz):

Well, anyway... if all else fails, use another formula... a direct one \[\huge \left[\begin{matrix}{a} & {b} \\ {c}&{d}\end{matrix}\right]\left[\begin{matrix}{p} & {q} \\ {r}&{s}\end{matrix}\right]=\left[\begin{matrix}\color{red}{ap+br} & \color{blue}{aq+bs} \\ \color{green}{cp+dr}&\color{orange}{cq+ds}\end{matrix}\right]\]

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!