##### Related Content

Thank you!

On behalf of our dedicated team, we thank you for your continued support. It's fulfilling to see so many people using Voovers to find solutions to their problems. Thanks again and we look forward to continue helping you along your journey!

Nikkolas and Alex
Founders and Owners of Voovers

# Integral of ln(x)

## How to Solve the Integral of ln(x)

The indefinite integral of ln(x) is given as:
∫ ln(x)dx = xln(x) – x + C
The constant of integration C is shown because it is the indefinite integral. If taking the definite integral of ln(x), you don’t need the C.

There is no integral rule or shortcut that directly gets us to the integral of ln(x). When finding the definite or indefinite integral of the function f(x) = ln(x), we must use integration by parts. Integrating ln(x) by parts is shown in depth in the section below.

### Example Problem: Using Integration by Parts to Derive the Integral of ln(x)

This is how the antiderivative of ln(x) is derived, in the context of an indefinite integral. However, the following steps will work for a definite and indefinite integral of ln(x). As stated earlier, just leave off the constant of integration C if it is definite.

Let’s solve ∫ ln(x)dx using integration by parts.
1.) Integration by parts tells us that ∫ udv = uv – ∫ vdu
2.) Let’s set u = ln(x) and dv = dx
3.) du = (1/x)dx and v = x
4.) ∫ ln(x)dx = uv – ∫ vdu =  xln(x) – ∫ x(1/x)dx
5.) xln(x) – ∫ dx
6.) xln(x) – x + C
Our final answer is xln(x) – x + C.

This final answer can be memorized as the formula for ∫ ln(x)dx. Keep in mind that it will not work for ln(u) where u is any single variable function. The integral we have solved here only applies to the single variable function of the variable itself. X can be replaced with any other variable, such as y, z, w, θ, etc.

Scroll to Top