Question:

The value of \(\displaystyle\int_{1}^{e} \log x\,dx\) is :

Show Hint

Integrate log x by parts, taking 1 as the second function.
Updated On: Nov 20, 2026
  • \(0\)
  • \(1\)
  • \(e\)
  • \(e \log e\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Integrate by parts:
Write \(\log x = 1\cdot\log x\) and take \(u = \log x\), \(dv = dx\).
\[ \int \log x\,dx = x\log x - \int x\cdot\frac{1}{x}\,dx = x\log x - x \]

Step 2: Apply the limits:
\[ \int_{1}^{e} \log x\,dx = \Big[x\log x - x\Big]_{1}^{e} \]
\[ = (e\cdot 1 - e) - (1\cdot 0 - 1) = 0 + 1 = 1 \]

Step 3: Why the other options are wrong:
Option (A) \(0\) would need the two limit values to be equal, but they are \(0\) and \(-1\).
Options (C) and (D) both equal \(e\). They come from forgetting the \(-x\) term, which is a common slip.

Final Answer:
\[ \boxed{1} \]
Option (B).
Was this answer helpful?
0
0