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:
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
t² − 7t + 12 = 07² − 4(12) = 49 − 48 = 1t = (7 ± √1) / 2 = (7 ± 1) / 2Where You'll Use This
📐 Factoring Trinomials
To factor x² + 7x + 12, you need two numbers that add to 7 and multiply to 12.
📐 The AC Method
For ax² + bx + c, find numbers that add to b and multiply to a·c, then factor by grouping.
📊 Sum & Product Problems
Word problems where two unknown values have a known sum and product — a classic algebra pattern.
🔢 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.
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
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.