2.1.16Algebra — Introduction & Intermediate

Quadratic equations — factoring, completing the square

2,447 words11 min readdifficulty · medium6 backlinks

The core insight: We're transforming ax2+bx+c=0ax^2 + bx + c = 0 into a product (xp)(xq)=0(x - p)(x - q) = 0 or a perfect square (xh)2=k(x - h)^2 = k because if a product equals zero, at least one factor must be zero. This turns a polynomial problem into simple linear equations.


Method 1: Factoring

How to Factor (Step-by-Step Derivation)

Case 1: Monic quadratics (a=1a = 1, so we have x2+bx+c=0x^2 + bx + c = 0)

We seek two numbers that:

  • Multiply to give cc (the constant term)
  • Add to give bb (the coefficient of xx)

Why? Because (x+p)(x+q)=x2+(p+q)x+pq(x + p)(x + q) = x^2 + (p+q)x + pq. Matching coefficients:

  • Coefficient of xx: p+q=bp + q = b
  • Constant term: pq=cpq = c

What we do: Find pairs of factors of cc, test which pair sums to bb.

Why this step? Each factor represents a "boundary" where the parabola crosses the x-axis. Setting each factor to zero isolates those crossing points.


Case 2: Non-monic quadratics (a1a \neq 1, so we have ax2+bx+c=0ax^2 + bx + c = 0)

AC Method (Derivation):

  1. Multiply aca \cdot c to get a target product.
  2. Find two numbers that multiply to acac and add to bb.
  3. Split the middle term bxbx using those two numbers.
  4. Factor by grouping.

Why does this work? We're transforming the problem into a monic-like structure by absorbing the leading coefficient into the constant term temporarily.

Why this step? Grouping isolates a common factor, revealing the hidden factorization.

Figure — Quadratic equations — factoring, completing the square

Method 2: Completing the Square

Derivation from First Principles

Goal: Rewrite ax2+bx+cax^2 + bx + c so the x2x^2 and xx terms combine into (x+something)2(x + \text{something})^2.

Step-by-step construction:

Start with ax2+bx+c=0ax^2 + bx + c = 0.

Step 1: Factor out aa from the first two terms (make the x2x^2 coefficient 1 inside): a(x2+bax)+c=0a\left(x^2 + \frac{b}{a}x\right) + c = 0

Why? A perfect square (x+k)2=x2+2kx+k2(x + k)^2 = x^2 + 2kx + k^2 requires the x2x^2 coefficient to be 1.

Step 2: Identify the number to complete the square. A perfect square (x+k)2(x + k)^2 has its middle term as 2k2k. So: 2k=bak=b2a2k = \frac{b}{a} \quad \Rightarrow \quad k = \frac{b}{2a}

The missing constant term in the perfect square is k2=(b2a)2=b24a2k^2 = \left(\frac{b}{2a}\right)^2 = \frac{b^2}{4a^2}.

Step 3: Add and subtract this term inside the parentheses: a(x2+bax+b24a2b24a2)+c=0a\left(x^2 + \frac{b}{a}x + \frac{b^2}{4a^2} - \frac{b^2}{4a^2}\right) + c = 0

Why add and subtract? We're not changing the equation's value, just rearranging it.

Step 4: Recognize the perfect square and simplify: a[(x+b2a)2b24a2]+c=0a\left[\left(x + \frac{b}{2a}\right)^2 - \frac{b^2}{4a^2}\right] + c = 0 a(x+b2a)2b24a+c=0a\left(x + \frac{b}{2a}\right)^2 - \frac{b^2}{4a} + c = 0 a(x+b2a)2=b24ac=b24ac4aa\left(x + \frac{b}{2a}\right)^2 = \frac{b^2}{4a} - c = \frac{b^2 - 4ac}{4a}

Step 5: Divide both sides by aa: (x+b2a)2=b24ac4a2\left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}

Step 6: Take the square root of both sides: x+b2a=±b24ac2ax + \frac{b}{2a} = \pm\frac{\sqrt{b^2 - 4ac}}{2a}

Step 7: Solve for xx: x=b2a±b24ac2a=b±b24ac2ax = -\frac{b}{2a} \pm \frac{\sqrt{b^2 - 4ac}}{2a} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}


Verification: Substitute back: (1)2+6(1)+5=16+5=0(-1)^2 + 6(-1) + 5 = 1 - 6 + 5 = 0 ✓, and (5)2+6(5)+5=2530+5=0(-5)^2 + 6(-5) + 5 = 25 - 30 + 5 = 0 ✓.



Mistake 1: Forgetting to factor out aa first Student writes: 2x2+8x+6=2(x+2)22x^2 + 8x + 6 = 2(x + 2)^2

Why it feels right: The student factors out the 2, sees 2(x2+4x+3)2(x^2 + 4x + 3), takes half of 4 to get 2, and jumps straight to 2(x+2)22(x+2)^2—forgetting that (x+2)2=x2+4x+4(x+2)^2 = x^2 + 4x + 4 introduces an extra +4+4 that must be compensated by subtracting it.

The fix: Always make the x2x^2 coefficient equal to 1 first, then add and subtract the completing term: 2(x2+4x+3)=2[(x+2)24+3]=2[(x+2)21]2(x^2 + 4x + 3) = 2[(x+2)^2 - 4 + 3] = 2[(x+2)^2 - 1]. The leftover 1-1 matters!


Mistake 2: Sign errors when factoring Student factors x25x+6x^2 - 5x + 6 as (x2)(x3)(x - 2)(x - 3) but then writes solutions as x=2,x=3x = -2, x = -3

Why it feels right: The factors contain 2-2 and 3-3, so the student thinks those are the answers directly.

