²

Square of Binomial Calculator

Calculate (a+b)² and (a-b)² using algebraic formulas

Operation Type

📐Binomial Square Formulas

Square of Sum
(a + b)² = a² + 2ab + b²
First squared + twice product + second squared
Square of Difference
(a - b)² = a² - 2ab + b²
First squared - twice product + second squared

Common Mistakes to Avoid

Wrong: (a + b)² = a² + b²
Missing the middle term!
You must include 2ab
Correct: (a + b)² = a² + 2ab + b²
Don't forget the 2ab term
All three terms needed

💡Worked Examples

(3 + 4)²
= 3² + 2(3)(4) + 4²
= 9 + 24 + 16
= 49
(5 - 2)²
= 5² - 2(5)(2) + 2²
= 25 - 20 + 4
= 9
(x + 5)²
= x² + 2(x)(5) + 5²
= x² + 10x + 25
(2x - 3)²
= (2x)² - 2(2x)(3) + 3²
= 4x² - 12x + 9

💼Applications

Algebra
• Expanding expressions
• Factoring
• Simplification
Geometry
• Area calculations
• Square dimensions
• Pythagorean theorem
Number Theory
• Mental math tricks
• Quick calculations
• Pattern recognition

Square of a Binomial Calculator: Expand (a + b)² and (a - b)²

Table of Contents - Square of a Binomial


How to Use This Calculator - Square of a Binomial

Enter the binomial you want to square. For example, (x + 5)², (2x - 3)², or (3a + 4b)². You can include variables, coefficients, and constants.

Click "Calculate" to see the expansion. The calculator shows the squared form, step-by-step FOIL process, and the simplified trinomial result.

The results display the expanded form, highlight the pattern, and verify the answer by factoring back to the original binomial squared.


Understanding Binomial Squares

Squaring a binomial means multiplying it by itself. (a + b)² is really (a + b)(a + b), and (a - b)² is (a - b)(a - b). This creates a specific pattern that's worth memorizing.

The perfect square patterns:

For (a + b)²: Result: a² + 2ab + b²

For (a - b)²: Result: a² - 2ab + b²

Why these patterns matter:

Instead of using FOIL every time, you can recognize the pattern instantly. The first term squared, plus twice the product of both terms, plus the second term squared.

The visual understanding:

Think of (a + b)² as the area of a square with side length (a + b). When you draw it out, you get a square with area a², two rectangles each with area ab, and a smaller square with area b². Total: a² + 2ab + b².

Common misconception:

(a + b)² does NOT equal a² + b². This is one of the most common mistakes in algebra. You must include the middle term 2ab.

The middle term is key:

That 2ab term comes from multiplying the outer and inner terms when you FOIL. It's twice the product because you get ab from the outer multiplication and ba from the inner multiplication, and they combine.


How to Square Binomials Manually

Let me show you how to square binomials using both the formula and FOIL.

Example 1: Using the formula (x + 3)²

Pattern: (a + b)² = a² + 2ab + b²

Step 1: Identify a and b a = x b = 3

Step 2: Apply the formula a² = x² 2ab = 2(x)(3) = 6x b² = 9

Step 3: Combine (x + 3)² = x² + 6x + 9

Example 2: Using FOIL to verify (x + 3)²

Write as (x + 3)(x + 3)

First: x · x = x² Outer: x · 3 = 3x Inner: 3 · x = 3x Last: 3 · 3 = 9

Combine: x² + 3x + 3x + 9 = x² + 6x + 9 ✓

Same result!

Example 3: Negative binomial (x - 5)²

Pattern: (a - b)² = a² - 2ab + b²

a = x b = 5

a² = x² -2ab = -2(x)(5) = -10x b² = 25

Result: (x - 5)² = x² - 10x + 25

Example 4: With coefficient (2x + 3)²

a = 2x b = 3

a² = (2x)² = 4x² 2ab = 2(2x)(3) = 12x b² = 9

Result: (2x + 3)² = 4x² + 12x + 9

Example 5: Negative coefficient (3x - 2)²

a = 3x b = 2

a² = 9x² -2ab = -2(3x)(2) = -12x b² = 4

Result: (3x - 2)² = 9x² - 12x + 4

Example 6: Two variables (x + y)²

a = x b = y

a² = x² 2ab = 2xy b² = y²

Result: (x + y)² = x² + 2xy + y²

Example 7: Larger coefficients (4x + 5)²

a = 4x b = 5

a² = 16x² 2ab = 2(4x)(5) = 40x b² = 25

Result: (4x + 5)² = 16x² + 40x + 25

Example 8: Mixed variables (2a + 3b)²

a = 2a b = 3b

First term: (2a)² = 4a² Middle term: 2(2a)(3b) = 12ab Last term: (3b)² = 9b²

Result: (2a + 3b)² = 4a² + 12ab + 9b²

Example 9: With fractions (x + 1/2)²

a = x b = 1/2

a² = x² 2ab = 2(x)(1/2) = x b² = (1/2)² = 1/4

Result: (x + 1/2)² = x² + x + 1/4

Example 10: Negative fraction (x - 2/3)²

a = x b = 2/3

a² = x² -2ab = -2(x)(2/3) = -4x/3 b² = 4/9

Result: (x - 2/3)² = x² - 4x/3 + 4/9


Real-World Applications

Area calculations:

If a square has side length (x + 5), its area is (x + 5)² = x² + 10x + 25. Expanding binomial squares gives you polynomial area formulas.

Physics distance formula:

When calculating trajectories with initial velocity and acceleration, squared binomials appear in the distance equations.

Financial compound growth:

Investment formulas with growth rates sometimes involve squared binomials when calculating returns over multiple periods.

