{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "1Y4N1DDQNR"
    },
    {
      "field": "uses",
      "target": "BQXRD4GVKZ"
    }
  ],
  "body": "\n## Counterexample\n\nLet $0 \u003c a \u003c 1$, and let $b$ be a positive odd integer with $a b \u003e 1 + \\frac{3}{2} \\pi$. The Weierstrass function is\n$$W(x) = \\sum_{n=0}^{\\infty} a^n \\cos(b^n \\pi x).$$\nThe function $W$ is continuous on $\\mathbb{R}$, but it is not [[differentiable|0A61B60B5R]] at any point.\nSo a continuous function need not have a derivative anywhere.\n\n## Remarks\n\nThe terms satisfy $|a^n \\cos(b^n \\pi x)| \\le a^n$. The [[M-test|0NX5NWAFC9]] and the [[continuity of uniform sums|0R0MYT0BJD]] give continuity.\nG. H. Hardy later showed that the conclusion holds under the weaker condition $a b \\ge 1$.\nKarl Weierstrass presented the function to the Prussian Academy of Sciences on 18 July 1872.\nBernard Bolzano had constructed such a function around 1831, but it was not published until 1922.\n\n## Explanations\n\n### L1 human\n\nThe graph of the Weierstrass function wiggles at every scale.\nZooming in never shows a straight piece, so there is no tangent line at any point.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "counterexample",
    "msc": [
      "26A27"
    ],
    "name": "Weierstrass function",
    "same_as": {
      "wikidata": "Q94491",
      "wikipedia": "Weierstrass function (nowhere-differentiable function)"
    },
    "sources": [
      {
        "locator": "Construction",
        "url": "https://en.wikipedia.org/wiki/Weierstrass_function_(nowhere-differentiable_function)"
      }
    ],
    "tag": "01A0MK1730",
    "uses": [
      "0NX5NWAFC9",
      "0R0MYT0BJD",
      "0A61B60B5R"
    ]
  },
  "kind": "counterexample",
  "link": "https://tamnd.github.io/math2/node/01A0MK1730/",
  "links": [
    {
      "field": "uses",
      "target": "0NX5NWAFC9"
    },
    {
      "field": "uses",
      "target": "0R0MYT0BJD"
    },
    {
      "field": "uses",
      "target": "0A61B60B5R"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/01A0MK1730.md",
  "msc": [
    "26A27"
  ],
  "name": "Weierstrass function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/01A/01A0MK1730.md",
  "status": null,
  "tag": "01A0MK1730",
  "uri": "m2://01A0MK1730",
  "url": "https://tamnd.github.io/math2/wiki/weierstrass-function/",
  "writing": {
    "tag": "01A0MK1730",
    "kind": "counterexample",
    "level": "W0",
    "next": [
      {
        "what": "edge refutes or not_instance_of out",
        "have": 0,
        "want": 1
      }
    ]
  }
}
