AP Calculus BC
Integral of x ln x: Answer, Parts Setup, Mistakes
The integral of x ln x with respect to x is (x^2/2) ln x - x^2/4 + C. Integration by parts with u = ln x and dv = x dx gives (x^2/2) ln x minus the integral of x/2, and that leftover integral is elementary. LIATE picks the logarithm as u because differentiating ln x removes the logarithm entirely.
How to integrate x ln x by parts
The integrand is a product of an algebraic factor and a logarithm, and neither one is the derivative of the other, so substitution has nothing to grip. That combination is the signature of integration by parts.
Choose . Differentiating it gives , which is algebraic, so the logarithm disappears from the problem in one step. That leaves and .
Substituting into the formula, the new integral simplifies before you integrate it, because collapses to .
That remaining integral is the power rule, and it contributes .
Check it by differentiating
Differentiate with the product rule to get . Differentiating gives . The two halves cancel and leave .
Why u = ln x and not u = x
Parts only helps when the new integral is easier than the original. Taking and is a dead end for a reason worth naming: finding means integrating , which is itself a parts problem, so you have made the question harder before you have started.
The LIATE ordering encodes this. Logarithmic sits first precisely because logarithms are awkward to antidifferentiate and pleasant to differentiate.
- Logarithmic, such as
- Inverse trigonometric, such as
- Algebraic, such as or
- Trigonometric, such as
- Exponential, such as
The general power case follows the same working, and it is worth knowing because it covers and similar problems without redoing parts.
Setting reproduces the result on this page. The excluded case is genuinely different: is a substitution with , giving , and no parts is needed.
Where the integral of x ln x shows up on the AP exam
Integration by parts is Topic 6.11 in Unit 6, marked BC only in the CED, so can appear on BC but not on AB. Unit 6 carries a weighting of 15 to 20 percent on both exams, and Topic 6.14 is where the technique choice itself is assessed.
Definite versions from to some upper limit are the common form, because kills the logarithmic term at the lower endpoint and leaves clean arithmetic.
That evaluates to about . Note the lower endpoint contributes because you are subtracting , which is the sign slip most often made here.
The integrand is also a standard improper integral example on BC, since as even though diverges there. The factor wins, which is a useful instance of the growth comparison BC expects you to know.
Common mistakes with the integral of x ln x
- Multiplying antiderivatives to get . There is no product rule for integrals, and differentiating that expression does not return .
- Choosing . It forces you to antidifferentiate to find , which is a harder problem than the one you were given.
- Dropping the and writing . The leftover integral is , and halving happens once in and again in the power rule.
- Confusing this with . That one is a substitution, not parts, and its answer is .
- Ignoring the domain. requires , so a definite integral with a negative endpoint does not exist.
Simplify before you integrate
After substituting into the parts formula, always simplify first. Here becomes , and students who integrate before cancelling often lose the factor.
Every answer on this page is machine checked
An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you.
Frequently asked questions
What is the integral of x ln x?
It is . Integration by parts with and gives , and the leftover integral is .
Why is u = ln x rather than u = x?
Because would require you to antidifferentiate to find , which is itself an integration by parts problem. Taking instead removes the logarithm in one differentiation.
Is the integral of x ln x on the AP Calculus AB exam?
No. It requires integration by parts, Topic 6.11, which the CED marks BC only. AB students are expected to handle by substitution, but not this one.
What is the integral of x^n ln x?
For it is . The excluded case is , which needs substitution instead.
What is the definite integral of x ln x from 1 to e?
It equals , about . The lower endpoint is easy because , leaving there, which you then subtract.