{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nA [[morphism of schemes|JXRKH6P1Z4]] $f \\colon X \\to Y$ is *affine* if $Y$ has a cover by open [[affine|B3V3XJ2W8G]] subschemes $V_i$ with each $f^{-1}(V_i)$ affine.\n\n## Remarks\n\nIf $f$ is affine, then $f^{-1}(V)$ is affine for every open affine subscheme $V$ of $Y$.\nExample: every morphism $\\operatorname{Spec} A \\to \\operatorname{Spec} B$ is affine; take the cover of $Y = \\operatorname{Spec} B$ by itself, with preimage $\\operatorname{Spec} A$.\nExample: a closed immersion is affine, since over $\\operatorname{Spec} B$ it is $\\operatorname{Spec} B/I \\to \\operatorname{Spec} B$ for an ideal $I$.\nNon-example: for a field $k$, the morphism $\\mathbb{A}^2_k \\setminus \\set{0} \\to \\operatorname{Spec} k$ is not affine.\nThe only open affine of $\\operatorname{Spec} k$ is the whole space, and its preimage $\\mathbb{A}^2_k \\setminus \\set{0}$ is not an affine scheme.\nIts ring of global functions is $k[x, y]$, whose spectrum also contains the origin.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "AFC6JMYWEH",
    "kind": "definition",
    "msc": [
      "14A15"
    ],
    "name": "Affine morphism",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Sheaf_of_algebras"
      }
    ],
    "tag": "1T7XKF6WKM",
    "uses": [
      "JXRKH6P1Z4",
      "B3V3XJ2W8G"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/1T7XKF6WKM/",
  "links": [
    {
      "field": "defines",
      "target": "AFC6JMYWEH"
    },
    {
      "field": "uses",
      "target": "JXRKH6P1Z4"
    },
    {
      "field": "uses",
      "target": "B3V3XJ2W8G"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/1T7XKF6WKM.md",
  "msc": [
    "14A15"
  ],
  "name": "Affine morphism",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/1T7/1T7XKF6WKM.md",
  "status": null,
  "tag": "1T7XKF6WKM",
  "uri": "m2://1T7XKF6WKM",
  "url": "https://tamnd.github.io/math2/wiki/affine-morphism-definition/",
  "writing": {
    "tag": "1T7XKF6WKM",
    "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
      }
    ]
  }
}
