Given an $n \times n$ symmetric matrix with real coefficients it has $n$ eigenvalues. I was wondering are the eigenvalues continuous with respect to the coefficients of the matrices? I have seen somewhere that the eigenvalues of matrices are continuous but it was for complex matrices.
Does this holds for real symmetric matrices? I would guess that it does, but I was not sure how to show it. Any reference or comments would be appreciated. Thank you.
Added after comment: For the complex case I understand as the characteristic polynomial is a polynomial in the coefficients of the matrix, and the roots (in $\mathbb{C}$) of a polynomial over $\mathbb{C}$ varies continuously.
However, over $\mathbb{R}$ I wasn't sure if I could still say the same, as for example, polynomial like $x^2 + a$ no longer has root after $a > 0$. So I wasn't sure if I could still say the same about real eigenvalues of real matrices. And so, I wasn't sure about the real eigenvlaues of symmetric real matrices either...
I know that the reals are a subset of the complexes, but I wasn't sure if that was enough to obtain the statement for the real eigenvalues of symmetric real matrices... Any clarification would be appreciated. Thank you.
The set of real numbers is a subset of the set of complex numbers, if we consider that real numbers are complex numbers with imaginary part equal to zero. Therefore, whatever holds for all complex numbers holds for real numbers.
As you observe, a polynomial might not have real roots. However, all the eigenvalues of a symmetric real matrix are real. By definition, they are the roots of the characteristic polynomial, so you can be sure that an example like the one you proposed will not arise.