There are three main techniques for solving linear systems of equations using matrices, row reduction, inverses and Cramer's Rule. Row reduction, which is the easiest and doesn't require a lot of knowledge about matrices, is covered on a separate page. Using inverses to solve linear systems of equations is discussed on this page. Finally, Cramer's Rule can also be used to solve linear systems of equations.
Recommended Books on Amazon (affiliate links)  

In order to solve linear systems using matrices, first we set up the matrices, then find the inverse of the coefficient matrix and then do matrix multiplication. Here are the details.
Set Up The Matrices
To demonstrate this, we will use the following generic system.
\(\displaystyle{
\begin{array}{rcccl}
ax & + & by & = & t \\
cx & + & dy & = & s
\end{array}
}\)
The matrices we need are
1. The coefficient matrix
\(\displaystyle{
A =
\begin{bmatrix}
a & b \\
c & d
\end{bmatrix}
}\)
2. The variable matrix
\(\displaystyle{
X =
\begin{bmatrix}
x \\
y
\end{bmatrix}
}\)
3. The constant matrix
\(\displaystyle{
B =
\begin{bmatrix}
t \\
s
\end{bmatrix}
}\)
The linear system can now be written in matrix form as
\(\displaystyle{
\begin{bmatrix}
a & b \\
c & d
\end{bmatrix}
\begin{bmatrix}
x \\
y
\end{bmatrix}
=
\begin{bmatrix}
t \\
s
\end{bmatrix}
}\)
or in shorthand notation \(AX=B\)
Preview of The Next Steps
Before we go into the details of the next steps, here is an idea of what we will be doing and why.
The idea is to find the inverse of matrix A, if it exists. Then we multiply both sides of the equation ON THE LEFT by the inverse. (Remember that matrix multiplication is not commutative.) So, if we denote the inverse of A as \(A^{1}\), then we have
\(\displaystyle{
\begin{array}{rcl}
AX & = & B \\
A^{1}AX & = & A^{1}B \\
X & = & A^{1}B
\end{array}
}\)
In the last step, we used the idea that \(A^{1}A = I\), where \(I\) is the identity matrix, which works like multiplying by one, so \(IX = X\). From the last equation, we can see that if we can find an inverse of matrix A, then all we need to do is multiply \(A^{1}\) ON THE LEFT of the constant matrix B to get the values of x and y, i.e. to solve the system.
Find The Inverse Of The Coefficient Matrix
Once you have set up the matrices from the given linear system, you need to find the inverse of the coefficient matrix. In our example, the coefficient matrix is
\(\displaystyle{
A =
\begin{bmatrix}
a & b \\
c & d
\end{bmatrix}
}\)
and this is the matrix we need to find the inverse of. For 2x2 matrices, the inverse is easy to find. For larger matrices, there are several techniques you can use. [See the inverse matrices page for details.]
Note  If the inverse matrix does not exist, this technique cannot be used.
Apply The Inverse Matrix
As mentioned above, we take the inverse matrix and multiply both sides of the equation \(AX=B\) on the LEFT SIDE. This is critical. Matrix multiplication is not commutative. We need to multiply on the left of A and we need to do the same with B. So our equation looks like \(A^{1}AX=A^{1}B\). Now, \(A^{1}A = I\), where \(I\) is the identity matrix, so \(IX = X\) and we are left with \(X=A^{1}B\), which is our final answer.
Okay, time for some practice problems.
Practice  2x2 Systems
Unless otherwise instructed, solve the linear systems using inverse matrices, giving your answers in exact form.
\(3x+5y=1; \) \( x2y=4\)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\(3x+5y=1; \) \( x2y=4\)
Final Answer 

\(x=18/11; ~ y=13/11\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\(3x+5y=1; \) \( x2y=4\)
Solution
video by PatrickJMT 

Final Answer
\(x=18/11; ~ y=13/11\)
Log in to rate this practice problem and to see it's current rating. 

\(x3y=2; \) \( 4x+5y=8\)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\(x3y=2; \) \( 4x+5y=8\)
Final Answer 

\(x=2; ~ y=0\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\(x3y=2; \) \( 4x+5y=8\)
Solution
video by PatrickJMT 

Final Answer
\(x=2; ~ y=0\)
Log in to rate this practice problem and to see it's current rating. 

\(2x+5y=3; \) \( x+3y=2\)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\(2x+5y=3; \) \( x+3y=2\)
Final Answer 

\(x=1;~y=1\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\(2x+5y=3; \) \( x+3y=2\)
Solution
video by Michel vanBiezen 

Final Answer
\(x=1;~y=1\)
Log in to rate this practice problem and to see it's current rating. 

\(5x+y=8; \) \( 3x4y=14\)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\(5x+y=8; \) \( 3x4y=14\)
Final Answer 

\(x=2;~y=2\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\(5x+y=8; \) \( 3x4y=14\)
Solution
video by Michel vanBiezen 

Final Answer
\(x=2;~y=2\)
Log in to rate this practice problem and to see it's current rating. 

\(3xy=5; \) \( 2x+y=5\)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\(3xy=5; \) \( 2x+y=5\)
Final Answer 

\(x=2;~y=1\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\(3xy=5; \) \( 2x+y=5\)
Solution
video by MIP4U 

Final Answer
\(x=2;~y=1\)
Log in to rate this practice problem and to see it's current rating. 

\(3x+2y=7; \) \( 6x+6y=6\)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\(3x+2y=7; \) \( 6x+6y=6\)
Final Answer 

\(x=1; ~ y=2\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\(3x+2y=7; \) \( 6x+6y=6\)
Solution
video by Khan Academy 

Final Answer
\(x=1; ~ y=2\)
Log in to rate this practice problem and to see it's current rating. 

\(x3y=1; \) \( 4x+3y=11\)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\(x3y=1; \) \( 4x+3y=11\)
Final Answer 

\((2,1)\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\(x3y=1; \) \( 4x+3y=11\)
Solution
Final Answer
\((2,1)\)
Log in to rate this practice problem and to see it's current rating. 

\( 5x + y = 8; \) \( 3x  4y = 14 \)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\( 5x + y = 8; \) \( 3x  4y = 14 \)
Final Answer 

\((2,2)\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\( 5x + y = 8; \) \( 3x  4y = 14 \)
Solution
video by Michel vanBiezen 

Final Answer
\((2,2)\)
Log in to rate this practice problem and to see it's current rating. 

\( x+y=1; \) \( 2xy=1 \)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\( x+y=1; \) \( 2xy=1 \)
Solution
Log in to rate this practice problem and to see it's current rating. 

\( x2y=3; \) \( 3x+y=5 \)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\( x2y=3; \) \( 3x+y=5 \)
Final Answer 

\((1,2)\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\( x2y=3; \) \( 3x+y=5 \)
Solution
Final Answer
\((1,2)\)
Log in to rate this practice problem and to see it's current rating. 

Practice  3x3 Systems
\(x+2y+2z=5;\) \( 3x2y+z=6; \) \( 2x+yz=1\)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\(x+2y+2z=5;\) \( 3x2y+z=6; \) \( 2x+yz=1\)
Final Answer 

\(x=1; ~ y=2; ~ z=1\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\(x+2y+2z=5;\) \( 3x2y+z=6; \) \( 2x+yz=1\)
Solution
video by PatrickJMT 

Final Answer
\(x=1; ~ y=2; ~ z=1\)
Log in to rate this practice problem and to see it's current rating. 

\(2x3y4z=2; \) \( z=5; \) \( x2y+z=3\)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\(2x3y4z=2; \) \( z=5; \) \( x2y+z=3\)
Final Answer 

\(x=60\); \(y=34\); \(z=5\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\(2x3y4z=2; \) \( z=5; \) \( x2y+z=3\)
Solution
video by Michel vanBiezen 

Final Answer
\(x=60\); \(y=34\); \(z=5\)
Log in to rate this practice problem and to see it's current rating. 

\(x3y+3z=4; \) \( 2x+3yz=15; \) \( 4x3yz=19\)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\(x3y+3z=4; \) \( 2x+3yz=15; \) \( 4x3yz=19\)
Final Answer 

\(x=5\); \(y=1\); \(z=2\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\(x3y+3z=4; \) \( 2x+3yz=15; \) \( 4x3yz=19\)
Solution
video by MIP4U 

Final Answer
\(x=5\); \(y=1\); \(z=2\)
Log in to rate this practice problem and to see it's current rating. 

\(x+2yz=7; \) \( 2x3y4z=3; \) \( x+y+z=0\)
Problem Statement 

Solve this linear system using inverse matrices, giving your answer in exact form.
\(x+2yz=7; \) \( 2x3y4z=3; \) \( x+y+z=0\)
Final Answer 

\(x=1\); \(y=3\); \(z=2\)
Problem Statement
Solve this linear system using inverse matrices, giving your answer in exact form.
\(x+2yz=7; \) \( 2x3y4z=3; \) \( x+y+z=0\)
Solution
video by MIP4U 

Final Answer
\(x=1\); \(y=3\); \(z=2\)
Log in to rate this practice problem and to see it's current rating. 

Really UNDERSTAND Precalculus
Log in to rate this page and to see it's current rating.
Topics You Need To Understand For This Page 

To bookmark this page and practice problems, log in to your account or set up a free account.
Do you have a practice problem number but do not know on which page it is found? If so, enter the number below and click 'page' to go to the page on which it is found or click 'practice' to be taken to the practice problem.
 
free ideas to save on books 

I recently started a Patreon account to help defray the expenses associated with this site. To keep this site free, please consider supporting me. 

Support 17Calculus on Patreon 

