terican

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.

FreeInstantNo signupOpen source

Inputs

Value of (a ± b)²

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Value of (a ± b)²

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

Frequently asked questions

What is the square of a binomial formula?
The square of a binomial formula produces two identities: (a + b)² = a² + 2ab + b² and (a − b)² = a² − 2ab + b². Each squared binomial expands into a three-term perfect square trinomial. The three components are the square of the first term (a²), twice the product of both terms (±2ab), and the square of the second term (b²). The formula is derived by multiplying the binomial by itself using the distributive property and combining like terms.
How do you expand (a + b)² step by step?
To expand (a + b)², rewrite it as (a + b)(a + b), then apply FOIL: First gives a × a = a²; Outer gives a × b = ab; Inner gives b × a = ab; Last gives b × b = b². The two middle terms ab + ab combine into 2ab. The full result is a² + 2ab + b². For example, (x + 3)² becomes x² + 6x + 9, where a² = x², 2ab = 2(x)(3) = 6x, and b² = 9.
What is the difference between (a + b)² and (a − b)²?
The only difference between (a + b)² = a² + 2ab + b² and (a − b)² = a² − 2ab + b² is the sign of the middle term. When subtraction appears in the binomial, both cross-products in the FOIL expansion are negative (−ab each), summing to −2ab. The squared terms a² and b² are always positive regardless of the sign. For instance, (x + 4)² = x² + 8x + 16, while (x − 4)² = x² − 8x + 16.
What are the most common mistakes when squaring a binomial?
The most frequent error is computing (a + b)² as a² + b², omitting the middle term 2ab entirely — this incorrectly treats squaring as distributive over addition. A second common mistake is computing the middle term as ab rather than 2ab, forgetting that FOIL produces two cross-product terms that must be summed. A third error is incorrect sign handling in (a − b)², writing +2ab instead of −2ab. A square of a binomial calculator immediately catches all three mistakes.
How does the square of a binomial calculator work?
Enter the first term (a) in the first field and the second term (b) in the second field, then select the sign (+ or −) between them. The calculator applies the formula (a ± b)² = a² ± 2ab + b², computing each component individually: it squares a, multiplies a by b and doubles the result, and squares b. It then assembles the three components into the final expanded trinomial. Numeric inputs return numeric results; variable inputs return symbolic polynomial expressions ready for further use.
Where does the square of a binomial appear in real-world problems?
The square of a binomial appears in geometry when computing areas — a square with side (x + 5) has area x² + 10x + 25. In algebra, completing the square to solve any quadratic equation depends entirely on this identity. In finance, the two-period compound interest factor (1 + r)² = 1 + 2r + r² applies it to estimate portfolio growth. In physics, kinematic and energy equations that involve squared binomial velocity expressions rely on this expansion to simplify and isolate variables.