What’s a Quadratic?
A polynomial of degree 2:
ax2+bx+c
We want to find where it equals zero.
Method 1: Factoring
Find two numbers that multiply to c and add to b.
Example: Solve x2+5x+6=0
Numbers that multiply to 6 and add to 5: 2 and 3
x2+5x+6(x+2)(x+3)=0=0 So x=−2 or x=−3.
Factoring is fast, but only works when the quadratic factors nicely.
What about x2+6x+5=0? Or x2−4x−1=0?
We need a method that always works.
Method 2: Completing the Square
Turn the left side into a perfect square, then solve.
The Key Insight
Recall the perfect square pattern:
(x+k)2=x2+2kx+k2
If you have x2+bx, you can complete it by adding (2b)2.
x2+bx+(2b)2=(x+2b)2
The Process
- Move the constant to the right side
- Add (2b)2 to both sides
- Factor the left side as a perfect square
- Take the square root of both sides
- Solve for x
Example: Solve x2+6x+5=0
Step 1: Move the constant.
x2+6x=−5
Step 2: Half of 6 is 3. Square it: 9. Add to both sides.
x2+6x+9=−5+9
x2+6x+9=4
Step 3: Left side is a perfect square.
(x+3)2=4
Step 4: Take square root.
x+3=±2
Step 5: Solve.
x=−3+2=−1orx=−3−2=−5
Example: Solve x2−4x−1=0
Step 1: Move the constant.
x2−4x=1
Step 2: Half of −4 is −2. Square it: 4. Add to both sides.
x2−4x+4=1+4
(x−2)2=5
Step 3: Take square root.
x−2=±5
Step 4: Solve.
x=2+5orx=2−5
When a=1
If the coefficient of x2 isn’t 1, divide everything by it first.
Example: Solve 2x2+8x+6=0
Divide by 2:
x2+4x+3=0
Now complete the square:
x2+4xx2+4x+4(x+2)2x+2=−3=−3+4=1=±1 So x=−1 or x=−3.
Factoring vs Completing the Square
| Method | When to use |
|---|
| Factoring | Quick, but only when numbers work out nicely |
| Completing the square | Always works, even with irrational solutions |