Mathematica Take a matrix square root in Mathematica

Click For Summary
To take the square root of a matrix in Mathematica, use the function MatrixPower with the exponent set to 1/2. The matrix should be defined as S in the expression MatrixPower[S, 1/2]. This method effectively computes the square root of the specified matrix. Users have found this approach to be straightforward and effective. The discussion highlights the simplicity of the solution for matrix square root calculations in Mathematica.
AxiomOfChoice
Messages
531
Reaction score
1
How in the world do you take the square root of a matrix in Mathematica? All the ways I've tried haven't worked... Thanks!
 
Physics news on Phys.org
Figured it out. One simply does MatrixPower[S,1/2], where S is the matrix.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K