Systems of linear equations

Maths · Matrices and determinants. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths topics

The idea

A system of linear equations can be written as AX = B, where A is the matrix of coefficients, X is the column of unknowns and B is the column of constants. If B = O the system is homogeneous; otherwise it is non-homogeneous.

When A is square and |A| ≠ 0 there is exactly one solution, found by the matrix inverse method or by Cramer's rule.

The rank of a matrix is the number of non-zero rows in its echelon form. Comparing the rank of A with the rank of the augmented matrix tells you whether a system is consistent (has a solution) or inconsistent (has none).

Rules to remember

Common mistake

In Cramer's rule students replace the wrong column. For x replace the column of x-coefficients by the constants; for y replace the column of y-coefficients. Write each equation with the constant alone on the right-hand side first.

Worked example

Use Cramer's rule to solve 3x + 2y = 12 and x − y = −1.

  1. |A| has rows [3 2] and [1 −1]: |A| = (3 × −1) − (2 × 1) = −5.
  2. |A1| has rows [12 2] and [−1 −1]: (12 × −1) − (2 × −1) = −12 + 2 = −10, so x = −10 ÷ −5 = 2.
  3. |A2| has rows [3 12] and [1 −1]: (3 × −1) − (12 × 1) = −15, so y = −15 ÷ −5 = 3.
  4. Check: 3(2) + 2(3) = 12 and 2 − 3 = −1.

Answer: x = 2, y = 3

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← DeterminantsSolving quadratic and reducible equations →Take a Maths test