• Practice
  • About 15 min
  • 5 practice questions

Determinant equations: finding x quickly

Solve equations such as |x 1 1; 1 x 1; 1 1 x| = 0 without full expansion, using the equal-row-sums trick, the factor theorem for polynomial entries, and the characteristic-type form |A − xI| = 0.

If something looks wrong, please tell us.

Matrices are written here with semicolons between rows, so [1 2; 3 4] has rows (1, 2) and (3, 4). A very common exam question gives a determinant containing x, sets it equal to zero and asks for the values of x. Expanding fully works, but the answer is a cubic and the factorisation can be slow. Three observations let you get the factors directly.

Trick 1: rows with equal sums

If every row of an n × n determinant adds up to the same quantity S, add all the other columns to the first column. The first column becomes S in every row, so S comes out as a factor. Then use row operations to make zeros.

Equal row sums S ⇒ (S) is a factor. Add the columns, take S outside, then subtract rows to create zeros.

Worked example 1: x on the diagonal, 1 elsewhere

Solve |x 1 1; 1 x 1; 1 1 x| = 0. Each row adds to x + 2. Replace C₁ by C₁ + C₂ + C₃, take out (x + 2): the rows are (1, 1, 1), (1, x, 1), (1, 1, x). Now R₂ → R₂ − R₁ gives (0, x − 1, 0) and R₃ → R₃ − R₁ gives (0, 0, x − 1). The determinant is (x + 2) × 1 × (x − 1)(x − 1) = (x + 2)(x − 1)². The roots are x = −2 and x = 1 (a repeated root). A check at x = 1: all rows are (1, 1, 1), so the determinant is 0, and at x = 2 the value is 4 × 1 = 4, which is not 0.

Worked example 2: a different pattern of row sums

Solve |x+1 2 3; 1 x+2 3; 1 2 x+3| = 0. The row sums are x + 6, x + 6 and x + 6. Add the columns into C₁ and take out (x + 6): the rows are (1, 2, 3), (1, x + 2, 3), (1, 2, x + 3). Subtract R₁ from the others: (0, x, 0) and (0, 0, x). The determinant is (x + 6) · x · x = x²(x + 6). The roots are x = 0 (repeated) and x = −6.

Trick 2: polynomial entries and the factor theorem

Solve |1 x x²; 1 2 4; 1 3 9| = 0. The determinant is a polynomial in x of degree at most 2. If x = 2, rows 1 and 2 become equal, so the determinant is 0. If x = 3, rows 1 and 3 are equal, again 0. So (x − 2) and (x − 3) are both factors. Since the degree is at most 2, the determinant is a constant times (x − 2)(x − 3), and the roots are x = 2 and x = 3. Substituting x = 0 gives the value of the constant: the determinant is 1(18 − 12) − 0 + 0 = 6 (expanding along the first row, x and x² being 0), and (0 − 2)(0 − 3) = 6, so the constant is 1.

Trick 3: |A − xI| = 0

Questions that ask for x in |A − xI| = 0 (the characteristic equation) lead to a polynomial of degree n in x. For |2−x 1; 1 2−x| = 0, expand: (2 − x)² − 1 = x² − 4x + 3 = (x − 1)(x − 3). The roots are x = 1 and x = 3. Their sum is 4, which is the sum of the diagonal entries of A, and their product 3 is |A|. This is a useful check for 2 × 2 questions. For a triangular matrix such as [1 5 7; 0 2 9; 0 0 3], |A − xI| is the product of the diagonal terms (1 − x)(2 − x)(3 − x), so the roots are simply the diagonal entries.

Which method first?

  • Equal row sums or equal column sums: Trick 1.
  • Entries containing powers of x and a row that equals another when x takes a value: Trick 2.
  • x subtracted along the diagonal: Trick 3.
  • If none applies, expand and factorise by trial of small integers.

Key takeaways: equal row sums give a factor equal to that sum; if a substitution x = a makes two rows equal, (x − a) is a factor; count the degree to know how many roots to expect; check the answer by substituting a root and seeing two equal rows or a zero row.

Check your understanding

  1. 1. For |x 1 1; 1 x 1; 1 1 x| = 0, which value of x is a root?

    1. 2
    2. −2
    3. −1
    4. 0
    Show answer

    Answer: B. The determinant equals (x + 2)(x − 1)², so x = −2 and x = 1 are roots; 2, −1 and 0 are not.

  2. 2. What is |1+x 1 1; 1 1+x 1; 1 1 1+x| at x = 1?

    1. 3
    2. 8
    3. 0
    4. 4
    Show answer

    Answer: D. The determinant is x²(x + 3). At x = 1 this is 1 × 4 = 4.

  3. 3. What is the sum of the roots of |2−x 1; 1 2−x| = 0?

    1. 4
    2. 2
    3. 3
    4. 6
    Show answer

    Answer: A. The roots are 1 and 3, and 1 + 3 = 4 (the sum of the diagonal entries).

  4. 4. For |1 x x²; 1 2 4; 1 3 9| = 0, which of these is a root?

    1. 1
    2. 4
    3. 3
    4. 0
    Show answer

    Answer: C. At x = 3 rows 1 and 3 coincide, so the determinant vanishes. At x = 1, 4 and 0 no two rows are equal and the value (x − 2)(x − 3) is non-zero.

  5. 5. What is the non-zero root of |x+1 2 3; 1 x+2 3; 1 2 x+3| = 0?

    1. 6
    2. −3
    3. 3
    4. −6
    Show answer

    Answer: D. The determinant equals x²(x + 6), so the non-zero root is x = −6.

Privacy · Terms · Refunds · Delivery