Last verified · v1.0
Calculator · math
Square Of A Binomial Calculator
Expand (a ± b)² into a² ± 2ab + b² instantly. Enter the first term, sign, and second term to get the complete perfect square trinomial result.
Inputs
Value of (a ± b)²
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
What Is the Square of a Binomial?
A binomial is an algebraic expression containing exactly two terms connected by either addition or subtraction. When that expression is squared — multiplied by itself — the result expands into a predictable three-term polynomial called a perfect square trinomial. The two standard identities are:
- (a + b)² = a² + 2ab + b²
- (a − b)² = a² − 2ab + b²
These identities appear across algebra, geometry, physics, and finance, making them among the most widely applied formulas in mathematics.
Formula Derivation
The formula follows directly from the distributive property. Squaring (a + b) means multiplying the binomial by itself:
(a + b)² = (a + b)(a + b)
Applying FOIL (First, Outer, Inner, Last) to the two binomials:
- First: a × a = a²
- Outer: a × b = ab
- Inner: b × a = ab
- Last: b × b = b²
Combining the two middle terms ab + ab gives 2ab, so the complete expansion is a² + 2ab + b². For (a − b)², both cross-products become −ab, so their sum is −2ab, yielding a² − 2ab + b². This derivation is detailed in the ABSE Math 4 curriculum (Lane Community College), which identifies the square of a binomial as a foundational algebraic identity students must master before advancing to polynomial factoring and quadratic methods.
Variable Definitions
- a (First Term): Any real number, variable, or algebraic expression in the first position of the binomial. Valid entries include constants such as 3 or 10, single variables such as x or y, or compound terms such as 2x or 5m².
- b (Second Term): Any real number, variable, or expression in the second position. Examples include 7, n, 3z, or 4p².
- Sign (±): Selecting + means the binomial is (a + b)² and the middle term is +2ab. Selecting − means the binomial is (a − b)² and the middle term is −2ab. The squared terms a² and b² remain positive in both cases.
Worked Examples
Example 1: (x + 5)²
Set a = x, b = 5, sign = +.
- a² = x²
- 2ab = 2(x)(5) = 10x
- b² = 25
Result: x² + 10x + 25
Example 2: (3y − 4)²
Set a = 3y, b = 4, sign = −.
- a² = (3y)² = 9y²
- 2ab = 2(3y)(4) = 24y
- b² = 16
Result: 9y² − 24y + 16
Example 3: (2m + 7n)²
Set a = 2m, b = 7n, sign = +.
- a² = (2m)² = 4m²
- 2ab = 2(2m)(7n) = 28mn
- b² = (7n)² = 49n²
Result: 4m² + 28mn + 49n²
Real-World Applications
The square of a binomial is not confined to classroom algebra — it solves practical problems across multiple disciplines:
- Geometry: A square with side length (a + b) has total area a² + 2ab + b², mapping to the original square section (a²), two equal rectangular strips (2ab), and a smaller corner square (b²). This gives the formula a direct geometric proof.
- Completing the Square: Every quadratic equation can be solved by converting it into a squared-binomial form, a technique that depends entirely on this identity.
- Finance: The two-period compound growth factor (1 + r)² = 1 + 2r + r² is a direct application, used to approximate portfolio returns over two compounding periods.
- Physics: Kinematic expressions involving squared velocity sums and displacement equations frequently require binomial expansion to isolate variables.
Why Use a Square of a Binomial Calculator?
Manual expansion introduces a predictable class of errors: the most common is writing (a + b)² as a² + b², omitting the middle term 2ab entirely. A dedicated square of a binomial calculator eliminates this mistake by computing each component — a², ±2ab, and b² — automatically and displaying them separately for verification. As noted in the Portland Community College resource on The Binomial Formula, fluency with perfect square trinomials is a prerequisite for factoring, completing the square, and conic section analysis. This tool accelerates that fluency for students and provides a reliable computational check for educators and professionals working with polynomial expressions.
Reference