Going through Dr Strang's textbook on Linear Algebra, I am trying to understand one of the sample questions to calculate the eigenvalues of a matrix. Using
$$ \det(A-\lambda I)=0 $$
with $\det(A)$ as the product of the pivots. Therefore for the given matrix A
$$ \begin{bmatrix} 2&-1\\ -1&2 \end{bmatrix} $$
the pivots would be
$$ \begin{bmatrix} 2-\lambda&-1\\ -1&2-\lambda \end{bmatrix} = \lambda^2-4\lambda +4 = (2-\lambda)(2-\lambda) $$
giving a single eigenvalue of $2$.
However the book says $\lambda^2-4\lambda +3$ giving eigenvalues of $1$ and $3$. I have checked a later edition of the textbook which has the same content and do not find this listed in any errata online. Therefore I am not sure if my understanding is incorrect or if this is really is an error.