ThisCalculator

Everyday

Polynomial Multiplication Calculator

Updated · Standard formula, shown below

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 resulting polynomial in standard form (terms ordered from highest to lowest degree). You enter the coefficients of each polynomial (or type the polynomials directly), and the calculator performs the distributive multiplication and combines like terms automatically.

Formula

Given two polynomials:

A(x) = anxn + an−1xn−1 + … + a0

B(x) = bmxm + bm−1xm−1 + … + b0

Their product is:

C(x) = A(x) · B(x) = Σi=0n Σj=0m aibj xi+j

Each term of the first polynomial multiplies every term of the second, then like terms (same exponent) are added. The degree of the product is n + m (unless the leading coefficients are zero).

Worked Example

Using the default inputs: first polynomial coefficients 1, 2, 1 (which is x² + 2x + 1) and second polynomial coefficients 1, −1 (which is x − 1).

  1. Multiply each term of the first by each term of the second:
    • x² · x = x³
    • x² · (−1) = −x²
    • 2x · x = 2x²
    • 2x · (−1) = −2x
    • 1 · x = x
    • 1 · (−1) = −1
  2. Combine like terms:
    • x³
    • −x² + 2x² = x²
    • −2x + x = −x
    • −1
  3. Result: x³ + x² − x − 1, so the output coefficients are 1, 1, −1, −1.

The calculator shows the same coefficients: 1, 1, −1, −1.

How to Use the Calculator

Enter the coefficients of each polynomial as a comma-separated list, starting with the highest-degree term. For example, to multiply 2x² + 3x + 5 by x − 4, enter 2,3,5 and 1,−4. The calculator outputs the coefficients of the product polynomial. If a term is missing (e.g., 3x³ + 1 has no x² term), include a zero: 3,0,0,1.

The result is given as a list of coefficients. You can convert that to standard notation by writing them with descending powers of x.

Why Polynomial Multiplication Matters

Polynomial multiplication appears throughout algebra, calculus, and applied math. It is used in:

  • Expanding factored expressions like (x+2)(x−3)
  • Modeling area and volume with variable dimensions
  • Signal processing and control theory (transfer functions)
  • Computer graphics (Bezier curves and splines)
  • Statistics (moment-generating functions)

Understanding the distributive property is essential for more advanced topics like polynomial division, factoring, and solving polynomial equations.

Common Mistakes and How to Avoid Them

  • Missing the zero coefficients: Always include zeros for missing terms, or the calculator will misinterpret the degree.
  • Sign errors: Double-check negative coefficients, especially when subtracting polynomials.
  • Forgetting to combine like terms: The calculator does this automatically, but if you multiply by hand, combine all terms with the same exponent.
  • Misreading the output: The output is a list of coefficients, not the polynomial itself. For example, 1,0,−4 means x² − 4.
  • Order of terms: Always enter coefficients from highest degree to lowest. Reversing the order gives a different (but valid) polynomial representation.

Limitations of the Calculator

This calculator handles polynomials with numeric coefficients, including decimals and fractions (use decimal notation). It does not support symbolic coefficients (like a or k) or variables other than x. For very large degrees (say, over 50), the output may be long, but the calculator will still compute it. The result is exact for integer and decimal coefficients; floating-point rounding may occur for irrational coefficients.

For symbolic multiplication, you would need a computer algebra system (CAS) like Mathematica or SymPy.

Frequently Asked Questions

What does “coefficients” mean?

Coefficients are the numbers that multiply the variable powers. For example, in 3x² − 2x + 7, the coefficients are 3, −2, and 7. The calculator works with these numbers only.

Can I multiply more than two polynomials?

This calculator multiplies exactly two polynomials. To multiply three, multiply the first two, then use the result as the first polynomial and the third as the second.

What if my polynomial has missing terms?

Include a zero for each missing term. For example, 2x³ + 5 should be entered as 2,0,0,5. This ensures the degree is correct.

Does the calculator work with fractions or decimals?

Yes, you can enter decimal coefficients like 0.5 or 1.25. For fractions, convert them to decimals first (e.g., 1/2 = 0.5).

Why is the output a list of numbers, not a polynomial?

The output is the coefficient list, which is the standard way to represent polynomials in computer algebra. You can interpret it as c0xk + c1xk−1 + … + ck, where c0 is the first number.

What is the degree of the product?

The degree of the product is the sum of the degrees of the two input polynomials, provided the leading coefficients are not zero. For example, multiplying a quadratic (degree 2) by a linear (degree 1) gives a cubic (degree 3).

Related

Formula used
in p1 | First polynomial coefficients (highest degree first) | - | 1,2,1 | 0
in p2 | Second polynomial coefficients (highest degree first) | - | 1,-1 | 0
out result | Product polynomial coefficients (highest degree first) | - | poly_mult(p1,p2) | 4

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.