Quadratic Formula

Table of Contents

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

Where

  • xx is the solution to the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0,
  • aa is the coefficient of the x2x^2 term,
  • bb is the coefficient of the xx term, and
  • cc is the constant term

Sources

Example

Find the intersection points of the parabola y=x2y = x^2 and the line y=2x+3y = 2x + 3.

We know that these two will intersect when x2=2x+3x^2 = 2x + 3. We can solve this quadratic equation using the quadratic formula.

First, we rearrange to get it into the correct form: x2−2x−3=0x^2 - 2x - 3 = 0. Then, we plug in the coefficients into the quadratic formula, with a = 1, b = -2, and c = -3.

x=−b±b2−4ac2a⟹x=−(−2)±(−2)2−4(1)(−3)2(1)x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \Longrightarrow x = \frac{-(-2) \pm \sqrt{(-2)^2 - 4(1)(-3)}}{2(1)}

⟹x=2±4+122⟹x=2±42⟹x=3,−1\Longrightarrow x = \frac{2 \pm \sqrt{4 + 12}}{2} \Longrightarrow x = \frac{2 \pm 4}{2} \Longrightarrow x = 3, -1

Plugging these x values into either of the original equations gives us the y values of the intersection points.

The final answer is (3,9)(3, 9) and (−1,1)(-1, 1), which we can verify on a graph:

correct answer is confirmed