Skip to content
TheChatArchiveThe Chat Archive
gpt-4.1-2025-04-14· OpenAIHugging Face LMArena Human Preference 140K

how was the quadratic equation derived

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with chatgpt-4o-latest-20250326’s answer.
  1. User

    how was the quadratic equation derived

  2. Assistant

    The quadratic equation is a formula that gives the solutions to any quadratic equation of the form:

    [ ax^2 + bx + c = 0 ]

    where ( a \neq 0 ).

    The quadratic formula is:

    [ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} ]

    How was it derived? (Step-by-step: Completing the Square)

    The formula is derived by completing the square on the general quadratic equation. Here’s how:


    1. Start with the general quadratic equation:

    [ ax^2 + bx + c = 0 ]

    2. Divide both sides by ( a ) (assuming ( a \neq 0 )):

    [ x^2 + \frac{b}{a}x + \frac{c}{a} = 0 ]

    3. Move the constant term to the other side:

    [ x^2 + \frac{b}{a}x = -\frac{c}{a} ]

    4. Complete the square:

    Take half of the coefficient of ( x ), square it, and add to both sides.

    Half of ( \frac{b}{a} ) is ( \frac{b}{2a} ).

    Square it: ( \left(\frac{b}{2a}\right)^2 = \frac{b^2}{4a^2} ).

    Add to both sides:

    [ x^2 + \frac{b}{a}x + \frac{b^2}{4a^2} = -\frac{c}{a} + \frac{b^2}{4a^2} ]

    5. Left side is now a perfect square:

    [ \left(x + \frac{b}{2a}\right)^2 = -\frac{c}{a} + \frac{b^2}{4a^2} ]

    Combine right side over common denominator:

    [ -\frac{c}{a} = -\frac{4ac}{4a^2} ]

    So,

    [ \left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2} ]

    6. Take the square root of both sides:

    [ x + \frac{b}{2a} = \pm \frac{\sqrt{b^2 - 4ac}}{2a} ]

    7. Solve for ( x ):

    [ x = -\frac{b}{2a} \pm \frac{\sqrt{b^2 - 4ac}}{2a} ]

    [ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} ]


    Summary

    The quadratic formula was derived by completing the square on the general quadratic equation. This method was known to ancient mathematicians in India, the Middle East, and later in Europe. The formula gives the roots (solutions) of any quadratic equation.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.