What would you like to understand?

Popular destinationsCalculatorsCoursesPracticeFormulas

Unlock Premium Help

Explore every tutor and study workspace for seven days, with no daily AI cap during the trial.

Choose a billing period
Ask a parent to pay

Nothing is charged during the first seven days. Unless you cancel, the plan you selected begins when the trial ends and renews on its stated schedule. Manage cancellation from your plan page. Stripe handles the payment details.

Completing the square formula: what it means and how to use it

Rewrite a quadratic expression as a square plus or minus a constant. This quadratics relationship belongs to algebra. Read the symbols against the problem, confirm the required conditions, and estimate the scale before calculating.

\[x^2+bx=\left(x+\frac b2\right)^2-\left(\frac b2\right)^2\]

How to read Completing the square

The left and right sides describe the same mathematical situation in different forms. Identify the unknown, attach each known value to the correct symbol, and preserve restrictions. Rebuild missing background in the algebra subject guide, then use algebra i practice to retrieve the relationship without being told its name.

How to apply Completing the square

  1. Name the unknown, and the unit the answer has to come out in.
  2. Match the symbols to your values. $b$ is the coefficient of $x$ after the leading coefficient is made $1$.
  3. Check the conditions before substituting. If the original leading coefficient is not $1$, factor it from the quadratic and linear terms first.
  4. Substitute, keep exact values to the last line, then test the sign, size, and unit against a rough estimate - The check that catches most algebra slips.

Worked Completing the square example

Use this mathematical example as a pattern, then rebuild it with different values:

\[$x^2+6x=(x+3)^2-9$.\]

How to verify a Completing the square result

After using Completing the square, repeat the calculation with units attached and test the result against a boundary case or a quick numerical estimate.

A common Completing the square mistake

What goes wrong: Adding the square of half b without subtracting it again.

Why it fails: That changes the expression instead of rewriting it. At x = 0, the original x squared + 6x is 0 while (x + 3) squared is 9, so the two are not the same thing.

Repair: Add and subtract the constant in the same step, keeping the subtraction outside the bracket where you can see it.

When Completing the square applies

The pattern assumes a leading coefficient of 1. Factor it out first: 2x squared + 12x becomes 2 times (x squared + 6x), then 2 times ((x + 3) squared - 9), which finishes as 2(x + 3) squared - 18 and agrees with the original at x = 0.

Questions about Completing the square

Why half of b and not b itself?

Because expanding a square doubles the cross term. Halving first cancels that doubling, so the bracket produces exactly the bx you started with.

Why bother when the quadratic formula already solves everything?

Because this rewrite hands you the vertex, converts circle equations into centre-radius form, and sets up integrals later. It gives structure, not just roots.

Does it still work when b is odd?

Yes, with a fraction. Rewriting x squared + 5x gives (x + 2.5) squared - 6.25, and checking at x = 1 gives 6 both ways.

What happens when b is negative?

Half of b keeps its sign, so the bracket subtracts. For x squared - 10x you get (x - 5) squared - 25, and both forms give -9 at x = 1.

Make it yours

Change one input, predict whether the output should rise, fall, or stay fixed, and only then recalculate.