Free Square of a Binomial Calculator

Enter values to expand the binomial

Understanding the Square of a Binomial

When a binomial is multiplied by itself, the result is an essential algebraic expression known as a perfect square trinomial. This operation appears in numerous algebra topics—from factoring polynomials to solving quadratic equations. Mastering the binomial squared formula allows you to expand any squared binomial manually, but using a dedicated Binomial Square Calculator can accelerate the process and reduce computational errors, especially when dealing with large or messy coefficients.

The basic pattern is captured by the two identities:

(a+b)2=a2+2ab+b2(a+b)^{2} = a^{2} + 2ab + b^{2} (a−b)2=a2−2ab+b2(a-b)^{2} = a^{2} - 2ab + b^{2}

These equations are the foundation of algebra binomial expansion and produce a trinomial that can always be factored back into the original binomial.

The Binomial Squared Formula Explained

The derivation of (a+b)2(a+b)^{2} follows from the distributive law:

(a+b)2=(a+b)(a+b)=a(a+b)+b(a+b)=a2+ab+ba+b2=a2+2ab+b2(a+b)^{2} = (a+b)(a+b) = a(a+b) + b(a+b) = a^{2} + ab + ba + b^{2} = a^{2} + 2ab + b^{2}

Regardless of whether the binomial is a sum or a difference, the process consists of the same four steps:

  1. Square the first term → a2a^{2}.
  2. Multiply the two terms and double the product → 2ab2ab.
  3. Square the second term → b2b^{2}.
  4. Combine with the correct sign – use a plus for the middle term in (a+b)2(a+b)^{2} and a minus for (a−b)2(a-b)^{2}.

The resulting expression is a perfect square trinomial because it can be written as (first term±second term)2(\text{first term} \pm \text{second term})^{2}.

A special case occurs when one of the binomial’s terms equals zero. For instance, (a+0)2=a2+2a⋅0+02=a2(a+0)^{2} = a^{2} + 2a\cdot0 + 0^{2} = a^{2}. The result is simply the square of the nonzero term, and it is always non‑negative.

Binomial formExpanded result
(a+b)2(a+b)^{2}a2+2ab+b2a^{2} + 2ab + b^{2}
(a−b)2(a-b)^{2}a2−2ab+b2a^{2} - 2ab + b^{2}

How to Use This Binomial Square Calculator

The calculator is divided into two main sections, each tailored to a different input style.

1. Expanding (a ± b)² with One Known Term

Choose whether your binomial is a sum or a difference, then supply the known term. The tool accepts positive and negative integers, decimals, and even algebraic expressions as coefficients.

Example: Expand (6−b)2(6 - b)^{2}.

  • Select the (a−b)2(a-b)^{2} form.
  • Enter a=6a = 6.

The step‑by‑step expansion appears immediately:

(6−b)2=62−(2×6×b)+b2=36−12b+b2(6 - b)^{2} = 6^{2} - (2 \times 6 \times b) + b^{2} = 36 - 12b + b^{2}

Additionally, the “Solve for unknown” feature lets you find the missing variable if the squared value is known. If (6−b)2=25(6-b)^{2} = 25, the tool returns b=1b = 1 or b=11b = 11.

2. Expanding (ax + b)² with Both Coefficients

This mode is designed for binomials where both aa and bb are explicitly given, such as (17x+210)2(17x + 210)^{2}.

Example:

  • Input a=17a = 17 and b=210b = 210.

The calculator quickly provides:

  • Expanded polynomial: 289x2+7,140x+44,100289x^{2} + 7,140x + 44,100
  • x‑intercept (if a≠0a \neq 0): approximately (−12.353,0)(-12.353, 0)
  • y‑intercept: (0,44,100)(0, 44,100)

When you also know the value of the expression, use the “Solve for given y” option. For (17x+210)2=345(17x+210)^{2} = 345, the resulting quadratic equation is 289x2+7,140x+43,755=0289x^{2} + 7,140x + 43,755 = 0, with approximate roots x1≈−11.26x_{1} \approx -11.26 and x2≈−13.446x_{2} \approx -13.446.

Interpreting the Roots

The displayed roots are numerical approximations. For exact values, apply the quadratic formula to any quadratic equation px2+qx+r=0px^{2} + qx + r = 0:

x=−q±q2−4pr2px = \frac{-q \pm \sqrt{q^{2} - 4pr}}{2p}

This formula also explains why a squared binomial often leads to two distinct solutions when set equal to a constant other than zero.

Recognizing and Factoring Perfect Square Trinomials

A perfect square trinomial is easy to identify: the first and last terms are perfect squares, and the middle term is twice the product of the square roots of those terms. For example, x2+6x+9x^{2} + 6x + 9 is a perfect square because x2=x\sqrt{x^{2}} = x, 9=3\sqrt{9} = 3, and 2⋅x⋅3=6x2 \cdot x \cdot 3 = 6x. Hence, it factors as (x+3)2(x+3)^{2}.

The Binomial Square Calculator not only expands but also confirms whether a given trinomial is a perfect square, reinforcing the link between the binomial squared formula and factoring.

Why Use This Algebra Binomial Expansion Tool?

Whether you are verifying homework, preparing lesson plans, or performing rapid algebraic manipulations, this Expand (a+b)² calculator streamlines the process. It provides clear step‑by‑step solutions, identifies intercepts, and solves for unknown variables—all while reinforcing the underlying perfect square trinomial concept.

FAQ

1. What is the binomial squared formula?

For a sum, the formula is (a+b)² = a² + 2ab + b²; for a difference, (a−b)² = a² − 2ab + b². Both results are perfect square trinomials.

2. How do you square a binomial difference like (a−b)²?

Square the first term (a²), subtract twice the product of the terms (2ab), then add the square of the second term (b²). The final expression is a² − 2ab + b².

3. What is a perfect square trinomial?

A perfect square trinomial is a three‑term expression that can be factored into (x ± y)². Its first and last terms are perfect squares, and the middle term equals twice the product of their square roots.

4. Can the binomial square calculator solve for the unknown term if the squared result is provided?

Yes, in the simple binomial mode, after expanding the binomial you can enable the “Solve for unknown” feature and enter the value of the squared expression. The calculator then returns the possible values for the missing variable.

5. How does the calculator find the x‑ and y‑intercepts for a squared binomial?

For an expansion of (ax+b)², the y‑intercept is the constant term (b²). The x‑intercept (if a ≠ 0) is found by setting y = 0 and solving the resulting quadratic equation.

How to Use

  1. Choose your mode: (a ± b)² for simple numeric binomial expansion, or (ax + b)² for expansion with variable x.
  2. Enter the values for a and b. For the simple mode, also select the sign (+ or −).
  3. View the step-by-step expansion and results instantly. In (ax + b)² mode, optionally enable "Find roots" and enter a y value to solve for x.