Skip to main content

Expand binomials calculator

Mathematics - Binomial Expansion Concept with algebraic expressions and FOIL method

Expand Binomials Calculator — Use FOIL Method Instantly

Expand binomial expressions like (x + a)โฟ using the binomial theorem. Free calculator with step-by-step working shown. For factoring, try our polynomial factorization calculator.

Binomial Expansion Tool

Enter two binomials (for example: (x + 2)(x + 3)) and click Expand to see the full step-by-step expansion.

Expanded result will appear here.
Note: This calculator demonstrates the expansion process. Practice manually for true mastery.

Expand Binomials – Complete Mathematical Explanation

Expanding binomials is one of the most important skills in algebra. A binomial is an expression with exactly two terms, such as x + 3 or 2x - 5. When we expand binomials, we rewrite a product of binomials as a single polynomial.

This skill is essential for simplifying expressions, solving equations, and preparing for advanced topics such as quadratic functions, calculus, and algebraic modeling.

1. What Does It Mean to Expand?

To expand an algebraic expression means to remove parentheses by multiplying each term inside one set of parentheses by each term inside the other.

For example:

(x + 2)(x + 3)

Expanded form:

x² + 5x + 6

2. Understanding Binomials

A binomial has exactly two terms connected by addition or subtraction:

  • x + 5
  • 2x − 7
  • a − b

When two binomials are multiplied together, each term in the first must multiply every term in the second.

3. The Distributive Property

Expanding binomials is based on the distributive property:

a(b + c) = ab + ac

When we have two binomials, the distributive property is applied multiple times.

4. The FOIL Method

For binomials of the form (a + b)(c + d), the FOIL method is commonly used. FOIL stands for:

  • First terms
  • Outer terms
  • Inner terms
  • Last terms

Example with FOIL

(x + 2)(x + 3)

FOIL steps:

First:  x · x = x²
Outer:  x · 3 = 3x
Inner:  2 · x = 2x
Last:   2 · 3 = 6

Combine like terms:

x² + 3x + 2x + 6 = x² + 5x + 6

5. Step-by-Step Expansion Examples

5.1 Example 1: Positive Terms

(x + 4)(x + 1)

FOIL method:

First:  x · x = x²
Outer:  x · 1 = x
Inner:  4 · x = 4x
Last:   4 · 1 = 4

Combine like terms:

x² + x + 4x + 4 = x² + 5x + 4

5.2 Example 2: With Negative Terms

(x - 3)(x + 5)

FOIL method:

First:  x · x = x²
Outer:  x · 5 = 5x
Inner:  (-3) · x = -3x
Last:   (-3) · 5 = -15

Combine like terms:

x² + 5x - 3x - 15 = x² + 2x - 15

5.3 Example 3: Coefficients Greater Than 1

(2x + 3)(x + 4)

FOIL method:

First:  2x · x = 2x²
Outer:  2x · 4 = 8x
Inner:  3 · x = 3x
Last:   3 · 4 = 12

Combine like terms:

2x² + 8x + 3x + 12 = 2x² + 11x + 12

5.4 Example 4: Binomials with Subtraction

(2x - 3)(x - 4)

FOIL method:

First:  2x · x = 2x²
Outer:  2x · (-4) = -8x
Inner:  (-3) · x = -3x
Last:   (-3) · (-4) = 12

Combine like terms:

2x² - 8x - 3x + 12 = 2x² - 11x + 12

5.5 Example 5: Binomials with Different Variables

(x + y)(x + 2)

FOIL method:

First:  x · x = x²
Outer:  x · 2 = 2x
Inner:  y · x = xy
Last:   y · 2 = 2y

Final result:

x² + 2x + xy + 2y

6. Expanding Binomials with More Than Two Variables

The same rules apply when multiple variables are involved:

(a + b)(c + d) = ac + ad + bc + bd

Each term in the first binomial multiplies each term in the second.

7. Special Binomial Products

Perfect Square Binomials

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

Example:

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

Difference of Squares

(a + b)(a - b) = a² - b²

Example:

(x + 4)(x - 4) = x² - 16

8. Common Mistakes to Avoid

  • Forgetting a term: Every term must be multiplied. There should be 4 products total.
  • Sign errors: Negative × positive = negative; negative × negative = positive
  • Not combining like terms: Final answers should be simplified
  • Incorrect FOIL order: FOIL is a guide, not a formula - it always gives 4 terms before combining
  • Misapplying exponents: x · x = x², not 2x

9. How to Check Your Expansion

To verify your result, you can:

  • Substitute a number: Pick a value for x and test both forms
  • Factor back: The expanded form should factor into the original binomials
  • Reverse FOIL: Try to factor your result back to the original expression

Example check:

