P-Series Test
Decide whether the p-series 1/n^p converges, print a partial sum and state the p > 1 condition.
P-Series Test
Decide whether the p-series 1/n^p converges, print a partial sum and state the p > 1 condition.
How this page computes
The page reads the exponent p, sums the first n terms and applies the p-series test: convergence exactly when p is greater than 1. The partial sum is a numeric check, not the test itself.
The calculation runs entirely in this browser tab; nothing is uploaded.
The page decides whether the series 1/n^p converges and prints a partial sum for scale. Worked example: p = 2 converges, and the partial sum to 1000 terms is about 1.6439.
The verdict is the p-series test: convergence when p > 1, divergence otherwise. The page prints the comparison rather than inferring convergence from a partial sum that has stopped growing quickly.
How to use the P-Series Test
Enter the exponent p and the number of terms for the partial sum, then press Run. The first line names the series and the second gives the partial sum.
The verdict line compares p with 1. The partial sum is shown as an illustration; a slowly diverging series can have a modest partial sum, so the page does not use it as the test.
Why p > 1 is the boundary
The p-series converges exactly when p is greater than 1, by the integral test comparing the sum with the integral of x^-p. At p = 1 the harmonic series diverges, and for p below 1 the terms shrink too slowly.
The page applies that boundary to the number entered. It does not approximate the infinite sum, because for p at or below 1 no finite sum exists.
What to Expect
Best for
- Checking a p-series convergence question
- Seeing the harmonic case p = 1
- Getting a partial sum for scale
Not ideal for
- A general series with a different term
- The exact value of the infinite sum
- A proof of the integral test
What this tool keeps
- The exponent, the partial sum and the p > 1 comparison
What may need cleanup
- The verdict is exact; the partial sum is only an illustration
Common errors
- A non-numeric exponent is refused
- A partial-term count outside the range is refused
Example use cases
- Test p = 2
- See that p = 1 diverges
Sample input
2
Sample output
p-series with p = 2: sum 1/n^p partial sum to n = 1000 is 1.64393456668 converges because p = 2 > 1
Who this is for
- Students learning the p-series test
- Readers checking a harmonic-series claim
Frequently asked questions
Does a small partial sum mean convergence?
No. The harmonic series diverges while its partial sums grow very slowly. The page uses the p > 1 test for the verdict and prints the partial sum only as a separate illustration.
What happens at p = 1?
The series is the harmonic series, which diverges. The page reports divergence because 1 is not greater than 1, not because the partial sum looked large.
Can p be negative?
Yes, and the terms then grow rather than shrink, so the series diverges. The p > 1 condition already covers that case; the page does not need a separate branch.
Is anything uploaded?
Nothing is uploaded. The terms are summed in this browser tab with JavaScript, and reloading the page discards the exponent and the result.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.