Factor Pair Finder: Numbers That Add and Multiply To

Enter a target sum and product to find an integer factor pair, real-number pair, or complex pair.

🔢 Number Pair Finder

What Does "Adds To and Multiplies To" Mean?

You're looking for two numbers (let's call them p and q) that satisfy two conditions at the same time:

p + q = S
They add to the sum S
p × q = P
They multiply to the product P

This is one of the most common problems in algebra — especially when factoring quadratic trinomials like x² + bx + c.

How to Find the Two Numbers (Step-by-Step)

The two numbers are always the roots of this quadratic equation:

t² − (sum)t + (product) = 0

Solve using the quadratic formula:

t = (sum ± √(sum² − 4·product)) / 2

Worked Example: Adds to 7, Multiplies to 12

1
Write the equation: t² − 7t + 12 = 0
2
Calculate discriminant: 7² − 4(12) = 49 − 48 = 1
3
Apply formula: t = (7 ± √1) / 2 = (7 ± 1) / 2
4
Answer: t = 4 and t = 3 ✓ → 4 + 3 = 7, 4 × 3 = 12

Where You'll Use This

📐 Factoring Trinomials

To factor x² + 7x + 12, you need two numbers that add to 7 and multiply to 12.

x² + 7x + 12 = (x + 3)(x + 4)

📐 The AC Method

For ax² + bx + c, find numbers that add to b and multiply to a·c, then factor by grouping.

2x² + 7x + 3 → a·c = 6, b = 7

📊 Sum & Product Problems

Word problems where two unknown values have a known sum and product — a classic algebra pattern.

"Two numbers sum to 10, product is 21."

🔢 Vieta's Formulas

The roots of x² + bx + c = 0 always add to −b and multiply to c. This is known as Vieta's formulas.

r₁ + r₂ = −b, r₁ · r₂ = c

Common Examples Reference Table

Adds To (Sum) Multiplies To (Product) The Two Numbers Verification
5 6 2 and 3 2+3=5 ✓, 2×3=6 ✓
7 12 3 and 4 3+4=7 ✓, 3×4=12 ✓
10 21 3 and 7 3+7=10 ✓, 3×7=21 ✓
−5 6 −2 and −3 −2+(−3)=−5 ✓, −2×−3=6 ✓
2 −8 4 and −2 4+(−2)=2 ✓, 4×−2=−8 ✓
−1 −12 3 and −4 3+(−4)=−1 ✓, 3×−4=−12 ✓
8 15 3 and 5 3+5=8 ✓, 3×5=15 ✓
−7 10 −2 and −5 −2+(−5)=−7 ✓, −2×−5=10 ✓
0 −9 3 and −3 3+(−3)=0 ✓, 3×−3=−9 ✓
6 9 3 and 3 3+3=6 ✓, 3×3=9 ✓

Special Cases & Tips

✏️ Product is negative? The two numbers have opposite signs. The larger absolute value takes the sign of the sum.
✏️ Product is positive + sum is negative? Both numbers are negative.
✏️ Sum is 0? The numbers are opposites: p and −p. They multiply to −p².
❌ No solution? When sum² − 4·product < 0, no real pair exists. The quadratic has complex roots only.

Frequently Asked Questions

Why do I need two numbers that add to and multiply to something?

This is the core technique for factoring quadratic expressions. When you factor x² + bx + c, you need two numbers that add to b and multiply to c. These become the constants in your factored form: (x + p)(x + q).

What if the numbers are decimals or fractions?

The solver handles all real numbers. Sometimes factor pairs aren't integers — for example, if sum = 5 and product = 5, the pair is approximately 3.618 and 1.382.

How is this related to the quadratic formula?

Directly. If x² − (sum)x + (product) = 0, then solving with the quadratic formula gives exactly the two numbers you're looking for. Our solver does this automatically.

Can I use this for the AC factoring method?

Yes. For ax² + bx + c, enter the sum as b and the product as a × c. The solver finds the two numbers you need to split the middle term for grouping.

Related Tools and Resources