FOIL Method - Table As An Alternative To FOIL

Table As An Alternative To FOIL

A 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. The table equivalent to the FOIL rule looks like this.

\begin{matrix}
\times & c & d \\
a & ac & ad \\
b & bc & bd
\end{matrix}

In the case that these are polynomials, the terms of a given degree are found by adding along the antidiagonals

\begin{matrix}
\times & cx & d \\
ax & acx^2 & adx \\
b & bcx & bd
\end{matrix}

so

To multiply (a+b+c)(w+x+y+z), the table would be as follows.

\begin{matrix}
\times & w & x & y & z \\
a & aw & ax & ay & az \\
b & bw & bx & by & bz \\
c & cw & cx & cy & cz
\end{matrix}

The sum of the table entries is the product of the polynomials. Thus

\begin{align} (a+b+c)(w+x+y+z) = {} & aw + ax + ay + az \\ & {} + bw + bx + by + bz \\ & {} + cw + cx + cy + cz .
\end{align}

Similarly, to multiply one writes the same table

\begin{matrix}
\times & d & e & f & g \\
a & ad & ae & af & ag \\
b & bd & be & bf & bg \\
c & cd & ce & cf & cg
\end{matrix}

and sums along antidiagonals:

\begin{align}(ax^2&+bx+c)(dx^3+ex^2+fx+g)\\
&= adx^5 + (ae+bd)x^4 + (af+be+cd)x^3 + (ag+bf+ce)x^2+(bg+cf)x+cg.\end{align}

Read more about this topic:  FOIL Method

Famous quotes containing the words table, alternative and/or foil:

    When you got to the table you couldn’t go right to eating, but you had to wait for the widow to tuck down her head and grumble a little over the victuals, though there warn’t really anything the matter with them. That is, nothing only everything was cooked by itself. In a barrel of odds and ends it is different; things get mixed up, and the juice kind of swaps around, and the things go better.
    Mark Twain [Samuel Langhorne Clemens] (1835–1910)

    It is a secret from nobody that the famous random event is most likely to arise from those parts of the world where the old adage “There is no alternative to victory” retains a high degree of plausibility.
    Hannah Arendt (1906–1975)

    Like bright metal on a sullen ground,
    My reformation, glitt’ring o’er my fault,
    Shall show more goodly and attract more eyes
    Than that which hath no foil to set it off.
    William Shakespeare (1564–1616)