Chalk−1

Math · Calculus II · Worked example

Integrate ln x by parts

Find the integral of ln x, then evaluate it from x = 1 to x = e.

∫lnxd⁢x

Choose u and dv

There is no obvious product, but ln x is easy to differentiate and dx is easy to integrate.

The parts for the integral of ln x
PartChoiceThen
uln xdu = dx/x
dvdxv = x

Apply the formula

The new integrand, x · (1/x), is just 1.

∫lnxd⁢x=xlnx−∫x⋅1xd⁢x=xlnx−x+C
∫lnxd⁢x=xlnx−∫x⋅1xd⁢x=xlnx−x+C

Evaluate from 1 to e

With F(x) = x ln x − x, F(e) − F(1) = (e − e) − (0 − 1) = 1.

F⁢(x)=xlnx−xF′(x)=lnxF⁢(e)−F⁢(1)=1

Result

x ln x − x + C; from 1 to e the integral is 1.

Your turn

Find the integral of x ln x.

Show the answer and explanation

(x²/2) ln x − x²/4 + C.

Take u = ln x, which simplifies when differentiated, and dv = x dx, so du = dx/x and v = x²/2. The new integral is of x/2, which gives x²/4.

∫xlnxd⁢xx22lnx−x24+C

Keep exploring

In Derivative & antiderivative checks, enter x ln x alone. Its derivative is ln x + 1, so the checker rejects it: the − x is what cancels the 1.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

Make it concrete

Try in the workspace

Open the example inputs, change a value and keep a useful result on your board.

Check it in Derivative & antiderivative checks Check the definite integral in Math Open worked example on a board Product rule in Math Reference

Your existing work stays on this device. Examples open as editable copies.