{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $R$ be a ring, let $n \\ge 0$ be an integer, and let $c \\in R$.\nThe *scalar matrix* of order $n$ with value $c$ is the [[diagonal matrix|044JNC7ZAA]] $\\operatorname{diag}(c, \\dots, c) = c I_n$, where $I_n$ is the [[identity matrix|06DW9BAWB1]].\nA square matrix is a *scalar matrix* when it equals $c I_n$ for some $c \\in R$.\n\n## Remarks\n\nOver a commutative ring, a scalar matrix commutes with every square matrix of the same order.\nOver a field, the scalar matrices are exactly the $n \\times n$ matrices that commute with every $n \\times n$ matrix.\nAs a linear map, $c I_n$ multiplies each vector by $c$.\n\n## Explanations\n\n### L1 human\n\nA scalar matrix has the same number at every place on the diagonal and zeros elsewhere.\nMultiplying by it is the same as multiplying by that number.\nFor example, $3 I_2 = \\begin{pmatrix} 3 \u0026 0 \\\\ 0 \u0026 3 \\end{pmatrix}$ triples each vector.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "067NKSBEWT",
    "kind": "definition",
    "msc": [
      "15A99"
    ],
    "name": "Scalar matrix",
    "sources": [
      {
        "locator": "Scalar matrix",
        "url": "https://en.wikipedia.org/wiki/Diagonal_matrix"
      }
    ],
    "tag": "0FRM62SG7D",
    "uses": [
      "0Q9PGXD9E4",
      "06DW9BAWB1"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0FRM62SG7D/",
  "links": [
    {
      "field": "defines",
      "target": "067NKSBEWT"
    },
    {
      "field": "uses",
      "target": "0Q9PGXD9E4"
    },
    {
      "field": "uses",
      "target": "06DW9BAWB1"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0FRM62SG7D.md",
  "msc": [
    "15A99"
  ],
  "name": "Scalar matrix",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0FR/0FRM62SG7D.md",
  "status": null,
  "tag": "0FRM62SG7D",
  "uri": "m2://0FRM62SG7D",
  "url": "https://math2.tamnd.com/wiki/scalar-matrix-definition/",
  "writing": {
    "tag": "0FRM62SG7D",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
