Reciprocal Rule Integration Calculator

Published on: July 17, 2026
Final Answer: Free | Full Steps: Plus

This Reciprocal Rule Integration Calculator integrates one over x, and shows the working line by line. This is the single case the power rule cannot reach, because raising the exponent by one would give division by zero, so the answer is a natural logarithm instead. The absolute value keeps it valid for negative x as well. Following the same pattern every time keeps this exception clearly marked as one.

Step-by-step method

  1. Set up the problem.
  2. Write the reciprocal rule for integration.
  3. Move the constant multiple outside the integral.
  4. Apply the reciprocal rule and add C.

Formula: Integral of 1/x

The integral of 1 over x is the natural log of the absolute value of x. It is the one power the power rule cannot do.

\(\int \frac{1}{x}\, dx = \ln\left|x\right| + C\)

Useful Tips to Remember

The integral of \(\frac{1}{x}\) is \(\ln|x| + C\), with absolute value bars because the logarithm needs a positive input. This is the one case the power rule cannot handle. For \(\frac{1}{ax + b}\), the integral is \(\frac{1}{a}\ln|ax + b| + C\). Do not forget the \(+C\).

Required knowledge

Where Is the Reciprocal Rule for Integration Used?

The reciprocal rule says that \(\int \frac{1}{x}\,dx = \ln|x| + C\), filling the one gap left by the power rule. It appears whenever a rate is inversely proportional to a quantity, such as the work done compressing a gas, where pressure falls as volume grows. In finance and biology, it links growth rates to logarithms, and in physics it gives the electric potential around a long charged wire. It also appears at the end of many partial fractions and substitution problems, where integrals reduce to \(\frac{1}{x}\).

  • Calculating the work done by an expanding or compressed gas
  • Finding the time to grow or decay by a given factor
  • Working out the electric potential around a long wire
  • Finishing partial fractions and substitution integrals
  • Integrating rates that fall off as one over a quantity

Reciprocal Rule Integration Practice Problems

Example 1 integrates \(\frac{1}{x}\), and Example 2 integrates \(\frac{5}{x}\). Try each one yourself before checking. For two more free worked examples, check out the Reciprocal Rule Integration Notes.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(\int \frac{1}{x}\, dx\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the reciprocal rule for integration.
  3. Move the constant multiple outside the integral.
  4. Apply the reciprocal rule and add C.

Formula

Formula: Integral of 1/x

The integral of 1 over x is the natural log of the absolute value of x. It is the one power the power rule cannot do.

\(\int \frac{1}{x}\, dx = \ln\left|x\right| + C\)

Step 1

Step 1 - Set up the problem.

In this problem: The function is \(\frac{1}{x}\).

\(\int \frac{1}{x}\, dx\)

Step 2

Step 2 - Write the reciprocal rule for integration.

In this problem: The integral of one over x is the natural logarithm of the absolute value of x. This is the special case the power rule cannot handle.

\(\int \frac{1}{x}\, dx = \ln\left|x\right| + C\)

Step 3

Step 3 - Apply the reciprocal rule and add C.

In this problem: Put \(\frac{1}{x}\) into the rule from Step 2.

\(F\left(x\right) = \int \frac{1}{x}\, dx = \ln\left|x\right| + C\)

Final Answer

\(\int \frac{1}{x}\, dx = \ln\left|x\right| + C\)
See Example 2 Hide Example 2

Problem

\(\int \frac{5}{x}\, dx\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the reciprocal rule for integration.
  3. Move the constant multiple outside the integral.
  4. Apply the reciprocal rule and add C.

Formula

Formula: Integral of 1/x

The integral of 1 over x is the natural log of the absolute value of x. It is the one power the power rule cannot do.

\(\int \frac{1}{x}\, dx = \ln\left|x\right| + C\)

Step 1

Step 1 - Set up the problem.

In this problem: The function is \(\frac{1}{x}\). The number \(5\) in front is a constant multiple.

\(\int \frac{5}{x}\, dx\)

Step 2

Step 2 - Write the reciprocal rule for integration.

In this problem: The integral of one over x is the natural logarithm of the absolute value of x. This is the special case the power rule cannot handle.

\(\int \frac{1}{x}\, dx = \ln\left|x\right| + C\)

Step 3

Step 3 - Move the constant multiple outside the integral.

In this problem: The number \(5\) in front is a constant multiple, so it moves outside the integral and only \(\frac{1}{x}\) is integrated.

\(\int \frac{5}{x}\, dx = 5\int \frac{1}{x}\, dx\)

Step 4

Step 4 - Apply the reciprocal rule and add C.

In this problem: Replace \(\int \frac{1}{x}\, dx\) with \(\ln\left|x\right|\) from Step 2.

\(F\left(x\right) = 5\int \frac{1}{x}\, dx = 5\ln\left|x\right| + C\)

Final Answer

\(\int \frac{5}{x}\, dx = 5\ln\left|x\right| + C\)

Notes and Practice Mode

Example Problems

Click one to load it into the box and solve it.