FOIL Calculator
Calculate foilcalculator instantly with our math tool. Shows detailed work, formulas used, and multiple solution methods.
Reviewed by Manoj Kumar, Mathematics Educator
Formula
(ax + b)(cx + d) = acx^2 + (ad + bc)x + bd
FOIL multiplies First (ac), Outer (ad), Inner (bc), and Last (bd) terms. The x^2 coefficient is the product of the first terms, the x coefficient is the sum of outer and inner products, and the constant is the product of the last terms.
Worked Examples
Example 1: Multiply (2x + 3)(4x + 5)
Problem:Use the FOIL method to expand (2x + 3)(4x + 5).
Solution:First: 2x * 4x = 8x^2\nOuter: 2x * 5 = 10x\nInner: 3 * 4x = 12x\nLast: 3 * 5 = 15\nCombine like terms: 8x^2 + 10x + 12x + 15 = 8x^2 + 22x + 15
Result:8x^2 + 22x + 15
Example 2: Multiply (x - 4)(x + 7)
Problem:Use FOIL to expand (x - 4)(x + 7).
Solution:First: x * x = x^2\nOuter: x * 7 = 7x\nInner: -4 * x = -4x\nLast: -4 * 7 = -28\nCombine: x^2 + 7x - 4x - 28 = x^2 + 3x - 28
Result:x^2 + 3x - 28
Frequently Asked Questions
What does FOIL stand for and how does it work?
FOIL is an acronym that stands for First, Outer, Inner, Last, representing the four multiplications needed when multiplying two binomials together. When you have an expression like (ax + b)(cx + d), First means multiply the first terms of each binomial (a times c), Outer means multiply the outer terms (a times d), Inner means multiply the inner terms (b times c), and Last means multiply the last terms (b times d). After performing all four multiplications, you combine like terms to get the final trinomial result. FOIL is essentially a systematic way to apply the distributive property twice, ensuring no terms are missed during multiplication.
Is FOIL only used for binomials or can it be applied to other polynomials?
FOIL is specifically designed for multiplying two binomials (expressions with exactly two terms each). It cannot be directly applied to trinomials or larger polynomials because the acronym only accounts for four products, which is exactly how many you get from two two-term expressions. For multiplying larger polynomials, you must use the general distributive property, where every term in the first polynomial is multiplied by every term in the second polynomial. For example, multiplying a binomial by a trinomial produces six individual products, not four. However, the underlying principle behind FOIL, which is systematic distribution, extends to polynomials of any size.
How do you handle negative numbers when using FOIL?
Handling negative numbers in FOIL requires careful attention to sign rules. When a term in either binomial is negative, you must include that negative sign in the multiplication. Remember that a negative times a positive gives a negative result, and a negative times a negative gives a positive result. For example, with (x - 3)(x + 5): First gives x times x = x^2, Outer gives x times 5 = 5x, Inner gives -3 times x = -3x, and Last gives -3 times 5 = -15. Combining: x^2 + 5x - 3x - 15 = x^2 + 2x - 15. The most common mistake is forgetting to carry the negative sign through the Inner and Last multiplications.
What is the connection between FOIL and the distributive property?
FOIL is actually a specific application of the distributive property of multiplication over addition. The distributive property states that a(b + c) = ab + ac. When multiplying two binomials (a + b)(c + d), you first distribute the entire first binomial across the second: a(c + d) + b(c + d). Then you apply distribution again to each piece: ac + ad + bc + bd. These four terms correspond exactly to First (ac), Outer (ad), Inner (bc), and Last (bd). So FOIL is not a separate mathematical principle but rather a mnemonic device that helps students remember the systematic application of the distributive property to the special case of two binomials.
References
Reviewed by Manoj Kumar, Mathematics Educator · Editorial policy