FOIL Math Calculator
A FOIL Math Calculator multiplies two binomials and shows every step. Enter (x + 2)(x + 3), and it returns x² + 5x + 6 along with the four products behind it.
FOIL stands for First, Outer, Inner, Last. It is a shortcut for the distributive property: every term in the first binomial multiplies every term in the second.
Step-by-Step Solution
Here is how the calculator expands (x + 2)(x + 3):
- First: x · x = x²
- Outer: x · 3 = 3x
- Inner: 2 · x = 2x
- Last: 2 · 3 = 6
- Combine: x² + 3x + 2x + 6
- Simplify: x² + 5x + 6
The middle terms combine because 3x and 2x are like terms: same variable, same power. The x² term and the constant stay separate.
How to Use the FOIL Math Calculator
- Enter the first binomial.
- Enter the second binomial.
- Check the signs, coefficients, and variables.
- Select Calculate.
- Review the First, Outer, Inner, and Last products.
- See how the middle terms combine.
- Check the simplified answer.
- Select Reset for a new problem.
To verify by hand, substitute a number such as x = 1. For (x + 2)(x + 3), both 3 · 4 and 1 + 5 + 6 equal 12.
FOIL Method Formula
When both binomials start with x, the formula simplifies to:
The middle coefficient is the sum of the constants, and the last term is their product. x · x = x² because exponents add when you multiply the same variable.
For signs, keep each sign with its term: matching signs give a positive product, and different signs give a negative one. Write the answer in descending powers of x (x², then x, then the constant), called standard form.
FOIL Method Examples
Example 1 - FOIL With Positive Numbers
(x + 2)(x + 3) = x² + 3x + 2x + 6 = x² + 5x + 6
Example 2 - FOIL With Negative Numbers
(x − 4)(x + 2) = x² + 2x − 4x − 8 = x² − 2x − 8
The −4 makes the Inner and Last products negative.
Example 3 - FOIL With Coefficients
(2x + 3)(3x + 4) = 6x² + 8x + 9x + 12 = 6x² + 17x + 12
Multiply coefficients and variables separately: 2x · 3x = 6x².
Example 4 - FOIL With a Zero Middle Term
(x + 5)(x − 5) = x² − 5x + 5x − 25 = x² − 25
The middle terms cancel. This is a difference of squares: (a + b)(a − b) = a² − b².
Example 5 - FOIL With Negative Coefficients
(2x − 3)(x − 4) = 2x² − 8x − 3x + 12 = 2x² − 11x + 12
The Last product is positive because (−3)(−4) = 12.
Domande frequenti
Personalized questions and guidance about this specific tool.
Strumento
Choose from our specialized tools to expand, factor, and master algebraic equations step-by-step.