ALGEBRAAlgebraMathematics Calculator
📏

FOIL Method

FOIL multiplies two binomials: First (a×c), Outer (a×d), Inner (b×c), Last (b×d). (a+b)(c+d)=ac+ad+bc+bd. Same as the box method for binomials — a mnemonic for the distributive property.

Concept Fundamentals
a×c
F
a×d
O
b×c
I
b×d
L
Multiply Binomials with FOILFirst, Outer, Inner, Last

Why This Mathematical Concept Matters

Why: FOIL is the standard way to expand (ax+b)(cx+d) in algebra I. It organizes the four products from the distributive property. Special cases: (a+b)² and (a+b)(a−b) are worth memorizing.

How: First: multiply first terms. Outer: multiply outer terms. Inner: multiply inner terms. Last: multiply last terms. Add all four. Combine like terms (x terms) for the final trinomial.

  • (a+b)²=a²+2ab+b². (a−b)²=a²−2ab+b².
  • (a+b)(a−b)=a²−b² — difference of squares.
  • FOIL is the box method for two binomials — same four products.

📐 Examples — Click to Load

First Binomial (ax + b) × Second (cx + d)

foil.sh
CALCULATED
$ foil --a=1 --b=3 --c=1 --d=2
First (ac)
1
Outer (ad)
2
Inner (bc)
3
Last (bd)
6
Result
x² +5x +6
Share:

FOIL Terms (absolute values)

Contribution of Each Term

📐 Calculation Steps

Multiplying: (x + 3)(x + 2)
Using FOIL: First, Outer, Inner, Last
1. First: x × x = x²
2. Outer: x × 2 = 2x
3. Inner: 3 × x = 3x
4. Last: 3 × 2 = 6
5. Combine: x² + 2x + 3x + 6
Result: (x + 3)(x + 2) = x² +5x +6

⚠️For educational and informational purposes only. Verify with a qualified professional.

🧮 Fascinating Math Facts

📐

(x+3)(x+5)=x²+8x+15. F: x², O: 5x, I: 3x, L: 15.

— Example

🔗

(a+b)(a−b)=a²−b² — conjugate pairs eliminate middle term.

— Special

📋 Key Takeaways

  • FOIL = First, Outer, Inner, Last — a mnemonic for multiplying binomials
  • (ax+b)(cx+d) = ac·x² + ad·x + bc·x + bd
  • • FOIL is the distributive property applied twice
  • Conjugate pairs: (a+b)(a−b) = a²−b² — middle terms cancel
  • (a+b)² = a² + 2ab + b² — perfect square pattern

💡 Did You Know?

📐FOIL is just the distributive property: (a+b)(c+d) = a(c+d) + b(c+d) = ac+ad+bc+bd.Source: Algebra
🔢Conjugate pairs (x+5)(x-5) = x²-25 — the cross terms cancel, leaving difference of squares.Source: Special Products
Mental math: 21×19 = (20+1)(20-1) = 20²−1² = 400−1 = 399. Use conjugates!Source: Trick
📊The area model shows FOIL visually: a rectangle split into four smaller rectangles.Source: Geometry
🎯(3x+2)² = 9x² + 12x + 4. The middle term is always 2×(first)×(last).Source: Perfect Square
🧮FOIL extends to longer polynomials: multiply each term in the first by each in the second.Source: Extension

📖 How FOIL Works

To multiply (ax+b)(cx+d), apply the distributive property: multiply each term in the first binomial by each term in the second. FOIL organizes this: First terms (a·c), Outer (a·d), Inner (b·c), Last (b·d). Sum them and combine like terms.

Example: (x+3)(x+2)

F: x·x = x². O: x·2 = 2x. I: 3·x = 3x. L: 3·2 = 6. Sum: x² + 2x + 3x + 6 = x² + 5x + 6.

Conjugate: (x+5)(x-5)

F: x². O: -5x. I: +5x. L: -25. Outer + Inner cancel! Result: x² − 25.

Perfect Square: (3x+2)² = (3x+2)(3x+2)

