{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "09E1RCZ7YT"
    },
    {
      "field": "uses",
      "target": "0A1QQN333A"
    },
    {
      "field": "uses",
      "target": "0FRYPZ6D0X"
    },
    {
      "field": "uses",
      "target": "0GJWQZCPZM"
    },
    {
      "field": "uses",
      "target": "0RPDTWY2JS"
    },
    {
      "field": "uses",
      "target": "0Y4NF1DRKD"
    }
  ],
  "body": "\n## Definition\n\nLet $R$ be a commutative ring and let $A = (a_{ij})$ be an $n \\times n$ [[square matrix|0JXZKX526R]] over $R$.\nThe *trace* of $A$ is\n$$\\tr A = \\sum_{i=1}^{n} a_{ii} = a_{11} + a_{22} + \\cdots + a_{nn}.$$\n\n## Remarks\n\nThe trace of $\\begin{pmatrix} 1 \u0026 2 \\\\ 3 \u0026 4 \\end{pmatrix}$ is $5$.\nThe trace is [[linear|0GJWQZCPZM]], it is [[invariant under transpose|09E1RCZ7YT]], and [[$\\tr(AB) = \\tr(BA)$|0Y4NF1DRKD]].\nSimilar matrices have the same trace, so the [[trace of a linear map|0KZDNGA561]] is well defined.\nOver an algebraically closed field, the trace is the [[sum of the eigenvalues|0NMXDCNNKR]], counted with multiplicity.\n\n## Explanations\n\n### L1 human\n\nThe trace adds up the numbers on the main diagonal of a square matrix.\nIt is a single number that does not change when we change the basis.\nFor the identity matrix of order $n$, the trace is $n$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0XC1RDBY7A",
    "kind": "definition",
    "msc": [
      "15A15"
    ],
    "name": "Trace of a matrix",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Trace_(linear_algebra)"
      }
    ],
    "tag": "07PTPSZPME",
    "uses": [
      "0CP7YY6NAG"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/07PTPSZPME/",
  "links": [
    {
      "field": "defines",
      "target": "0XC1RDBY7A"
    },
    {
      "field": "uses",
      "target": "0CP7YY6NAG"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/07PTPSZPME.md",
  "msc": [
    "15A15"
  ],
  "name": "Trace of a matrix",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/07P/07PTPSZPME.md",
  "status": null,
  "tag": "07PTPSZPME",
  "uri": "m2://07PTPSZPME",
  "url": "https://math2.tamnd.com/wiki/trace-of-a-matrix-definition/",
  "writing": {
    "tag": "07PTPSZPME",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
