MathematicsUnit 68 min read
Linear Equations, Matrices, Determinants & Cramer's Rule
Unit 6 of Mathematics: Learn to represent systems of linear equations as matrices, calculate determinants, find inverses, and solve equations using Cramer's Rule and Gaussian Elimination for NEB exams.
Key points
- A system of linear equations can be written in matrix form as \(AX = B\).
- The determinant of a square matrix tells us if a unique solution exists.
- If the determinant is zero, the system has either no solution or infinite solutions.
- Cramer's Rule uses determinants to find the value of each variable directly.
- Gaussian Elimination simplifies the matrix to find solutions step-by-step.
- Matrix inverse method is useful for checking answers or solving \(AX=B\) when \(A^{-1}\) exists.
1. Introduction to Systems of Linear Equations
In Class 11, you learned about linear equations with two variables, like . In Class 12, we deal with systems of equations. This means we have multiple equations with multiple unknowns (variables) that must be true at the same time.
For example, consider these two equations:
Here, and are unknowns. We need to find the specific values of and that satisfy both equations simultaneously.
Matrix Form
To make calculations easier, we use matrices. A system of linear equations can be written as:
Where:
- is the Coefficient Matrix (contains the numbers multiplying the variables).
- is the Variable Matrix (contains the unknowns ).
- is the Constant Matrix (contains the numbers on the right side of the equals sign).
Example: For the system:
The matrices are:
So, .
2. Determinants
A determinant is a special number calculated from a square matrix. It is denoted by or .
2x2 Determinant
For a matrix :
3x3 Determinant
For a matrix , we expand along the first row:
Worked Example 1: Find the determinant of a 3x3 matrix. Let .
Since the determinant is 0, this matrix is singular (it does not have an inverse).
3. Conditions for Solutions
The value of the determinant tells us the nature of the solution for the system .
| Value of | Type of Matrix | Nature of Solution |
|---|---|---|
| Non-Singular | Unique Solution exists. | |
| Singular | No Solution or Infinite Solutions. |
If , we must check further to see if it is "no solution" or "infinite solutions". This is usually done by checking the consistency of the equations.
4. Cramer's Rule
Cramer's Rule is a method to solve a system of linear equations using determinants. It works only if .
For a system:
The solutions are:
Where:
- is the determinant of the coefficient matrix.
- is the determinant of matrix with the x-column replaced by the constant matrix .
- is the determinant of matrix with the y-column replaced by .
- is the determinant of matrix with the z-column replaced by .
Worked Example 2: Solve using Cramer's Rule.
Step 1: Find Since , a unique solution exists.
Step 2: Find Replace column 1 with .
Step 3: Find Replace column 2 with .
Step 4: Find Replace column 3 with .
Step 5: Calculate
Solution: .
5. Gaussian Elimination Method
Cramer's Rule can be time-consuming for large systems. Gaussian Elimination is often faster. It converts the augmented matrix into Row Echelon Form (upper triangular form) using row operations.
Row Operations:
- Swap two rows ().
- Multiply a row by a non-zero constant ().
- Add a multiple of one row to another ().
Worked Example 3: Solve using Gaussian Elimination.
Step 1: Write Augmented Matrix
Step 2: Eliminate from Row 2 and Row 3
Step 3: Back Substitution From Row 3:
From Row 2:
From Row 1:
Solution: .
6. Matrix Inverse Method
If is a non-singular matrix, its inverse exists. The solution to is:
To find for a 2x2 matrix :
Worked Example 4: Solve using Inverse Matrix.
Step 1: Find
Step 2: Multiply
Solution: .
Comparison of Methods
| Method | Best Used When | Advantage | Disadvantage |
|---|---|---|---|
| Cramer's Rule | Small systems (2x2 or 3x3) | Direct formula, easy to remember | Very slow for large matrices (calculating many determinants) |
| Gaussian Elimination | Any size system | Efficient, standard algorithm | Can be prone to arithmetic errors if not careful |
| Inverse Matrix | Repeated solving with same | Useful if you need to solve for different | Finding inverse is complex for large matrices |
Applications
- Engineering: Solving electrical circuits (Kirchhoff's laws).
- Economics: Input-Output models (Leontief model) to determine production levels.
- Computer Graphics: Transforming images (rotation, scaling) using matrices.
- Physics: Calculating forces in trusses and bridges.
Exam Tip
- Check the Determinant First: Always calculate before choosing a method. If , do not use Cramer's Rule or Inverse Method. Use Gaussian Elimination to check for consistency.
- Sign Errors: In Cramer's Rule and Determinants, the most common mistake is sign errors. Double-check your expansion signs .
- Verification: After finding the solution, substitute the values back into the original equations to verify. This is a quick way to catch calculation mistakes.
- NEB Pattern: NEB often asks to "Solve the system using Cramer's Rule" or "Show that the system has no solution." Be prepared to prove consistency/inconsistency by comparing ranks of matrices or using row reduction.
- Augmented Matrix: Always write the augmented matrix clearly. It helps organize your row operations.
Based on the NEB +2 Science syllabus for Mathematics (Maths), unit 6.
Discussion
Loading…