Skip to main content
返回指南
7 min read5 步骤

How to Solve Quadratics by Completing the Square: Step-by-Step Guide

Master completing the square to solve quadratic equations. Learn the formula, visualize the concept, and follow a detailed worked example to solve for x manually.

跳过数学——使用计算器

分步说明

1

Prepare the Equation

First, rearrange the equation so that the `x^2` and `x` terms are on one side, and the constant term (`c`) is on the other. If the coefficient `a` of the `x^2` term is not 1, divide every term in the equation by `a`. This is crucial for applying the `(b/2)^2` rule correctly.

2

Find the 'Missing' Term

Identify the coefficient of the `x` term (this is your new `b` after dividing by `a` if necessary). Take half of this coefficient and then square the result. This is the term you need to add to both sides to complete the square.

3

Complete the Square

Add the 'missing' term (calculated in Step 2) to *both* sides of the equation. This maintains the equality. The left side will now be a perfect square trinomial, which can be factored into the form `(x + b/2)^2`.

4

Solve for x

Now that the equation is in the form `(x + k)^2 = d`, take the square root of both sides. Remember to include both the positive and negative square roots on the right side. Finally, isolate `x`.

5

Verify Your Solutions (Optional but Recommended)

To ensure accuracy, substitute your calculated `x` values back into the *original* quadratic equation (`ax^2 + bx + c = 0`) to confirm that they satisfy the equation.

How to Solve Quadratics by Completing the Square: Step-by-Step Guide

Solving quadratic equations is a fundamental skill in algebra, with applications across various fields, from engineering to finance. While factoring and the quadratic formula are common methods, "completing the square" offers a unique approach that not only solves the equation but also reveals its structure by transforming it into a perfect square trinomial. This guide will walk you through the process manually, ensuring a deep understanding of each step.

Why Complete the Square?

Completing the square is a powerful algebraic technique used to:

  • Solve quadratic equations that are not easily factorable.
  • Convert a quadratic equation from standard form (ax^2 + bx + c = 0) to vertex form (a(x-h)^2 + k = 0), which immediately reveals the vertex of the parabola.
  • Derive the quadratic formula itself.

It's a foundational method that builds intuition for algebraic manipulation and the geometry of quadratic functions.

Prerequisites

Before diving into completing the square, ensure you have a solid grasp of:

  • Basic algebraic operations (addition, subtraction, multiplication, division).
  • Factoring simple trinomials and perfect square trinomials.
  • Understanding of square roots and how to solve equations involving them.
  • Manipulating equations to isolate variables.

The Concept: Visualizing the Square

Imagine a square with side length x. Its area is x^2. If you add a rectangle of length x and width b/2 to two sides, you get x^2 + (b/2)x + (b/2)x = x^2 + bx. To "complete" this shape into a larger square, you need to add a smaller square in the corner with side length b/2. The area of this missing corner piece is (b/2)^2. By adding this term, you transform the expression x^2 + bx into a perfect square trinomial: x^2 + bx + (b/2)^2 = (x + b/2)^2. This geometric insight is the core of the method.

The Formula and Goal

The general form of a quadratic equation is ax^2 + bx + c = 0. The goal of completing the square is to transform this equation into the form (x + k)^2 = d, where k and d are constants. Once in this form, solving for x becomes a straightforward process of taking the square root of both sides.

Variable Legend:

  • a, b, c: Coefficients of the quadratic equation ax^2 + bx + c = 0.
  • x: The variable you are solving for.
  • k: A constant derived from b (specifically b/(2a) when a is not 1).
  • d: A constant representing the numerical value on the right side of the equation after completing the square.

Step-by-Step Guide

Step 1: Prepare the Equation

First, rearrange the equation so that the x^2 and x terms are on one side, and the constant term (c) is on the other. If the coefficient a of the x^2 term is not 1, divide every term in the equation by a. This is crucial for applying the (b/2)^2 rule correctly.

