How do I integrate log(x) or ln(x)?

The integral of log(x) is not necessarily straight-forward. Though we can use the fact that d/dx(log(x)) = 1/x to help us.

Rather than simply trying to integrate log(x), we can use integration by parts on 1 x log(x) (as in 'one times' log(x)).

So we can differentiate the log(x) part and integrate the 1 part to give:

xlog(x) - ∫ 1 dx = xlog(x) - x

Note: if the middle step isn't clear, we can write it more explicitly as

u = log(x)  v' = 1

u' = 1/x     v = x

Where the rule for integration by parts is written as:

uv' = uv - ∫ u'v    ,  where u and v are functions of x

DF
Answered by Daniel F. Maths tutor

14852 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

A curve is described by the equation (x^2)+4xy+(y^2)+27=0. The tangent to the point P, which lies on the curve, is parallel to the x-axis. Given the x-co-ordinate of P is negative, find the co-ordinates of P.


For a given function F(x), what does the graph of the function F(x+2) look like in comparrison to F(x)?


The lines y = 3x² - x + 5/2 intersects the line y = x/2 +7 at two points. Give their coordinates. Show your working


Express 4 sin(x) – 8 cos(x) in the form R sin(x-a), where R and a are constants, R >0 and 0< a< π/2


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning