Binomial Factoring Calculator
Enter any two-term expression and the calculator identifies the pattern — difference of squares, sum of cubes, or difference of cubes — and delivers the factored form instantly.
Original Expression
Pattern Identified
Factored Form
Step-by-Step Solution
Numerical Verification
What Is Binomial Factoring?
Binomial factoring takes a two-term polynomial and rewrites it as a product of simpler expressions. The key lies in recognizing one of three classic algebraic identities. Each identity connects a specific binomial shape to its factored form, letting you decompose expressions that would be tedious to factor by trial and error.
The difference of squares is the most recognized pattern: a² − b² becomes (a + b)(a − b). It appears everywhere in algebra, from simplifying rational expressions to computing mental math shortcuts. Cube identities are less common but equally powerful — they appear in calculus limits, number theory, and engineering formulas.
The Three Factorable Binomial Patterns
Difference of Squares
a² − b² = (a+b)(a−b)
Sum of Cubes
a³+b³ = (a+b)(a²−ab+b²)
Difference of Cubes
a³−b³ = (a−b)(a²+ab+b²)
How to Use the Binomial Factoring Calculator
Identify and factor any binomial expression in three steps.
Select Pattern
Choose difference of squares, sum of cubes, or difference of cubes from the dropdown menu.
Enter Base Values
Type the values of a and b. For x² − 9, enter a = x (or numerically, a = any integer) and b = 3.
View Factored Form
Get the factored result, the identity applied, numerical verification, and a step-by-step walkthrough.
Worked Examples
Four binomial factoring problems solved step by step, one for each major pattern.
1Factor 25 − 9Difference of Squares +−
2Factor 8 + 27Sum of Cubes +−
3Factor 64 − 1Difference of Cubes +−
4Factor 100 − 49Difference of Squares +−
Binomial Identity Reference
All factorable binomial identities in one table.
| Identity | Expression | Factored Form |
|---|---|---|
| Difference of Squares | a² − b² | (a + b)(a − b) |
| Sum of Cubes | a³ + b³ | (a + b)(a² − ab + b²) |
| Difference of Cubes | a³ − b³ | (a − b)(a² + ab + b²) |
| Sum of Squares | a² + b² | Irreducible over ℝ |
Frequently Asked Questions
Common questions about binomial factoring patterns.
What is a binomial in algebra? +−
A binomial is a polynomial expression with exactly two terms separated by addition or subtraction, such as x² − 9 or a³ + 8.
What binomial patterns can be factored? +−
The three main factorable binomial patterns are difference of squares (a² − b²), sum of cubes (a³ + b³), and difference of cubes (a³ − b³). Sum of squares (a² + b²) cannot be factored over the reals.
Why can't a sum of two squares be factored? +−
Over the real numbers, a² + b² has no real roots since both terms are non-negative. It is irreducible over ℝ, though it factors over the complex numbers as (a + bi)(a − bi).
How do I recognize a difference of squares? +−
Look for two terms that are both perfect squares connected by subtraction. For example, 25x² − 49 = (5x)² − 7² is a difference of squares.
What is the sum of cubes formula? +−
a³ + b³ = (a + b)(a² − ab + b²). The first factor is a binomial sum and the second is a trinomial with alternating signs.
Can binomial factoring be applied to higher powers? +−
Yes — expressions like x⁴ − 16 can be factored as (x²)² − 4² = (x² + 4)(x² − 4) = (x² + 4)(x + 2)(x − 2) by applying difference of squares iteratively.
Related Tools Showcase
Explore 4 complementary calculators tailored to expand your mathematical analysis.