Polynomial Product Calculator: Multiply Polynomials
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator multiplies two polynomials and returns the expanded product in standard form. You enter the coefficients and exponents of each polynomial, and it gives you the resulting polynomial with like terms combined. It handles one-variable polynomials of any degree, showing the step-by-step multiplication process.
Formula
For two polynomials \(A(x) = a_n x^n + a_{n-1} x^{n-1} + \dots + a_0\) and \(B(x) = b_m x^m + b_{m-1} x^{m-1} + \dots + b_0\), the product \(C(x) = A(x) \cdot B(x)\) is:
\(C(x) = \sum_{i=0}^{n} \sum_{j=0}^{m} a_i b_j \, x^{i+j}\)
Each term in the first polynomial multiplies every term in the second, and the exponents add. The calculator collects terms with the same exponent and sums their coefficients. The result is a polynomial of degree \(n + m\).
Worked Example
Using the default values: \(A(x) = x^2 – 3x + 2\) (coefficients 1, -3, 2) and \(B(x) = x + 1\) (coefficients 1, 1).
- Multiply \(x^2\) by each term of \(B\): \(x^2 \cdot x = x^3\), \(x^2 \cdot 1 = x^2\)
- Multiply \(-3x\) by each term of \(B\): \(-3x \cdot x = -3x^2\), \(-3x \cdot 1 = -3x\)
- Multiply \(2\) by each term of \(B\): \(2 \cdot x = 2x\), \(2 \cdot 1 = 2\)
- Combine like terms: \(x^3 + (x^2 – 3x^2) + (-3x + 2x) + 2 = x^3 – 2x^2 – x + 2\)
The calculator outputs the coefficients: 1, -2, -1, 2, which corresponds to \(x^3 – 2x^2 – x + 2\).
When to Use Polynomial Multiplication
Polynomial multiplication appears in algebra, calculus, physics, and engineering. Common situations include:
- Expanding factored forms like \((x+2)(x-3)\) to find standard form
- Finding the product of two functions in calculus (e.g., when using the product rule)
- Simplifying transfer functions in control systems or signal processing
- Working with generating functions in combinatorics
If you only need to multiply two binomials, the FOIL method works, but for larger polynomials this calculator saves time and reduces arithmetic errors.
How to Enter Polynomials
Enter coefficients as a comma-separated list, starting with the highest-degree term. For example, the polynomial \(4x^3 – 2x + 7\) is entered as 4, 0, -2, 7. Include zero for any missing term. The calculator expects the same format for both polynomials. The result is also given as a coefficient list, from highest degree down to the constant term.
You can use negative coefficients and decimals. For example, \(0.5x^2 – 1.5\) would be 0.5, 0, -1.5.
Common Mistakes and How to Avoid Them
- Missing zero coefficients: Forgetting to include a 0 for a missing term shifts all subsequent coefficients. Always write every term from highest to lowest degree.
- Exponent addition errors: When multiplying, add exponents, not multiply them. \(x^2 \cdot x^3 = x^5\), not \(x^6\).
- Sign errors: Be careful with negative coefficients. \((-3) \cdot (-2) = +6\), not -6.
- Combining unlike terms: Only terms with the same exponent can be added. \(x^2\) and \(x\) are not like terms.
- Degree of the product: The product’s degree is the sum of the degrees of the two polynomials, not the product. If one is degree 2 and the other degree 3, the product is degree 5.
Limitations of the Calculator
This calculator works with one variable and numeric coefficients. It does not handle symbolic coefficients (like \(a\) or \(k\)), nor does it handle multiple variables (like \(x\) and \(y\)). For those cases, you would need a computer algebra system. Also, the calculator only multiplies two polynomials at a time; if you have more than two, you can multiply the result by the next one.
The result is given as a coefficient list, so you need to interpret it yourself. For example, the output 1, -2, -1, 2 means \(x^3 – 2x^2 – x + 2\).
Frequently Asked Questions
What is the FOIL method?
FOIL stands for First, Outer, Inner, Last. It is a mnemonic for multiplying two binomials. For example, \((x+2)(x+3)\): First \(x \cdot x = x^2\), Outer \(x \cdot 3 = 3x\), Inner \(2 \cdot x = 2x\), Last \(2 \cdot 3 = 6\). Combine to get \(x^2 + 5x + 6\). FOIL only works for two binomials; for larger polynomials you need the distributive property.
Can I multiply polynomials with more than one variable?
This calculator only handles one variable. For multivariable polynomials, you would need to multiply each term manually or use a computer algebra system. The process is the same: multiply each term in the first by each term in the second, but you must track both variables’ exponents.
What does “standard form” mean for a polynomial?
Standard form means writing the terms in descending order of degree, from highest exponent to lowest (constant term last). For example, \(2x^2 + 3x – 5\) is in standard form, while \(-5 + 3x + 2x^2\) is not.
Why do I need to include zeros for missing terms?
Including zeros ensures the calculator correctly aligns the exponents. For instance, \(x^3 + 1\) should be entered as 1, 0, 0, 1. If you entered 1, 1, the calculator would interpret it as \(x + 1\), which is wrong.
What is the degree of the product of two polynomials?
The degree of the product is the sum of the degrees of the two polynomials, provided the leading coefficients are not zero. For example, multiplying a quadratic (degree 2) by a cubic (degree 3) gives a degree 5 polynomial.
Can I use decimals or fractions as coefficients?
Yes, the calculator accepts decimal coefficients. For fractions, convert them to decimals first (e.g., \(\frac{1}{2}\) as 0.5). The result will be in decimal form.
Related
Formula used
in p1 | First polynomial coefficients (highest degree first) | - | 1, -3, 2 | 0 in p2 | Second polynomial coefficients (highest degree first) | - | 1, 1 | 0 out product | Product polynomial coefficients | - | polyprod(p1, p2) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.