Example: For 2x^2 + 8x - 10 = 0

  1. Move c to the right: 2x^2 + 8x = 10
  2. Divide by a (which is 2): x^2 + 4x = 5

Step 2: Find the 'Missing' Term

Identify the coefficient of the x term (this is your new b after dividing by a if necessary). Take half of this coefficient and then square the result. This is the term you need to add to both sides to complete the square.

Formula: (b/2)^2

Example (continuing from Step 1): x^2 + 4x = 5 Here, b = 4. Calculate (4/2)^2 = (2)^2 = 4. The missing term is 4.

Step 3: Complete the Square

Add the 'missing' term (calculated in Step 2) to both sides of the equation. This maintains the equality. The left side will now be a perfect square trinomial, which can be factored into the form (x + b/2)^2.

Example (continuing): x^2 + 4x = 5 Add 4 to both sides: x^2 + 4x + 4 = 5 + 4 Simplify: x^2 + 4x + 4 = 9 Factor the left side: (x + 2)^2 = 9

Step 4: Solve for x

Now that the equation is in the form (x + k)^2 = d, take the square root of both sides. Remember to include both the positive and negative square roots on the right side. Finally, isolate x.

Example (continuing): (x + 2)^2 = 9 Take the square root of both sides: sqrt((x + 2)^2) = +/- sqrt(9) x + 2 = +/- 3 Now, create two separate equations and solve for x:

  1. x + 2 = 3 => x = 3 - 2 => x = 1
  2. x + 2 = -3 => x = -3 - 2 => x = -5 The solutions are x = 1 and x = -5.

Step 5: Verify Your Solutions (Optional but Recommended)

To ensure accuracy, substitute your calculated x values back into the original quadratic equation (ax^2 + bx + c = 0) to confirm that they satisfy the equation.

Example (continuing): Original equation: 2x^2 + 8x - 10 = 0 For x = 1: 2(1)^2 + 8(1) - 10 = 2 + 8 - 10 = 10 - 10 = 0. (Correct) For x = -5: 2(-5)^2 + 8(-5) - 10 = 2(25) - 40 - 10 = 50 - 40 - 10 = 10 - 10 = 0. (Correct)

Common Pitfalls

  • Forgetting to Divide by 'a': If a is not 1, failing to divide the entire equation by a in Step 1 will lead to incorrect b and (b/2)^2 values.
  • Not Adding to Both Sides: Remember that any operation performed on one side of an equation must also be performed on the other side to maintain equality.
  • Sign Errors with b/2: Pay close attention to the sign of b when calculating b/2. For example, if b = -6, then b/2 = -3, and (b/2)^2 = (-3)^2 = 9.
  • Forgetting the +/-: When taking the square root of both sides, always remember that there are two possible roots (positive and negative). This is crucial for finding both solutions to the quadratic.
  • Arithmetic Mistakes: Simple addition, subtraction, or multiplication errors can derail the entire process. Double-check your calculations.

When to Use a Calculator for Convenience

While the core steps of completing the square are best understood manually, a calculator can be useful for:

  • Large Numbers: When dealing with very large or fractional coefficients, a calculator can help with the (b/2)^2 calculation and subsequent arithmetic.
  • Non-Perfect Squares: If the number on the right side of the equation (your d value) is not a perfect square, you will need a calculator to find its decimal square root, or you can leave it in radical form for exact answers. For example, x + k = +/- sqrt(7).
  • Complex Solutions: If d is negative, the solutions will involve imaginary numbers (i = sqrt(-1)). A calculator can assist with simplifying these expressions, though understanding the concept of sqrt(-d) = i*sqrt(d) is key.

Completing the square is a robust method for solving quadratic equations and provides a deeper insight into their structure. By following these steps carefully, you can confidently solve a wide range of quadratic problems.

准备好计算了吗?

跳过手动工作并立即获得结果。

打开计算器

设置

隐私条款关于© 2026 PrimeCalcPro