In mathematics, particularly linear algebra and functional analysis, the spectral theorem is any of a number of results about linear operators or matrices. In broad terms, the spectral theorem provides conditions under which an operator or a matrix can be diagonalized (that is, represented as a diagonal matrix in some basis). Intuitively, diagonal matrices are computationally quite manageable, so it is of interest to see whether an arbitrary matrix can be diagonalized.