Estimates for the entries of inverse matrices and the spectral analysis of linear operators