The matrix (2 1; 1 2) sends (1, 1) to (3, 3) and (1, −1) to (1, −1): the eigenvectors are the diagonal and the anti-diagonal, and the multipliers are 2 + 1 = 3 and 2 − 1 = 1, the second and third links. The panel on the first link prints the two numbers that any pair of eigenvalues has to reproduce — determinant 3 and trace 4 — and the fourth link is the sum check, 3 + 1 = 4, with 3 × 1 = 3 the product check done in your head.
Why the sum and the difference work: (a b; b a) commutes with the swap (0 1; 1 0), so it preserves the swap's two eigenspaces, which are exactly the diagonal and anti-diagonal lines. Every symmetric 2×2 with equal diagonal entries is therefore diagonal in the 45° basis. The direct computation is one line — det(A − λI) = (2 − λ)² − 1, so λ = 2 ± 1 — and the two readings are the same fact: expanding (2 − λ)² − 1 gives λ² − 4λ + 3, whose coefficients are the trace and the determinant. That is the smallest example in which 'the determinant is the product of the eigenvalues and the trace is their sum' can be checked without any algebra at all, which is why it is the worked example in almost every first course.
Answer
3
How to read it
The larger eigenvalue, which here is also the determinant. The second and third links are a + b and a − b; the fourth is the trace as the sum of the two eigenvalues.
Source
The characteristic equation det(A − λI) = 0 in this shape is in Joseph-Louis Lagrange's 1770s memoir on quadratic forms; the (a b; b a) case with eigenvalues a + b and a − b is the standard first exercise in any linear-algebra course
Work it in the calculator
These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.