Logarithmic Integrals
You'll learn how to integrate functions involving ln(x) using integration by parts with a clever choice of u and dv.
The Challenge with Logarithms
When you encounter an integral like ∫ln(x) dx, you might feel stuck—there's no obvious antiderivative rule for ln(x) alone. This is where integration by parts becomes your tool of choice, but with a special twist.
The Key Insight
For logarithmic integrals, we make what seems like an unusual choice:
- Let u = ln(x), which means du = (1/x) dx
- Let dv = dx, which means v = x
This might feel strange because dv = dx looks "too simple," but that's exactly what makes it work! The integration by parts formula gives us:
∫ln(x) dx = x·ln(x) - ∫x·(1/x) dx
Notice what happened: the integral on the right simplifies beautifully because x·(1/x) = 1.
∫ln(x) dx = x·ln(x) - ∫1 dx = x·ln(x) - x + C
Why This Works
Think of integration by parts as a trade: you differentiate one part (u) to make it simpler, while integrating the other (dv). With ln(x):
- Differentiating ln(x) gives us the simpler 1/x
- "Integrating" dx gives us x, which perfectly cancels with the 1/x in the next step
The logarithm essentially "pays" for being differentiated by turning into something that cancels nicely with the v we created.
Example
∫ln(x) dx = x·ln(x) - x + C
You can verify this by differentiating: d/dx[x·ln(x) - x + C] = ln(x) + x·(1/x) - 1 = ln(x) ✓
Key Takeaway: When integrating ln(x), choose u = ln(x) and dv = dx; the resulting integral simplifies to x·ln(x) - x + C, making this a standard integration by parts pattern you'll use repeatedly.