Quadratic Formula and Completing the Square
Quadratic Formula and Completing the Square
A quadratic equation is an equation that can be written in the standard form ax2+bx+c=0, where a, b, and c are constants and a=0. While some quadratic equations can be solved by factoring, not all of them can. For those that cannot be easily factored, we use two powerful methods: completing the square and the quadratic formula.
Completing the Square
Completing the square is a method used to rewrite a quadratic equation so that it contains a perfect square trinomial. This allows you to solve for x by taking the square root of both sides.
Steps to complete the square for x2+bx+c=0:
- Move the constant term c to the right side of the equation.
- Take half of the x coefficient (b), square it: (2b)2.
- Add this value to both sides of the equation.
- Rewrite the left side as a squared binomial: (x+2b)2.
- Take the square root of both sides (remembering the ± symbol) and solve for x.
Example: Solve x2+6x+2=0
- Move the constant to the right side: x2+6x=−2
- Take half of 6 (which is 3) and square it to get 9. Add 9 to both sides: x2+6x+9=−2+9
- Factor the left side into a perfect square: (x+3)2=7
- Take the square root of both sides: x+3=±7
- Solve for x: x=−3±7
The Quadratic Formula
The quadratic formula is derived from completing the square and provides a direct way to find the solutions to any quadratic equation ax2+bx+c=0.
x=2a−b±b2−4ac
Example: Solve 3x2−2x−5=0
Here, a=3, b=−2, and c=−5. Plug these values into the formula:
x=2(3)−(−2)±(−2)2−4(3)(−5) x=62±4+60 x=62±64 x=62±8
Now, calculate the two possible values for x:
- x=62+8=610=35
- x=62−8=6−6=−1
The solutions are x=35 and x=−1.
The Discriminant
The expression inside the square root of the quadratic formula, b2−4ac, is called the discriminant. It tells you exactly how many real solutions the quadratic equation has, without having to solve the entire equation.
- If b2−4ac>0: The equation has two distinct real solutions.
- If b2−4ac=0: The equation has exactly one real solution (a repeated root).
- If b2−4ac<0: The equation has no real solutions (the solutions are complex numbers).