Step 1: Understanding the Question:
We need the integral of \( \log x \). There is no standard formula for it, and it is not a product of two functions. We can still treat it as a product by writing \( \log x = \log x \cdot 1 \), and then use integration by parts. Here \( \log x \) means the natural logarithm.
Step 2: Key Formula:
Integration by parts says \( \int u\,dv = uv - \int v\,du \). We choose \( u \) as the function that becomes simpler when differentiated, and \( dv \) as the part that we can integrate easily.
So we take \( u = \log x \) and \( dv = dx \).
Step 3: Find du and v:
Differentiating \( u \) gives \( du = \frac{1}{x}\,dx \).
Integrating \( dv \) gives \( v = x \).
Step 4: Apply the formula:
\[ \int \log x\,dx = x\log x - \int x\cdot\frac{1}{x}\,dx \]
The \( x \) in the numerator cancels the \( x \) in the denominator, so
\[ \int \log x\,dx = x\log x - \int 1\,dx = x\log x - x + k \]
Step 5: Check the answer by differentiating:
\( \frac{d}{dx}(x\log x - x) = \log x + x\cdot\frac{1}{x} - 1 = \log x + 1 - 1 = \log x \). This is the original integrand, so the result is correct. The correct option is (C).
Step 6: Why the other options are wrong:
Option (A): \( \frac{d}{dx}\left(\frac{1}{x}\right) = -\frac{1}{x^2} \), not \( \log x \). It is also the integral of a different function.
Option (B): \( \frac{d}{dx}(x\log x) = \log x + 1 \). The extra 1 is left over, so the term \( -x \) is missing.
Option (D): \( \frac{d}{dx}(x\log x + x) = \log x + 2 \), which is not \( \log x \). The sign of \( x \) was taken wrongly.
Final Answer:
Using integration by parts with \( u=\log x \) and \( dv=dx \), the integral is \( x\log x - x + k \). This is option (C).
\[ \boxed{x\log x - x + k} \]