{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "02FDWY55AS"
    },
    {
      "field": "uses",
      "target": "04CPJ6AF00"
    },
    {
      "field": "uses",
      "target": "05Q1B7MH0M"
    },
    {
      "field": "uses",
      "target": "073E4XC016"
    },
    {
      "field": "uses",
      "target": "09GK5PS824"
    },
    {
      "field": "uses",
      "target": "0P506SPZP2"
    },
    {
      "field": "uses",
      "target": "0RXD6EZYBK"
    },
    {
      "field": "uses",
      "target": "0TWTS88TWN"
    },
    {
      "field": "uses",
      "target": "0Y4NF1DRKD"
    }
  ],
  "body": "\n## Definition\n\nLet $R$ be a ring, let $A = (a_{ij})$ be an $m \\times n$ [[matrix|0VD9ZSWWJG]] over $R$, and let $B = (b_{jk})$ be an $n \\times p$ matrix over $R$.\nThe *product* $AB$ is the $m \\times p$ matrix with entries\n$$(AB)_{ik} = \\sum_{j=1}^{n} a_{ij} b_{jk}$$\nfor $1 \\le i \\le m$ and $1 \\le k \\le p$.\n\n## Remarks\n\nThe product $AB$ is defined only when the number of columns of $A$ equals the number of rows of $B$.\nColumn $k$ of $AB$ is the [[matrix–vector product|0PDVQEP0ZC]] of $A$ with column $k$ of $B$.\nThe product is [[associative|073E4XC016]] and [[distributive|0RXD6EZYBK]], but it is [[not commutative|0P506SPZP2]].\nIf $A$ and $B$ are the matrices of two linear maps, then $AB$ is the matrix of their composition.\n\n## Explanations\n\n### L1 human\n\nTo find the entry in row $i$ and column $k$ of $AB$, go along row $i$ of $A$ and down column $k$ of $B$.\nMultiply the pairs of numbers and add the products.\nFor example, $\\begin{pmatrix} 1 \u0026 2 \\\\ 0 \u0026 1 \\end{pmatrix} \\begin{pmatrix} 3 \\\\ 4 \\end{pmatrix} = \\begin{pmatrix} 11 \\\\ 4 \\end{pmatrix}$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "032Q9FB8MT",
    "kind": "definition",
    "msc": [
      "15A99"
    ],
    "name": "Matrix multiplication",
    "sources": [
      {
        "locator": "Definitions",
        "url": "https://en.wikipedia.org/wiki/Matrix_multiplication"
      }
    ],
    "tag": "076JGP6R3T",
    "uses": [
      "0N1MY1T0W9"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/076JGP6R3T/",
  "links": [
    {
      "field": "defines",
      "target": "032Q9FB8MT"
    },
    {
      "field": "uses",
      "target": "0N1MY1T0W9"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/076JGP6R3T.md",
  "msc": [
    "15A99"
  ],
  "name": "Matrix multiplication",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/076/076JGP6R3T.md",
  "status": null,
  "tag": "076JGP6R3T",
  "uri": "m2://076JGP6R3T",
  "url": "https://math2.tamnd.com/wiki/matrix-multiplication-definition/",
  "writing": {
    "tag": "076JGP6R3T",
    "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
      }
    ]
  }
}
