Expanding products and combining like terms
Two brackets sitting side by side, like , look harmless until you have to multiply them out. Every term in the first bracket must meet every term in the second, and once the dust settles some of those products turn out to be twins that can be merged into one. Expanding products and combining like terms is the two-step skill that turns a product of binomials into its shortest, fully simplified form: first distribute so nothing is left un-multiplied, then tidy up by adding together any terms that share the same letters raised to the same powers. This is the central skill of the Class 8 chapter We Distribute, Yet Things Multiply. It extends the distributive law for a monomial times a bracket to the full binomial-times-binomial case, and it is the skill every later identity and factorisation problem in the chapter quietly depends on.
Expanding means distributing twice to get all four pairwise products , and simplifying means combining any of those products that are like terms — same letters, same powers — into a single term.
The core idea
Distribute the second bracket over both terms of the first. To multiply and , treat as a single block and distribute it across and separately, then distribute again inside each piece:
where: and are the two terms of the first bracket, and are the two terms of the second bracket, and are the four pairwise products that always result from multiplying two binomials.
FOIL is a memory aid, not a new rule. Multiply the First terms, the Outer terms, the Inner terms, and the Last terms, then add all four products. It is just a name for applying twice in a row — the picture below shows why the four products cover the whole rectangle with no gaps and no overlaps.
Like terms have identical letter-power combinations. Two terms can be combined only if they carry exactly the same letters raised to exactly the same powers; their numerical coefficients may differ. For example, and are like terms, but and are not, because the power of differs. To combine like terms, add or subtract their coefficients and keep the letter part unchanged:
Whether products merge depends on the letters involved. Multiplying two binomials always produces exactly four term-by-term products, because each of the two terms in the first bracket pairs with each of the two terms in the second. Whether those four collapse to three terms, stay as four, or (in special identities met later in the chapter) collapse further depends entirely on whether the Outer and Inner products happen to share the same letters. If the two binomials involve completely different letters, such as , none of the four products can ever combine, and the expanded answer stays a genuine four-term expression.
This derivation shows exactly why multiplying two binomials always produces four term-by-term products before any simplification, and why treating one bracket as a single quantity while distributing is enough to justify the FOIL pattern that students are taught to apply by rote — the goal is to see the rule as two ordinary applications of the distributive law rather than as a separate law to memorise.
Step 1. Treat the second bracket as one quantity, call it , and distribute over the two terms of the first bracket using the ordinary distributive law with , , : . Substituting back, .
Step 2. Distribute again inside each piece, this time treating and as the multipliers. For the first piece, by the distributive law applied to . For the second piece, by the same law applied to .
Step 3. Add the two expanded pieces together to get the full expansion: . This is exactly four terms because each application of the distributive law in Step 1 produced two terms, and each of those was expanded into two more terms in Step 2, giving products in total — one for every pairing of a term from the first bracket with a term from the second.
Step 4. Check the formula against numbers instead of letters. Let , , , , matching the worked example below. The formula gives , which is exactly the four FOIL products found by direct multiplication — confirming the general result holds for this specific case before any like terms are combined.
Worked example
Expand and simplify .
Step 1. Apply the general formula with , , , : First , Outer , Inner , Last .
Step 2. Write all four products together: .
Step 3. Identify like terms: and are like terms, since both carry the letter raised to power ; and have nothing else in the expression to combine with.
Step 4. Combine the like terms by adding their coefficients: , giving the final simplified expansion .
Answer: .
Competitive stretch
Expand and simplify , where the negative sign inside a bracket needs careful sign-tracking.
Step 1. Apply the distributive law twice: First , Outer , Inner , Last .
Step 2. Write all four products: .
Step 3. Identify like terms: and share the letters and , each to power , so they combine to .
Step 4. Final simplified expression: . Notice this has three terms, even though the expansion started with four products — one Outer-Inner pair merged.
Common traps
- Skipping one of the four FOIL products, most often the Inner product, leaving a three-term answer that is missing a middle term.
- Combining unlike terms by mistake, such as adding and as if they were the same kind of term — only identical letter-and-power combinations may be merged.
- Sign errors during Outer or Inner steps when a bracket contains a subtraction, for instance forgetting that gives a negative product.
- Stopping after expansion without combining like terms, leaving an unfinished answer like that is correct but not fully simplified.
Ask the tutor: if an expansion is not matching the expected answer, ask the AI tutor to check your FOIL step by step and pinpoint exactly where a sign or a term went missing.
Why do we always get exactly four products when multiplying two binomials?
Because each of the two terms in the first bracket has to be multiplied by each of the two terms in the second bracket, and there are such pairings. The derivation above shows this formally: distributing the whole second bracket over the first bracket's two terms gives two pieces, and expanding each piece gives two more terms, for four in total. Whether those four later combine into fewer terms depends only on whether any of them happen to be like terms.
How do I know which terms are like terms after expanding?
Compare the letters and their powers, not the coefficients. Two terms are like terms only if they contain exactly the same letters, each raised to exactly the same power — and qualify, but and do not, since the power of is different. A quick habit that helps: underline the letter part of each term in the expanded expression first, then only combine terms whose underlined parts are identical.
I keep forgetting the negative sign when one bracket has a subtraction — how do I avoid that?
Rewrite the subtraction as adding a negative before you distribute, so becomes in your working. Then every FOIL product is a straightforward multiplication, and the sign travels automatically with the term — for example Inner becomes instead of a mental subtraction you might get backwards. Writing the sign explicitly during Step 1, before combining anything, catches most sign slips before they reach the final answer.