{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $R$ be a [[commutative ring|0310REJJY8]] and let $m, n \\ge 1$.\nLet $A = (a_{ij})$ and $B = (b_{ij})$ be $m \\times n$ [[matrices|0VD9ZSWWJG]] over $R$.\nThe *Hadamard product* of $A$ and $B$ is the $m \\times n$ matrix $A \\circ B$ with entries\n$$(A \\circ B)_{ij} = a_{ij} b_{ij}$$\nfor $1 \\le i \\le m$ and $1 \\le j \\le n$.\n\n## Remarks\n\nExample: for $A = \\begin{pmatrix} 1 \u0026 0 \u0026 2 \\end{pmatrix}$ and $B = \\begin{pmatrix} 3 \u0026 5 \u0026 -1 \\end{pmatrix}$, the entries of $A \\circ B$ are $1 \\cdot 3$, $0 \\cdot 5$ and $2 \\cdot (-1)$, so $A \\circ B = \\begin{pmatrix} 3 \u0026 0 \u0026 -2 \\end{pmatrix}$.\nNon-example: a $2 \\times 2$ matrix and a $2 \\times 3$ matrix have no Hadamard product, because the two matrices must have the same size.\nThe Hadamard product is commutative, associative and distributive over addition.\nIts identity element is the $m \\times n$ matrix $J$ with all entries $1$, not the identity matrix.\nOther notations are $A \\odot B$ and $A * B$.\n",
  "commit": "5fc425f97f1f6b11da5892c2948ef8c5d8805665",
  "front": {
    "defines": "SQT6QCEXZ8",
    "kind": "definition",
    "msc": [
      "15A99",
      "15B48"
    ],
    "name": "Hadamard product",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Hadamard_product_(matrices)"
      }
    ],
    "tag": "Z2XXJ5Z4NF",
    "uses": [
      "0VD9ZSWWJG",
      "0GYGHKX834"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/Z2XXJ5Z4NF/",
  "links": [
    {
      "field": "defines",
      "target": "SQT6QCEXZ8"
    },
    {
      "field": "uses",
      "target": "0VD9ZSWWJG"
    },
    {
      "field": "uses",
      "target": "0GYGHKX834"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/Z2XXJ5Z4NF.md",
  "msc": [
    "15A99",
    "15B48"
  ],
  "name": "Hadamard product",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/Z2X/Z2XXJ5Z4NF.md",
  "status": null,
  "tag": "Z2XXJ5Z4NF",
  "uri": "m2://Z2XXJ5Z4NF",
  "url": "https://math2.tamnd.com/wiki/hadamard-product-definition/",
  "writing": {
    "tag": "Z2XXJ5Z4NF",
    "kind": "definition",
    "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
      }
    ]
  }
}
