Square root any nonnegative number, then the principal square root of −"x" is The right side (as well as its negative) is indeed a square root of −"x", since For every non-zero complex number "z" there exist precisely two numbers "w" such that : the principal square root of "z" (defined below), and its negative. There are two complex numbers that square to a given arbitrary non-zero imaginary number formula_11 with real formula_12 where the two-digit pattern {3, 6} repeats over and over again in the partial denominators. Since , the above is also identical to the following generalized continued fractions: The
Square root of a matrix square roots. Such a matrix, , has a decomposition where is the matrix whose columns are eigenvectors of and is the diagonal matrix whose diagonal elements are the corresponding eigenvalues . Thus the square roots of are given by , where is any square root matrix of , which, for distinct eigenvalues, must be diagonal with diagonal elements equal to square roots of the diagonal elements of ; since there are two possible choices for a square root of each diagonal element of , there are 2 choices for the matrix . This also leads to a proof of the