{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe check the definition of continuity with preimages of open sets.\n\n1. Let $X$, $Y$ and $Z$ be [[topological spaces|0CNQXVBHCX]], and let $f \\colon X \\to Y$ and $g \\colon Y \\to Z$ be [[continuous|0SY9ECQ19Q]].\n2. Let $W$ be an [[open set|01ZQQDCERP]] of $Z$. We show that the [[preimage|0FGCFY1AZX]] $(g \\circ f)^{-1}(W)$ is open in $X$.\n3. Let $x \\in X$. By the definition of the [[composition|07HF9YCWPP]], $x \\in (g \\circ f)^{-1}(W)$ holds if and only if $g(f(x)) \\in W$.\n4. This holds if and only if $f(x) \\in g^{-1}(W)$, which holds if and only if $x \\in f^{-1}(g^{-1}(W))$.\n5. By steps 3 and 4, $(g \\circ f)^{-1}(W) = f^{-1}(g^{-1}(W))$.\n6. The map $g$ is continuous and $W$ is open in $Z$, so $g^{-1}(W)$ is open in $Y$.\n7. The map $f$ is continuous and $g^{-1}(W)$ is open in $Y$, so $f^{-1}(g^{-1}(W))$ is open in $X$.\n8. By steps 5 and 7, $(g \\circ f)^{-1}(W)$ is open in $X$ for each open set $W$ of $Z$. So $g \\circ f$ is continuous.\n\n## Idea\n\nThe preimage under a composition is the preimage of a preimage, taken in the opposite order.\nEach of the two preimage steps keeps open sets open, so the composition does too.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "54C05"
    ],
    "name": "Proof that the composition of continuous maps is continuous",
    "proves": "05NK26G0DR",
    "sources": [
      {
        "url": "https://proofwiki.org/wiki/Composite_of_Continuous_Mappings_is_Continuous"
      }
    ],
    "tag": "G2XHCY1R9F",
    "uses": [
      "0CNQXVBHCX",
      "0SY9ECQ19Q",
      "07HF9YCWPP",
      "0FGCFY1AZX",
      "01ZQQDCERP"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/G2XHCY1R9F/",
  "links": [
    {
      "field": "proves",
      "target": "05NK26G0DR"
    },
    {
      "field": "uses",
      "target": "0CNQXVBHCX"
    },
    {
      "field": "uses",
      "target": "0SY9ECQ19Q"
    },
    {
      "field": "uses",
      "target": "07HF9YCWPP"
    },
    {
      "field": "uses",
      "target": "0FGCFY1AZX"
    },
    {
      "field": "uses",
      "target": "01ZQQDCERP"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/G2XHCY1R9F.md",
  "msc": [
    "54C05"
  ],
  "name": "Proof that the composition of continuous maps is continuous",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/G2X/G2XHCY1R9F.md",
  "status": null,
  "tag": "G2XHCY1R9F",
  "uri": "m2://G2XHCY1R9F",
  "url": "https://math2.tamnd.com/wiki/proof-that-the-composition-of-continuous-maps-is-continuous/",
  "writing": {
    "tag": "G2XHCY1R9F",
    "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
      }
    ]
  }
}
