Free Completing the Square Practice

ax2+ bx + c = 0

Enter coefficients or click "Generate New Problem" to practice completing the square

Overview

Completing the square is a fundamental technique in high school algebra used to solve quadratic equations, rewrite quadratic functions, and prepare for more advanced topics. This page offers Completing the Square Practice problems with step‑by‑step examples, giving you a hands‑on way to learn the method. An online completing the square calculator is available alongside to verify your work and show each intermediate manipulation.

The General Method

Any quadratic equation can be written in the form

ax2+bx+c=0(a≠0).ax^2 + bx + c = 0 \qquad (a \neq 0).

The essence of the technique is to transform the expression ax2+bx+cax^2+bx+c into a perfect square trinomial plus a constant. Follow these steps:

  1. Make the leading coefficient 1: If a≠1a \neq 1, divide the entire equation by aa.
  2. Isolate the variable terms: Move the constant term to the right–hand side: x2+bax=−ca.x^2 + \frac{b}{a}x = -\frac{c}{a}.
  3. Add the square of half the coefficient of xx: Compute (b2a)2\left(\dfrac{b}{2a}\right)^2 and add it to both sides: x2+bax+(b2a)2=(b2a)2−ca.x^2 + \frac{b}{a}x + \left(\frac{b}{2a}\right)^2 = \left(\frac{b}{2a}\right)^2 - \frac{c}{a}.
  4. Factor the left side as a square: (x+b2a)2=b2−4ac4a2.\left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}.
  5. Take the square root: If the right side is non‑negative, ∣x+b2a∣=b2−4ac4a2.\left|x + \frac{b}{2a}\right| = \sqrt{\frac{b^2 - 4ac}{4a^2}}. Solving for xx yields the two real roots (or one repeated root). If the right side is negative, the equation has no real solutions, only complex ones.

Worked Examples

Example 1: A perfect square in disguise

Solve x2−x+0.25=1x^2 - x + 0.25 = 1.

Notice that x2−xx^2 - x already contains the perfect square pattern: half of −1-1 is −0.5-0.5, and (−0.5)2=0.25(-0.5)^2 = 0.25. Hence the left side is already (x−0.5)2(x-0.5)^2:

(x−0.5)2=1⟹x−0.5=±1⟹x=1.5  or  x=−0.5.(x-0.5)^2 = 1 \quad\Longrightarrow\quad x-0.5 = \pm 1 \quad\Longrightarrow\quad x = 1.5 \;\text{or}\; x = -0.5.

Example 2: Leading coefficient not 1

Solve 2x2+4x+8=02x^2 + 4x + 8 = 0.

Divide both sides by 2:

x2+2x+4=0⟹x2+2x=−4.x^2 + 2x + 4 = 0 \quad\Longrightarrow\quad x^2 + 2x = -4.

Complete the square by adding (22)2=1\left(\frac{2}{2}\right)^2 = 1:

x2+2x+1=−4+1⟹(x+1)2=−3.x^2 + 2x + 1 = -4 + 1 \quad\Longrightarrow\quad (x+1)^2 = -3.

Because the right side is negative, there are no real roots. The complex solutions are x=−1±i3x = -1 \pm i\sqrt{3}.

Example 3: A quadratic with no real solution

Solve x2−8x+20=0x^2 - 8x + 20 = 0.

x2−8x=−20⟹x2−8x+16=−20+16⟹(x−4)2=−4.x^2 - 8x = -20 \quad\Longrightarrow\quad x^2 - 8x + 16 = -20 + 16 \quad\Longrightarrow\quad (x-4)^2 = -4.

Thus the equation has no real solutions; the complex solutions are x=4±2ix = 4 \pm 2i.

Practice Exercises

A. Complete the Square (Find the Missing Constant)

For each expression, determine the constant that must be added to form a perfect square trinomial. Write the resulting trinomial in factored form.

ExpressionConstant to addCompleted trinomialFactored form
x2+2xx^2 + 2x11x2+2x+1x^2 + 2x + 1(x+1)2(x+1)^2
x2−6xx^2 - 6x99x2−6x+9x^2 - 6x + 9(x−3)2(x-3)^2
x2+3xx^2 + 3x94\dfrac{9}{4}x2+3x+94x^2 + 3x + \dfrac{9}{4}(x+32)2\left(x + \dfrac{3}{2}\right)^2
x2+6x+6x^2 + 6x + 633x2+6x+9x^2 + 6x + 9(x+3)2(x+3)^2
x2−2x+3x^2 - 2x + 3−2-2x2−2x+1x^2 - 2x + 1(x−1)2(x-1)^2

B. Solve Quadratic Equations by Completing the Square

Use the method to find all solutions (real or complex).

  1. x2+8x−9=0x^2 + 8x - 9 = 0
    Answer: x=−9x = -9 or x=1x = 1

  2. 3x2+12x=03x^2 + 12x = 0
    Answer: x=0x = 0 or x=−4x = -4

  3. x2+4x=−4x^2 + 4x = -4
    Answer: x=−2x = -2 (a double root)

Why This Method Matters

Completing the square is not only a tool for solving equations; it is also the key to rewriting a quadratic function in vertex form y=a(x−h)2+ky = a(x - h)^2 + k. From this form you can read the vertex (h,k)(h,k) directly, which simplifies graphing and helps solve optimization problems. Mastering the technique now pays off throughout algebra, precalculus, and beyond.

Tips for Success

  • Always ensure the x2x^2 coefficient is 1 before adding the square term.
  • Add exactly the same quantity to both sides to keep the equation balanced.
  • When the constant term on the right becomes negative, the equation has complex solutions; express them using i=−1i = \sqrt{-1}.
  • Use the online step‑by‑step completing the square solver to check your work and see the process in action.

FAQ

1. How do I determine the correct number to add when completing the square?

Take half of the coefficient of x (after making the leading coefficient 1), square it, and add that result to both sides of the equation. For instance, with x² + 8x, half of 8 is 4, and 4² = 16.

2. What happens if the right side of the completed square form is negative?

It means the quadratic equation has no real solutions. However, complex solutions exist; you can express them with the imaginary unit i. For example, (x+1)² = -3 gives x = -1 ± i√3.

3. Is completing the square only useful for solving equations?

No. It is also essential for rewriting quadratic functions into vertex form y = a(x - h)² + k, which reveals the vertex and axis of symmetry, making graphing and optimization straightforward.

4. Where can I check my step-by-step work when practicing completing the square?

You can use the online completing the square calculator associated with this page. It provides a step-by-step solution for any quadratic equation, so you can verify each move you make.

How to Use

  1. Enter the coefficients a (x²), b (x), and c (constant) for the quadratic equation ax² + bx + c = 0.
  2. Click 'Generate New Problem' to get random practice questions with nice integer solutions.
  3. Toggle 'Show Step-by-Step Solution' to see the complete completing-the-square method in detail.