Square root of a 2 by 2 matrix (source code)

= Square root of a 2 by 2 matrix
{wiki=Square_root_of_a_2_by_2_matrix}

The square root of a 2x2 matrix \\( A \\) is a matrix \\( B \\) such that \\( B^2 = A \\). Finding the square root of a matrix can be a more complex operation than finding the square root of a scalar number, and not every matrix has a square root.