Answer:
The solution of this system is x=9/4, y=5/2, and z=-13/8
Explanation:
1. Writing the equations in matrix form
The system of linear equations given can be written in matrix form as
![\left[\begin{array}{ccc}1&0&2\\2&-1&0\\0&3&4\end{array}\right]\left[\begin{array}{c}x&y&z\end{array}\right] = \left[\begin{array}{c}-1&2&1\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/5jevbluthx7bgkft7jmlsoief6irqykqsl.png)
Writing
A =
![\left[\begin{array}{ccc}1&0&2\\2&-1&0\\0&3&4\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/hx4clh7zcrzm7obm8a1p4jdael2m4lwb0i.png)
X =
![\left[\begin{array}{c}x&y&z\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/uu6s9zqhmjue2omk8zafbiya4xzriiuok7.png)
B =
![\left[\begin{array}{c}-1&2&1\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/kf7beh3v75uoc74iuh36d057go3ojh8qvy.png)
we have
AX=B
This is the matrix form of the simultaneous equations.
2. Solving the simultaneous equations
Given
AX=B
we can multiply both sides by the inverse of A

We know that
, the identity matrix, so

All we need to do is calculate the inverse of the matrix of coefficients, and finally perform matrix multiplication.
3. Calculate the inverse of the matrix of coefficients
A =
![\left[\begin{array}{ccc}1&0&2\\2&-1&0\\0&3&4\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/hx4clh7zcrzm7obm8a1p4jdael2m4lwb0i.png)
To find the inverse matrix, augment it with the identity matrix and perform row operations trying to make the identity matrix to the left. Then to the right will be inverse matrix.
![\left[\begin{array}ccc1&0&2&1&0&0\\2&-1&0&0&1&0\\0&3&4&0&0&1\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/majfa07sy7kw66hfyfnjelh79l49wchuwx.png)
- Make zeros in column 1 except the entry at row 1, column 1. Subtract row 1 multiplied by 2 from row 2
![\left[\begin{array}ccc1&0&2&1&0&0\\0&-1&-4&-2&1&0\\0&3&4&0&0&1\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/j5rp0k8l89ziomhpfeaj4khs92bmld1vwz.png)
- Make zeros in column 2 except the entry at row 2, column 2. Add row 2 multiplied by 3 to row 3
![\left[\begin{array}ccc1&0&2&1&0&0\\0&-1&-4&-2&1&0\\0&0&-8&-6&3&1\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/581lw9yj9mql4cbienivdyyafyqh47pwsw.png)
![\left[\begin{array}ccc1&0&2&1&0&0\\0&1&4&2&-1&0\\0&0&-8&-6&3&1\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/udffnemwjzvz01cjbqzunj61nokhas5987.png)
- Make zeros in column 3 except the entry at row 3, column 3. Divide row 3 by −8
![\left[\begin{array}ccc1&0&2&1&0&0\\0&1&4&2&-1&0\\0&0&1&3/4&-3/8&-1/8\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/1rtwmlco7uh3u57i9bhzt8pq065kn6d2rw.png)
- Subtract row 3 multiplied by 2 from row 1
![\left[\begin{array}ccc1&0&0&-1/2&3/4&1/4\\0&1&4&2&-1&0\\0&0&1&3/4&-3/8&-1/8\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/oo6xxvptauppmfucb7hykpa5y7yxnrim0u.png)
- Subtract row 3 multiplied by 4 from row 2
![\left[\begin{array}ccc1&0&0&-1/2&3/4&1/4\\0&1&0&-1&1/2&1/2\\0&0&1&3/4&-3/8&-1/8\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/qxj1hh0kr48eb4oaphgw42olo80xzy64jl.png)
As can be seen, we have obtained the identity matrix to the left. So, we are done.
![A^(-1) = \left[\begin{array}{ccc}-1/2&3/4&1/4\\-1&1/2&1/2\\3/4&-3/8&-1/8\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/rqwz6g1bb44suymz1xf5esl3furxqi8pt2.png)
4. Find the solution

![X= \left[\begin{array}{ccc}-1/2&3/4&1/4\\-1&1/2&1/2\\3/4&-3/8&-1/8\end{array}\right]\cdot \left[\begin{array}{c}-1&2&1\end{array}\right] = \left[\begin{array}{c}9/4&5/2&-13/8\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/ul7vwf5y586wx2i1fe0ru6fzxavaykdz8d.png)