How to complete the square
Make the x² have no number in front (divide by a), move the plain number to the other side, then add half of the x-number, squared, to both sides. The left side becomes a perfect square, and a square root finishes the job. Here are your numbers:
Here it is with your numbers:
- Move the number term to the other side: x² + 4x = −1
- Half of 4 is 2; squared, that is 4. Add it to both sides.
- The left side is now a perfect square: (x + 2)² = 3
- Take the square root of both sides: x + 2 is ±√3.
- So x is −2 ± √3, which is −3.7321 and −0.2679.
- Vertex form: x² + 4x + 1 = (x + 2)² − 3
It means the parabola's lowest point is at (−2, −3).
Source OpenStax College Algebra 2e · 2.5 Quadratic Equations: completing the square (Example 8) ↗
Vertex form
A quadratic in vertex form, a(x − h)² + k, has its vertex at (h, k): the lowest point when a is positive (the parabola opens up), the highest when a is negative. h is −b ÷ 2a, and k is the value at x = h. For 2x² − 6x + 7, h is 3/2 and k is 5/2, so it is 2(x − 3/2)² + 5/2.
Source OpenStax College Algebra 2e · 5.1 Quadratic Functions: vertex form a(x − h)² + k (Examples 3, 4) ↗
FAQs
How do I complete the square in math?
With x² + bx + c: move c to the other side, then add (b ÷ 2)² to both sides. The left side is now a perfect square, (x + b/2)². For x² + 4x + 1 = 0: x² + 4x = −1, add 4 to get (x + 2)² = 3, so x = −2 ± √3. If the x² has a number in front, divide everything by it first.
Source OpenStax College Algebra 2e · 2.5 Quadratic Equations: completing the square (Example 8) ↗
How to complete the square of 2?
For x² + 2x, half of 2 is 1, and 1² is 1, so add 1: x² + 2x + 1 is (x + 1)². In general, x² + bx needs (b ÷ 2)² added.
Sources
- OpenStax College Algebra 2e: 2.5 Quadratic Equations: completing the square (Example 8)
- OpenStax College Algebra 2e: 5.1 Quadratic Functions: vertex form a(x − h)² + k (Examples 3, 4)