# High School Algebra & the FOIL method

**URL:** <https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369>\
**Category:** Factual Questions\
**Created:** [October 27, 2013, 1:16pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369 "2013-10-27T13:16:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![f.coli](https://avatars.discourse-cdn.com/v4/letter/f/eada6e/32.png) [@f.coli](https://boards.straightdope.com/u/f.coli)\
**Post date:** [October 27, 2013, 1:16pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/1 "2013-10-27T13:16:39Z")

</div>

Remember solving polynomials?

(a + b)^2 = a^2 + 2ab + b^2

I have no problem working these problems out, but just what does it accomplish?

Is the equation on the right easier to understand than the equation on the left? I don’t think so.

Perhaps we need to do this to solve equations in the higher mathematical fields like integral calculus or non-linear regression, which I never took in HS or college. Can anyone enlighten me?

---

<div class="post-metadata">

**Author:** ![MikeS](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@MikeS](https://boards.straightdope.com/u/MikeS)\
**Post date:** [October 27, 2013, 1:39pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/2 "2013-10-27T13:39:22Z")

</div>

The skills of algebraic distribution and factoring are used all the time in the sciences; the undergraduate physics majors I teach are completely comfortable in doing this type of thing to solve physical problems, and usually have to apply this skill many times in their homework each week.

---

<div class="post-metadata">

**Author:** ![ZenBeam](https://avatars.discourse-cdn.com/v4/letter/z/3ab097/32.png) [@ZenBeam](https://boards.straightdope.com/u/ZenBeam)\
**Post date:** [October 27, 2013, 1:53pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/3 "2013-10-27T13:53:59Z")

</div>

It’s important to know you can switch between the two forms, it’s not that one form is inherently “better” than the other. Often, you start with the form on the right, and switch to the form on the left. It’s a tool you can use to manipulate complicated equations.

---

<div class="post-metadata">

**Author:** ![Wendell\_Wagner](https://avatars.discourse-cdn.com/v4/letter/w/8491ac/32.png) [@Wendell\_Wagner](https://boards.straightdope.com/u/Wendell_Wagner)\
**Post date:** [October 27, 2013, 2:49pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/4 "2013-10-27T14:49:07Z")

</div>

f.coli writes:

\> Is the equation on the right easier to understand than the equation on the left?

You need to get the terminology right. It’s one equation, not two of them. You can refer to the right side of the equation or the polynomial on the right. You can similarly refer to the left side of the equation or the polynomial on the right. You can’t refer to the equation on the right or the equation on the left.

I had never heard this referred to as the FOIL method before, but apparently some people do use that term. It’s not particularly useful to memorize first-outside-inside-last as a mnemonic. That’s only applicable to multiplying a polynomial with two terms by another one with two terms. There’s no similar mnemonic for multiplying a polynomial with three terms by another one with three terms, for instance. What you need to learn is the distributive law, not the term “FOIL”. The distribution law is important. The clever acronym is trivial:

> **[FOIL method](https://en.wikipedia.org/wiki/FOIL_method)**
>
> In secondary school, FOIL is a mnemonic 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 for the four terms of the product:
> The general form is
> 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.
> The FOIL method is a special case of a mo...

> **[Distributive property](https://en.wikipedia.org/wiki/Distributive_law)**
>
> In mathematics, the distributive property of binary operations generalizes the distributive law, which asserts that the equality
> This basic property of numbers is part of the definition of most algebraic structures that have two operations called addition and multiplication, such as complex numbers, polynomials, matrices, rings, and fields. It is also encountered in Boolean algebra and mathematical logic, where each of the logical and (denoted 
>   
>     
>       
>         
> ∧
>         
>       
> ...

---

<div class="post-metadata">

**Author:** ![Cerealbox](https://avatars.discourse-cdn.com/v4/letter/c/7ab992/32.png) [@Cerealbox](https://boards.straightdope.com/u/Cerealbox)\
**Post date:** [October 27, 2013, 3:22pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/5 "2013-10-27T15:22:24Z")

</div>

You need it to factor a polynomial.

Also you’ll need it later on to pack the thing back up so it looks like the left side.

---

<div class="post-metadata">

**Author:** ![Great\_Antibob](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@Great\_Antibob](https://boards.straightdope.com/u/Great_Antibob)\
**Post date:** [October 27, 2013, 3:33pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/6 "2013-10-27T15:33:22Z")

</div>

The truth?

It’s not easy teaching math. Math up until college is taught as a set of specific things, basically “how to” steps to solving fairly ridiculous artificial problems that often have little resemblance to real life.

Why?

People put up a mental block when it comes to math. It’s pretty hard to explain to kids that the skills they are learning aren’t “here’s how to distribute” but “I’m trying to show you basic problem solving skills in a limited, stilted context so you can use those lessons in logic, rational thinking, and problem solving in a larger context later”. Most kids (actually, most people) don’t get this. Hence, the more modern attempts to relate math problems to the real world.

And algebra is really where you start doing that problem solving. Arithmetic provides the basic tools. Algebra is where you start explaining “how” to use those tools while adding more tools.

And once you know how to use the basic tools, you can, if you choose to go that way in your studies, move on to more advanced tools and methods - like going from a hammer to a crane operator or from knowing how a magnifying glass works to working with electron microscopes.

ETA: And that answers that question: when will I ever use this in real life? The same answer as with a hammer or a phone or a computer. Math as taught in school is another life tool, one that not everybody may use daily but which is as ubiquitous as that hammer or phone or computer and one for which you could hire somebody to use for you but certainly useful to know how to use yourself.

---

<div class="post-metadata">

**Author:** ![Cerealbox](https://avatars.discourse-cdn.com/v4/letter/c/7ab992/32.png) [@Cerealbox](https://boards.straightdope.com/u/Cerealbox)\
**Post date:** [October 27, 2013, 4:17pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/7 "2013-10-27T16:17:05Z")

</div>

I don’t think the op is asking what’s the point of math, but why we focus on this particular application as it seems to make things more complicated not less, thus being counterproductive.

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [October 27, 2013, 5:22pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/8 "2013-10-27T17:22:33Z")

</div>

> [@f.coli](#):
>
> Remember solving polynomials?
> 
> (a + b)^2 = a^2 + 2ab + b^2
> 
> I have no problem working these problems out, but just what does it accomplish?
> 
> Is the equation on the right easier to understand than the equation on the left? I don’t think so.

The short, general answer is that the form on the right is what we sometimes need to work with when we need to combine the expression with other stuff (so we can add like terms, for example).

It comes up quite often, even in relatively basic college-level math, so that a student is at a disadvantage if they can’t look at a binomial squared (like the expression on the left) and remember that it can be expanded into the form on the right; and they’re at a _major_ disadvantage if they don’t know how to somehow figure this out, or they assume that they can just distribute the exponent so that (a + b)[sup]2[/sup] = a[sup]2[/sup] + b[sup]2[/sup]. :smack:

Note: this is a special case of the **Binomial Formula** (see [Wikipedia](http://en.wikipedia.org/wiki/Binomial_theorem) or the more elementary explanation [here](http://www.mathsisfun.com/algebra/binomial-theorem.html)).

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [October 27, 2013, 5:35pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/9 "2013-10-27T17:35:41Z")

</div>

> [@Wendell\_Wagner](#):
>
> You need to get the terminology right. It’s one equation, not two of them. You can refer to the right side of the equation or the polynomial on the right. You can similarly refer to the left side of the equation or the polynomial on the right. You can’t refer to the equation on the right or the equation on the left.

I agree, and I too have tried to speak out against the misuse of the word “equation.” Using “equation” when you mean “expression” is a little like using “sentence” when you mean “word” or “phrase.”

> [@](#):
>
> It’s not particularly useful to memorize first-outside-inside-last as a mnemonic. That’s only applicable to multiplying a polynomial with two terms by another one with two terms. There’s no similar mnemonic for multiplying a polynomial with three terms by another one with three terms, for instance. What you need to learn is the distributive law, not the term “FOIL”. The distribution law is important. The clever acronym is trivial

I disagree with this. It’s true that it’s the distributive law and being able to multiply two polynomials together that’s fundamental, and that binomial times binomial is merely a special case of this; but it’s a special case that’s so common, and that needs to be mastered so thoroughly, that it really does help to have a mnemonic to remind one how that special case works.

I’ll also point out that the OP is not an example of FOIL per se. FOIL may be used to figure out that the left side is equivalent to the right, but the OP hasn’t explicitly done so.

---

<div class="post-metadata">

**Author:** ![Malacandra](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Malacandra](https://boards.straightdope.com/u/Malacandra)\
**Post date:** [October 27, 2013, 6:07pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/10 "2013-10-27T18:07:30Z")

</div>

One of the reasons you need to be able to do this is to show that (a - b)[sup]2[/sup] + 2ab = a[sup]2[/sup] + b[sup]2[/sup]. And when you can do this you can get to a nice simple diagrammatic proof of Pythagoras’ Theorem: Put four identical right-angled triangles together so that their hypotenuses are on the outside forming the sides of a square and the left-over space where the triangles meet forms another small square inside it. Label the short sides a and b (b is the shortest) and the hypotenuse c and after a little algebra you can see that in this case a[sup]2[/sup] + b[sup]2[/sup] = c[sup]2[/sup].

---

<div class="post-metadata">

**Author:** ![j\_sum1](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@j\_sum1](https://boards.straightdope.com/u/j_sum1)\
**Post date:** [October 28, 2013, 1:39am UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/11 "2013-10-28T01:39:13Z")

</div>

In essence what you are doing is converting an expression between two alternative forms. That is, between two alternative calculation methods. And you would choose the form that is most convenient for future processing.

For example in the following:  
(x+2)(x+5) = x[sup]2[/sup]+7x+14

You are converting a multiplication problem to an addition problem.

---

<div class="post-metadata">

**Author:** ![md2000](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@md2000](https://boards.straightdope.com/u/md2000)\
**Post date:** [October 28, 2013, 7:38am UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/12 "2013-10-28T07:38:46Z")

</div>

> [@j\_sum1](#):
>
> In essence what you are doing is converting an expression between two alternative forms. That is, between two alternative calculation methods. And you would choose the form that is most convenient for future processing.
> 
> For example in the following:  
> (x+2)(x+5) = x[sup]2[/sup]+7x+14
> 
> You are converting a multiplication problem to an addition problem.

As a practical application - what is 65x74?

(60+5)(70+4) =  
F — 60x70 —plus  
O— 60x4 —plus  
I— 5x70 —plus  
L— 5x4

If you have a moderately good head for mathematics and decent memory and your times tables, you can do that in your head -  
4200+240+350+20=4810 (If my mental arithmetic brain cells work)

It’s just a way of ensuring you know how to simplify or expand a math expression.

---

<div class="post-metadata">

**Author:** ![aceplace57](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/aceplace57/32/3500_2.png) [@aceplace57](https://boards.straightdope.com/u/aceplace57)\
**Post date:** [October 28, 2013, 2:50pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/13 "2013-10-28T14:50:34Z")

</div>

FOIL has served me well for literally 35 years. Learned it in 9th grade algebra when I was 14. Its one of those things I rarely use anymore but can remember as needed.

---

<div class="post-metadata">

**Author:** ![yearofglad](https://avatars.discourse-cdn.com/v4/letter/y/b782af/32.png) [@yearofglad](https://boards.straightdope.com/u/yearofglad)\
**Post date:** [October 28, 2013, 2:59pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/14 "2013-10-28T14:59:52Z")

</div>

> [@Malacandra](#):
>
> One of the reasons you need to be able to do this is to show that (a - b)[sup]2[/sup] + 2ab = a[sup]2[/sup] + b[sup]2[/sup]. And when you can do this you can get to a nice simple diagrammatic proof of Pythagoras’ Theorem: Put four identical right-angled triangles together so that their hypotenuses are on the outside forming the sides of a square and the left-over space where the triangles meet forms another small square inside it. Label the short sides a and b (b is the shortest) and the hypotenuse c and after a little algebra you can see that in this case a[sup]2[/sup] + b[sup]2[/sup] = c[sup]2[/sup].

I’m a math person, but… why would I want to be able to make a “nice simple diagrammatic proof of Pythagoras’ Theorem”?

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [October 28, 2013, 3:53pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/15 "2013-10-28T15:53:15Z")

</div>

> [@yearofglad](#):
>
> I’m a math person, but… why would I want to be able to make a “nice simple diagrammatic proof of Pythagoras’ Theorem”?

If you were really a math person, you wouldn’t ask that. 🙂 A simple diagrammatic proof of Pythagoras’s Theorem is its own reward.

---

<div class="post-metadata">

**Author:** ![bup](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bup](https://boards.straightdope.com/u/bup)\
**Post date:** [October 28, 2013, 4:04pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/16 "2013-10-28T16:04:20Z")

</div>

> [@yearofglad](#):
>
> I’m a math person, but… why would I want to be able to make a “nice simple diagrammatic proof of Pythagoras’ Theorem”?

To enjoy its ineffable quality of ‘elegance.’

---

<div class="post-metadata">

**Author:** ![Sarah87](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@Sarah87](https://boards.straightdope.com/u/Sarah87)\
**Post date:** [October 28, 2013, 4:06pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/17 "2013-10-28T16:06:21Z")

</div>

there are computers to fix such kind of problems 🙂

---

<div class="post-metadata">

**Author:** ![DrCube](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@DrCube](https://boards.straightdope.com/u/DrCube)\
**Post date:** [October 28, 2013, 4:07pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/18 "2013-10-28T16:07:48Z")

</div>

> [@f.coli](#):
>
> (a + b)^2 = a^2 + 2ab + b^2
> 
> I have no problem working these problems out, but just what does it accomplish?

What’s (a + b)^2 + (2a +b)(a+3b)?

It’s pretty much impossible to figure out in that form, but if you distribute and add up like terms, it’s trivial:

```auto

   a^2 + 2ab + b^2
+ 2a^2 + 7ab + 3b^2
__________________
  3a^2 + 9ab + 4b^2

```

Then you could factor back into the original form if you wanted, or wait until you have a good reason to.

---

<div class="post-metadata">

**Author:** ![Buck\_Godot](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/buck_godot/32/6573_2.png) [@Buck\_Godot](https://boards.straightdope.com/u/Buck_Godot)\
**Post date:** [October 28, 2013, 4:13pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/19 "2013-10-28T16:13:07Z")

</div>

Suppose the equation was

(a+4)^2 -(a+2)^2 = 84

In this form it isn’t easy to see what value “a” should have but if we multiply it out with FOIL:

a^2 +8a +16 - (a^2+4a+4) = 84

a^2 +8a +16 -a^2 -4a - 4 = 84

4a +12=84

4a= 84 -12

4a = 72

a = 18

---

<div class="post-metadata">

**Author:** ![sich\_hinaufwinden](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@sich\_hinaufwinden](https://boards.straightdope.com/u/sich_hinaufwinden)\
**Post date:** [October 28, 2013, 4:36pm UTC](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369/20 "2013-10-28T16:36:00Z")

</div>

To the OP, it’s useful to recognize that the right side of your equation is a perfect square which can therefore be expressed as it is on the left side of the equation. Once you’re comfortable with that, you can take expressions that are not perfect squares and manipulate them so that they are a perfect square plus whatever term you need to add to balance out your manipulation. This process is called ‘‘Completing the Square’’. An example:

x[sup]2[/sup] + 6x + 13

is not a perfect square, but it would be if that 13 was a 9 instead.

So move the 13 off to the side for a sec, put a 9 in there to make your perfect square and just remember to subtract the 9 back out to keep everything equal like this:

(x[sup]2[/sup] + 6x + 9) + 13 - 9

The stuff in parantheses is now a perfect square which can be expressed like the left side of your equation with the additional term needed to make it balance like this:

(x+3)[sup]2[/sup] + 13 - 9

Combine the +13 and -9 to get:

(x+3)[sup]2[/sup] + 4

Now that you know how to complete the square, you can apply that process to the general form of a quadratic equation:

ax[sup]2[/sup] + bx + c = 0

which, if you do it correctly and solve for x, you get the familiar quadratic formula:

x = [-b±(b[sup]2[/sup] - 4ac)[sup]1/2[/sup]]/(2a)

which is a reasonably useful extension of what you asked about. Of course there are other cases in which such algebraic manipulations are useful too. But the bottom line to your question is that knowing what you posted in the OP helps to solve problems as well as being a building block to learn even more math.

[Next page](https://boards.straightdope.com/t/high-school-algebra-the-foil-method/672369.md?page=2)
