Académique Documents
Professionnel Documents
Culture Documents
Suppose you have V linear equations with V unknowns. Using ordinary algebra, those equations might
be expressed as:
where
xj is an unknown value
ij is the known coefficient of xj in equation i
yj is a known quantity in equation j
J =
where
Here is how to solve a system of V linear equations in V unknowns, using matrix methods.
^c Express the set of V linear equations compactly in matrix form.
J =
J-1J = J-1
= J-1
Thus, as long as the inverse J-1 exists, we can solve for , the vector of unknown values. If the inverse
does not exist, the set of equations does not have a unique solution.
To illustrate how to solve simultaneous linear equations using matrix methods, consider the following
set of equations.
x1 + 2x2 + 2x3 = 1
2x1 + 2x2 + 2x3 = 2
2x1 + 2x2 + x3 = 3
We want to solve for the unknown quantities: x1, x2, and x3.
1 2 2 x1 1
2 2 2 x2 = 2
2 2 1 x3 3
J
^c èext, we premultiply both sides of the equation by J-1, the inverse of matrix J. reviously, we
showed how to find the inverse of matrix J.
-1 1 0 1 2 2 x1 = -1 1 0 1
1 -1.5 1 2 2 2 x2 1 -1.5 1 2
0 1 -1 2 2 1 x3 0 1 -1 3
J-1 J J-1
x1 -1 1 0 1 1
x2 = 1 -1.5 1 2 = 1
x3 0 1 -1 3 -1
J-1
3x1 + x2 = 3
9x1 + 4x2 = 6
Using matrix methods, solve for the unknown quantities: x1and x2.
3 1 x1 3
=
9 4 x2 6
J
^c èext, we premultiply both sides of the equation by J-1, the inverse of matrix J. We showed
how to find the inverse of matrix J in a previous lesson.
4/3 -1/3 3 1 x1 4/3 -1/3 3
=
-3 1 9 4 x2 -3 1 6
J-1 J J-1
x1 4/3 -1/3 3 2
= =
x2 -3 1 6 -3
J-1