Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This seems really tricky to me. I can't figure out how to integrate $\ln x$.

share|cite|improve this question
Try to look it up in some integration table. That would help. – Hui Yu Jan 16 '13 at 16:03
Integrate $1\cdot\ln x$ by parts ;) – CBenni Jan 16 '13 at 16:03
@HuiYu not if this is homework or some other assignment – CBenni Jan 16 '13 at 16:05
@CBenni Oh, yeah... – Hui Yu Jan 16 '13 at 16:11
up vote 20 down vote accepted

Based upon geometrical observation we write that

$$\int_1^e \ln x\space \mathrm{dx}=e-\int_0^1 e^x\space \mathrm{dx}=1$$

The question may also be viewed as a particular case of Young's inequality.

share|cite|improve this answer
That is MUCH nicer (IMHO) then the regular integration by parts trick! – Amihai Zivan Jan 16 '13 at 16:21
@AmihaiZivan: thanks! :-) – user 1618033 Jan 16 '13 at 16:22
@Chris'ssister I wonder what did you do here? Can you please explain? – xyres Jan 16 '13 at 16:44
@weasel: I simply used the inverse function of $\ln x$. Make a drawing and see what happens in the rectangle $[1, e] \times [0, 1]$ if you employ the inverse function. – user 1618033 Jan 16 '13 at 16:47
Thank you. I learned a new method, here. – xyres Jan 22 '13 at 15:18

Hint Integration by parts is helpful.

Let $u=$ln$x$ , $dv=1dx$
so $du=\frac{1}{x} dx$ , $v=x$

so that $uv$ - $\int_{1}^{e}vdu$ = $x$ln$x \mid_{1}^{e}- \int_{1}^{e} dx$

share|cite|improve this answer

$$ \int\ln x\,dx=\int u\,dx = xu-\int x\,du = x\ln x - \int x\left(\frac1x\,dx\right). $$ Now here's the hard part: $x\cdot\dfrac1x$ simplifies to $1$. At least, I've seen lots of students get stuck on that part. Some of them want to antidifferentiate $x$ and also $\dfrac1x$.

So you've got $$ x\ln x-\int 1\,dx. $$ You can probably do the rest.

share|cite|improve this answer
(+1) I remember somewhere some answer was upvoted for the humour in answer. – 007resu Jan 16 '13 at 18:23

Change variable formula $ \int_{\varphi(a)}^{\varphi(b)}f (x) \, dx = \int_a^b f(\varphi(u))\varphi^\prime (u) du$ \begin{align} \int_{1}^{e}\ln (x)\, dx = & \int_{e^{0}}^{e^{1}}\ln (x) \, dx \\ = & \int_0^1\ln( e^u ) (e^u)^\prime du \\ = & \int_0^1 u \cdot e^u du \\ \end{align} Now use integration by parts.

share|cite|improve this answer
And what is u here? – xyres Jan 17 '13 at 3:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.