{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe compare column spaces, and then pass to transposes for the second inequality.\n\n1. Let $A = (a_{ij})$ be $m \\times n$ and $B = (b_{jk})$ be $n \\times p$. Let $\\alpha_1, \\dots, \\alpha_n \\in F^m$ be the columns of $A$.\n2. By the definition of the [[matrix product|032Q9FB8MT]], entry $i$ of column $k$ of $AB$ is $\\sum_{j=1}^n a_{ij} b_{jk}$. So column $k$ of $AB$ equals $\\sum_{j=1}^n b_{jk} \\alpha_j$.\n3. Hence each column of $AB$ lies in the [[column space|03AJKXH1AV]] $\\operatorname{Col}(A)$. Since $\\operatorname{Col}(A)$ is a subspace, $\\operatorname{Col}(AB) \\subseteq \\operatorname{Col}(A)$.\n4. $F^m$ has dimension $m$ by [[the dimension of the coordinate space|0QK7FPE6VE]], so $\\operatorname{Col}(A)$ is finite-dimensional by the [[dimension of a subspace|0QW084460E]].\n5. Applying the dimension of a subspace inside $\\operatorname{Col}(A)$ gives $\\dim \\operatorname{Col}(AB) \\le \\dim \\operatorname{Col}(A)$. By the definition of [[rank|0ZC9YTXZRY]], $\\rank(AB) \\le \\rank A$.\n6. Step 5 holds for any two matrices whose product is defined.\n7. By [[row rank equals column rank|0TZAG60ZYT]], $\\rank(AB) = \\rank\\left((AB)^T\\right)$, with the [[transpose|09DXWYRD43]].\n8. By the [[transpose of a product|09GK5PS824]], $(AB)^T = B^T A^T$, where $B^T$ is $p \\times n$ and $A^T$ is $n \\times m$.\n9. By step 6 applied to $B^T$ and $A^T$, $\\rank(B^T A^T) \\le \\rank B^T$.\n10. By row rank equals column rank again, $\\rank B^T = \\rank B$. So $\\rank(AB) \\le \\rank B$.\n11. By steps 5 and 10, $\\rank(AB) \\le \\min(\\rank A, \\rank B)$.\n\n## Idea\n\nEvery column of $AB$ is a combination of columns of $A$, so $AB$ cannot have a larger column space than $A$. Transposing turns $B$ into the left factor, and transposing does not change rank. So the same argument bounds $\\rank(AB)$ by $\\rank B$.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "15A03"
    ],
    "name": "Proof of the rank inequality for a product of matrices",
    "proves": "02FDWY55AS",
    "sources": [
      {
        "url": "https://statisticaloddsandends.wordpress.com/2018/05/20/rank-of-ab/"
      }
    ],
    "tag": "YXXTBTMPY5",
    "uses": [
      "0ZC9YTXZRY",
      "03AJKXH1AV",
      "032Q9FB8MT",
      "0QW084460E",
      "0QK7FPE6VE",
      "0TZAG60ZYT",
      "09GK5PS824",
      "09DXWYRD43"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/YXXTBTMPY5/",
  "links": [
    {
      "field": "proves",
      "target": "02FDWY55AS"
    },
    {
      "field": "uses",
      "target": "0ZC9YTXZRY"
    },
    {
      "field": "uses",
      "target": "03AJKXH1AV"
    },
    {
      "field": "uses",
      "target": "032Q9FB8MT"
    },
    {
      "field": "uses",
      "target": "0QW084460E"
    },
    {
      "field": "uses",
      "target": "0QK7FPE6VE"
    },
    {
      "field": "uses",
      "target": "0TZAG60ZYT"
    },
    {
      "field": "uses",
      "target": "09GK5PS824"
    },
    {
      "field": "uses",
      "target": "09DXWYRD43"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/YXXTBTMPY5.md",
  "msc": [
    "15A03"
  ],
  "name": "Proof of the rank inequality for a product of matrices",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/YXX/YXXTBTMPY5.md",
  "status": null,
  "tag": "YXXTBTMPY5",
  "uri": "m2://YXXTBTMPY5",
  "url": "https://math2.tamnd.com/wiki/proof-of-the-rank-inequality-for-a-product-of-matrices/",
  "writing": {
    "tag": "YXXTBTMPY5",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
