WordGPT

Where the quadratic formula comes from

Exercise · Level 2 (Easy)

Derive the solutions of ax² + bx + c = 0 by completing the square.

ax2+bx+c=0ax^2+bx+c=0

wordgptpro.com

Solution

  1. Divide by a≠0a\ne0 and move the constant: x2+bax=−cax^2+\tfrac bax=-\tfrac ca. Add (b2a)2\left(\tfrac b{2a}\right)^2 to both sides to complete the square:

    (x+b2a)2=b24a2−ca=b2−4ac4a2\begin{aligned}&\left(x+\frac b{2a}\right)^2\\&=\frac{b^2}{4a^2}-\frac ca\\&=\frac{b^2-4ac}{4a^2}\end{aligned}
    (1)
  2. Take square roots and solve for xx:

    x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
    (2)
  3. Example: x2−5x+6=0x^2-5x+6=0 gives x=5±25−242=3 or 2x=\tfrac{5\pm\sqrt{25-24}}{2}=3\text{ or }2.

Answerx=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

wordgptpro.com

Need a hint?

Divide by a, then add the missing square (b/2a)² to both sides.

Completing the square on ax² + bx + c = 0 gives x = (−b ± √(b² − 4ac)) / (2a).

How to work it out

  1. Divide by a≠0a\ne0 and move the constant: x2+bax=−cax^2+\tfrac bax=-\tfrac ca. Add (b2a)2\left(\tfrac b{2a}\right)^2 to both sides to complete the square:

    (x+b2a)2=b24a2−ca=b2−4ac4a2\begin{aligned}&\left(x+\frac b{2a}\right)^2\\&=\frac{b^2}{4a^2}-\frac ca\\&=\frac{b^2-4ac}{4a^2}\end{aligned}
    (1)
  2. Take square roots and solve for xx:

    x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
    (2)
  3. Example: x2−5x+6=0x^2-5x+6=0 gives x=5±25−242=3 or 2x=\tfrac{5\pm\sqrt{25-24}}{2}=3\text{ or }2.

LaTeX source of the formulas on this page
\[ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \]
\[ \left(x+\frac b{2a}\right)^2=\frac{b^2}{4a^2}-\frac ca=\frac{b^2-4ac}{4a^2} \]

Questions

What is the answer to: Where the quadratic formula comes from?

Completing the square on ax² + bx + c = 0 gives x = (−b ± √(b² − 4ac)) / (2a).

What is the key idea?

Completing the square turns the equation into one with a square on the left that can be rooted.

Is there a hint?

Divide by a, then add the missing square (b/2a)² to both sides.

Related problems

More algebra problems

    Where the quadratic formula comes from: answer and solution | WordGPT