Constant (degree 0)
Σ 3 = 3n. A straight line in n.
Add or subtract polynomials (like terms), or sum p(k) from a to n with Faulhaber.
Enter your values below to get started.
Write powers with ^: x^3. Products like (x+1)(x-1) are expanded for you.
Fractions work as coefficients: x/2 + 1/3.
Type n as the upper limit to get the general formula S(n).
Subtraction flips the sign of every term of Q, not just the first one.
A polynomial sum calculator does 2 jobs: it adds or subtracts polynomials by combining like terms, and it sums a polynomial p(k) over a range of whole numbers, such as Σk=1n k² = n(n + 1)(2n + 1)/6. Type the polynomials or the term p(k) with its limits to get the result in standard form, the like-term table, the closed form from Faulhaber's formulas and a step-by-step solution.
A polynomial sum is either the result of adding 2 or more polynomials, found by combining like terms, or the total of a polynomial p(k) evaluated at k = a, a + 1, …, n. Adding 3x² + 2x − 5 and x² − 4x + 1 gives 4x² − 2x − 4; summing p(k) = k² from 1 to 10 gives 385.
Like terms are terms with the same variable raised to the same power, such as 3x² and x². Only the coefficients of like terms are added; the exponents never change.
The polynomial sum calculator expands each input into a list of exact coefficients, one per power, then adds or subtracts the lists power by power. In sum mode, it splits p(k) into powers of k, applies Faulhaber's formula to each power and combines the results into one polynomial S(n).
Products and powers such as (x + 1)² are multiplied out: x² + 2x + 1.
Coefficients are stored by power: x³, x², x, constant.
Add (or subtract) the coefficients of each power.
Σ p(k) = Σ cₘ Σ kᵐ, with Faulhaber's formula for each Σ kᵐ.
There are 2 polynomial sum formulas: the coefficient rule for adding polynomials and Faulhaber's formulas for summing powers of k. The coefficient rule adds matching coefficients; Faulhaber's formulas turn Σ km into a polynomial of degree m + 1.
Here S(n) = Σm cm Σk=1n km for p(k) = Σ cmkm.
Example: Σk=1n (3k² + k) = n(n + 1)(2n + 1)/2 + n(n + 1)/2 = n(n + 1)².
There are 5 common types of polynomial sums by degree of the term: constant, linear, quadratic, cubic and higher-degree sums. Summing a degree-d term from 1 to n always gives a polynomial of degree d + 1 in n.
Σ 3 = 3n. A straight line in n.
Σ (2k + 1) = n² + 2n. An arithmetic series.
Σ k² = n(n + 1)(2n + 1)/6, the square pyramidal numbers.
Σ k³ = [n(n + 1)/2]², the square of the triangular number.
Σ k⁴ = n(n + 1)(2n + 1)(3n² + 3n − 1)/30; Faulhaber gives every power.
To add polynomials by hand, remove the parentheses, group the like terms and add their coefficients. To subtract, change the sign of every term of the second polynomial first. Here is (3x² + 2x − 5) + (x² − 4x + 1):
The graph of P + Q is found by adding the heights of P and Q at every x. At x = 1, P(x) = x² − 2 has height −1 and Q(x) = x + 1 has height 2, so P + Q = x² + x − 1 has height 1.
The degree of P + Q is at most the larger of the 2 degrees. The degree drops when the leading terms cancel, as in (2x³ − x + 7) − (2x³ + 5x² + x) = −5x² − 2x + 7.
The formulas for sums of powers of whole numbers come from Johann Faulhaber, who published them up to the 17th power in Academia Algebrae (1631), and Jacob Bernoulli, who gave the general rule in Ars Conjectandi (1713). Bernoulli's rule uses the Bernoulli numbers B0 = 1, B1 = 1/2, B2 = 1/6, B4 = −1/30.
The sum Σ k² counts cannonballs in a square pyramid: in 1591 Thomas Harriot worked out such stacks for Sir Walter Raleigh. A pyramid with 10 layers holds 385 balls.
Pick Add or subtract, or Sum Σ p(k), type the polynomials or the term with its limits, and press Calculate. The result shows the answer in standard form; the tabs hold the steps, a like-term table or a table of partial sums, and a chart.
Add or subtract polynomials, or Sum Σ p(k) over a range.
Use one variable, such as 2x^3 - x + 7.
In sum mode, give a lower limit and a number or n as the upper limit.
Standard form, degree, a factored closed form and a check.
Polynomial sums combine models that share a variable and total quantities that grow by a polynomial rule. There are 5 common uses:
Common polynomial sums and their results. Click a row to load it.
| Problem | Result | Calculator |
|---|---|---|
Try each one, then reveal the answer or solve it in the calculator.
Add the polynomials.
Subtract the polynomials.
Find the closed form of the sum of the first n whole numbers.
Evaluate the polynomial sum.
Evaluate the sum of cubes.
Find the closed form.
Discover 67 free sum calculators across different categories. Find the right calculator for your needs.
Try a different name or choose another category.
Remove the parentheses, group the like terms (same variable, same exponent) and add their coefficients. (3x² + 2x − 5) + (x² − 4x + 1) = 4x² − 2x − 4.
Change the sign of every term of the second polynomial, then add. (6x² − x + 3) − (2x² + 4x − 7) = 6x² − x + 3 − 2x² − 4x + 7 = 4x² − 5x + 10.
Like terms are terms with the same variable raised to the same power, such as 5x³ and −2x³. Unlike terms, such as x³ and x², cannot be combined.
Yes, the sum or difference of two polynomials is always a polynomial. Its degree is at most the larger of the 2 degrees and drops when the leading terms cancel.
The sum of squares formula is n(n + 1)(2n + 1)/6. For n = 10 it gives 10 × 11 × 21 / 6 = 385.
Faulhaber's formula expresses 1<sup>m</sup> + 2<sup>m</sup> + … + n<sup>m</sup> as a polynomial in n of degree m + 1, with coefficients built from the Bernoulli numbers. Johann Faulhaber published the cases up to m = 17 in 1631.
Split p(k) into powers, apply Faulhaber's formula to each Σ k<sup>m</sup> from 1 to n, then subtract the same formula evaluated at n = a − 1. Σ<sub>k=3</sub><sup>n</sup> (2k − 1) = n² − 4.
Yes, the polynomial sum calculator keeps coefficients as exact fractions. (x/2 + 1/3) + (x/3 − 1/2) = (5/6)x − 1/6.
A polynomial sum adds polynomials by combining like terms or totals a polynomial over a range with Faulhaber's formulas, and the polynomial sum calculator does both with exact fractions and full steps. Add coefficients of equal powers, flip every sign before subtracting, and expect a degree-d term to sum to a degree d + 1 polynomial in n.
Not sure which mode you need? Answer the questions below.