The fix: Remember, we set each factor equal to zero: x2=0x=+2x - 2 = 0 \Rightarrow x = +2. The signs flip when solving. Ask: "What value makes each factor zero?"


Mistake 3: Only adding the completing term to one side Student writes: x2+6x=5x^2 + 6x = -5, then x2+6x+9=5x^2 + 6x + 9 = -5

Why it feels right: They correctly add the completing-the-square term to the left but forget the equation must stay balanced.

The fix: Whatever you add to the left, add to the right. x2+6x+9=5+9=4x^2 + 6x + 9 = -5 + 9 = 4.


Recall Explain to a 12-Year-Old

Imagine you have a bent bridge (a parabola) and you want to know where it touches the ground. That's where the height equals zero.

Factoring is like breaking a big LEGO structure into two smaller towers. If the whole thing is flat on the ground (equals zero), one of the towers must be flat (one of the factors must equal zero). We find which pieces make each tower collapse.

Completing the square is like rearranging puzzle pieces to make a perfect square picture. Once you see the square, you can easily measure how far from the center the edges are—and those distances tell you where the bridge touches the ground. It's a clever trick that works every single time, even when factoring is too hard!

Both methods are tools in your math toolbox. Factoring is faster when you can spot the pattern. Completing the square is your superpower when numbers get messy—it's how we discovered the quadratic formula!


Factoring (AC method): "Multiply acac, Find two numbers, Split middle term, Group, Factor out"


Connections

  • 2.1.15-Linear-equations-and-inequalities — Factoring reduces quadratics to linear equations
  • 2.1.17-Quadratic-formuland-discriminant — Completing the square derives the quadratic formula
  • 2.3.4-Parabolas-and-vertex-form — Completing the square reveals vertex form y=a(xh)2+ky = a(x-h)^2 + k
  • 3.2.1-Polynomials-factoring-techniques — Factoring extends to higher-degree polynomials
  • 4.1.2-Solving-systems-graphically — Quadratic solutions are x-intercepts on a graph

Flashcards

What is a quadratic equation? :: An equation of the form ax2+bx+c=0ax^2 + bx + c = 0 where a0a \neq 0.

What is the Zero Product Property?
If AB=0A \cdot B = 0, then A=0A = 0 or B=0B = 0 (or both).
When factoring x2+bx+cx^2 + bx + c, what two properties must the factor pair satisfy?
They must multiply to cc and add to bb.
In the AC method, what is the "target product"?
aca \cdot c (the product of the leading coefficient and constant term).
What is the first step in completing the square for ax2+bx+c=0ax^2 + bx + c = 0?
Factor out aa from the x2x^2 and xx terms to make the x2x^2 coefficient 1.
What term do we add (and subtract) when completing the square for x2+bxx^2 + bx?
(b2)2\left(\frac{b}{2}\right)^2, which is the square of half the xx-coefficient.
What is the discriminant in a quadratic equation?
Δ=b24ac\Delta = b^2 - 4ac, the expression under the square root in the quadratic formula.
After completing the square, 2x2+8x+3=02x^2 + 8x + 3 = 0 becomes 2(x+2)2=k2(x+2)^2 = k. What is kk?
2(x+2)2=52(x+2)^2 = 5, so k=5k = 5.
Why must we set each factor equal to zero when solving (xp)(xq)=0(x-p)(x-q)=0?
Because a product equals zero only if at least one factor equals zero (Zero Product Property).
What form does completing the square produce?
(xh)2=k(x - h)^2 = k or vertex form a(xh)2+ka(x-h)^2 + k for the parabola.

Concept Map

find

meaning

transform via

if A*B=0 then A=0 or B=0

Method 1

Method 2

rewrite as

apply

case a=1

case a not 1

then

rewrite as

solve directly

Quadratic ax2+bx+c=0

Roots / solutions

Where parabola crosses x-axis

Zero Product Property

Simple linear equations

Factoring

Completing the Square

Product mx+p times nx+q

Monic: sum b, product c

AC Method: split middle term

Factor by grouping

Perfect square x-h squared = k

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Quadratic equations matlab ax2+bx+c=0ax^2 + bx + c = 0 jaisi equations hoti hain jahan hume xx ki woh values dhoondhni hoti hain jo pure equation ko zero bana deti hain. Yeh values hi parabola ke x-axis ko cross karne ke points hote hain. Do main tareke hain solve karne ke: factoring aur completing the square.

Factoring mein hum quadratic ko do chote factors mein todh dete hain jaise (x+2)(x+3)(x+2)(x+3). Phir Zero Product Property use karte hain—agar do cheezon ka product zero hai, toh kam se kam ek factor zero hona chahiye. Toh har factor ko zero ke barabar rakhke hum solutions nikal lete hain. Jab numbers simple hote hain toh yeh method bohot fast hai. Lekin agar factors easily nahi milte, toh AC method use karte hain jisme hum a×ca \times c multiply karke aisi do numbers dhoondhte hain jo multiply karke acac bane aur add karke bb bane.

Completing the square thoda alag approach hai. Isme hum quadratic ko ek perfect square ki form mein convert karte hain: (xh)2=k(x-h)^2 = k. Yeh method hamesha kaam karta hai chahe numbers kitne bhi mushkil kyun na ho. Pehle hum x2x^2 ka coefficient 1 banate hain (agar already nahi hai toh aa factor out karte hain), phir xx ke coefficient ka half nikal kar uska square add/subtract karte hain. Isse ek perfect square ban jata hai jisko square root leke easily solve kar sakte hain. Interes

Go deeper — visual, from zero

Test yourself — Algebra — Introduction & Intermediate

Connections