by M. Bourne
Before we see how to use a matrix to solve a set of simultaneous equations, we learn about determinants.
A determinant is a square array of numbers (written within a pair of vertical lines) which represents a certain sum of products.
Below is an example of a 3 × 3 determinant (it has 3 rows and 3 columns).
The result of multiplying out, then simplifying the elements of a determinant is a single number (a scalar quantity).
Calculating a 2 × 2 Determinant
In general, we find the value of a 2 × 2 determinant with elements a, b, c, d as follows:
We multiply the diagonals (top left × bottom right first), then subtract.
`|(4,1),(2,3)| =4xx3-2xx1 =12-2 = 10`
The final result is a single number.
We will see how to expand a 3 × 3 determinant below.
Using Determinants to Solve Systems of Equations
We can solve a system of equations using determinants, but it becomes very tedious for large systems. We will only do 2 × 2 and 3 × 3 systems using determinants.
The solution (x, y) of the system
can be found using determinants:
Solve the system using Cramer's Rule:
x − 3y = 6
2x + 3y = 3
3 × 3 Determinants
A 3 × 3 determinant
can be evaluated in various ways.
We will use the method called "expansion by minors". But first, we need a definition.
The 2 × 2 determinant
is called the cofactor of a1 for the 3 × 3 determinant:
The cofactor is formed from the elements that are not in the same row as a1 and not in the same column as a1.
Similarly, the determinant
is called the cofactor of a2. It is formed from the elements not in the same row as a2 and not in the same column as a2.
We continue the pattern for the cofactor of a3.
Expansion by Minors
We evaluate our 3 × 3 determinant using expansion by minors. This involves multiplying the elements in the first column of the determinant by the cofactors of those elements. We subtract the middle product and add the final product.
Note that we are working down the first column and multiplying by the cofactor of each element.
Cramer's Rule to Solve 3 × 3 Systems of Linear Equations
We can solve the general system of equations,
a1x + b1y + c1z = d1
a2x + b2y + c2z = d2a3x + b3y + c3z = d3
by using the determinants:
Solve, using Cramer's Rule:
2x + 3y + z = 2
−x + 2y + 3z = −1
−3x − 3y + z = 0
1. Evaluate by expansion of minors:
2. Solve the system by use of determinants:
x + 3y + z = 4
2x − 6y − 3z = 10
4x − 9y + 3z = 4