Improper Integral Calculator

Type a function and limits, using inf for infinity, to test convergence.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

A number such as 0 or 1/2, pi, e, inf or -inf.

A number larger than the lower limit, pi, e, inf or -inf.

Try

Result

You entered∫1∞1x dx\int_{1}^{\infty} \frac{1}{x}\,dx

∫1∞1x dx diverges\displaystyle \int_{1}^{\infty} \frac{1}{x}\,dx\ \text{diverges}
Show the work
  1. Improper integral

    The integral ∫1∞1x dx\int_{1}^{\infty} \frac{1}{x}\,dx is improper — a limit is infinite — so it is written as a limit of proper integrals and the limit is taken at the end.

    lim⁡b→∞∫1b1x dx\lim_{b \to \infty} \int_{1}^{b} \frac{1}{x}\,dx
  2. Power rule for integrals

    This is one of the basic integrals, so the answer is read straight from the table.

    ∫1x dx=ln⁡∣x∣+C=ln⁡∣x∣\begin{aligned} \int \frac{1}{x}\,dx &= \ln\left|x\right| + C \\ &= \ln\left|x\right| \end{aligned}
  3. The limit

    Take the limit of the antiderivative F(x)=ln⁡∣x∣F(x) = \ln\left|x\right| at the end: a limit of the antiderivative is infinite, so the improper integral diverges.

    (∞)−(0) (no finite value)\left(\infty\right) - \left(0\right)\ \text{(no finite value)}
  4. Result

    The integral diverges.

    ∫1∞1x dx diverges\int_{1}^{\infty} \frac{1}{x}\,dx\ \text{diverges}

Worked examples