F: 9x². O: 6x. I: 6x. L: 4. Sum: 9x² + 12x + 4. The middle term is always 2×(first)×(last) = 2·3x·2 = 12x.

🎯 Expert Tips

💡 Spot Conjugates

(a+b)(a−b) always gives a²−b². No middle term — great for mental math.

💡 Perfect Square

(a+b)² = a²+2ab+b². The middle coefficient is always 2ab.

💡 Combine Like Terms

After FOIL, always add the x terms: ad + bc.

💡 Distributive Property

FOIL is just (a+b)(c+d) = ac+ad+bc+bd. Same idea for longer polynomials.

📊 Special Products Table

PatternFormulaWhen to Use
FOIL(a+b)(c+d) = ac+ad+bc+bdAny two binomials
Conjugate(a+b)(a−b) = a²−b²Same terms, opposite signs
Square of sum(a+b)² = a²+2ab+b²Binomial squared, both +
Square of diff(a−b)² = a²−2ab+b²Binomial squared, both −

❓ FAQ

What does FOIL stand for?

First, Outer, Inner, Last. It reminds you which pairs to multiply when expanding (ax+b)(cx+d).

Is FOIL the same as the distributive property?

Yes. FOIL is a structured way to apply the distributive property twice to binomials.

When do the middle terms cancel?

In conjugate pairs (a+b)(a−b): Outer = ab, Inner = -ab, so they cancel. Result is a²−b².

How do I multiply (3x+2)²?

Use (a+b)² = a²+2ab+b²: (3x)² + 2(3x)(2) + 2² = 9x² + 12x + 4.

Can FOIL be used for (x+1)(x²+2x+3)?

Yes — multiply each term in the first by each in the second. You get more than four terms.

What is the area model for FOIL?

Draw a 2×2 grid. Each cell is one FOIL product. The total area is the expanded form.

Why is it called FOIL?

FOIL is a mnemonic device to remember the order: First, Outer, Inner, Last. It helps students avoid missing any of the four products when expanding.

📝 Practice Checklist

Before using FOIL, verify:

  • Both expressions are binomials (two terms each)
  • You have identified a, b, c, d correctly
  • For conjugate pairs, check if (a,b) matches (c,−d)
  • For perfect squares, check if both binomials are identical

🔢 Quick Reference

F
First: a×c
O
Outer: a×d
I
Inner: b×c
L
Last: b×d

📐 Area Model Visualization

FOIL can be visualized with an area model. Draw a rectangle with sides (ax+b) and (cx+d). Split it into four smaller rectangles:

ac·x² (First)ad·x (Outer)
bc·x (Inner)bd (Last)

Total area = ac·x² + ad·x + bc·x + bd = combined FOIL result.

This geometric view reinforces why we multiply each term in the first binomial by each term in the second — we are finding the area of each sub-rectangle.

🔄 FOIL vs Distributive Property

FOIL is a special case of the distributive property. For (a+b)(c+d), we distribute twice:

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

Reordering: ac + ad + bc + bd = First + Outer + Inner + Last

The same idea extends to (ax+b)(cx²+dx+e) — multiply each term in the first by each in the second, then combine like terms.

🧠 Mental Math Trick: Conjugate Pairs

Use (a+b)(a−b) = a²−b² for quick mental multiplication. Example: 47×53 = (50−3)(50+3) = 50²−3² = 2500−9 = 2491. Or 21×19 = (20+1)(20−1) = 400−1 = 399.

Strategy: Find the midpoint m, write as (m+d)(m−d) = m²−d²

This works whenever the two numbers are equidistant from a round number. Try 34×26 = (30+4)(30−4) = 900−16 = 884.

Tip: When the numbers are close (e.g., 23×27), the conjugate trick is faster than traditional multiplication.

⚠️ Disclaimer: FOIL applies to binomials. For longer polynomials, use the distributive property (each term × each term). Educational use only.

FOIL is the inverse of factoring. Use the Factoring Trinomials Calculator to go from expanded form back to binomials.

Both calculators support the same algebraic patterns from different directions.

Expand with FOIL → Factor with Trinomials.

👈 START HERE
⬅️Jump in and explore the concept!
AI