| product of sums | product of a sum and a difference | product of differences |
| (dx + e)(fx + g) | (dx + e)(fx - g) | (dx - e)(fx - g) |
| (dx + e)(fx) + (dx + e)(g) | (dx + e)(fx) - (dx + e)(g) | (dx - e)(fx) - (dx - e)(g) |
| (dx)(fx) + (e)(fx) + (dx)(g) + (e)(g) | (dx)(fx) + (e)(fx) - ( (dx)(g) + (e)(g) ) | (dx)(fx) - (e)(fx) - ( (dx)(g) + (e)(g) ) |
| dfx² + efx + dgx + eg | dfx² + efx -( dgx + eg ) | dfx² - efx - ( dgx - eg ) |
| dfx² + (ef + dg)x + eg | dfx² + efx - dgx - eg | dfx² - efx - dgx + eg |
| dfx² + (ef - dg)x - eg | dfx² - (ef + dg)x + eg | |
| All three signs are positive and the middle term is the sum of ef and dg. | The sign before the last value is negative and the middle term is the difference between ef and dg. | The sign before the last calue is positive and the middle term, though preceded by a subtraction, is the sum of ef and dg. |
| In all cases, a must be equal to df and c must be equal to eg. | ||
| ac | = | (df)(eg) |
| = | defg | |
| = | (ef)(dg) |
| 1 | and | 120 |
| 2 | and | 60 |
| 3 | and | 40 |
| 4 | and | 30 |
| 5 | and | 24 |
| 6 | and | 20 |
| 8 | and | 15 |
| 10 | and | 12 |
A second example is