math

Square of a Binomial: Definition, Formula, and Examples

The square of a binomial means multiplying a binomial by itself and writing the result as an equivalent algebraic expression. For the most common pattern, (a+b)², the expanded...

Mara Ellison
Square of a Binomial: Definition, Formula, and Examples

What is the square of a binomial

The square of a binomial means multiplying a binomial by itself and writing the result as an equivalent algebraic expression. For the most common pattern, (a+b)², the expanded form is a²+2ab+b². This rule shows how the square distributes over the sum of two terms, producing three terms in the result: the square of the first term, twice their product, and the square of the last term. The same logic applies to (a−b)², which yields a²−2ab+b². These identities are foundational for factoring, simplifying expressions, and solving equations in algebra.

Definition and core identity

In algebra, a binomial is an expression with two terms joined by addition or subtraction. Squaring a binomial means multiplying that binomial by itself. The core identities are:

  • (a+b)² = a² + 2ab + b²
  • (a−b)² = a² − 2ab + b²

These identities hold for any real numbers, variables, or algebraic expressions that can be substituted for a and b. They are derived by applying the distributive property twice and are valid in every context where conventional algebra applies.

Pattern structure

Both identities share a consistent pattern: the first term squared, plus or minus twice the product of the two terms, plus the last term squared. This structure makes it easy to recognize opportunities to use the square-of-a-binomial pattern, whether you are expanding or factoring.

Step-by-step expansion method

To expand the square of a binomial, follow a reliable sequence of steps that guarantees correctness. These steps work whether the binomial involves numbers, variables, or more complex expressions.

  1. Identify the two terms a and b in the binomial.
  2. Square the first term to get a².
  3. Compute twice the product of the two terms to get 2ab.
  4. Square the last term to get b².
  5. Combine the three pieces in the correct order, preserving the sign between the middle term and the last term.

When the binomial involves subtraction, remember that the middle term becomes negative, but the final term, b², remains positive because a negative times a negative yields a positive.

Worked example 1: (x+3)²

Let a=x and b=3. Then:

  • a² = x²
  • 2ab = 2·x·3 = 6x
  • b² = 3² = 9

Therefore, (x+3)² = x² + 6x + 9.

Worked example 2: (2y−5)²

Let a=2y and b=5. Then:

  • a² = (2y)² = 4y²
  • 2ab = 2·(2y)·(5) = 20y
  • b² = 5² = 25

Because the binomial is subtraction, the middle term is negative, so (2y−5)² = 4y² − 20y + 25.

Common patterns and mnemonic

Recognizing the square-of-a-binomial pattern quickly can save time and reduce errors. A useful mnemonic is “First, Outer, Inner, Last” (FOIL) applied to the binomial multiplied by itself, followed by combining like terms. The result always has three terms when like terms are combined.

  • First: a·a = a²
  • Outer: a·b = ab
  • Inner: b·a = ab
  • Last: b·b = b²
  • Sum: a² + ab + ab + b² = a² + 2ab + b²

Memorizing this progression helps you verify expansions quickly and see why the middle coefficient is always 2.

Special cases and sign behavior

Sign errors are common when working with the square of a binomial, especially when subtraction is involved. It is important to note the following:

  • Squaring a sum (a+b)² always produces three terms with the pattern +, +, + after expansion.
  • Squaring a difference (a−b)² produces a positive first term, a negative middle term, and a positive final term, so the pattern is +, −, +.
  • The last term is never negative because it is a square of a real number or expression.

These rules help catch mistakes when checking work and build intuition for more advanced manipulations.

Geometric intuition

Visualizing a square with side length (a+b) provides an intuitive understanding of the identity (a+b)² = a² + 2ab + b². Imagine a large square divided into four regions: a smaller square of area a², two rectangles each of area ab, and a square of area b². The total area is the sum of these parts, matching the algebraic expansion. The same idea applies to (a−b)² by rearranging or removing regions, reinforcing why the formula behaves as it does.

Practice checklist and quick tests

Use this short checklist to verify each step when expanding a square of a binomial.

  • Identify a and b correctly, including signs.
  • Square a to obtain a².
  • Double the product a·b to obtain 2ab, preserving sign.
  • Square b to obtain b², which is always positive.
  • Write the three-term expression in the correct order.

Quick self-test examples to try mentally or on paper:

  • (x+7)² → x² + 14x + 49
  • (y−4)² → y² − 8y + 16
  • (3m+2n)² → 9m² + 12mn + 4n²
  • (5a−b)² → 25a² − 10ab + b²

Common mistakes to avoid

Learners often make specific, avoidable errors when working with the square of a binomial. Being aware of these helps improve accuracy.

  • Distributing the exponent: (a+b)² is not equal to a²+b²; the middle term 2ab is essential.
  • Ignoring the coefficient in 2ab: if a or b has a coefficient, include it in the product.
  • Sign errors with subtraction: write (a−b)² as (a+(−b))² to keep the pattern clear.
  • Forgetting to square the coefficient: for (3x)², the correct result is 9x², not 3x².

Why this matters in algebra and beyond

The square of a binomial is not only a routine algebra exercise; it appears frequently in higher mathematics, physics, and engineering. It underpins factoring quadratics, completing the square, simplifying rational expressions, and solving equations efficiently. Understanding the identity deeply reduces computation time and supports more advanced work with polynomials, calculus, and mathematical modeling.

Summary and key takeaways

The square of a binomial follows reliable, easy-to-remember patterns. For (a+b)², the result is a²+2ab+b²; for (a−b)², it is a²−2ab+b². Focus on three terms: the squares of each term with a middle term that is twice their product, keeping the correct sign. By practicing identification and step-by-step expansion, you can avoid common errors and apply the pattern confidently in algebra and related fields.

Related Reading

More pages in this topic cluster.

How to Write the Sum: A Clear, Authoritative Guide

Writing the sum of values, variables, or sequences is a foundational skill in mathematics, programming, and data analysis. This guide explains how to express a sum clearly using...

Read next
Collinear Points in Math: A Clear, Practical Explanation

Collinear points in math are points that lie on the same straight line in a plane or in space. If you can draw a single line that passes through all given points, those points a...

Read next
Can I Run the Division: A Practical Explanation

In everyday math and in software, the short answer is no: you cannot safely run the division by zero. Division by zero is undefined in ordinary arithmetic and typically raises a...

Read next