Please help to reach answer for the following problem:
$A∈M_5(R)$ is a matrix and in relation to $A^2-4A-I=0$. if $a_1,a_2,a_3,a_4,a_5$ is eigenvalues for A; solve the following problem:
$(a_1-\frac{1}{a_1})+(a_2-\frac{1}{a_2})+⋯+(a_5-\frac{1}{a5})$
Thanks a lot.
$$(a_1-\frac{1}{a_1})+(a_2-\frac{1}{a_2})+⋯+(a_5-\frac{1}{a_5}) = tr{(A-A^{-1})}$$
$$A^2-4A-I = 0 \Rightarrow A(A-4I)= I \Rightarrow A^{-1}=A-4I \Rightarrow A-A^{-1} = A-(A-4I) = 4I$$
$$tr(A-A^{-1}) = 4\cdot 5 = 20$$