Course contentsShow
← Mathematics
Lesson 1543 of 3,12135. Antiderivatives and the IntegralFree lesson

The Special Case: Antiderivative of 1/x

Understanding that ∫(1/x)dx = ln|x| + C and why absolute value is necessary.

The Special Case: Antiderivative of 1/x

You'll learn why the antiderivative of 1/x requires a special formula involving the natural logarithm and absolute value.

Why the Power Rule Fails Here

You've learned the power rule for antiderivatives: ∫x^n dx = (x^(n+1))/(n+1) + C. But what happens when we try to find ∫(1/x) dx, which is really ∫x^(-1) dx?

If we blindly apply the power rule with n = -1, we get:

  • (x^0)/0 + C = 1/0 + C — undefined!

Division by zero means we need a completely different approach.

The Natural Logarithm Solution

The antiderivative of 1/x is:

∫(1/x) dx = ln|x| + C

This makes sense because we know from differentiation that d/dx[ln(x)] = 1/x. The natural logarithm function is precisely designed to have this reciprocal relationship.

Why the Absolute Value?

Here's the crucial detail: we write ln|x|, not just ln(x).

Why? Because:

  • ln(x) is only defined for x > 0
  • But the function 1/x exists for all x ≠ 0 (both positive and negative values)

For x > 0: the antiderivative is ln(x) + C₁
For x < 0: the antiderivative is ln(-x) + C₂

Using absolute value ln|x| + C captures both cases in one elegant formula. It ensures our antiderivative is defined wherever 1/x itself is defined.

Think of it this way: the absolute value acts like a "domain extender," allowing the logarithm to handle negative inputs by converting them to positive ones first.

Key Takeaway: The antiderivative of 1/x is ∫(1/x) dx = ln|x| + C, where the absolute value is essential to handle both positive and negative values of x.