Original: (x + 2)(x + 3)
Expanded: x² + 5x + 6

Test with x = 1:
Original: (1 + 2)(1 + 3) = 3 × 4 = 12
Expanded: 1² + 5(1) + 6 = 1 + 5 + 6 = 12 ✓

10. Practice Problems with Solutions

Problem 1: Expand (x + 6)(x + 2)

Solution: x² + 2x + 6x + 12 = x² + 8x + 12

Problem 2: Expand (x - 4)(x - 3)

Solution: x² - 3x - 4x + 12 = x² - 7x + 12

Problem 3: Expand (2x - 1)(x + 5)

Solution: 2x² + 10x - x - 5 = 2x² + 9x - 5

Problem 4: Expand (3x + 2)(2x - 3)

Solution: 6x² - 9x + 4x - 6 = 6x² - 5x - 6

Problem 5: Expand (x + y)(x - y)

Solution: x² - xy + xy - y² = x² - y²

11. Expand vs. Factor

Expanding and factoring are opposite processes:

  • Expanding: removes parentheses (multiplying out)
  • Factoring: introduces parentheses (rewriting as product)

Example of the relationship:

Expanding: (x + 3)(x + 2) → x² + 5x + 6
Factoring: x² + 5x + 6 → (x + 3)(x + 2)

Both skills are equally important and often used together in algebra. Try our polynomial factorization calculator to practice factoring.

12. Real-World Applications

Expanding binomials is used in:

  • Quadratic equations: Setting up and solving equations
  • Area and geometry formulas: Calculating areas of rectangles and squares
  • Physics equations: Kinematics and motion formulas
  • Engineering calculations: Structural analysis and design
  • Computer graphics: Transformations and scaling
  • Economics and optimization problems: Maximizing profit or minimizing cost
  • Statistics: Binomial distributions and probability

13. Tips for Mastery

  • Write every multiplication step clearly
  • Double-check signs before combining terms
  • Always combine like terms at the end
  • Practice with many variations (positive, negative, coefficients, variables)
  • Use calculators as learning tools, not shortcuts
  • Memorize special products for faster recognition
  • Check your work by substituting values or factoring back

14. Advanced Binomial Expansion

For binomials raised to higher powers, such as (x + y)³, we use the Binomial Theorem:

(x + y)โฟ = ฮฃ (n choose k) xโฟ⁻แต yแต

Example:

(x + 2)³ = x³ + 6x² + 12x + 8

The FOIL method only works for two binomials. For higher powers, Pascal's Triangle or the Binomial Theorem is needed.

15. Final Thoughts

Expanding binomials builds the foundation for all higher-level algebra. Once mastered, it makes solving equations and understanding polynomial behavior much easier.

Use the expand binomials calculator above to visualize each step, but always practice by hand to develop strong algebraic intuition. With regular practice, you'll be able to expand binomials quickly and accurately, preparing you for more advanced mathematical concepts.

16. Frequently Asked Questions

FOIL works specifically for multiplying two binomials (expressions with exactly two terms). It's a mnemonic that ensures you multiply every combination: first terms, outer terms, inner terms, and last terms. For trinomials or polynomials with more terms, you'd use the more general distributive property instead — multiply each term of one expression by every term of the other.

They are inverse operations. Expanding removes parentheses by multiplying terms: (x + 2)(x + 3) → x² + 5x + 6. Factoring introduces parentheses by finding common factors: x² + 5x + 6 → (x + 2)(x + 3). Both are essential algebra skills used in different contexts — expanding for simplification, factoring for solving equations.

When multiplying two binomials, each of the 2 terms in the first must multiply each of the 2 terms in the second, giving 2 × 2 = 4 products. The FOIL method lists these 4 products. Some of these products are often "like terms" (same variable with same exponent), which you then combine. For example, in (x + 2)(x + 3): 3x and 2x combine to 5x.

Treat negative signs as part of the term. In (x - 3)(x + 5), the second term of the first binomial is -3 (not 3). So Inner is (-3)(x) = -3x and Last is (-3)(5) = -15. Remember: negative × positive = negative, and negative × negative = positive. Sign errors are the most common mistake in binomial expansion.

Special products are patterns that appear frequently and can be memorized: (a + b)² = a² + 2ab + b² (perfect square), (a - b)² = a² - 2ab + b² (perfect square), and (a + b)(a - b) = a² - b² (difference of squares). Recognizing these patterns lets you expand instantly without going through FOIL each time.

Conclusion

Expanding binomials builds the foundation for all higher-level algebra. Once mastered, it makes solving equations and understanding polynomial behavior much easier. Use the calculator above to visualize each step, but always practice by hand to develop strong algebraic intuition.

Readers who wish to continue practicing and reinforce what they've learned can explore the companion learning resource for guided exercises.