# Square of a Binomial Calculator

URL: https://speedycalculator.com/calculators/math/square-of-a-binomial/
Last updated: 2026-11-08

> The square of a binomial calculator expands (ax + b)² or (ax − b)² into a trinomial, showing the a² ± 2ab + b² pattern, the double root and the y-intercept.

## Inputs

- Form
- a
- b

## Results

- Expanded form
- Steps
- Root of (ax ± b)² = 0
- y-intercept

## Formula

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

## Explanation

Squaring a binomial is one of the special products worth memorising. Forgetting the middle term 2ab (writing (x + 3)² = x² + 9) is one of the most common algebra mistakes.

### How to use the Square of a Binomial Calculator

- **Form**
- **a**
- **b**

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

### How it works

The first and last terms are squared and the middle term is twice their product, with the sign of the binomial.

## Worked example

Inputs: Form: (ax + b)²; a: 2; b: 3.

Results: **Expanded form = 4x² + 12x + 9**; Steps = (2x + 3)² = (2x)² + 2·2x·3 + 3² = 4x² + 12x + 9; Root of (ax ± b)² = 0 = x = −1.5 (double root); y-intercept = 9.

## Key terms

- **Special product**: A product with a memorable pattern, such as (a ± b)² or (a + b)(a − b).

## FAQ

**What is (x + 5)²?**
x² + 10x + 25.

**Why is (a + b)² not a² + b²?**
Because (a + b)(a + b) has two cross terms ab, giving 2ab.

**What is the geometric meaning?**
A square of side a + b splits into a², b² and two a × b rectangles.

**What is (x − 4)²?**
x² − 8x + 16.


## Sources

- [OpenStax: College Algebra 2e](https://openstax.org/details/books/college-algebra-2e)
- [OpenStax: Intermediate Algebra 2e](https://openstax.org/details/books/intermediate-algebra-2e)
