<linearGradient id="sl-pl-stream-svg-grad01" linear-gradient(90deg, #ff8c59, #ffb37f 24%, #a3bf5f 49%, #7ca63a 75%, #527f32)
0%

Factor Quadratics with Integer Coefficients

Enter the three coefficients.

Integer Quadratic Factoring

Check the cross-products

Expand (2x + 3)(3x + 1). The first terms give 6x². The middle terms give 2x + 9x. The constants give 3. All three must match your input.

Check special cases first

In 4x² − 16, factor out 4 and use the difference of squares: 4(x − 2)(x + 2). A zero constant lets you factor out x. For x² + x + 1, there is no pair of integer linear factors.

Factor the example by hand

  1. For 6x² + 11x + 3, multiply the leading coefficient by the constant: 6 × 3 = 18. The pair 9 and 2 multiplies to 18 and adds to 11.
  2. Split the middle term: 6x² + 9x + 2x + 3. The first pair has a common factor of 3x; the second pair has a common factor of 1.
  3. After grouping, you have 3x(2x + 3) + 1(2x + 3). Pull out the matching bracket to get (3x + 1)(2x + 3).

Three test cases to try

Enter a, b, cExpected resultQuick check
1, −6, 9(x − 3)²The two middle products are both −3x.
2, 6, 02x(x + 3)The constant is zero, so x divides every term.
1, 0, −2No integer linear factorsThe roots ±√2 are real, but neither is an integer.
Why can two correct answers look different?

Changing the order of the factors gives the same product. A repeated factor can also appear twice or with a squared exponent. Expand the expression before deciding the answers disagree.

Sources

Luca Rossi
Luca Rossi

Luca translates the most common digital challenges into simple steps, helping a global audience regain control of their digital lives and navigate the internet safely.