Engineering stress calculations:

Stress-strain relationships in materials can produce squared binomial terms that need to be expanded for analysis.

Computer graphics transformations:

Rotation and scaling transformations in graphics involve squared binomials when computing coordinates.

Statistics variance formulas:

Variance calculations include (x - mean)² terms that expand to squared binomials.

Optics and focal lengths:

Lens equations sometimes require expanding squared binomial expressions to solve for distances.


Common Mistakes and How to Avoid Them

Mistake 1: Forgetting the middle term

Wrong: (x + 3)² = x² + 9

Right: (x + 3)² = x² + 6x + 9

Why it happens: Thinking squaring distributes over addition. It doesn't. You must include 2ab.

Mistake 2: Incorrect middle term coefficient

Wrong: (x + 3)² = x² + 3x + 9

Right: (x + 3)² = x² + 6x + 9

Why it happens: Forgetting to double the product. The middle term is 2ab, not just ab.

Mistake 3: Sign errors with negative binomials

Wrong: (x - 5)² = x² - 25

Right: (x - 5)² = x² - 10x + 25

Why it happens: Forgetting the middle term entirely or getting its sign wrong.

Mistake 4: Squaring coefficients incorrectly

Wrong: (2x + 3)² = 2x² + 6x + 9

Right: (2x + 3)² = 4x² + 12x + 9

Why it happens: Not squaring the coefficient. (2x)² = 4x², not 2x².

Mistake 5: Middle term sign in (a - b)²

Wrong: (x - 4)² = x² + 8x + 16

Right: (x - 4)² = x² - 8x + 16

Why it happens: Forgetting that -2ab is negative when b is being subtracted.

Mistake 6: Not simplifying fully

Wrong: Leaving (x + 3)² as x² + 3x + 3x + 9

Right: Combine like terms: x² + 6x + 9

Why it happens: Stopping after FOIL without combining the middle terms.

Mistake 7: Confusing with difference of squares

Wrong: Thinking (a + b)² and (a - b)(a + b) are the same

Right: (a + b)² = a² + 2ab + b², but (a - b)(a + b) = a² - b²

Why it happens: Not paying attention to what's being squared versus multiplied.


Related Topics


How This Calculator Works

Step 1: Parse the binomial

Extract first term (a)
Extract second term (b)
Identify the operation (+ or -)

Step 2: Determine the pattern

If (a + b)²: use a² + 2ab + b²
If (a - b)²: use a² - 2ab + b²

Step 3: Calculate first term

Square the first term: a²
Handle coefficients properly
Multiply exponents if variables present

Step 4: Calculate middle term

Multiply: 2 × a × b
Apply appropriate sign (+ or -)
Simplify coefficients

Step 5: Calculate last term

Square the second term: b²
Handle coefficients properly

Step 6: Combine terms

Write in standard form: a² ± 2ab + b²
Ensure descending order of exponents
Simplify any fractions

Step 7: Verify

Factor the result back
Check that it equals original binomial squared
Display step-by-step work

FAQs

What is squaring a binomial?

Multiplying a binomial by itself. (a + b)² means (a + b)(a + b).

What's the formula for (a + b)²?

a² + 2ab + b². First term squared, plus twice the product of both terms, plus second term squared.

What's the formula for (a - b)²?

a² - 2ab + b². Same as (a + b)² but the middle term is negative.

Why isn't (a + b)² equal to a² + b²?

Because squaring doesn't distribute over addition. You must multiply (a + b)(a + b) using FOIL, which gives the middle term 2ab.

How do I remember the formula?

Think "first squared, twice the product, second squared" or use the mnemonic "square, double, square."

Can I just use FOIL instead?

Yes, FOIL always works. But knowing the pattern is faster once you recognize perfect square trinomials.

What's a perfect square trinomial?

The result of squaring a binomial. It follows the pattern a² ± 2ab + b².

How do I factor a perfect square trinomial?

Recognize the pattern, take square roots of first and last terms, check if middle term is twice their product.

What if the coefficient isn't 1?

Square it along with the variable. (2x)² = 4x². The coefficient gets squared too.

What about (a + b + c)²?

That's a trinomial squared, not a binomial. It expands to a² + b² + c² + 2ab + 2ac + 2bc.

Is (x - 3)² the same as -(x + 3)²?

No. (x - 3)² = x² - 6x + 9, but -(x + 3)² = -(x² + 6x + 9) = -x² - 6x - 9.

How do I square negative binomials?

Same formula. For -(x + 3)², factor out the negative first: -1 · (x + 3)² = -(x² + 6x + 9).

Can I square binomials with two variables?

Yes. (x + y)² = x² + 2xy + y². Both terms can be variables.

What if there's a number and a variable in one term?

Treat them together. (2x)² means square both the 2 and the x: 4x².

Why is the middle term always even?

Because it has a factor of 2 in the formula: 2ab. This is why 2ab is always even when a and b are integers.

How is this useful for factoring?

If you recognize a trinomial fits the pattern a² ± 2ab + b², you can immediately write it as (a ± b)².

What's the difference between (a + b)² and 2(a + b)?

Completely different. (a + b)² = a² + 2ab + b². But 2(a + b) = 2a + 2b. Don't confuse squaring with doubling.

Can the answer have fractions?

Yes, especially if the original binomial has fractional terms. (x + 1/2)² = x² + x + 1/4.

How do I verify my answer?

Factor your trinomial. If you get back (a ± b)², your expansion was correct.

What if I make a mistake?

Common errors are forgetting the middle term or getting its sign wrong. Always write out all three terms: a², 2ab (or -2ab), and b².