{
  "id": "quadratic-equation",
  "title": "Quadratic Equation",
  "lang": "en",
  "source_lang": "en",
  "summary": "A quadratic equation is a polynomial equation of degree two, whose roots are determined by its coefficients and the number system in which solutions are sought.",
  "category": "mathematics",
  "subcategory": "algebra",
  "type": "concept",
  "aliases": [
    "Second-degree equation",
    "Polynomial equation of degree two"
  ],
  "generated_at": "2026-11-02",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/quadratic-equation/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/quadratic-equation/",
      "json": "https://aiwiki.page/zh/quadratic-equation.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "A quadratic equation is an equation that, after collecting terms, can be written as\n\n\\[ax^2+bx+c=0,\\qquad a\\ne0.\\]\n\nHere \\(x\\) is the unknown, and \\(a\\), \\(b\\), and \\(c\\) are fixed coefficients. In its usual elementary setting, the coefficients are real numbers, although quadratic equations can also be studied over the complex numbers and other number systems. A quadratic equation has at most two distinct roots over a field, and exactly two complex roots when repeated roots are counted according to multiplicity.\n\nQuadratic equations occupy a central position in algebra because they are the simplest polynomial equations whose solutions require more than linear operations. Their study connects symbolic calculation with geometry, introduces irrational and complex solutions, and supplies methods used in physics, optimization, numerical computation, and number theory. Procedures equivalent to solving quadratics were known in ancient Mesopotamia; the modern formula emerged through a long development involving geometric reasoning, arithmetic algorithms, and symbolic notation."
    },
    {
      "heading": "Definition, standard forms, and equivalent equations",
      "text": "The defining feature of a quadratic equation in one unknown is the presence of a nonzero squared term and the absence of higher powers after simplification. The expression \\(ax^2+bx+c\\) is a polynomial of degree two. The coefficient \\(a\\) is its leading coefficient, \\(b\\) is its linear coefficient, and \\(c\\) is its constant term. The restriction \\(a\\ne0\\) is essential: if \\(a=0\\), the equation is linear when \\(b\\ne0\\), inconsistent when \\(b=0\\) and \\(c\\ne0\\), and satisfied by every possible value of \\(x\\) when all three coefficients vanish.\n\nAn equation need not initially appear in standard form to be quadratic. For example,\n\n\\[x(x+3)=10\\]\n\nbecomes \\(x^2+3x-10=0\\). Conversely, an equation containing squares may cease to be quadratic after cancellation:\n\n\\[(x+1)^2=x^2+5\\]\n\nreduces to \\(2x-4=0\\). Degree therefore refers to the simplified polynomial equation, not merely to the highest exponent visible in an unsimplified expression.\n\nDividing by \\(a\\) gives the monic form\n\n\\[x^2+px+q=0,\\qquad p=\\frac ba,\\quad q=\\frac ca.\\]\n\nMultiplication of an equation by a nonzero constant does not change its solution set. Thus \\(x^2-5x+6=0\\) and \\(3x^2-15x+18=0\\) describe the same roots, even though their coefficients differ. Translating the unknown can simplify the equation further: setting \\(x=u-b/(2a)\\), when division by \\(2\\) is permitted, removes the linear term and produces an equation involving only \\(u^2\\) and a constant.\n\nIf the roots are \\(r_1\\) and \\(r_2\\), the equation can be expressed in factored form:\n\n\\[a(x-r_1)(x-r_2)=0.\\]\n\nIf the coefficients are real, a particularly useful alternative is vertex form:\n\n\\[a(x-h)^2+k=0, \\qquad h=-\\frac b{2a},\\qquad k=c-\\frac{b^2}{4a}.\\]\n\nThese forms encode different information: standard form records the coefficients, factored form displays the roots, and vertex form locates the turning point of the associated graph.\n\nA solution, or root, is a value that makes the equation true upon substitution. The allowed number system matters. The equation \\(x^2-2=0\\) has no rational root but has two irrational real roots. The equation \\(x^2+1=0\\) has no real root but has the complex roots \\(i\\) and \\(-i\\). Solving an equation therefore includes specifying both its algebraic form and the domain in which solutions are sought."
    },
    {
      "heading": "Factoring, completing the square, and the quadratic formula",
      "text": "Several solution methods exploit different representations of the same polynomial. Factoring is especially efficient when simple factors are apparent. For example,\n\n\\[x^2-5x+6=(x-2)(x-3).\\]\n\nOver the real or complex numbers, a product is zero only if at least one factor is zero, so the roots are \\(2\\) and \\(3\\). This zero-product principle is also valid in any integral domain, but not in every algebraic system. Factoring by inspection is convenient rather than universal: many quadratics do not factor into linear expressions with integer or rational coefficients.\n\nWhen the linear term is absent, direct extraction of square roots is sufficient:\n\n\\[ax^2+c=0 \\quad\\Longrightarrow\\quad x^2=-\\frac ca.\\]\n\nBoth signs must be included when the right-hand side is a positive real number. Thus \\(x^2=9\\) yields \\(x=\\pm3\\), not only \\(x=3\\). The square-root symbol \\(\\sqrt9\\) denotes the nonnegative square root, whereas the equation asks for every value whose square equals \\(9\\).\n\nThe general method of completing the square transforms a quadratic into this simpler situation. Dividing the standard equation by \\(a\\) and moving the constant gives\n\n\\[x^2+\\frac ba x=-\\frac ca.\\]\n\nAdding the square of half the linear coefficient to both sides yields\n\n\\[\\left(x+\\frac b{2a}\\right)^2 =\\frac{b^2-4ac}{4a^2}.\\]\n\nEquivalently, without first normalizing the coefficient of \\(x^2\\),\n\n\\[(2ax+b)^2=b^2-4ac.\\]\n\nTaking both square-root branches and solving for \\(x\\) produces the quadratic formula:\n\n\\[\\boxed{x=\\frac{-b\\pm\\sqrt{b^2-4ac}}{2a}}.\\]\n\nFor real coefficients with a negative quantity under the square root, the same expression is interpreted using complex numbers.\n\nFor example, completing the square in\n\n\\[2x^2+4x-3=0\\]\n\ngives\n\n\\[(x+1)^2=\\frac52,\\]\n\nand hence\n\n\\[x=-1\\pm\\sqrt{\\frac52} =\\frac{-2\\pm\\sqrt{10}}2.\\]\n\nThe formula gives the same result directly. Completing the square exposes the transformation underlying the formula, while the formula packages those operations into a reusable expression.\n\nCare is required when an equation is transformed before applying these methods. Adding the same expression to both sides and multiplying by a known nonzero constant preserve equivalence. Dividing by an expression involving \\(x\\) can discard solutions where that expression vanishes. Squaring both sides can introduce additional solutions. For instance, a quadratic obtained from a radical equation may have roots that fail the original equation. Substitution into the original statement, rather than only its transformed polynomial, distinguishes genuine solutions from artifacts of the calculation."
    },
    {
      "heading": "The discriminant and the nature of the roots",
      "text": "The quantity\n\n\\[\\Delta=b^2-4ac\\]\n\nis the discriminant of a quadratic polynomial. For real coefficients, its sign completely determines the number of distinct real roots. If \\(\\Delta>0\\), the equation has two distinct real roots. If \\(\\Delta=0\\), it has one repeated real root, \\(-b/(2a)\\). If \\(\\Delta<0\\), it has no real roots and two nonreal complex roots. This classification follows immediately from completing the square, since the square of a real number cannot be negative.\n\nA repeated root has multiplicity two: the polynomial is then\n\n\\[a(x-r)^2.\\]\n\nIt is one distinct solution, but it is counted twice when roots are counted with multiplicity. This distinction makes the statement “a quadratic has two roots” precise. Over the complex numbers, every quadratic has two roots counted with multiplicity, a special case of the fundamental theorem of algebra. Over the real numbers, the count of distinct solutions can instead be zero, one, or two.\n\nFor integer coefficients, the discriminant also determines whether the roots are rational. They are rational exactly when \\(\\Delta\\) is a nonnegative perfect square. Indeed, if an integer has a rational square root, that square root must be an integer. Thus\n\n\\[2x^2-7x+3=0\\]\n\nhas \\(\\Delta=25\\) and roots \\(3\\) and \\(1/2\\), whereas \\(x^2-x-1=0\\) has \\(\\Delta=5\\) and irrational roots \\((1\\pm\\sqrt5)/2\\). Rational roots need not be integers when the polynomial is not monic.\n\nFor \\(\\Delta<0\\), the roots can be written\n\n\\[x=-\\frac b{2a}\\pm i\\frac{\\sqrt{-\\Delta}}{2a}.\\]\n\nThey form a complex-conjugate pair: they have equal real parts and opposite imaginary parts. More generally, a polynomial with real coefficients takes conjugate values at conjugate inputs, so a nonreal root must occur together with its conjugate. For example, \\(x^2-2x+5=0\\) has roots \\(1+2i\\) and \\(1-2i\\).\n\nThe discriminant also describes how roots merge as coefficients change. In the family\n\n\\[x^2-2x+t=0,\\]\n\nthe roots are \\(1\\pm\\sqrt{1-t}\\). They are distinct and real for \\(t<1\\), coincide at \\(t=1\\), and become nonreal for \\(t>1\\). Their separation for real distinct roots is\n\n\\[|r_1-r_2|=\\frac{\\sqrt{\\Delta}}{|a|}.\\]\n\nMultiplying all coefficients by a nonzero real number multiplies \\(\\Delta\\) by its square. Its numerical value changes, but its sign and the resulting classification of the roots remain unchanged."
    },
    {
      "heading": "Graphs, parabolas, and quadratic inequalities",
      "text": "A real quadratic equation is closely associated with the function\n\n\\[f(x)=ax^2+bx+c.\\]\n\nIts graph is a parabola, one of the classical conic sections. Solving \\(f(x)=0\\) finds the horizontal coordinates of its intersections with the horizontal axis. Two intersections correspond to a positive discriminant, tangency to a zero discriminant, and no intersection to a negative discriminant. This picture gives a geometric interpretation of the algebraic classification without replacing the need for exact calculation.\n\nWriting\n\n\\[f(x)=a(x-h)^2+k\\]\n\nidentifies the vertex as \\((h,k)\\), where\n\n\\[h=-\\frac b{2a}, \\qquad k=-\\frac{\\Delta}{4a}.\\]\n\nThe vertical line \\(x=h\\) is the axis of symmetry. If \\(a>0\\), the parabola opens upward and \\(k\\) is its minimum value; if \\(a<0\\), it opens downward and \\(k\\) is its maximum. The parameter \\(|a|\\) controls the vertical scaling relative to \\(y=x^2\\), while \\(h\\) and \\(k\\) describe horizontal and vertical translations.\n\nIn calculus, the same vertex follows from the derivative:\n\n\\[f'(x)=2ax+b.\\]\n\nThe derivative vanishes only at \\(x=-b/(2a)\\), and the second derivative is the constant \\(2a\\). Thus the graphical turning point, the algebraic completion of the square, and the calculus condition for a stationary point all identify the same location. When two real roots exist, their midpoint is the horizontal coordinate of the vertex.\n\nThe graph also organizes solutions of quadratic inequalities. Suppose \\(a>0\\) and the two roots satisfy \\(r_1<r_2\\). Then\n\n\\[a(x-r_1)(x-r_2)<0\\]\n\nexactly when \\(r_1<x<r_2\\); the expression is positive outside that interval. If \\(a<0\\), these signs reverse. When the discriminant is negative, the polynomial never vanishes and always has the sign of \\(a\\). When the discriminant is zero, its sign is again that of \\(a\\), except at the repeated root where it is zero. Non-strict inequalities include the relevant endpoints.\n\nQuadratic equations also arise from intersections of curves in analytic geometry. Substituting a line \\(y=mx+n\\) into a circle\n\n\\[x^2+y^2=R^2\\]\n\nproduces\n\n\\[(1+m^2)x^2+2mnx+n^2-R^2=0.\\]\n\nThe discriminant determines whether the line crosses the circle twice, is tangent, or misses it. This example illustrates why quadratics occur in geometric problems even when neither original relation is presented as a one-variable polynomial equation."
    },
    {
      "heading": "Relations between roots and coefficients",
      "text": "The roots of a quadratic are linked to its coefficients by Vieta’s formulas. Expanding\n\n\\[a(x-r_1)(x-r_2) =a\\bigl(x^2-(r_1+r_2)x+r_1r_2\\bigr)\\]\n\nand comparing coefficients gives\n\n\\[r_1+r_2=-\\frac ba, \\qquad r_1r_2=\\frac ca.\\]\n\nThese identities hold for real or complex roots, including repeated roots. They allow information about the roots to be obtained without explicitly evaluating a square root and provide useful checks on a calculated solution.\n\nThe signs of real roots can often be classified immediately. If \\(c/a<0\\), their product is negative, so one root is positive and the other negative; in this case real coefficients necessarily give a positive discriminant. If the roots are real and \\(c/a>0\\), they have the same sign, determined by their sum \\(-b/a\\). If \\(c=0\\), one root is zero and the other is \\(-b/a\\). Such arguments are especially useful in applications where only positive values are meaningful.\n\nThe formulas can also be used in reverse. Given two desired roots \\(u\\) and \\(v\\), a monic quadratic having them as roots is\n\n\\[x^2-(u+v)x+uv=0.\\]\n\nFor example, roots \\(2+\\sqrt3\\) and \\(2-\\sqrt3\\) have sum \\(4\\) and product \\(1\\), so they satisfy \\(x^2-4x+1=0\\). The irrational parts cancel from the coefficients. Similarly, a conjugate pair \\(\\alpha\\pm i\\beta\\), with real \\(\\alpha\\) and \\(\\beta\\), produces\n\n\\[x^2-2\\alpha x+\\alpha^2+\\beta^2=0.\\]\n\nMany symmetric expressions in the roots can be calculated from their sum and product. If \\(s=r_1+r_2\\) and \\(p=r_1r_2\\), then\n\n\\[r_1^2+r_2^2=s^2-2p, \\qquad (r_1-r_2)^2=s^2-4p.\\]\n\nWhen \\(p\\ne0\\), the sum of the reciprocals is \\(s/p\\). More generally, the power sums \\(S_n=r_1^n+r_2^n\\) satisfy the recurrence relation\n\n\\[S_n=sS_{n-1}-pS_{n-2}, \\qquad S_0=2,\\quad S_1=s.\\]\n\nThis follows because each root satisfies \\(r^2=sr-p\\).\n\nFor integer coefficients, rational roots face an additional arithmetic restriction. If \\(u/v\\) is a root written in lowest terms, then \\(u\\) divides \\(c\\) and \\(v\\) divides \\(a\\). This is the quadratic case of the rational root theorem. In particular, every rational root of a monic polynomial with integer coefficients is an integer. These divisibility conditions explain why systematic trials of factors can work well for some quadratics but cannot produce rational solutions when the discriminant is not a perfect square."
    },
    {
      "heading": "Historical development",
      "text": "Procedures equivalent to solving quadratic equations appear in Old Babylonian mathematical texts from the early second millennium BCE. These problems were expressed in words and numerical instructions rather than modern algebraic symbols. A typical task involved finding the dimensions of a rectangle from its area and a relation between its sides. The tablet commonly designated BM 13901 contains problems that, in modern notation, involve a square and its side. Its procedures include operations recognizable as halving a coefficient, squaring the result, adding a quantity, and extracting a square root.\n\nThese ancient procedures should not be treated as direct copies of the modern formula. The unknowns commonly represented lengths or areas, and positive numerical answers had a privileged role. Nevertheless, the underlying arithmetic is closely related to completing the square. Mesopotamian computation used a sexagesimal place-value system, making tables of squares, reciprocals, and related quantities important aids to calculation.\n\nIn ancient Greek mathematics, relationships now written algebraically were frequently expressed through geometric constructions. Book II of Euclid’s Elements, compiled around 300 BCE, contains propositions relating squares and rectangles that can be translated into identities used in completing the square. The historical distinction matters: a geometric proposition about areas is not itself a symbolic quadratic equation, even when it provides a mathematically equivalent relationship. Greek geometric methods also linked such problems to the construction of lengths.\n\nIndian mathematicians developed arithmetic rules for quadratic problems within a broader treatment of positive and negative quantities. Brahmagupta, in the Brāhmasphuṭasiddhānta of 628 CE, gave a rule equivalent to a quadratic solution formula for an equation expressed in the conventions of his text. Bhāskara II’s Bījagaṇita, written in the twelfth century, further developed algebraic methods and discussed quadratic problems. Historical treatments varied in their handling and interpretation of negative solutions; the modern practice of retaining all roots in a specified number system emerged gradually.\n\nAround 820 CE, al-Khwarizmi presented a systematic treatment of linear and quadratic equations in his book on al-jabr and al-muqābala. Because coefficients and quantities were treated as positive, he separated quadratics into several forms rather than writing one equation with signed coefficients. His demonstrations included geometric justifications for completing the square.\n\nThe development of symbolic algebra in Renaissance and early modern Europe made a unified treatment increasingly practical. François Viète’s work in the late sixteenth century advanced the use of letters for known and unknown quantities, while René Descartes’s La Géométrie of 1637 helped establish influential notational conventions. The familiar compact formula was thus the outcome of a long synthesis, not a single isolated invention."
    },
    {
      "heading": "Numerical computation and stability",
      "text": "Although the quadratic formula is exact symbolically, its direct evaluation can be unreliable in floating-point arithmetic. The principal difficulty is subtractive cancellation: subtracting nearly equal approximate numbers can destroy much of the relative accuracy of the result. This occurs in one branch of\n\n\\[\\frac{-b\\pm\\sqrt{b^2-4ac}}{2a}\\]\n\nwhen the square root is close to \\(|b|\\). The other branch may remain accurate, so the two roots can have very different computational errors despite being obtained from the same formula.\n\nFor example,\n\n\\[x^2-10^8x+1=0\\]\n\nhas one root close to \\(10^8\\) and another close to \\(10^{-8}\\). The smaller root is expressed directly as\n\n\\[\\frac{10^8-\\sqrt{10^{16}-4}}2.\\]\n\nThe two quantities in the numerator are extremely close. Rounding errors in the square root are therefore large relative to their difference, and a naive calculation can return a poor approximation to the small root even when the large root is accurately computed.\n\nFor real coefficients with \\(\\Delta\\ge0\\), a common more stable method computes\n\n\\[q=-\\frac12\\left(b+\\operatorname{sgn}(b)\\sqrt{\\Delta}\\right),\\]\n\ntaking \\(\\operatorname{sgn}(0)=1\\) for this algorithm. The roots are then obtained as\n\n\\[x_1=\\frac qa,\\qquad x_2=\\frac cq.\\]\n\nThe sign is chosen so that the addition defining \\(q\\) does not subtract nearly equal magnitudes. The second root follows from their known product \\(c/a\\). The case \\(q=0\\) must be handled separately; it occurs here when \\(b=c=0\\), giving the double root zero.\n\nRobust implementations must also consider overflow and underflow. Forming \\(b^2\\) or \\(4ac\\) can exceed the representable range even when the roots themselves are representable. Scaling all coefficients by a common nonzero factor preserves the roots and can reduce these risks. Computing a discriminant near zero requires particular care because rounding can affect its apparent sign. Higher precision or error-aware evaluation may be needed when distinguishing a repeated root from two very close roots is important.\n\nThese algorithmic issues are distinct from the inherent conditioning of the problem. At a simple root \\(r\\), small coefficient changes give, to first order,\n\n\\[\\delta r\\approx -\\frac{r^2\\delta a+r\\delta b+\\delta c}{2ar+b}.\\]\n\nThe denominator approaches zero as roots merge. A repeated root can split by an amount proportional to the square root of a small perturbation. Numerical stability can limit avoidable computational error, but no algorithm can make an intrinsically sensitive root insensitive to uncertain coefficients."
    },
    {
      "heading": "Applications in physics, optimization, and linear systems",
      "text": "Quadratic equations arise whenever a quantity depends on the square of another quantity or when two linear dependences are multiplied. In classical mechanics, motion along a vertical axis under a constant gravitational acceleration is modeled by\n\n\\[y(t)=y_0+v_0t-\\frac12gt^2,\\]\n\nwhere \\(g>0\\) and upward displacement is positive. Finding when the object reaches a specified height \\(H\\) requires solving a quadratic in time. Two real roots can represent passage through the same height on ascent and descent, but negative times may lie outside the interval described by the physical experiment.\n\nFor a projectile launched upward from height \\(y_0\\ge0\\), the time at which it reaches ground level is, under this model,\n\n\\[t=\\frac{v_0+\\sqrt{v_0^2+2gy_0}}g.\\]\n\nThe other algebraic root is usually negative, except in boundary cases. The quadratic equation alone does not encode the intended starting time or all physical restrictions. Air resistance, a varying gravitational field, or collisions can invalidate the constant-acceleration model and require different equations.\n\nIn mathematical optimization, a one-variable quadratic objective\n\n\\[F(x)=ax^2+bx+c\\]\n\nhas an unconstrained minimum at \\(-b/(2a)\\) when \\(a>0\\). If \\(a<0\\), that point is a maximum. For a rectangle of fixed perimeter \\(P\\), writing its sides as \\(x\\) and \\(P/2-x\\) gives the area\n\n\\[A(x)=x\\left(\\frac P2-x\\right).\\]\n\nCompleting the square shows that the maximum occurs at \\(x=P/4\\), so the rectangle is a square. If a particular target area is specified instead, finding the permitted side lengths becomes a quadratic equation.\n\nA similar structure occurs in an elementary revenue model. If price depends linearly on quantity, \\(p(q)=\\alpha-\\beta q\\) with \\(\\beta>0\\), then revenue is\n\n\\[R(q)=\\alpha q-\\beta q^2.\\]\n\nA target revenue produces a quadratic equation, while the vertex determines the maximum within the model. Restrictions such as \\(q\\ge0\\), nonnegative price, and the range over which linear demand is assumed remain separate from the algebra.\n\nQuadratics also govern important linear systems. For a two-by-two matrix \\(A\\), the characteristic polynomial is\n\n\\[\\det(\\lambda I-A) =\\lambda^2-\\operatorname{tr}(A)\\lambda+\\det(A).\\]\n\nIts roots are the eigenvalues of \\(A\\). A real matrix may therefore have either real eigenvalues or a complex-conjugate pair, according to the discriminant.\n\nLikewise, the constant-coefficient differential equation\n\n\\[my''+dy'+ky=0\\]\n\nleads, through a trial solution \\(y=e^{rt}\\), to \\(mr^2+dr+k=0\\). For a mass–spring system with \\(m,k>0\\) and \\(d\\ge0\\), the sign of \\(d^2-4mk\\) distinguishes overdamped, critically damped, and underdamped behavior. The algebraic distinction between separated, repeated, and nonreal roots thus corresponds to different forms of motion."
    },
    {
      "heading": "Quadratic equations over other fields and rings",
      "text": "The usual formula depends on the algebraic setting. Over a field of characteristic different from \\(2\\), division by \\(2a\\) is valid, and completing the square reduces the equation to\n\n\\[(2ax+b)^2=\\Delta.\\]\n\nThe equation has roots in that field exactly when \\(\\Delta\\) is a square there. A nonzero square discriminant gives two distinct roots, zero gives a repeated root, and a nonsquare gives no roots within the field. Positivity is not needed for this formulation; it is a feature specific to ordered fields such as the real numbers.\n\nOver the rationals, a nonsquare discriminant leads naturally to a field extension containing \\(\\sqrt{\\Delta}\\). For example, adjoining \\(\\sqrt2\\) gives the field\n\n\\[\\mathbb Q(\\sqrt2)=\\{u+v\\sqrt2:u,v\\in\\mathbb Q\\},\\]\n\nin which \\(x^2-2\\) factors. This illustrates a basic idea of Galois theory: a polynomial may fail to split into linear factors over its original field but split after suitable elements are adjoined. For a quadratic with rational coefficients and no rational root, adjoining either root also supplies the other through their rational sum.\n\nOver a finite field with an odd number of elements, the same discriminant criterion applies. In particular, modulo an odd prime \\(p\\), solving a quadratic can be reduced to asking whether its discriminant is a quadratic residue, meaning a square modulo \\(p\\). For example,\n\n\\[x^2+1=0\\]\n\nhas solutions \\(x=2\\) and \\(x=3\\) modulo \\(5\\), because both squares are congruent to \\(4=-1\\). It has no solution modulo \\(3\\), where the only square residues are \\(0\\) and \\(1\\).\n\nCharacteristic \\(2\\) requires a different treatment because \\(2=0\\), so the denominator in the familiar formula vanishes. If \\(b\\ne0\\), the substitution \\(x=(b/a)y\\) transforms\n\n\\[ax^2+bx+c=0\\]\n\ninto\n\n\\[y^2+y=\\frac{ac}{b^2}.\\]\n\nIn the finite field with \\(2^m\\) elements, this equation is solvable exactly when the absolute trace of its right-hand side to the two-element field is zero; when solvable, it has two distinct roots differing by \\(1\\). If \\(b=0\\), the squaring map in a finite field of characteristic \\(2\\) is bijective, giving a unique root, repeated in the polynomial factorization.\n\nOver a general ring, even the bound of two distinct roots can fail because the zero-product principle need not hold. In arithmetic modulo \\(8\\), the quadratic \\(x^2-1=0\\) has four distinct solutions: \\(1,3,5,\\) and \\(7\\). Their squares are all congruent to \\(1\\). Thus the familiar root count is a theorem about fields and integral domains, not an unrestricted property of every expression of degree two."
    }
  ],
  "links": [
    "equation",
    "real-number",
    "complex-number",
    "algebra",
    "geometry",
    "polynomial",
    "rational-number",
    "irrational-number",
    "integral-domain",
    "completing-the-square",
    "discriminant",
    "fundamental-theorem-of-algebra",
    "mathematical-function",
    "graph-of-a-function",
    "parabola",
    "conic-section",
    "calculus",
    "derivative",
    "analytic-geometry",
    "vietas-formulas",
    "recurrence-relation",
    "euclids-elements",
    "brahmagupta",
    "al-khwarizmi",
    "floating-point-arithmetic",
    "condition-number",
    "numerical-stability",
    "classical-mechanics",
    "mathematical-optimization",
    "matrix",
    "characteristic-polynomial",
    "eigenvalues-and-eigenvectors",
    "differential-equation",
    "field-mathematics",
    "field-extension",
    "galois-theory",
    "finite-field",
    "ring-mathematics",
    "modular-arithmetic"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}