Matrices and Determinants: Why Study The Matrix... ?
Matrices and Determinants: Why Study The Matrix... ?
On the right is an example of a 2 × 4 matrix. It has 2 rows and 4 columns. We usually write matrices inside
parentheses ( ) or brackets [ ].
We can add, subtract and multiply matrices together, under certain conditions.
We use matrices to solve simultaneous equations, that we met earlier. Matrices are used to solve problems in:
• electronics
• statics
• robotics
• linear programming
• optimisation
• intersections of planes
• genetics
•
Determinants
A determinant of a matrix represents a single number. We obtain this value by multiplying and adding its
elements in a special way. We can use the determinant of a matrix to solve a system of simultaneous equations.
For example, if we have the (square) 2 × 2 matrix:
We'll see in the next section how to evaluate this determinant. (It has value -29).
In this Chapter
1. Determinants - derived from a square matrix, a determinant needs to be multiplied out to give a single
number.
2. Large Determinants - this section will help you to understand smaller determinants.
3. Matrices - definition, features, identity matrix, and examples
4. Multiplication of Matrices - how to multiply matrices of different sizes.
5. Finding the Inverse of a Matrix - which we use to solve systems of equations
6. Matrices and Linear Equations - how to solve systems of equations with matrices
1. Determinants
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.
Example 1
Cramer's Rule.
The solution (x, y) of the system
3 × 3 Determinants
A 3 × 3 determinant
Cofactors
The 2 × 2 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.
Example 3
Evaluate
Answer
= -2[(-1)(2) − (-8)(4)] − 5[(3)(2) − (-8)(-1)] + 4[(3)(4) − (-1)(-1)]
= -2(30) − 5(-2) + 4(11)
= -60 + 10 + 44
= -6
Here, we are expanding by the first column. We can do the expansion by using the first row and we will get the
same result.
where
Example 4
Solve, using Cramer's Rule:
2x + 3y + z = 2
−x + 2y + 3z = −1
−3x − 3y + z = 0
where
So
Checking solutions:
[1] 2(4) + 3(-3) + 3 = 2 OK
[2] -(4) + 2(-3) + 3(3) = -1 OK
[3] -3(4) - 3(-3) + 3 = 0 OK
So the solution is (4, -3, 3).
Determinant Exercises
1. Evaluate by expansion of minors:
Answer
= 10[(−4)(2) − (0)(1)] + 2[(0)(2) − (0)(−3)] + 3[(0)(1) − (-4)(-3)]
= 10(-8) + 2(0) + 3(−12)
= −80 − 36
= −116