{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "F0GBTYKN31"
    }
  ],
  "body": "\n## Example\n\nView $\\R$ as a vector space over the field $\\Q$ of rational numbers.\nThe numbers $1$ and $\\sqrt{2}$ are linearly independent over $\\Q$, because $\\sqrt{2}$ is irrational.\nBy the [[axiom of choice|0HTGB13FE2]], this independent set extends to a [[basis|0KCQ9Y3QKA]] $B$ of $\\R$ over $\\Q$, called a Hamel basis.\nEvery real $x$ is then a unique finite sum $x = \\sum_{b \\in B} q_b(x)\\, b$ with rational coefficients $q_b(x)$, almost all zero.\nDefine $f \\colon \\R \\to \\R$ by $f(x) = q_1(x)$, the coefficient of the basis vector $1$.\n\nCheck of additivity: the coefficients of $x + y$ are the sums of the coefficients of $x$ and $y$, so $f(x + y) = f(x) + f(y)$.\nSo $f$ is an [[additive function|KF719SZD5T]].\nIt is not of the form $f(x) = cx$: $f(1) = 1$ would force $c = 1$, but $f(\\sqrt{2}) = 0 \\ne \\sqrt{2}$.\nHence $f$ is not [[continuous|0X3WGX95FE]], since every continuous additive function is linear.\nOne can also see this directly: $f$ takes only rational values, while a continuous function on $\\R$ with only rational values is constant, and $f(0) = 0 \\ne 1 = f(1)$.\n\n## Explanations\n\n### L1 human\n\nImagine writing every real number in a strange coordinate system with infinitely many rational coordinates.\nThe function $f$ just reads off one coordinate.\nReading a coordinate respects addition, so $f$ is additive.\nYet $f$ jumps around wildly and cannot be drawn, because the coordinate system itself comes from the axiom of choice.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "instance_of": [
      "KF719SZD5T"
    ],
    "kind": "example",
    "msc": [
      "39B22",
      "15A03"
    ],
    "name": "Discontinuous additive functions via a Hamel basis",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Cauchy%27s_functional_equation"
      }
    ],
    "tag": "FFTNS66XG6",
    "uses": [
      "0KCQ9Y3QKA",
      "0HTGB13FE2",
      "0X3WGX95FE"
    ]
  },
  "kind": "example",
  "link": "https://tamnd.github.io/math2/node/FFTNS66XG6/",
  "links": [
    {
      "field": "instance_of",
      "target": "KF719SZD5T"
    },
    {
      "field": "uses",
      "target": "0KCQ9Y3QKA"
    },
    {
      "field": "uses",
      "target": "0HTGB13FE2"
    },
    {
      "field": "uses",
      "target": "0X3WGX95FE"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/FFTNS66XG6.md",
  "msc": [
    "39B22",
    "15A03"
  ],
  "name": "Discontinuous additive functions via a Hamel basis",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/FFT/FFTNS66XG6.md",
  "status": null,
  "tag": "FFTNS66XG6",
  "uri": "m2://FFTNS66XG6",
  "url": "https://tamnd.github.io/math2/wiki/discontinuous-additive-functions-via-a-hamel-basis/",
  "writing": {
    "tag": "FFTNS66XG6",
    "kind": "example",
    "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
      }
    ]
  }
}
