Ratio Test Calculator

Type the general term to apply the ratio test and see the limit L.

A formula in n, such as 1/n^2, (-1)^n/n, n/2^n or n!/n^n. Type powers with ^ and factorials with !.

Try

Result

You entered∑n=1∞n−n n!\sum_{n=1}^{\infty} n^{-n}\,n!

L=1e≈0.367879, converges\displaystyle L = \frac{1}{e} \approx 0.367879, \text{ converges}
Show the work
  1. Ratio test

    Compare each term with the one before it. If L<1L < 1 the series converges, if L>1L > 1 (or infinite) it diverges, and if L=1L = 1 the test says nothing.

    Using L=lim⁡n→∞∣an+1an∣L = \lim_{n\to\infty}\left|\frac{a_{n+1}}{a_n}\right|

  2. Form the ratio

    Replace nn by n+1n+1 in the term and divide by the term itself, then simplify.

    ∣an+1an∣=∣nn (n+1)−n∣\left|\frac{a_{n+1}}{a_n}\right| = \left|n^{n}\,\left(n + 1\right)^{-n}\right|
  3. Take the limit

    Let nn grow without bound in the simplified ratio.

    L=1e≈0.367879L = \frac{1}{e} \approx 0.367879
  4. Conclusion

    L=1e≈0.367879L = \frac{1}{e} \approx 0.367879, so the series converges.

  5. Result

    L = 1/e ≈ 0.367879, so the series converges.

Worked examples