Completing the Square Equation Solver

Complete each square, then review every algebra step. Export answers for class or study records. Use examples to verify roots before final equation submission.

Calculator

Formula Used

For a quadratic equation:

ax² + bx + c = 0

First divide by a:

x² + (b/a)x + c/a = 0

Move the constant term:

x² + (b/a)x = -c/a

Add the square of half the linear coefficient:

(x + b/2a)² = (b² - 4ac) / 4a²

Then take square roots and solve for the variable.

How to Use This Calculator

  1. Enter the coefficient of the squared term as a.
  2. Enter the coefficient of the linear term as b.
  3. Enter the constant value as c.
  4. Select decimal precision for rounded results.
  5. Choose whether complex roots should be shown.
  6. Press Calculate to view the result above the form.
  7. Use CSV or PDF buttons to save the same result.

Example Data Table

a b c Equation Expected Result Type
1 6 5 x² + 6x + 5 = 0 Two real roots
1 -4 4 x² - 4x + 4 = 0 Repeated real root
2 4 8 2x² + 4x + 8 = 0 Complex roots
3 -12 9 3x² - 12x + 9 = 0 Two real roots

Completing the Square Guide

Why Completing the Square Matters

Completing the square is a dependable method for solving quadratic equations. It changes a trinomial into a squared binomial plus or minus a constant. This shape makes roots easier to see. It also reveals the vertex, axis of symmetry, and turning point. Students use it before learning the quadratic formula. Teachers use it to show where that formula comes from.

What This Calculator Does

This calculator accepts coefficients a, b, and c for an equation in standard form. It checks whether the equation is quadratic, linear, inconsistent, or always true. When the equation is quadratic, it divides each term by a. Then it moves the constant term to the other side. Next, it adds the square of half the linear coefficient. The final result is shown as a completed-square equation. The tool also calculates the discriminant, vertex, axis, real roots, and complex roots when needed.

Advanced Learning Benefits

The step list is useful because it shows the algebra behind each answer. You can compare the normalized equation with the original equation. You can inspect the added square term. You can also see whether the discriminant is positive, zero, or negative. A positive value gives two real roots. Zero gives one repeated real root. A negative value gives a complex pair. These details help you avoid common sign errors.

Practical Uses

Completing the square appears in algebra, analytic geometry, physics, and optimization. It helps convert quadratic functions into vertex form. Vertex form is useful when finding maximum height, minimum cost, or best-fit turning points. It also supports graphing because the vertex and axis become visible. With downloadable reports, you can save classwork, tutoring examples, or audit notes.

Accuracy Tips

Always enter a nonzero value for a when solving a true quadratic equation. Use more decimal places when coefficients include fractions or measurements. Check each root by substituting it back into the original equation. If the residual is close to zero, the answer is reliable. Use the example table to test the workflow before entering your own problem.

The method also strengthens algebra confidence. It connects symbols, graphs, and numeric checks in one clear workflow for independent study. Clear steps make mistakes easier to locate and correct.

FAQs

What does completing the square mean?

It means changing a quadratic expression into a perfect square form. This helps solve the equation and identify the vertex.

Can this calculator solve any quadratic equation?

It can solve standard quadratic equations with numeric coefficients. It also detects linear, identity, and no-solution cases.

What if a is zero?

If a is zero, the equation is not quadratic. The calculator treats it as a linear equation when possible.

Why is the discriminant shown?

The discriminant explains the root type. Positive means two real roots. Zero means one repeated root. Negative means complex roots.

Does the calculator show complex roots?

Yes. Select the real and complex option. If the discriminant is negative, complex roots are displayed.

What is the square added to both sides?

It is the square of half the normalized linear coefficient. This value creates the perfect square binomial.

Can I download the result?

Yes. Use the CSV button for spreadsheet data. Use the PDF button for a printable report.

How do I check the answer?

Substitute each root into the original equation. A result near zero confirms the solution is accurate.

Related Calculators

pascal triangle generatorseries sum calculatorperfect square trinomialsparallel lines calculatorsimplify algebraic expressionsevaluate piecewise functionsparabola directrix calculatorperpendicular lines calculatorline equation generatorcross multiplication solver

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.