Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Completing the square is a method for rewriting a quadratic expression so it contains a perfect square trinomial. Students need this skill to solve quadratic equations, graph parabolas, and understand where the quadratic formula comes from. This reference helps organize the steps so the process feels predictable instead of like a trick.

The key idea is to make x2+bxx^2 + bx into (x+h)2(x + h)^2 by adding (b2)2\left(\frac{b}{2}\right)^2. For equations, the same value must be added to both sides to keep the equation balanced. For functions, completing the square rewrites y=ax2+bx+cy = ax^2 + bx + c in vertex form y=a(xh)2+ky = a(x - h)^2 + k, which shows the vertex clearly.

Key Facts

  • A perfect square trinomial has the form x2+2px+p2=(x+p)2x^2 + 2px + p^2 = (x + p)^2.
  • To complete the square for x2+bxx^2 + bx, add (b2)2\left(\frac{b}{2}\right)^2 to make x2+bx+(b2)2=(x+b2)2x^2 + bx + \left(\frac{b}{2}\right)^2 = \left(x + \frac{b}{2}\right)^2.
  • When solving x2+bx+c=0x^2 + bx + c = 0, first move the constant to get x2+bx=cx^2 + bx = -c.
  • If you add (b2)2\left(\frac{b}{2}\right)^2 to one side of an equation, you must add (b2)2\left(\frac{b}{2}\right)^2 to the other side too.
  • To solve after completing the square, use the square root property: if (x+p)2=q(x + p)^2 = q, then x+p=±qx + p = \pm \sqrt{q}.
  • For ax2+bx+cax^2 + bx + c with a1a \neq 1, factor aa from the x2x^2 and xx terms before completing the square.
  • Vertex form is y=a(xh)2+ky = a(x - h)^2 + k, and the vertex of the parabola is (h,k)(h, k).
  • Completing the square leads to the quadratic formula x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}.

Vocabulary

Completing the Square
A method of rewriting a quadratic expression by creating a perfect square trinomial.
Perfect Square Trinomial
A trinomial that can be factored as the square of a binomial, such as x2+6x+9=(x+3)2x^2 + 6x + 9 = (x + 3)^2.
Vertex Form
A quadratic function written as y=a(xh)2+ky = a(x - h)^2 + k, where (h,k)(h, k) is the vertex.
Square Root Property
The rule that if u2=qu^2 = q, then u=±qu = \pm \sqrt{q}.
Coefficient
A number multiplying a variable, such as bb in bxbx or aa in ax2ax^2.
Vertex
The highest or lowest point of a parabola, written as (h,k)(h, k) in vertex form.

Common Mistakes to Avoid

  • Forgetting to add the same value to both sides is wrong because it changes the solutions of the equation.
  • Using b2b^2 instead of (b2)2\left(\frac{b}{2}\right)^2 is wrong because completing the square requires half of the linear coefficient squared.
  • Not factoring out aa first when a1a \neq 1 is wrong because the shortcut (b2)2\left(\frac{b}{2}\right)^2 only works directly when the coefficient of x2x^2 is 11.
  • Dropping the ±\pm when taking the square root is wrong because equations like (x+p)2=q(x + p)^2 = q usually have two solutions.
  • Reading the vertex sign incorrectly from y=a(xh)2+ky = a(x - h)^2 + k is wrong because the xx-coordinate is hh, not h-h.

Practice Questions

  1. 1 Complete the square to solve x2+8x5=0x^2 + 8x - 5 = 0.
  2. 2 Rewrite y=x210x+18y = x^2 - 10x + 18 in vertex form and identify the vertex.
  3. 3 Complete the square to solve 2x2+12x+7=02x^2 + 12x + 7 = 0.
  4. 4 Explain why adding (b2)2\left(\frac{b}{2}\right)^2 creates a perfect square trinomial when the expression starts as x2+bxx^2 + bx.

Understanding Completing the Square Reference

A useful way to see this method is with area. The term x squared can represent a large square with side length x. A middle term can be split into two matching rectangles placed along two sides of that square.

Their shared width is half of the coefficient of x. One small corner square is then missing. Its side length is that same half value, so its area is the half value squared.

This picture explains why halving comes before squaring. It is not a rule chosen at random. The added piece literally finishes a larger square.

The square root step needs careful thinking. A squared quantity can equal a positive number in two ways because a positive number and its negative have the same square. That is why solving produces two possible values in many cases.

If the number on the other side is zero, there is only one value, counted twice in some algebra courses. If it is negative, there are no real number solutions because no real number squared is negative. This result has a graph meaning.

The parabola does not touch or cross the horizontal axis. Students often lose a solution by writing only the positive square root.

The leading coefficient changes the process in an important way. When it is not one, the first two terms must keep a common factor outside the grouping. The value used to finish the inside square comes from the coefficient after that factor has been taken out.

Forgetting this changes the expression and gives a wrong vertex. In graphing, the completed form separates several features clearly. The number inside the squared group controls a horizontal shift, but its sign appears reversed when read as a vertex coordinate.

The number outside the square controls vertical stretching, compression, or reflection. A negative leading coefficient makes the parabola open downward. These features appear when modeling a thrown ball, the arc of water from a fountain, or a profit model with a highest value.

This method is worth learning even when factoring looks faster. Factoring only works neatly for some quadratics, while completing the square provides a path for every quadratic with real or complex solutions. It is the algebra behind the quadratic formula.

After the general quadratic is divided by its leading coefficient and rearranged, the same missing square is added. Taking square roots then produces the two branches represented by plus or minus. Good checking habits prevent most errors.

Keep each equality balanced, distribute any factored coefficient back to check the rewrite, and substitute a final answer into the original equation. When graphing, compare the vertex and opening direction with a few calculated points. A correct algebraic form should match the shape of the graph.