Let \( A \) be a \(3 \times 3\) matrix and \( B = 2A^2 + A^{-1} - I \), where \( I \) is a \(3 \times 3\) identity matrix. If the eigenvalues of \( A \) are 1, –1 and 2, then the trace of \( B \) is ________
Show Hint
Use eigenvalue operations to compute trace for functions of matrices efficiently—trace is sum of eigenvalues.