Completing the Square
Completing the square converts ax²+bx+c to vertex form a(x-h)²+k. The vertex (h,k) is at h=-b/(2a), k=c-b²/(4a). Reveals axis of symmetry and min/max directly.
Did our AI summary help? Let us know.
Vertex (h,k) gives the turning point of the parabola. Quadratic formula derives from completing the square. a > 0: minimum; a < 0: maximum.
Ready to run the numbers?
Why: Vertex form reveals the parabola's vertex, axis of symmetry, and whether it opens up or down. Essential for graphing and optimization.
How: Add and subtract (b/2)² to create a perfect square trinomial. Factor and simplify to vertex form.
Run the calculator when you are ready.
📐 Examples — Click to Load
Coefficients: ax² + bx + c
Coefficients vs Vertex Values
Discriminant Composition
📐 Calculation Steps
For educational and informational purposes only. Verify with a qualified professional.
🧮 Fascinating Math Facts
Vertex (h,k) at h = -b/(2a)
Axis of symmetry: x = h
📋 Key Takeaways
- • Vertex form a(x-h)²+k reveals the vertex (h,k) and axis of symmetry x = h directly
- • Completing the square transforms ax²+bx+c by adding (b/2a)² to create a perfect square trinomial
- • The quadratic formula is derived by completing the square on the general quadratic
- • When a > 0 the parabola opens up (minimum at vertex); when a < 0 it opens down (maximum)
- • The discriminant b²-4ac determines: Δ>0 two roots, Δ=0 one root, Δ<0 no real roots
💡 Did You Know?
📖 How Completing the Square Works
To convert ax²+bx+c to vertex form: (1) Factor out a if a≠1. (2) Take half of the x-coefficient, square it. (3) Add and subtract that value inside the parentheses. (4) The first three terms become a perfect square (x + b/2a)². (5) Simplify the constant.
Example: x²+6x+5
x²+6x+5 = x²+6x+9 - 9+5 = (x+3)² - 4. Vertex: (-3, -4). Axis: x = -3.
Connection to Quadratic Formula
Solving ax²+bx+c=0 by completing the square yields x = (-b ± √(b²-4ac))/(2a) — the quadratic formula.
📝 Worked Example: 2x²-8x+3
Step 1: Factor out a=2: 2(x² - 4x) + 3
Step 2: Take half of -4: (-4/2) = -2. Square it: (-2)² = 4.
Step 3: Add and subtract 4 inside: 2(x² - 4x + 4 - 4) + 3 = 2((x-2)² - 4) + 3
Step 4: Distribute: 2(x-2)² - 8 + 3 = 2(x-2)² - 5
Step 5: Vertex form: 2(x-2)² - 5. Vertex: (2, -5). Axis: x = 2.
🚀 Real-World Applications
Projectile Motion
Height h = -16t² + vt + h₀. Vertex gives max height and time to reach it. Critical for physics and sports.
Profit Optimization
Profit = -ax² + bx + c. Vertex = optimal price or quantity. Used in business and economics.
Engineering & Design
Parabolic arches, antenna reflectors, and suspension bridges use vertex form for structural analysis.
⚠️ Common Mistakes to Avoid
- Forgetting to add AND subtract (b/2a)² — you must add it to complete the square and subtract to keep the equation balanced.
- When a≠1, only add (b/2a)² inside the parentheses — the value to add is (b/(2a))², not (b/2)².
- Sign errors: h = -b/(2a), so when b is negative, h is positive. Double-check vertex coordinates.
- Confusing vertex form a(x-h)²+k: the vertex is (h,k), so (x-3)² means h=3, not h=-3.
🎯 Expert Tips
💡 Vertex from Formula
h = -b/(2a), k = f(h). No need to complete the square if you only need the vertex.
💡 When a≠1
Factor out a first. Complete the square on x²+(b/a)x, then multiply back by a.
💡 Geometric View
(b/2)² is the area of a square that "completes" the rectangle to a perfect square.
💡 Check Discriminant First
If Δ<0, no real x-intercepts. If Δ=0, vertex lies on the x-axis.
📊 Reference: Vertex Form
| Form | Formula |
|---|---|
| Standard | ax² + bx + c |
| Vertex | a(x - h)² + k |
| Vertex (h,k) | h = -b/(2a), k = c - b²/(4a) |
| Axis of Symmetry | x = h |
⚖️ When to Use Completing the Square vs Quadratic Formula
| Use Completing the Square | Use Quadratic Formula |
|---|---|
| Need vertex form for graphing | Only need roots/solutions |
| Deriving formulas or proofs | Quick numerical solution |
| Understanding the process | a, b, c are messy decimals |
| Converting to vertex for optimization | Standard form already given |
❓ FAQ
What is completing the square?
An algebraic technique to convert ax²+bx+c into vertex form a(x-h)²+k by adding (b/2a)² to create a perfect square trinomial.
Why use vertex form?
Vertex form reveals the vertex (h,k) and axis of symmetry x=h directly, making graphing and optimization easier.
How does completing the square relate to the quadratic formula?
The quadratic formula is derived by completing the square on the general equation ax²+bx+c=0.
When does a parabola have no real roots?
When the discriminant b²-4ac < 0, the parabola does not cross the x-axis.
How do I complete the square when a≠1?
Factor out a first: a(x² + (b/a)x) + c. Complete the square on the expression in parentheses, then simplify.
What is the axis of symmetry?
The vertical line x = -b/(2a) that passes through the vertex. The parabola is symmetric about this line.
🔢 Discriminant Quick Guide
Δ = b² - 4ac determines the number of real roots: Δ > 0 → two distinct roots; Δ = 0 → one repeated root (vertex on x-axis); Δ < 0 → no real roots (parabola does not cross x-axis). The discriminant also appears under the square root in the quadratic formula.
📐 Quick Reference
📚 Derivation of the Quadratic Formula
Starting from ax²+bx+c=0: (1) Divide by a: x²+(b/a)x+(c/a)=0. (2) Move constant: x²+(b/a)x = -c/a. (3) Add (b/2a)²: x²+(b/a)x+(b/2a)² = -c/a+(b/2a)². (4) Left side is (x+b/2a)². (5) Take square root: x+b/2a = ±√(b²-4ac)/(2a). (6) Solve: x = (-b±√(b²-4ac))/(2a). This is the quadratic formula.
🎓 Practice Problems (Try in Calculator)
📌 Summary
Completing the square transforms any quadratic into vertex form, revealing the vertex (h,k) and axis of symmetry. It connects algebra to geometry, underlies the quadratic formula, and is essential for graphing parabolas, solving optimization problems, and understanding projectile motion. Master this technique for success in algebra, pre-calculus, and beyond.
Key formulas to remember: h = -b/(2a) for the vertex x-coordinate, k = c - b²/(4a) for the y-coordinate, and Δ = b² - 4ac for the discriminant. The vertex form a(x-h)²+k makes graphing straightforward: start at (h,k) and use a to determine width and direction.
✅ Verification Tip
To verify your vertex form, expand a(x-h)²+k and check it equals ax²+bx+c. Alternatively, substitute x=h into the original equation — you should get y=k. This quick check catches sign errors and arithmetic mistakes.
Use this calculator to practice with the six built-in examples, from basic x²+6x+5 to projectile motion and optimization problems. Each example loads with one click.
🔗 Next Steps
After mastering completing the square, explore the Quadratic Formula Calculator for direct root-finding, or the Box Method Calculator for polynomial multiplication.
⚠️ Disclaimer: This calculator converts quadratics to vertex form and finds key properties. For equations with no real roots, x-intercepts are reported as "No real roots." Educational use only.
Related Calculators
Perfect Square Trinomial Calculator
Check if ax²+bx+c is a perfect square trinomial and factor as (px+q)². Generate perfect square trinomials from (px+q)². Complete incomplete trinomials to...
MathematicsPolynomial Root Calculator
Find real and complex roots of polynomials up to degree 4. Uses quadratic formula for exact solutions, numerical methods for cubic and quartic. Includes rational root theorem, Descartes' rule of signs, multiplicity, and upper/lower bounds. Bar and doughnut charts for root visualization.
MathematicsBox Method Calculator
Multiply polynomials visually using the box method (area model). Step-by-step solutions for binomials, trinomials, and factoring. Interactive grid...
MathematicsCubic Equation Calculator
Solve cubic equations ax³+bx²+cx+d=0 using Cardano's formula. Find all roots (real and complex), discriminant analysis, Vieta's relations, depressed cubic form, and step-by-step solutions. Essential for polynomial theory, physics, and engineering applications.
MathematicsDiamond Problem Calculator
Solve diamond problems: find two numbers given product and sum, or find product and sum given two numbers. Reverse mode. Direct connection to factoring...
MathematicsDiscriminant Calculator
Calculate the discriminant Δ = b²-4ac for quadratic equations ax²+bx+c=0. Determine nature of roots: two distinct real, one repeated, or two complex...
Mathematics