Course contentsShow
← Mathematics
Lesson 404 of 3,12111. Quadratic Equations and FunctionsFree lesson

Completing the Square with Non-Unit Leading Coefficient

Factor out the leading coefficient before completing the square in equations like 2x² + 8x - 5 = 0.

Completing the Square with Non-Unit Leading Coefficient

What You'll Learn

You'll learn how to complete the square when the coefficient in front of x² isn't 1, by factoring it out first.

Why This Extra Step Matters

When completing the square, we need a "perfect square trinomial" — but that pattern only works cleanly when x² has a coefficient of 1. If your equation starts with something like 2x² + 8x - 5 = 0, you can't directly complete the square.

The solution: Factor out the leading coefficient from the x-terms first.

The Process Step-by-Step

Let's work through 2x² + 8x - 5 = 0:

Step 1: Isolate the x-terms and factor out the leading coefficient

Move the constant to the right side:

2x² + 8x = 5

Factor out the 2 from only the left side (the terms with x):

2(x² + 4x) = 5

Step 2: Complete the square inside the parentheses

Now you have x² + 4x inside, where the leading coefficient is 1. Take half of 4, square it: (4/2)² = 4.

Add 4 inside the parentheses:

2(x² + 4x + 4) = 5 + 2(4)

Notice: Adding 4 inside parentheses means we're really adding 2×4 = 8 to the left side, so we must add 8 to the right side too!

Step 3: Simplify

2(x + 2)² = 13

Now you can solve by dividing both sides by 2, then taking square roots.

Think of It Like This

Imagine you have 2 identical boxes, each containing x² + 4x. You need to complete the square in each box identically, so whatever you add gets doubled on the outside.

Key Takeaway: When the leading coefficient a ≠ 1, factor out a from the x² and x terms before completing the square, remembering that changes inside parentheses are multiplied by that factor.