Integral of ln(1 + x)
Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The integral of ln(1 + x)
∫
ln(1+x)
dx =(1+x)ln(1+x)−x+C
The integral of ln(1 + x) is (1 + x) ln(1 + x) − x + C, for x > −1. It follows from the integral of ln u, with u = 1 + x.
y=ln(1+x)
in blue and its integral y=(1+x)ln(1+x)−x
(with C = 0) in red. Defined for x > −1.How to integrate ln(1 + x)
Method: integration by parts.
- 1Let u = 1 + x, so du = dx.
- 2The integral becomes ∫ln u du = u ln u − u.
- 3Substitute back: (1 + x) ln(1 + x) − (1 + x).
- 4The −1 is absorbed into the constant, leaving (1 + x) ln(1 + x) − x + C.
What it means
ln(1 + x) passes through the origin with slope 1, so its integral starts out looking like x²/2 near zero.
The integral from 0 to 1
Using the antiderivative: F(1) − F(0) = 2 ln 2 − 1, which is about 0.386294. A direct numerical integration of ln(1 + x) gives 0.386294, which agrees.
Check by differentiating
The derivative of the answer should give back the original function. The last column measures that slope directly from the answer, and it matches.
| x | ln(1 + x) | Slope of the answer |
|---|---|---|
| −1/2 | −ln 2 | −ln 2 |
| 0 | 0 | −0 |
| 1 | ln 2 | ln 2 |
| 2 | 1.09861 | 1.09861 |
| 4 | 1.60944 | 1.60944 |
Common mistakes
- Forgetting that ∫ln u du has two terms: u ln u and −u.
Frequently asked questions
What is the integral of ln(1 + x)?
The integral of ln(1 + x) is (1 + x) ln(1 + x) − x + C, for x > −1.
What is the integral of ln(1 + x) from 0 to 1?
2 ln 2 − 1, which is about 0.386294.
Keep going
Integrate any function
Type your own function into the integral calculator for the steps, the answer and a graph.