Polynomial Expander (FOIL)
Expand (ax+b)(cx+d) into a quadratic with FOIL steps and numeric verification. Free online polynomial expander.
Calculator
Binomial Factors
Factor (ax + b)
Constant of (ax + b)
Factor (cx + d)
Constant of (cx + d)
Verification point
Expansion Summary
Results
Expanded Quadratic
2x² − 5x − 12
Standard form q₂x² + q₁x + q₀
2
First product a·c
-5
Outer + Inner = ad + bc
-12
Last product b·d
13 = 13
Factored vs expanded evaluation must agree
Expansion uses exact FOIL arithmetic and is proved by evaluating both forms at your check x.
Visualizations
FOIL Product Contributions
Verification
Factored vs Expanded
Formula
Each term of the first binomial multiplies each term of the second; the two x-products merge.
Alternative Form
Variables
| Symbol | Name | Unit | Description |
|---|---|---|---|
| a, b | First binomial | numbers | Coefficients of (ax + b) |
| c, d | Second binomial | numbers | Coefficients of (cx + d) |
| q₁ | Middle coefficient | number | Merged Outer + Inner = ad + bc |
| x | Check point | number | Value where both forms are compared |
Explanation
The four FOIL tiles show where each product lands; the two middle tiles stack into the single x-term.
Derivation
Distribute twice: (ax+b)(cx+d) = ax·cx + ax·d + b·cx + b·d = acx² + (ad+bc)x + bd.
Step-by-Step Calculation
Follow each step to understand how the result is calculated from your inputs.
Write the two factors.
Multiply First terms.
Multiply Outer and Inner terms.
Multiply Last terms.
Merge the middle terms into one x coefficient.
Verify at the check x.
Worked Examples
See how the calculator works with different scenarios.
Scenario
Standard FOIL exercise.
Inputs
Calculation
F=2x², O=−8x, I=3x, L=−12 → 2x²−5x−12
Result
2x² − 5x − 12
Interpretation
Check at 5: 13×1 = 13 and 50−25−12 = 13 ✓.
Understanding Your Result
Your Result: Expanded: 2x² + -5x + -12
Typical range: Any real a, b, c, d; q₂ = 0 collapses the result to linear (degenerate binomial product).
What This Means
The quadratic lists exactly what each power contributes after every pair is multiplied out.
Why It Matters
Expanding unlocks the quadratic formula, vertex form, graphing and area models — factored form hides all of that.
Professional Interpretation
Read q₁ = ad + bc as the cross-coupling of the factors; symmetric factors give the 2ab perfect-square pattern.
Recommendations
- •Always merge O + I before finishing
- •Verify with one numeric check
- •Watch signs on negative constants
- •Spot squares and differences early
- •Expand pairwise for longer products
Educational Content
Introduction
Expansion turns compact factored form into explicit standard form, exposing every coefficient FOIL creates.
Concept Explanation
Double distribution: each of 2 terms times each of 2 terms gives 4 products; equal powers add.
Applications
Benefits
- •Four products itemized
- •Middle merge shown
- •Automatic numeric proof
- •Sign-safe arithmetic
- •Pattern spotting (squares)
Limitations
- •Binomial × binomial only
- •Numeric coefficients
- •Single variable
Best Practices
- •Write factors before multiplying
- •Box or grid the four products
- •Merge middles explicitly
- •Verify at an easy x like 1
- •Keep sign with each constant
Common Misconceptions
Practical Tips
- •Attach signs before multiplying
- •Always merge Outer + Inner
- •Verify at x = 1 for a fast check
- •Spot (a±b)² and difference patterns
- •Draw the 2×2 box when learning
- •Expand pairwise for 3+ factors
- •Re-check L = b·d separately
Common Mistakes
Assumptions
This calculator makes the following assumptions to provide estimates:
Limitations
Be aware of these limitations when using this calculator:
Frequently Asked Questions
Answers to common questions about this calculator.
What does expanding mean?
What is the FOIL method?
How do I use this calculator?
Do the middle terms always combine?
How do I verify the expansion?
What about squared binomials like (x + 3)²?
What is the difference of squares?
Can I expand larger products?
Related Calculators
Explore more calculators related to this topic.
Related Guides
Deepen your understanding with these educational resources.
Glossary
Technical terms used in mortgage calculations explained in plain language.
- FOIL
- First, Outer, Inner, Last — the four binomial products.
- Binomial
- Two-term expression ax + b.
- Expanded form
- Standard polynomial with parentheses removed.
- Factored form
- Polynomial written as a product of factors.
- Middle term
- Merged Outer + Inner x-coefficient.
- Perfect square
- (a ± b)² = a² ± 2ab + b².
- Difference of squares
- (a+b)(a−b) = a² − b².
- Distribution
- Multiplying each term across a sum.
Authoritative References
Trusted sources and standards referenced by this calculator.
Applicable Standards
Was This Calculator Helpful?
Page Information
2026-09-29
2.0.0
Free to use for educational and professional purposes.