Solve Equations using a Matrix

  • Thread starter Thread starter 2slowtogofast
  • Start date Start date
  • Tags Tags
    Matrix
AI Thread Summary
The discussion focuses on solving a system of equations using matrix methods. The original equations are transformed into an augmented matrix, and through a series of row operations, the solution is derived. The final values obtained are x = 1, y = 1, and z = 2, which check out when substituted back into the original equations. Clarifications were made regarding the correct construction of the matrix equation. The user successfully resolves their confusion about the substitution process with assistance from others in the thread.
2slowtogofast
Messages
134
Reaction score
1
solve equations using a matrix

x + y -z = 0
3x - y + z = 4
5x +z = 7

so i wrote the matrix

1 1 -1 0
3 -1 1 4
5 0 1 7

then i multiplied Row 1 by -3 and added that to row 2
and multiplied row 1 by -5 and added that to row 3
resulting in

1 1 -1 0
0 -4 4 4
0 -5 6 7

then i multiplied row 2 by - 1/4

1 1 -1 0
0 1 -1 -1
0 -5 6 7

then multiplied row 2 by 5 and added that to row 3

1 1 -1 0
0 1 -1 -1
0 0 1 2

now i subbed back into eqns

x + y -z = 0
3x - y + z = 4
5x +z = 7

1x + 1y - 1z = 0
0x +1y - 1z = -1
0x + 0y + 1z = 2

so z = 2 and solving all the other equation i get x = 1 and y = 1
is this right because i tried solving these by subtraction and got somthing different
 
Last edited:
Physics news on Phys.org
You have not constructed a matrix equation, you have just rewritten the coefficients in some kind of array/pattern

THe matrix equation is :

\begin{pmatrix}<br /> 1 &amp; 1 &amp; -1\\<br /> 3&amp;-1 &amp; 1\\<br /> 5&amp;0&amp;1<br /> \end{pmatrix}<br /> \begin{pmatrix}<br /> x\\<br /> y\\<br /> z<br /> \end{pmatrix}<br /> =<br /> \begin{pmatrix}<br /> 0\\<br /> 4\\<br /> 7<br /> \end{pmatrix}<br /> <br />
 
Last edited:
The augmented matrix that 2slow to go fast used is correct.
All you need to do is plug x y and z back into your original equations and see if they make true statements.
Looks to me like they check out.
CC
 
i just got it i was substituting wrong thanks for the help
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top