Let D(x) be the determinant with rows (x, 1, 1), (1, x, 1), (1, 1, x). Find the number of integers x in the range -5 to 5 (both included) for which D(x) is strictly greater than 0.
Answer: 6 Status: Verified (T3). Checked by code and independent solves on 2026-11-20.
Solution
- Add rows 2 and 3 to row 1 (or columns): the first row becomes (x+2, x+2, x+2), so D = (x+2) times the determinant with rows (1,1,1), (1,x,1), (1,1,x).
- That determinant is (x-1)², so D(x) = (x+2)(x-1)².
- D > 0 needs x > -2 and x not equal to 1. Integers from -5 to 5: -1, 0, 2, 3, 4, 5, which is 6 values.
Fast method
D = (x+2)(x-1)²: positive for x > -2 except the double zero at x = 1. Count -1, 0, 2, 3, 4, 5.
Expected time: about 150 seconds. Difficulty: hard.
Topic page: Determinants and the area of a triangle