Calculus • Step-by-Step

Integral of 1/x dx with Steps

Step-by-step integration of 1/x dx. Explains why the standard power rule fails for n = -1 and proves that the antiderivative equals ln|x| + C.

Problem Statement
∫1x dx\int \frac{1}{x} \, dx
Final Result
F(x)=ln⁡∣x∣+CF(x) = \ln|x| + C

Formula Required: Logarithmic Integration Rule

The power rule x^(n+1)/(n+1) divides by zero when n = -1. The antiderivative is ln|x|.

∫1x dx=ln⁡∣x∣+C\int \frac{1}{x} \, dx = \ln|x| + C

Step-by-Step Solution

2 Steps
1

Set up the indefinite integral with respect to variable $x$.

∫(1x) dx\int \left( \frac{1}{x} \right) \, dx
2

Apply the Logarithmic Integration Rule to find the antiderivative.

F(x)=ln⁡∣x∣F(x) = \ln|x|

Try It Yourself or Edit Equation

Interactive Calculator
1. Operation

Awaiting Input

Enter any equation like 2x + 8 = 20 or x² - 5x + 6 = 0 to get step-by-step solutions.

Common Questions About Integral of 1/x dx

Why do we need the absolute value in ln|x| + C?

Because the natural logarithm is only defined for positive numbers, but 1/x exists for negative numbers too. The absolute value extends the domain to all x ≠ 0.

Related Math Problems with Steps