The discussion revolves around solving a system of equations using matrix algebra, specifically focusing on finding the values of p1, p2, and p3. The user initially struggles with Gaussian elimination and seeks help with the inversion method. After setting up the augmented matrix and calculating the determinant, there are corrections made regarding the signs and values in the cofactor calculations. The correct determinant is established as 6, and the user acknowledges miscalculations in their previous attempts. The conversation emphasizes collaborative problem-solving in matrix algebra, highlighting the importance of accuracy in calculations.
#1
maarrcc1994
4
0
Hopefully someone can help me solve this, I'm usually quite good at matrix algebra but for some reason I cannot solve this equation.
p1+4p2+8p3=26
5p1+7p2=38
8P1+12p2+2p3=66
If somebody could help me with the values of p1 p2 p3 that would be a great help :)
Note: I divided the last equation by 2 for the sake of simplcity.
Do you know what the next step is?
#3
maarrcc1994
4
0
I've only been taught the inversion method so that's what I usually use, I tried with cramers rule but still couldn't seem to get it right, could you show me using inversion? :)
#4
MarkFL
Gold Member
MHB
13,284
12
Show what you did with the inversion method so we can see where you are stuck and then we can go from there. :D
edit: I've got to run now, but there are many here much better at matrix algebra than me, and so perhaps someone will help in the meantime. To be honest, it is Gaussian elimination that I find to be the most straightforward method, and which is the only one I recall how to do without looking things up. :D
Up till here it is all correct! ;)
(Except for a couple of parentheses that I've added in the quote.)
Note that with the -4 in the second line, you have properly picked up on the sign.
14--40-32=22
I found the determinant to be 22 so I'm hoping that part was right.
You already had all the signs in place, so I'm afraid you shouldn't introduce more minus signs.
The determinant should be just the sum: $D=14-40+32=6$.
Then i moved on to finding each cofactor-
Code:
| 7 0| |5 0| |5 7|
+ |12 2| - |8 12| + |8 12|
The approach is good, but your second submatrix should have a 2 instead of a 12, yielding -10 instead of -60.
The rest is correct, but with the correction I mentioned, it should be:
\begin{bmatrix}
14 & -10 & 4 \\
88 & -62 & 20 \\
-56 & 40 & -13 \\
\end{bmatrix}
Then I inverted the results
Code:
|14 88 -56 |
1/22 |-60 -62 40 |
| 4 20 -13 |
From here the answers were way off so I've obviously miscalculated disastrously
So this should be (transposing and multiplying with the inverse of the determinant):
$$\frac 1 6
\begin{bmatrix}
14 & 88 & -56 \\
-10 & -62 & 40 \\
4 & 20 & -13 \\
\end{bmatrix}$$
apologies for the formatting, it seems I'm as bad as this as I am at maths
For reference, when you click Reply with Quote, you can see how I formatted what I did.
#7
maarrcc1994
4
0
Its really clear where I went wrong now, thank you so much! :)