EZ Tuitions Logo
EZ Tuitions

Solve two equations with determinants

For a1x + b1y = c1 and a2x + b2y = c2, let D = a1b2 − b1a2, Dx = c1b2 − b1c2 and Dy = a1c2 − c1a2. If D is not zero, x = Dx ÷ D and y = Dy ÷ D.

This is original written practice with invented equations. Each answer is checked by putting x and y back into both equations.

Find D, Dx and Dy, divide, then substitute

  1. Write each equation as ax + by = c.
  2. Work out D, Dx and Dy.
  3. If D is not zero, divide to get x and y.
  4. Check: put x and y into both original equations.

2x + y = 7 and x + 3y = 11

D = 2 × 3 − 1 × 1 = 5. Dx = 7 × 3 − 1 × 11 = 10. Dy = 2 × 11 − 7 × 1 = 15. So x = 10 ÷ 5 = 2 and y = 15 ÷ 5 = 3.

Check: 2 × 2 + 3 = 7 and 2 + 3 × 3 = 11. Both hold.

x + y = 5 and 3x − 2y = 5

D = 1 × (−2) − 1 × 3 = −5. Dx = 5 × (−2) − 1 × 5 = −15. Dy = 1 × 5 − 5 × 3 = −10. So x = −15 ÷ (−5) = 3 and y = −10 ÷ (−5) = 2.

Check: 3 + 2 = 5 and 3 × 3 − 2 × 2 = 5. Both hold.

2x − y = −4 and x + 2y = 3

D = 2 × 2 − (−1) × 1 = 5. Dx = (−4) × 2 − (−1) × 3 = −5. Dy = 2 × 3 − (−4) × 1 = 10. So x = −5 ÷ 5 = −1 and y = 10 ÷ 5 = 2.

Check: 2 × (−1) − 2 = −4 and −1 + 2 × 2 = 3. Both hold.

Counterexample: adding instead of subtracting

A student takes the first example and works out Dx = 7 × 3 + 1 × 11 = 32, so x = 32 ÷ 5 = 6.4.

The check fails. Put x = 6.4 into 2x + y = 7 with y = 3 and the left side is 12.8 + 3 = 15.8, not 7. Each determinant is a difference of two products, so Dx = 21 − 11 = 10 and x = 2.

Try one yourself

Solve x + 2y = 8 and 3x − y = 3 with determinants, and check the answers.

Show the worked self-check

D = 1 × (−1) − 2 × 3 = −7. Dx = 8 × (−1) − 2 × 3 = −14. Dy = 1 × 3 − 8 × 3 = −21. So x = 2 and y = 3. Check: 2 + 2 × 3 = 8 and 3 × 2 − 3 = 3.

Scope and limits

  • The page covers two equations in two unknowns with D not equal to zero.
  • It does not cover three equations, the case D = 0 or the matrix inverse method.
  • The equations are invented, and the questions are practice, not an exam key.
  • Every answer is checked by substituting into both equations.

Common questions

What does it mean when D is zero in Cramer rule?

The rule cannot be used. The two equations then have either no solution or infinitely many, and another method such as elimination is needed to tell which.

Why is each determinant a difference of two products?

A 2 by 2 determinant is defined as the product on the main diagonal minus the product on the other diagonal. That is why Dx and Dy need a subtraction.

How is Dx different from D?

Dx is D with the x column of coefficients replaced by the column of constants c1 and c2. Dy does the same for the y column.

Can the answers from Cramer rule be fractions?

Yes. The answers are Dx ÷ D and Dy ÷ D, so they can be fractions or decimals. The three examples here were chosen to give whole numbers.

Sources and scope

Sources checked . They support the determinant and Cramer rule for two equations. The numbers, worked examples and self-check above are original EZT practice.

Read the Class 12 determinants chapterBrowse tuition and practice pages