Completing The Square Practice Calculator - Practice With Step by Step Solutions
Use this completing the square practice calculator to convert ax² + bx + c = d into vertex form a(x - h)² + k, generate random practice problems, and read the roots and discriminant.
Completing The Square Practice Calculator
Results
What Is Completing The Square Practice Calculator?
A completing the square practice calculator rewrites any quadratic ax² + bx + c = d into vertex form a(x - h)² + k, shows every algebraic step, and rolls a fresh random problem at the chosen difficulty so algebra students rehearse the technique on a new example each time.
- • Drill the method on a random problem: Pick a difficulty, click New Problem, and try the derivation on paper before checking the worked steps.
- • Verify a homework derivation: Enter a, b, c, and d from a textbook exercise and compare your vertex form with the calculator's.
- • Connect vertex form to roots: After completing the square, read the two roots from (x - h)² = -k/a and confirm the discriminant case.
- • Practise non-monic and right-side constants: Try a = 2, b = 4, or a nonzero d to see how dividing by a and moving d change the steps.
Completing the square links vertex form, the axis of symmetry, the discriminant, and the quadratic formula, and the same identity drives parabola graphing. The calculator walks through the algebra for any real coefficients so the move that turns x² + bx into (x + b/2)² stays visible.
Once you have the vertex form, the Quadratic Formula Calculator gives the same roots via x = (-b ± sqrt(b² - 4ac)) / (2a) for a quick cross-check.
How Completing The Square Practice Calculator Works
The calculator solves the general quadratic by isolating the linear term, adding the square of half that coefficient, factoring the result as a perfect square trinomial, and isolating x. The same steps produce the vertex (h, k), the discriminant b² - 4ac, and the two roots.
- a: Leading coefficient of x². Must be nonzero for the equation to be quadratic.
- b: Linear coefficient. Determines h = -b/(2a) and the added term (b/(2a))².
- c: Constant on the left side. Combined with d to form the reduced constant c - d.
- d: Right-side constant. Subtracted before dividing by a so the reduced form reads x² + Bx + C = 0.
- h: Vertex x-coordinate. Equals -b/(2a) and the axis of symmetry of the parabola.
- k: Vertex y-coordinate. Equals c - b²/(4a). Sets the minimum or maximum of the parabola.
The completing the square practice calculator lines up the visible steps with how the identity is taught in textbooks: divide by a, move d to the left, take half of the linear coefficient B and square it, add that to both sides of x² + Bx + C = 0, factor the left as (x + B/2)², then isolate the squared term and take ± square roots.
Practice example: x² - 6x + 5 = 0
a = 1, b = -6, c = 5, d = 0.
Half of b is -3 and (-3)² = 9. Add 9 to both sides: x² - 6x + 9 = 4. Factor the left as (x - 3)² and take ± square roots: x - 3 = ±2.
Vertex form 1(x - 3)² - 4. Vertex (3, -4). Added term 9. Discriminant 16. Roots x = 5 and x = 1.
The added term 9 turns x² - 6x into a perfect square, and k = -4 tells you the parabola dips below the x-axis, which matches the two real roots found.
According to Wolfram MathWorld, completing the square rewrites ax² + bx + c as a(x + b/(2a))² + (c - b²/(4a)).
After the calculator reports vertex (h, k), the Parabola Calculator plots the parabola so the axis of symmetry and the y-intercept match what the completed square describes.
Key Concepts Explained
Four ideas make the algebra click: the perfect square trinomial identity, the role of half the linear coefficient, the meaning of the vertex, and the discriminant's three cases.
Perfect Square Trinomial
A trinomial x² + 2px + p² that factors as (x + p)². Half the linear coefficient is p, and squaring it gives the constant you must add to factor a quadratic as a square.
Added Term (b/(2a))²
The constant added to x² + Bx + C = 0 to complete the square. Its square root becomes the linear term inside the parentheses once you factor the trinomial.
Vertex and Axis of Symmetry
Vertex form a(x - h)² + k places the vertex at (h, k) where h = -b/(2a) and k = c - b²/(4a). The line x = h is the axis of symmetry.
Discriminant Cases
b² - 4ac is positive for two real roots, zero for one repeated real root, and negative for two complex conjugate roots. Completing the square exposes all three cases.
Treat the added term as the missing third piece of a perfect square trinomial. Once the trinomial appears on one side, factoring as (x + p)² is mechanical and the rest of the method is just isolating x. Reading the vertex (h, k) from the completed form is what makes completing the square useful for graphing.
When the b/(2a)² step looks unfamiliar, the Perfect Square Trinomial Calculator walks through the x² + 2px + p² identity that produces the perfect square trinomial.
How to Use This Calculator
Enter the four coefficients of ax² + bx + c = d, choose a precision, and read the vertex form, the discriminant, and the roots. Click New Problem to roll a fresh practice problem at the chosen difficulty.
- 1 Enter a, b, c, and d: Type the four coefficients of your quadratic. Set d to 0 if the equation already reads ax² + bx + c = 0.
- 2 Pick a precision: Select 2, 3, 4, or 6 decimals so the displayed h, k, added term, and roots match the precision you are practising.
- 3 Read the vertex form: Compare the calculator's a(x - h)² + k against your own derivation to confirm the added term and the sign inside the parentheses.
- 4 Check the discriminant and root case: Use b² - 4ac to verify whether the roots are two real, one repeated real, or a complex conjugate pair.
- 5 Practise a random problem: Click New Problem to roll a fresh quadratic at the chosen difficulty, attempt the derivation on paper, then compare.
For 2x² + 4x - 3 = 0 the calculator returns h = -1, k = -5, vertex form 2(x + 1)² - 5, added term 1, discriminant 40, and roots 0.581 and -2.581. The added term comes from (b/(2a))² = (4/4)² = 1.
Before reading off the roots, run the same a, b, c through the Discriminant Calculator so the two real, repeated real, or complex conjugate case is confirmed.
Benefits of Using This Calculator
A practice-first completing the square tool earns its keep when it generates fresh problems, walks through each algebraic move, and connects the result to the vertex and the roots.
- • Generate unlimited practice problems: The New Problem button rolls a fresh ax² + bx + c at the easy, medium, or hard level the difficulty selector is set to, so the drill sessions keep moving forward instead of cycling the same example.
- • See each algebraic step: The worked derivation runs divide-by-a, subtract-d, add (b/(2a))², factor as a square, and take ± square roots in textbook order.
- • Connect vertex form to roots: Once a(x - h)² + k is in front of you, the two roots fall out of x = h ± sqrt(-k/a), the quadratic formula in vertex form.
- • Practise fractional and irrational cases: Medium difficulty introduces b = 3 (added term 9/4) and hard difficulty introduces irrational roots, the cases hand calculation stumbles on.
- • Verify before you submit: Enter your homework coefficients at the end of a derivation to confirm the vertex, the discriminant, and the roots match what you wrote.
The completing the square practice calculator is built for the cases hand calculation trips on: non-monic quadratics with a ≠ 1, nonzero d, fractional b, negative discriminants. Pair it with the discriminant, quadratic formula, and parabola pages so the identity stays consistent across the family.
When the discriminant is a perfect square, the Factoring Trinomials Calculator shows the integer factor pair that matches the same two roots via factoring.
Factors That Affect Your Results
The result depends on four coefficients and one precision choice. Two limitations matter when you interpret the output.
Coefficient a (Leading)
Sets the sign of the parabola and the size of the added term. Larger |a| shrinks (b/(2a))² and changes how fast the squared term grows.
Coefficient b (Linear)
Determines the vertex x-coordinate h = -b/(2a). Changing b by 2 moves h by 1/a, so small b changes still shift the vertex when a is small.
Coefficients c and d
Combined into c - d, they set the y-coordinate of the vertex and decide whether the parabola crosses the x-axis.
Precision Selector
Controls only display rounding. The underlying math stays at full precision until the final step, so precision never changes the root case.
- • The calculator treats a = 0 as invalid because the equation stops being quadratic; use a linear equation calculator instead or set a to a small nonzero value.
- • Real coefficients only. Inputs that force the right side of the completed-square equation below zero produce complex conjugate roots in the form h ± i·sqrt(|D|)/(2a).
- • The displayed vertex form assumes the user reads the sign inside the parentheses correctly: h is subtracted, so (x - h)² with h = -1 reads (x + 1)² in the output.
When the discriminant is negative, vertex form a(x - h)² + k still describes the parabola, but the graph never touches the x-axis and the roots come back as complex conjugates. Pair the practice exercise with the discriminant, the quadratic formula, and the parabola so the meaning of h, k, and the case stays consistent.
According to Wikipedia, completing the square rewrites ax² + bx + c as a(x - h)² + k where h = -b/(2a) and k = c - b²/(4a), and the same identity produces the quadratic formula.
According to Khan Academy, completing the square is taught by rewriting x² + bx as (x + b/2)² - (b/2)² and then taking ± square roots.
If b² - 4ac comes back negative, the Complex Root Calculator reports the complex conjugate roots in the same h ± i·sqrt(|D|)/(2a) form so the two calculators agree.
Frequently Asked Questions
Q: What does the completing the square practice calculator do?
A: It rewrites any quadratic ax² + bx + c = d as vertex form a(x - h)² + k, shows the added term (b/(2a))², the vertex (h, k), the discriminant b² - 4ac, and the roots, and rolls a fresh practice problem on the New Problem button.
Q: How do I complete the square for ax² + bx + c = 0 step by step?
A: Subtract d, divide by a so the equation reads x² + Bx + C = 0, take half of B and square it, add that value to both sides, factor the left as (x + B/2)², isolate the squared term, and take ± square roots.
Q: What value do I add to complete the square?
A: Add the square of half the linear coefficient. After reducing to x² + Bx + C = 0 the added value is (B/2)², and before reducing it is (b/(2a))². The calculator reports this as Added Term.
Q: Can the calculator handle a coefficient that is not 1?
A: Yes. Enter any nonzero a, and the calculator divides the whole equation by a before completing the square. The vertex form keeps the original a in front of the squared term.
Q: How does completing the square give me the roots?
A: After a(x - h)² + k = 0, isolate the squared term to get (x - h)² = -k/a. Taking ± square root gives x = h ± sqrt(-k/a), which is the quadratic formula written in vertex form.
Q: Why does completing the square produce complex roots sometimes?
A: When b² - 4ac is negative, the right side of (x - h)² = -k/a is negative, so no real number squared equals that value. The roots are complex conjugates h ± i·sqrt(|b² - 4ac|)/(2a).