
Jeremy R. answered 09/24/19
Friendly, Experienced and Ivy League-trained science and math tutor
The quadratic equation comes from a method called completing the square and then solving for x:
- Step 1: Start with the generic quadratic equation:
ax2 + bx + c = 0
- Step 2: Divide everything by "a" so the coefficient in front of x2 is 1:
x2 + (b/a)x + (c/a) = 0
- Step 3: Subtract (c/a) from both sides so all "x" values are on one side:
x2 + (b/a)x = -(c/a)
- Step 4: Now, we complete the square of the left half of the equation by adding (b/2a)2 to it, and then add the same to the right side of the equation. This makes the left half of the equation a perfect square:
x2 + (b/a)x + (b/2a)2 = -(c/a) + (b/2a)2
We can now re-write this as
(x + (b/2a))2 = -(c/a) + (b2/4a2)
because we made it a perfect square
We can also merge the right hand of the equation together by multiplying (-c/a) by (4a/4a), which is the same as multiplying it by 1:
(x + (b/2a))2 = (-4ac + b2)/4a2 or (x + (b/2a))2 = (b2 - 4ac)/4a2
- Step 5: Take the square root of both sides:
x + (b/2a) = +/- sqrt((b2 - 4ac)/4a2)
= +/- sqrt(b2 - 4ac) / 2a
- Step 6: Now solve for x by subtracting (b/2a) from both sides and then simplify:
x = (-b/2a) +/- sqrt(b2 - 4ac)/2a
x = (-b +/- sqrt(b2 - 4ac))/2a <-- We've derived the quadratic equation

David W.
Please distinguish QUADRATIC FORMULA from a "quadratic equation."09/24/19