{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $a$, $b$ and $c$ be complex numbers with $a \\neq 0$, and let $s$ be a complex number with $s^2 = b^2 - 4 a c$.\nThen, for each complex number $x$,\n$$a x^2 + b x + c = 0 \\iff x = \\frac{-b + s}{2 a} \\text{ or } x = \\frac{-b - s}{2 a}.$$\n\n## Remarks\n\nSuch an $s$ exists, by the [[existence of nth roots|0YM6P6C206]] for $n = 2$.\nThe number $\\Delta = b^2 - 4 a c$ is the discriminant. For real $a, b, c$, there are two real roots if $\\Delta \u003e 0$, one double real root if $\\Delta = 0$, and two conjugate non-real roots if $\\Delta \u003c 0$.\nThe same formula holds in each field in which $2 \\neq 0$.\n\n## Explanations\n\n### L1 human\n\nThe formula solves every quadratic equation.\nFor $x^2 + 2 x + 5 = 0$, the discriminant is $4 - 20 = -16$, so $s = 4 i$, and the roots are $-1 + 2 i$ and $-1 - 2 i$.\nCompleting the square proves the formula: the equation becomes $(2 a x + b)^2 = b^2 - 4 a c$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "12D10"
    ],
    "name": "Quadratic formula",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q15909572",
      "wikipedia": "Quadratic formula"
    },
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Quadratic_formula"
      },
      {
        "locator": "Derivation by completing the square",
        "url": "https://en.wikipedia.org/wiki/Quadratic_formula"
      }
    ],
    "tag": "0KYZXYDGQZ",
    "uses": [
      "0FRSR10DWF",
      "0YM6P6C206"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0KYZXYDGQZ/",
  "links": [
    {
      "field": "uses",
      "target": "0FRSR10DWF"
    },
    {
      "field": "uses",
      "target": "0YM6P6C206"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0KYZXYDGQZ.md",
  "msc": [
    "12D10"
  ],
  "name": "Quadratic formula",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0KY/0KYZXYDGQZ.md",
  "status": null,
  "tag": "0KYZXYDGQZ",
  "uri": "m2://0KYZXYDGQZ",
  "url": "https://math2.tamnd.com/wiki/quadratic-formula/",
  "writing": {
    "tag": "0KYZXYDGQZ",
    "kind": "statement",
    "level": "W1",
    "next": [
      {
        "what": "edge about out",
        "note": "the concepts that the statement is about",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge proves in",
        "note": "at least one proof node",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge instance_of or illustrates in",
        "note": "one example that shows the statement at work",
        "have": 0,
        "want": 1
      },
      {
        "what": "explanation L2",
        "have": 0,
        "want": 1
      }
    ]
  }
}
