In high school algebra, ''FOIL'' is a
mnemonic
A mnemonic device ( ), memory trick or memory device is any learning technique that aids information retention or retrieval in the human memory, often by associating the information with something that is easier to remember.
It makes use of e ...
for the standard method of multiplying two
binomials—hence the method may be referred to as the FOIL method. The word ''FOIL'' is an
acronym
An acronym is a type of abbreviation consisting of a phrase whose only pronounced elements are the initial letters or initial sounds of words inside that phrase. Acronyms are often spelled with the initial Letter (alphabet), letter of each wor ...
for the four terms of the product:
* First ("first" terms of each binomial are multiplied together)
* Outer ("outside" terms are multiplied—that is, the first term of the first binomial and the second term of the second)
* Inner ("inside" terms are multiplied—second term of the first binomial and first term of the second)
* Last ("last" terms of each binomial are multiplied)
The general form is
:
Note that is both a "first" term and an "outer" term; is both a "last" and "inner" term, and so forth. The order of the four terms in the sum is not important and need not match the order of the letters in the word FOIL.
History
The FOIL method is a special case of a more general method for multiplying algebraic expressions using the
distributive law
In mathematics, the distributive property of binary operations is a generalization of the distributive law, which asserts that the equality
x \cdot (y + z) = x \cdot y + x \cdot z
is always true in elementary algebra.
For example, in elementary ...
. The word ''FOIL'' was originally intended solely as a
mnemonic
A mnemonic device ( ), memory trick or memory device is any learning technique that aids information retention or retrieval in the human memory, often by associating the information with something that is easier to remember.
It makes use of e ...
for high-school students learning algebra. The term appears in William Betz's 1929 text ''Algebra for Today'', where he states:
... first terms, outer terms, inner terms, last terms. (The rule stated above may also be remembered by the word FOIL, suggested by the first letters of the words first, outer, inner, last.)
William Betz was active in the movement to
reform mathematics
Reform refers to the improvement or amendment of what is wrong, corrupt, unsatisfactory, etc. The modern usage of the word emerged in the late 18th century and is believed to have originated from Christopher Wyvill (reformer), Christopher Wyvill's ...
in the United States at that time, had written many texts on
elementary mathematics
Elementary mathematics, also known as primary or secondary school mathematics, is the study of mathematics topics that are commonly taught at the primary or secondary school levels around the world. It includes a wide range of mathematical c ...
topics and had "devoted his life to the improvement of mathematics education".
Many students and educators in the US now use the word "FOIL" as a verb meaning "to expand the product of two binomials".
Examples
The method is most commonly used to multiply
linear
In mathematics, the term ''linear'' is used in two distinct senses for two different properties:
* linearity of a '' function'' (or '' mapping'');
* linearity of a '' polynomial''.
An example of a linear function is the function defined by f(x) ...
binomials. For example,
:
If either binomial involves
subtraction
Subtraction (which is signified by the minus sign, –) is one of the four Arithmetic#Arithmetic operations, arithmetic operations along with addition, multiplication and Division (mathematics), division. Subtraction is an operation that repre ...
, the corresponding terms must be
negated. For example,
:
The distributive law
The FOIL method is equivalent to a two-step process involving the distributive law:
:
In the first step, the () is distributed over the addition in first binomial. In the second step, the distributive law is used to simplify each of the two terms. Note that this process involves a total of three applications of the distributive property. In contrast to the FOIL method, the method using distributivity can be applied easily to products with more terms such as
trinomials and higher.
Reverse FOIL
The FOIL rule converts a product of two binomials into a sum of four (or fewer, if
like terms
In mathematics, like terms are summands in a sum that differ only by a numerical factor. Like terms can be regrouped by adding their coefficients.
Typically, in a polynomial expression, like terms are those that contain the same variables to t ...
are then combined)
monomial
In mathematics, a monomial is, roughly speaking, a polynomial which has only one term. Two definitions of a monomial may be encountered:
# A monomial, also called a power product or primitive monomial, is a product of powers of variables with n ...
s.
The reverse process is called ''factoring'' or ''
factorization
In mathematics, factorization (or factorisation, see American and British English spelling differences#-ise, -ize (-isation, -ization), English spelling differences) or factoring consists of writing a number or another mathematical object as a p ...
''. In particular, if the proof above is read in reverse it illustrates the technique called
factoring by grouping.
Table as an alternative to FOIL
A visual memory tool can replace the FOIL mnemonic for a pair of
polynomials
In mathematics, a polynomial is a mathematical expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication and exponentiation to nonnegative int ...
with any number of terms. Make a table with the terms of the first polynomial on the left edge and the terms of the second on the top edge, then fill in the table with products of multiplication. The table equivalent to the FOIL rule looks like this:
:
In the case that these are polynomials, , the terms of a given degree are found by adding along the
antidiagonal
In linear algebra, the main diagonal (sometimes principal diagonal, primary diagonal, leading diagonal, major diagonal, or good diagonal) of a matrix A is the list of entries a_ where i = j. All off-diagonal elements are zero in a diagonal matrix ...
s:
:
so
To multiply , the table would be as follows:
:
The sum of the table entries is the product of the polynomials. Thus:
:
Similarly, to multiply , one writes the same table:
:
and sums along antidiagonals:
:
Generalizations
The FOIL rule cannot be directly applied to expanding products with more than two multiplicands or multiplicands with more than two summands. However, applying the
associative law
In mathematics, the associative property is a property of some binary operations that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a valid rule of replacement for express ...
and recursive foiling allows one to expand such products. For instance:
:
Alternate methods based on distributing forgo the use of the FOIL rule, but may be easier to remember and apply. For example:
:
See also
*
Binomial theorem
In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, the power expands into a polynomial with terms of the form , where the exponents and a ...
*
Factorization
In mathematics, factorization (or factorisation, see American and British English spelling differences#-ise, -ize (-isation, -ization), English spelling differences) or factoring consists of writing a number or another mathematical object as a p ...
References
Further reading
*
{{DEFAULTSORT:Foil Method
Elementary algebra
Mnemonic acronyms
Science mnemonics
Multiplication