On the similarity transformation to tridiagonal form