FOIL method
First+Outer+Inner+Last: acronym for multiplying 2 binomials
≈ 7 min read
Names in other languages
- EnglishFOIL method
- 中文十字交乘法
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
In elementary algebra, FOIL is a mnemonic for the standard method of multiplying two binomials[1]—hence the method may be referred to as the FOIL method. The word FOIL is an acronym 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
- (a+b)(c+d)=ac⏟first+ad⏟outside+bc⏟inside+bd⏟last.
Note that a is both a "first" term and an "outer" term; b 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
edit edit sourceThe FOIL method is a special case of a more general method for multiplying algebraic expressions using the distributive law. The word FOIL was originally intended solely as a mnemonic for high-school students learning algebra. The term appears in William Betz's 1929 text Algebra for Today, where he states:[2]
... 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 in the United States at that time, had written many texts on elementary mathematics topics and had "devoted his life to the improvement of mathematics education".[3]
Many students and educators in the US now use the word "FOIL" as a verb meaning "to expand the product of two binomials".[4]
Examples
edit edit sourceThe method is most commonly used to multiply linear binomials. For example,
- (x+3)(x+5)=x⋅x+x⋅5+3⋅x+3⋅5=x2+5x+3x+15=x2+8x+15.
If either binomial involves subtraction, the corresponding terms must be negated. For example,
- (2x−3)(3x−4)=(2x)(3x)+(2x)(−4)+(−3)(3x)+(−3)(−4)=6x2−8x−9x+12=6x2−17x+12.
The distributive law
edit edit sourceThe FOIL method is equivalent to a two-step process involving the distributive law:[5]
- (a+b)(c+d)=a(c+d)+b(c+d)=ac+ad+bc+bd.
In the first step, the ( c + d) 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
edit edit sourceThe FOIL rule converts a product of two binomials into a sum of four (or fewer, if like terms are then combined) monomials.[6] The reverse process is called factoring or factorization. In particular, if the proof above is read in reverse it illustrates the technique called factoring by grouping.
Table as an alternative to FOIL
edit edit sourceA visual memory tool can replace the FOIL mnemonic for a pair of polynomials 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:
- ×cdaacadbbcbd
In the case that these are polynomials, (ax + b)(cx + d), the terms of a given degree are found by adding along the antidiagonals:
- ×cxdaxacx2adxbbcxbd
so (ax+b)(cx+d)=acx2+(ad+bc)x+bd.
To multiply (a + b + c)(w + x + y + z), the table would be as follows:
- ×wxyzaawaxayazbbwbxbybzccwcxcycz
The sum of the table entries is the product of the polynomials. Thus:
- (a+b+c)(w+x+y+z)=(aw+ax+ay+az)+(bw+bx+by+bz)+(cw+cx+cy+cz).
Similarly, to multiply (ax2 + bx + c)(dx3 + ex2 + fx + g), one writes the same table:
- ×dx3ex2fxgax2adx5aex4afx3agx2bxbdx4bex3bfx2bgxccdx3cex2cfxcg
and sums along antidiagonals:
- (ax2+bx+c)(dx3+ex2+fx+g)=adx5+(ae+bd)x4+(af+be+cd)x3+(ag+bf+ce)x2+(bg+cf)x+cg.
Generalizations
edit edit sourceThe 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 and recursive foiling allows one to expand such products. For instance:
- (a+b+c+d)(x+y+z+w)=((a+b)+(c+d))((x+y)+(z+w))=(a+b)(x+y)+(a+b)(z+w)+(c+d)(x+y)+(c+d)(z+w)=ax+ay+bx+by+az+aw+bz+bw+cx+cy+dx+dy+cz+cw+dz+dw.
Alternate methods based on distributing forgo the use of the FOIL rule, but may be easier to remember and apply. For example:
- (a+b+c+d)(x+y+z+w)=(a+(b+c+d))(x+y+z+w)=a(x+y+z+w)+(b+c+d)(x+y+z+w)=a(x+y+z+w)+(b+(c+d))(x+y+z+w)=a(x+y+z+w)+b(x+y+z+w)+(c+d)(x+y+z+w)=a(x+y+z+w)+b(x+y+z+w)+c(x+y+z+w)+d(x+y+z+w)=ax+ay+az+aw+bx+by+bz+bw+cx+cy+cz+cw+dx+dy+dz+dw.
See also
edit edit sourceReferences
edit edit source- ^ "Simplifying using the FOIL Method Lessons". 19 September 2013. Retrieved 10 May 2018. Wikipedia revision 1372115780, retrieved 2026-11-19
- ^ Betz, William (1929), Algebra for Today (vol. 1), Ginn and Company, p. 291. Wikipedia revision 1372115780, retrieved 2026-11-19
- ^ W. D. R. (November 1937), "Review of Algebra for Today : First Year", The Mathematics Teacher, 30 (7), National Council for the Teaching of Mathematics: 348. Wikipedia revision 1372115780, retrieved 2026-11-19
- ^ McCrea, Emma (2019-05-01). Making Every Maths Lesson Count: Six principles to support great maths teaching (Making Every Lesson Count series). Crown House Publishing Ltd. ISBN 978-1-78583-421-9. Wikipedia revision 1372115780, retrieved 2026-11-19
- ^ Khare, Apoorva; Lachowska, Anna (2015). Beautiful, Simple, Exact, Crazy: Mathematics in the Real World. Yale University Press. p. 3. ISBN 978-0-300-19089-2. This is sometimes called the "FOIL" method – essentially, it is simply the distributive law applied twice. Wikipedia revision 1372115780, retrieved 2026-11-19
- ^ Kirkland, Carla C.; Cleveland, Chan (2020-01-29). Praxis Core For Dummies with Online Practice Tests. John Wiley & Sons. p. 78. ISBN 978-1-119-62047-1. ...reverse FOIL can take you in the opposite direction from one expression to two-term expressions times each other. It's a form of factoring. Wikipedia revision 1372115780, retrieved 2026-11-19
Further reading
edit edit source- Steege, Ray; Bailey, Kerry (1997). Schaum's Outline of Theory and Problems of Intermediate Algebra. Schaum's Outline Series. New York: McGraw–Hill. ISBN 978-0-07-060839-9.
Text derived from https://en.wikipedia.org/w/index.php?oldid=1372115780 under CC BY-SA 4.0; modifications have been made.