Learn›Mathematics KnowledgeMK›Polynomials & FOIL
Polynomials and FOIL

Polynomial questions look like a mix of letters and numbers, but they test four moves: combine what matches, multiply every term, FOIL two sets of parentheses, and run it all backwards to factor. Each move has one trap.
Multiplying is finding an area
A term is a number, a letter, or a number times letters, like 5, x or 3x². A polynomial is a sum of terms, like x² + 10x + 24.
| × | x | + 6 |
|---|---|---|
| x | x² | 6x |
| + 4 | 4x | 24 |
A rectangle that is x + 4 tall and x + 6 wide splits into four pieces. Add the pieces: x² + 6x + 4x + 24 = x² + 10x + 24. Every way of multiplying polynomials, FOIL included, is just a way of not missing a piece.
Like terms only
You can add 4x and 6x (both are x) to get 10x. You cannot add x² and 10x: they are different pieces, like square tiles and long tiles. They stay separate.
How to solve them
-
1
Add and subtract only like terms
Like terms have the same letter with the same exponent. Line them up and add their numbers. When you subtract a set of parentheses, the minus sign changes the sign of every term inside it.
Next step: DistributeAdding(3x² + 5x − 2) + (x² − 2x + 7)
4x² + 3x + 5
Subtracting(5x + 4) − (2x − 3)
5x + 4 − 2x + 3 = 3x + 7
-
2
The distributive property: multiply every term
A number outside parentheses multiplies each term inside, including the sign. A negative number outside flips every sign.
Next step: FOIL- −3(2x − 5)
- −3 × 2x − 3 × (−5)
- −6x + 15
-
3
FOIL: First, Outer, Inner, Last
To multiply two sets of parentheses with two terms each, make the four products in the same order every time, then combine the two middle terms.
Firstx · xx²Outerx · 66xInner4 · x4xLast4 · 624Next step: Factor out- (x + 4)(x + 6)
- x² + 6x + 4x + 24
- x² + 10x + 24
-
4
Factoring out the greatest common factor
Find the biggest number and the highest power of x that go into every term, and write it in front of a set of parentheses. Check by distributing it back.
Next step: Factor x² + bx + c- 12x² + 18x
- 6x · 2x + 6x · 3
- 6x(2x + 3)
-
5
Factor x² + bx + c: two numbers that multiply to c and add to b
FOIL backwards. Look for two numbers whose product is the last number and whose sum is the middle number.
Next step: Special productsExampleFactor x² + 9x + 20
- Pairs that multiply to 20: 1 and 20, 2 and 10, 4 and 5.
- Only 4 and 5 add up to 9.
- x² + 9x + 20 = (x + 4)(x + 5). Check: x² + 5x + 4x + 20.
Answer (x + 4)(x + 5)
-
6
Two special products worth memorizing
A sum times a difference loses its middle terms. A set of parentheses squared keeps them: it is not just the two squares.
Next step: Three examplesDifference of squares(x + 6)(x − 6)
x² − 36 (the middle terms cancel)
A square(x + 3)²
x² + 6x + 9, not x² + 9
-
7
Three worked examples, from easy to test level
Each one starts with the first try many people make, crossed out, and then the way that works. Read the wrong try too: the test puts answers like it among the choices.
The test-level one is a word problem. Write the area as a polynomial first, and put in the number only at the end.
Example · EasySimplify (7x − 3) − (4x − 9)
First try
7x − 3 − 4x − 9 = 3x − 12- The first try took the minus sign only to the 4x. The minus in front of parentheses reaches every term inside: −(4x − 9) becomes −4x + 9.
- Rewrite with no parentheses: 7x − 3 − 4x + 9.
- The x terms: 7x − 4x = 3x.
- The plain numbers: −3 + 9 = 6. So the answer is 3x + 6.
Answer 3x + 6
Example · MediumFactor x² + 4x − 45
First try
(x + 15)(x − 3)- The first try found two numbers that multiply to −45 (15 × 3 = 45, and one of them is negative), but 15 and −3 add to 12, not 4. Always check the sum too.
- You need two numbers that multiply to −45 and add to +4.
- Pairs for 45: 1 and 45, 3 and 15, 5 and 9. Only 5 and 9 are 4 apart.
- The sum is +4, so the number that is bigger without its sign (9) gets the plus: +9 and −5. The answer is (x + 9)(x − 5). Check: x² − 5x + 9x − 45 = x² + 4x − 45.
Answer (x + 9)(x − 5)
Example · Test levelA barracks room is a square, x feet on each side. In a remodel, its length grows by 9 feet and its width shrinks by 2 feet. If x = 12, how many square feet bigger is the new room?
First try
New area = x² − 18, so the room got 18 square feet smaller- The first try multiplied only the first terms and the last terms, and lost the middle. The new room is (x + 9) feet by (x − 2) feet, so its area is (x + 9)(x − 2).
- FOIL: x² − 2x + 9x − 18 = x² + 7x − 18.
- The old area is x². The difference: (x² + 7x − 18) − x² = 7x − 18.
- Put in x = 12: 7 × 12 − 18 = 84 − 18 = 66. Check with the real rooms: 21 × 10 = 210, 12 × 12 = 144, and 210 − 144 = 66.
Answer 66 square feet
4 traps in the answer choices
The test writes its wrong answers on purpose: each one is what you get if you make one of these mistakes.
Squaring term by term
(x + 5)²:
Wrongx² + 25
Rightx² + 10x + 25
The minus sign on the first term only
(6x + 2) − (x + 4):
Wrong5x + 6
Right5x − 2
Adding unlike terms
3x + 4x²:
Wrong7x³
Rightstays 4x² + 3x
Forgetting the middle terms
(x + 2)(x + 8):
Wrongx² + 16
Rightx² + 10x + 16
Try 2 questions
Two sample questions on this topic. Pick an answer, then read why. All the practice for this topic is in the Study Hall.
On the computer test, Mathematics Knowledge has 15 questions in 31 minutes: a little over 2 minutes each. On paper it is 25 questions in 24 minutes, a little under 1 minute each. Polynomials show up as short “simplify”, “multiply” or “factor” questions, and inside word problems about the area of a rectangle.
There is no calculator, and you do not need one. The wrong choices are built from the traps on this page: the lost middle term, the minus sign that reached only the first term, the factoring that stopped halfway.
A fast check: pick a small number for x, like x = 2, and put it into the question and into your answer. If both give the same number, your answer is almost surely right. On the computer test you cannot go back, so check before you move on.
Simplify: (4x² + 3x − 5) + (2x² − 7x + 1)
Show the answer
B. Add like terms, one kind at a time. The x² terms: 4x² + 2x² = 6x². The x terms: 3x − 7x = −4x (you owe 7 and have 3, so you still owe 4). The numbers: −5 + 1 = −4. 6x² + 4x − 4 does 7 − 3 but keeps the plus sign (the answer takes the sign of the term that is bigger without its sign, −7x), 6x² − 10x − 4 makes the 3x negative too (−3x − 7x), and 2x² + 10x − 6 subtracts the second set of parentheses instead of adding it. The sum is 6x² − 4x − 4.
Simplify: 8x + 5 − 2x + 6
Show the answer
A. Group the like terms. The x terms: 8x − 2x = 6x. The plain numbers: 5 + 6 = 11. 10x + 11 adds the 2x instead of taking it away, 6x − 1 takes the 6 away instead of adding it, and 17x adds every number as if all of them were x terms. The answer is 6x + 11.
Practice this topic for real
The full lesson in the ASVABIFY Community: more practice questions with every answer explained, and a checkpoint that tells you when you have it. Reading is free with an account; all the practice comes with Study Hall Plus, and it is included with Pro.
Practice in the Study Hall Stuck on one? Ask in #questions, free12 flashcards
Tap a card to flip it. Keep the ones you miss until they stick.
All 12 cards known.
You finished this lesson: Polynomials and FOIL.
Practice score: not taken yet Take the practice
Next topic: Quadratics Course mapSee this topic move.
In the course, every topic is drawn step by step on a whiteboard while a voice explains it, with timed practice tests and a plan for your test date. The first lessons of every module are free.