Multiplying Binomials Calculator
Use this multiplying binomials calculator to expand expressions such as \((2x+3)(4x-5)\), combine like terms, and see every FOIL step. Enter the coefficients for \((ax+b)(cx+d)\), choose your variable, and the calculator will return the expanded trinomial in standard form.
Multiplying binomials is one of the most important algebra skills because it connects the distributive property, area models, quadratic expressions, factoring, graphing parabolas, and special products. The calculator below is designed for students who need a fast answer and a clear explanation of why the answer works.
Multiply two binomials
Enter values for \((ax+b)(cx+d)\). The calculator expands the expression using FOIL: First, Outer, Inner, and Last. It then combines the middle terms and writes the result in standard form.
What does multiplying binomials mean?
Multiplying binomials means multiplying two algebraic expressions that each contain two terms. A binomial is an expression with exactly two terms, such as \(x+3\), \(2x-5\), \(4a+7\), or \(3m-2\). When two binomials are multiplied, each term in the first binomial must be multiplied by each term in the second binomial. The result often simplifies into a trinomial, which is an expression with three terms, such as \(8x^2+2x-15\).
The most common structure is \((ax+b)(cx+d)\). The letters \(a\), \(b\), \(c\), and \(d\) stand for coefficients or constants. The variable is often \(x\), but the same rule works for \(y\), \(m\), \(t\), or any other variable. The goal is to expand the product and then combine like terms. Like terms are terms with the same variable part, such as \(6x\) and \(-10x\). These can be added or subtracted because they both contain \(x\) to the same power.
For example, \((2x+3)(4x-5)\) is a product of two binomials. The first binomial is \(2x+3\), and the second binomial is \(4x-5\). To multiply them, we distribute every term in the first binomial across every term in the second binomial. The product \(2x\cdot4x\) creates the quadratic term. The products \(2x\cdot(-5)\) and \(3\cdot4x\) create the middle terms. The product \(3\cdot(-5)\) creates the constant term. After combining the middle terms, the final answer is \(8x^2+2x-15\).
Main multiplying binomials formula
\[ (ax+b)(cx+d)=acx^2+adx+bcx+bd \] \[ (ax+b)(cx+d)=acx^2+(ad+bc)x+bd \]
Here, \(acx^2\) is the quadratic term, \((ad+bc)x\) is the combined middle term, and \(bd\) is the constant term.
How to use the multiplying binomials calculator
The calculator uses the standard form \((ax+b)(cx+d)\). Enter the coefficient \(a\), the constant \(b\), the coefficient \(c\), the constant \(d\), and the variable you want to use. For example, if your expression is \((2x+3)(4x-5)\), enter \(a=2\), \(b=3\), \(c=4\), and \(d=-5\). Then press the button to expand the binomials. The calculator will show the original expression, the FOIL products, the combined middle term, and the simplified final answer.
Negative values should be entered with a minus sign. For \((3x-4)(x+7)\), enter \(a=3\), \(b=-4\), \(c=1\), and \(d=7\). If a coefficient is not written, it is usually \(1\). For example, \(x+6\) means \(1x+6\), so enter \(a=1\). If the expression is \(x-9\), enter the constant as \(-9\). These small details matter because most binomial errors come from missing invisible coefficients or mishandling negative signs.
The calculator writes the answer in standard polynomial form, which means descending powers of the variable. For a product of two linear binomials, the highest power is usually \(x^2\), then the \(x\)-term, then the constant term. Standard form makes the result easier to compare, factor, graph, and use in future algebra steps.
Step-by-step method
- Identify the two binomials in the form \((ax+b)(cx+d)\).
- Multiply the first terms: \(ax\cdot cx=acx^2\).
- Multiply the outer terms: \(ax\cdot d=adx\).
- Multiply the inner terms: \(b\cdot cx=bcx\).
- Multiply the last terms: \(b\cdot d=bd\).
- Combine the middle terms \(adx+bcx\) into \((ad+bc)x\).
- Write the final answer in standard form: \(acx^2+(ad+bc)x+bd\).
FOIL method explained
FOIL is a memory tool for multiplying two binomials. The letters stand for First, Outer, Inner, and Last. “First” means multiply the first terms in each binomial. “Outer” means multiply the two terms on the outside of the full product. “Inner” means multiply the two terms on the inside. “Last” means multiply the last terms in each binomial. FOIL is not a new rule separate from the distributive property. It is simply a structured way to apply the distributive property when there are exactly two binomials.
Using FOIL on \((a+b)(c+d)\), the first product is \(ac\). The outer product is \(ad\). The inner product is \(bc\). The last product is \(bd\). Therefore, \((a+b)(c+d)=ac+ad+bc+bd\). When variables and coefficients are included, the same structure becomes \((ax+b)(cx+d)=acx^2+adx+bcx+bd\). The two middle terms both contain the same variable \(x\), so they combine into \((ad+bc)x\).
FOIL is useful because it helps students avoid missing one of the four products. A common beginner mistake is multiplying only the first terms and last terms, such as writing \((x+3)(x+5)=x^2+15\). That answer misses \(5x\) and \(3x\). The correct expansion is \(x^2+8x+15\). FOIL prevents this mistake by reminding you that all four products must be included.
FOIL pattern
\[ (a+b)(c+d)=\underbrace{ac}_{\text{First}}+\underbrace{ad}_{\text{Outer}}+\underbrace{bc}_{\text{Inner}}+\underbrace{bd}_{\text{Last}} \]
Worked examples
Example 1: Multiply \((2x+3)(4x-5)\)
Start by identifying the four parts. Here, \(a=2\), \(b=3\), \(c=4\), and \(d=-5\). The first product is \(2x\cdot4x=8x^2\). The outer product is \(2x\cdot(-5)=-10x\). The inner product is \(3\cdot4x=12x\). The last product is \(3\cdot(-5)=-15\).
\[ (2x+3)(4x-5)=8x^2-10x+12x-15 \] \[ =8x^2+2x-15 \]
The final answer is \(8x^2+2x-15\). The middle terms \(-10x\) and \(12x\) combine to \(2x\). Notice that the constant is negative because \(3\cdot(-5)=-15\).
Example 2: Multiply \((x+6)(x+2)\)
When no coefficient is shown in front of \(x\), the coefficient is \(1\). So \((x+6)(x+2)\) means \((1x+6)(1x+2)\). Multiply the first terms, outer terms, inner terms, and last terms.
\[ (x+6)(x+2)=x^2+2x+6x+12 \] \[ =x^2+8x+12 \]
The answer is \(x^2+8x+12\). The middle coefficient \(8\) comes from \(2+6\), and the constant \(12\) comes from \(6\cdot2\). This example is also useful for understanding factoring later, because factoring reverses this process.
Example 3: Multiply \((3x-4)(x+7)\)
This example includes a negative constant in the first binomial. Treat subtraction as adding a negative number: \(3x-4\) is the same as \(3x+(-4)\). This makes the signs easier to manage.
\[ (3x-4)(x+7)=3x^2+21x-4x-28 \] \[ =3x^2+17x-28 \]
The answer is \(3x^2+17x-28\). The middle terms \(21x\) and \(-4x\) combine to \(17x\). The last term is negative because \(-4\cdot7=-28\).
Example 4: Multiply a binomial square
A binomial square is a binomial multiplied by itself, such as \((x+5)^2\). It means \((x+5)(x+5)\), not \(x^2+5^2\). You must include the middle terms.
\[ (x+5)^2=(x+5)(x+5) \] \[ =x^2+5x+5x+25 \] \[ =x^2+10x+25 \]
The answer is \(x^2+10x+25\). The middle term is \(10x\), not \(0\), and not \(5x\). This is one of the most common special product patterns in algebra.
Example 5: Multiply conjugates
Conjugates are binomials that have the same terms but opposite signs, such as \((x+9)(x-9)\). When conjugates are multiplied, the middle terms cancel.
\[ (x+9)(x-9)=x^2-9x+9x-81 \] \[ =x^2-81 \]
The answer is \(x^2-81\). This follows the difference of squares pattern: \((a+b)(a-b)=a^2-b^2\). In this case, \(a=x\) and \(b=9\).
Distributive property behind binomial multiplication
The FOIL method works because of the distributive property. The distributive property says that multiplying a sum by another expression requires multiplying each part of the sum. For example, \(a(b+c)=ab+ac\). When both factors are binomials, distribution happens twice. First, distribute the first term of the first binomial across the second binomial. Then distribute the second term of the first binomial across the second binomial.
For \((ax+b)(cx+d)\), you can distribute \(ax\) and \(b\) separately. This gives \(ax(cx+d)+b(cx+d)\). Then distribute again to get \(acx^2+adx+bcx+bd\). This method is sometimes clearer than FOIL because it shows the actual algebraic rule behind the process. FOIL is a shortcut, but distribution is the foundation.
Understanding the distributive property also helps when expressions become larger. FOIL only works neatly for multiplying two binomials. If you multiply a binomial by a trinomial, or multiply two polynomials with more than two terms, FOIL is not enough as a memory device. The deeper rule is still distribution: every term in one expression must multiply every term in the other expression.
Distribution form
\[ (ax+b)(cx+d)=ax(cx+d)+b(cx+d) \] \[ =acx^2+adx+bcx+bd \]
Area model for multiplying binomials
An area model is a visual way to understand binomial multiplication. Imagine a rectangle with side lengths \((x+3)\) and \((x+5)\). The total area is the product \((x+3)(x+5)\). Split one side into \(x\) and \(3\), and split the other side into \(x\) and \(5\). The rectangle is divided into four smaller rectangles with areas \(x^2\), \(5x\), \(3x\), and \(15\). Adding those areas gives \(x^2+8x+15\).
This method is especially helpful for students who struggle with the abstract FOIL letters. It shows why there are four products and why the middle terms combine. The \(x^2\) area comes from multiplying the variable parts. The two rectangular \(x\)-areas come from one variable part and one constant part. The constant area comes from multiplying the two constants.
The area model also prepares students for completing the square, factoring quadratics, and understanding algebra tiles. When a quadratic expression is written as \(x^2+8x+15\), the area model can help you see how it factors back into \((x+3)(x+5)\). Multiplication and factoring are reverse processes, so understanding one strengthens the other.
Special products with binomials
Some binomial products appear so often that they have special formulas. These formulas save time, but they should still be understood through FOIL. The first special product is the square of a sum: \((a+b)^2=a^2+2ab+b^2\). The middle term is \(2ab\) because the product contains two matching middle products: \(ab\) and \(ab\).
The second special product is the square of a difference: \((a-b)^2=a^2-2ab+b^2\). The last term is positive because \((-b)(-b)=b^2\), but the middle term is negative because the two middle products are both \(-ab\). This sign pattern is important. A very common mistake is writing \((a-b)^2=a^2-b^2\), but that is incorrect.
The third special product is the difference of squares: \((a+b)(a-b)=a^2-b^2\). In this case, the middle terms cancel because one is \(-ab\) and the other is \(ab\). This pattern appears frequently in factoring, simplifying rational expressions, and solving equations.
| Pattern | Formula | Example | Expanded result |
|---|---|---|---|
| Square of a sum | \((a+b)^2=a^2+2ab+b^2\) | \((x+4)^2\) | \(x^2+8x+16\) |
| Square of a difference | \((a-b)^2=a^2-2ab+b^2\) | \((x-6)^2\) | \(x^2-12x+36\) |
| Difference of squares | \((a+b)(a-b)=a^2-b^2\) | \((x+7)(x-7)\) | \(x^2-49\) |
How multiplying binomials connects to factoring
Multiplying binomials and factoring trinomials are reverse operations. When you multiply \((x+3)(x+5)\), you get \(x^2+8x+15\). When you factor \(x^2+8x+15\), you return to \((x+3)(x+5)\). This connection is important because factoring becomes easier when you understand where each term in the expanded trinomial came from.
In a simple trinomial \(x^2+bx+c\), the two binomial constants must add to \(b\) and multiply to \(c\). This is because \((x+m)(x+n)=x^2+(m+n)x+mn\). The middle coefficient comes from the sum of the two constants, and the constant term comes from their product. For example, \(x^2+8x+15\) factors into \((x+3)(x+5)\) because \(3+5=8\) and \(3\cdot5=15\).
For trinomials with a leading coefficient other than \(1\), the structure is more complex, but the same multiplication rule still explains the result. If \((2x+3)(4x-5)=8x^2+2x-15\), then factoring \(8x^2+2x-15\) means finding the two binomials whose FOIL products produce that trinomial. Multiplication is the forward process; factoring is the backward process.
Common mistakes when multiplying binomials
The first common mistake is forgetting the outer and inner products. Students sometimes multiply only the first terms and the last terms. For example, they may write \((x+2)(x+7)=x^2+14\). The correct expansion is \(x^2+9x+14\), because \(7x\) and \(2x\) must also be included. FOIL helps prevent this error by reminding you to include all four products.
The second common mistake is losing negative signs. In \((x-4)(x+3)\), the last product is \(-12\), and the middle terms are \(3x\) and \(-4x\). The final answer is \(x^2-x-12\), not \(x^2+7x-12\). Treat subtraction as adding a negative number to keep the signs clear.
The third common mistake is squaring a binomial incorrectly. The expression \((x+5)^2\) is not \(x^2+25\). It means \((x+5)(x+5)\), which expands to \(x^2+10x+25\). The missing middle term is one of the most frequent algebra mistakes.
The fourth common mistake is failing to combine like terms. After FOIL, you may have four terms, such as \(8x^2-10x+12x-15\). This is not fully simplified because \(-10x\) and \(12x\) are like terms. Combine them to get \(8x^2+2x-15\). The calculator shows both the expanded FOIL line and the simplified line so students can see where the final answer comes from.
The fifth common mistake is writing terms out of standard order. Although \(2x+8x^2-15\) has the same value as \(8x^2+2x-15\), the standard form is usually preferred. Standard form lists terms by descending powers: \(x^2\), then \(x\), then the constant. This order makes polynomial expressions easier to read, compare, and factor.
Practice problems
Use these practice problems after trying the calculator. Expand each pair of binomials and write the result in standard form.
- \((x+4)(x+9)\)
- \((x-3)(x+8)\)
- \((2x+5)(x-6)\)
- \((3x-2)(4x+7)\)
- \((x+10)(x-10)\)
- \((x-6)^2\)
Answers: \(1)\ x^2+13x+36\). \(2)\ x^2+5x-24\). \(3)\ 2x^2-7x-30\). \(4)\ 12x^2+13x-14\). \(5)\ x^2-100\). \(6)\ x^2-12x+36\).
Multiplying binomials FAQs
What is the formula for multiplying binomials?
The general formula is \((ax+b)(cx+d)=acx^2+(ad+bc)x+bd\). It comes from multiplying the first, outer, inner, and last terms, then combining like terms.
What does FOIL stand for?
FOIL stands for First, Outer, Inner, and Last. It is a memory tool for multiplying two binomials and making sure all four products are included.
Is FOIL the same as the distributive property?
FOIL is a shortcut based on the distributive property. The distributive property is the deeper rule, while FOIL is a convenient method for exactly two binomials.
What is \((x+a)(x+b)\)?
The expansion is \((x+a)(x+b)=x^2+(a+b)x+ab\). The middle coefficient is the sum of \(a\) and \(b\), and the constant term is their product.
What is the biggest mistake when squaring a binomial?
The biggest mistake is forgetting the middle term. For example, \((x+5)^2=x^2+10x+25\), not \(x^2+25\).
Can this calculator multiply binomials with negative signs?
Yes. Enter negative constants or coefficients with a minus sign, such as \(b=-4\) for \(3x-4\). The calculator handles signs and combines like terms.
Related Num8ers resources
Multiplying binomials connects closely to partial products, binomial coefficients, factoring, and polynomial algebra. These related resources can support the page after publishing.