Example

Factoring x2+3x2x6x^2 + 3x - 2x - 6

Factor x2+3x2x6x^2 + 3x - 2x - 6 using the grouping method.

No single factor is common to all four terms, so apply factoring by grouping.

Step 1 — Group terms with common factors: Pair the first two terms and the last two terms: (x2+3x)+(2x6)(x^2 + 3x) + (-2x - 6).

Step 2 — Factor the GCF from each group: The GCF of x2x^2 and 3x3x is xx: x(x+3)x(x + 3). For the second group, the GCF of 2x-2x and 6-6 is 2-2 (use the negative GCF so that the binomial inside matches the first group): 2(x+3)-2(x + 3). The expression becomes x(x+3)2(x+3)x(x + 3) - 2(x + 3).

Step 3 — Factor the common binomial: Both terms share the factor (x+3)(x + 3). Factor it out: (x+3)(x2)(x + 3)(x - 2).

Step 4 — Check by multiplying to confirm the result equals the original expression.

The factored form is (x+3)(x2)(x + 3)(x - 2). When the second group begins with a negative term, be careful with signs when factoring its GCF — choosing the negative GCF (here 2-2 rather than 22) reverses the signs inside the parentheses and produces the matching binomial factor needed for step 3.

0

1

Updated 2026-04-29

Contributors are:

Who are from:

Tags

OpenStax

Elementary Algebra @ OpenStax

Ch.7 Factoring - Elementary Algebra @ OpenStax

Algebra

Math

Prealgebra

Intermediate Algebra @ OpenStax

Ch.6 Factoring - Intermediate Algebra @ OpenStax

Related
Learn After