{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\mathbb{K}$ be a field, let $n \\ge 1$, and let $A$ be an $n \\times n$ [[matrix|0JXZKX526R]] over $\\mathbb{K}$.\nA *square root* of $A$ is an $n \\times n$ matrix $B$ over $\\mathbb{K}$ such that $B^2 = A$, where $B^2 = BB$ is the [[matrix product|032Q9FB8MT]].\n\n## Remarks\n\nExample: for every real $\\theta$, $B = \\begin{pmatrix} \\cos\\theta \u0026 \\sin\\theta \\\\ \\sin\\theta \u0026 -\\cos\\theta \\end{pmatrix}$ is a square root of $I_2$.\nCheck: the entries of $B^2$ are $\\cos^2\\theta + \\sin^2\\theta = 1$ on the diagonal and $\\cos\\theta\\sin\\theta - \\sin\\theta\\cos\\theta = 0$ off it.\nNon-example: $N = \\begin{pmatrix} 0 \u0026 1 \\\\ 0 \u0026 0 \\end{pmatrix}$ has no square root.\nIf $B^2 = N$, then $B^4 = 0$, so $B$ is [[nilpotent|07BSPZPSMF]]; a nilpotent $2 \\times 2$ matrix satisfies $B^2 = 0 \\ne N$.\nA [[positive semidefinite matrix|01MMVW8CKC]] has a unique positive semidefinite square root, written $A^{1/2}$; see [[square root of a positive semidefinite matrix|0BJVDCF38Y]].\nA complex matrix with no eigenvalue in $(-\\infty, 0]$ has a unique square root whose eigenvalues have positive real part, the *principal square root*.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "63FAKMYZ2E",
    "kind": "definition",
    "msc": [
      "15A16",
      "15A24"
    ],
    "name": "Square root of a matrix",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Square_root_of_a_matrix"
      }
    ],
    "tag": "XEC5MF8WWX",
    "uses": [
      "0JXZKX526R",
      "032Q9FB8MT"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/XEC5MF8WWX/",
  "links": [
    {
      "field": "defines",
      "target": "63FAKMYZ2E"
    },
    {
      "field": "uses",
      "target": "0JXZKX526R"
    },
    {
      "field": "uses",
      "target": "032Q9FB8MT"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/XEC5MF8WWX.md",
  "msc": [
    "15A16",
    "15A24"
  ],
  "name": "Square root of a matrix",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/XEC/XEC5MF8WWX.md",
  "status": null,
  "tag": "XEC5MF8WWX",
  "uri": "m2://XEC5MF8WWX",
  "url": "https://math2.tamnd.com/wiki/square-root-of-a-matrix-definition/",
  "writing": {
    "tag": "XEC5MF8WWX",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
