Learn · Algebra I

Factor quadratic structure

Recognize common factors, trinomials, and differences of squares.

Original curriculum. These lessons and questions have not been independently reviewed.

01 · Learn the idea

Reverse the cross-products

For x²+7x+12, seek two numbers with product 12 and sum 7: 3 and 4. Thus (x+3)(x+4). For 2x²+7x+3, split 7x into 6x+x: 2x(x+3)+1(x+3)=(2x+1)(x+3).

A perfect-square trinomial has matching structure: x²−10x+25=(x−5)². The middle term is twice the product of x and −5. x²+25 lacks that middle term and is not (x+5)².

02 · Build understanding

Difference of squares and the real-number limit

a²−b²=(a−b)(a+b), because the cross-terms cancel. Thus 9x²−16=(3x−4)(3x+4). A sum of positive squares such as x²+9 has no real linear factors. Its value cannot be zero for real x.

Real factors need not have integer coefficients. x²−2=(x−√2)(x+√2), and x²−2x−1=(x−1−√2)(x−1+√2). The latter follows by rewriting as (x−1)²−2. Decide whether real factors exist instead of declaring every non-integer factorization impossible.

03 · Build understanding

Worked example: take out the common factor first

Factor 3x² − 6x − 45. Before you look for a pair of numbers, check whether every term shares a factor. Here all three coefficients are multiples of 3.

Step 1: Factor out the 3. Divide each term by 3 to get 3(x² − 2x − 15). The trinomial inside is smaller and easier to work with.

Step 2: Find two numbers with a product of −15 and a sum of −2. A negative product means the signs differ. The pairs are 1 and −15, −1 and 15, 3 and −5, −3 and 5. Only 3 and −5 add to −2.

Step 3: Write the factors, keeping the 3 in front: 3(x + 3)(x − 5).

Step 4: Check by multiplying. (x + 3)(x − 5) = x² − 5x + 3x − 15 = x² − 2x − 15, and 3 times that is 3x² − 6x − 45.

04 · Build understanding

Worked example: a leading coefficient that stays

Factor 6x² − 7x − 5. The three coefficients share no common factor, so the 6 has to be split between the two binomials.

Step 1: Multiply the first and last coefficients: 6 × (−5) = −30. You need two numbers with a product of −30 and a sum of −7, the middle coefficient. Pairs with a product of −30 are 1 and −30, 2 and −15, 3 and −10, and 5 and −6, plus each pair with the signs switched. Only 3 and −10 add to −7.

Step 2: Use those numbers to split the middle term: 6x² − 10x + 3x − 5. This is the same expression, since −10x + 3x is −7x.

Step 3: Factor each pair of terms. The first pair gives 2x(3x − 5). The second pair gives 1(3x − 5). The matching binomial tells you the split worked.

Step 4: Factor out the shared binomial: (3x − 5)(2x + 1).

Step 5: Check by multiplying. (3x − 5)(2x + 1) = 6x² + 3x − 10x − 5 = 6x² − 7x − 5.

05 · Build understanding

Worked example: the sides of a mural

A rectangular mural has an area of (x² + 13x + 40) square feet. Each side length is x plus a whole number of feet. Find the two side lengths.

Step 1: Area is length times width, so factor the trinomial. You need two numbers with a product of 40 and a sum of 13. Both are positive, because the product and the sum are positive.

Step 2: List the pairs for 40: 1 and 40, 2 and 20, 4 and 10, 5 and 8. Only 5 and 8 add to 13.

Step 3: Write the sides: (x + 5) feet and (x + 8) feet.

Step 4: Check with a real size. If x = 2, the sides are 7 feet and 10 feet, which is 70 square feet. The area expression gives 4 + 26 + 40 = 70 square feet.

06 · Build understanding

Spot the special patterns, and know when to stop

A perfect square trinomial has a square at each end, and its middle term is twice the product of the two quantities being squared. In 4x² + 28x + 49, the ends are (2x)² and 7², and 2 × 2x × 7 = 28x. So it factors as (2x + 7)². When the middle term is negative, the binomial has a minus sign: 4x² − 28x + 49 = (2x − 7)².

A difference of two squares has two terms, both squares, with a minus sign between them. 49x² − 81 is (7x)² − 9², so it factors as (7x − 9)(7x + 9). Sometimes the squares are hidden behind a common factor: 2x² − 72 = 2(x² − 36) = 2(x − 6)(x + 6).

Some trinomials do not factor at all. For x² + 5x + 7, the integer pairs with a product of 7 are 1 and 7, or −1 and −7, and their sums are 8 and −8, never 5. To rule out every real factor, read the coefficients from the form ax² + bx + c. Here a = 1, b = 5 and c = 7. Compute b² − 4ac: 5² − 4(1)(7) = 25 − 28 = −3. When this number is negative, the trinomial never equals 0 for any real x, so it can't be written as a product of two binomials with real numbers, and "cannot be factored" is the correct answer.

07 · Build understanding

Three mistakes to watch for

Getting the signs of the pair wrong. For x² − 9x + 14, the product is positive and the sum is negative, so both numbers are negative: −2 and −7. The factors are (x − 2)(x − 7). Writing (x + 2)(x + 7) gives +9x in the middle.

Giving up before checking for a common factor. In 5x² − 20, neither 5 nor 20 is a perfect square. Factor out the 5 first: 5(x² − 4) = 5(x − 2)(x + 2).

Mixing up the two special patterns. x² − 16x + 64 has three terms and is the perfect square (x − 8)². The product (x − 8)(x + 8) is x² − 64, which has no middle term at all.

Apply and explain

Your turn

Factor 3x²+10x+3, x²+12x+36, and 25x²−4. Decide whether x²+4 can have real linear factors. Rewrite x²−6x+7 as a difference of squares after completing the square, then factor it over the reals. Verify every proposed product.

Use paper or explain your thinking aloud before opening the solution.

Check your reasoning

(3x+1)(x+3); (x+6)²; (5x−2)(5x+2). x²+4 has no real zeros and no real linear factors. x²−6x+7=(x−3)²−2=(x−3−√2)(x−3+√2).

  • Leading coefficient and middle term checked
  • Perfect square distinguished from sum of squares
  • Difference-of-squares structure explained
  • Irrational real factors recognized

Ready to practice?

Try the questions, get feedback, and review your reasoning.

Factor quadratic structure practice →