{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0FRM62SG7D"
    },
    {
      "field": "uses",
      "target": "0Y17PEKF24"
    }
  ],
  "body": "\n## Definition\n\nLet $R$ be a ring and let $n \\ge 0$ be an integer.\nA [[square matrix|0JXZKX526R]] $D = (d_{ij})$ of order $n$ over $R$ is *diagonal* when $d_{ij} = 0$ for all $i \\ne j$.\nFor $d_1, \\dots, d_n \\in R$, the matrix $\\operatorname{diag}(d_1, \\dots, d_n)$ is the diagonal matrix with $d_{ii} = d_i$ for each $i$.\n\n## Remarks\n\nThe product of two diagonal matrices is diagonal: $\\operatorname{diag}(a_1, \\dots, a_n) \\operatorname{diag}(b_1, \\dots, b_n) = \\operatorname{diag}(a_1 b_1, \\dots, a_n b_n)$.\nOver a commutative ring, diagonal matrices commute with each other.\nThe [[determinant|00KDZRW4C0]] of a diagonal matrix is the product of its diagonal entries.\nA matrix that is similar to a diagonal matrix is [[diagonalisable|07SQCNV233]].\n\n## Explanations\n\n### L1 human\n\nA diagonal matrix has numbers only on its main diagonal, from the top left to the bottom right.\nAs a map, it stretches each coordinate axis by its own factor.\nDiagonal matrices are easy to add, multiply and raise to powers.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "044JNC7ZAA",
    "kind": "definition",
    "msc": [
      "15A99"
    ],
    "name": "Diagonal matrix",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Diagonal_matrix"
      }
    ],
    "tag": "0Q9PGXD9E4",
    "uses": [
      "0CP7YY6NAG"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0Q9PGXD9E4/",
  "links": [
    {
      "field": "defines",
      "target": "044JNC7ZAA"
    },
    {
      "field": "uses",
      "target": "0CP7YY6NAG"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0Q9PGXD9E4.md",
  "msc": [
    "15A99"
  ],
  "name": "Diagonal matrix",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0Q9/0Q9PGXD9E4.md",
  "status": null,
  "tag": "0Q9PGXD9E4",
  "uri": "m2://0Q9PGXD9E4",
  "url": "https://math2.tamnd.com/wiki/diagonal-matrix-definition/",
  "writing": {
    "tag": "0Q9PGXD9E4",
    "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
      }
    ]
  }
}
