Q. \[ \int \frac{\ln x}{x^2}\, dx \]
Answer
We want
\[
\int \frac{\ln x}{x^2}\,dx.
\]
Use integration by parts. Let \(u=\ln x\), so \(du=\frac{1}{x}\,dx\). Let \(dv=x^{-2}\,dx\), so \(v=\int x^{-2}\,dx=-\frac{1}{x}\).
Then
\[
\int \frac{\ln x}{x^2}\,dx=u\,v-\int v\,du
= \ln x\left(-\frac{1}{x}\right)-\int\left(-\frac{1}{x}\right)\left(\frac{1}{x}\right)\,dx.
\]
So
\[
= -\frac{\ln x}{x}+\int \frac{1}{x^2}\,dx
= -\frac{\ln x}{x}-\frac{1}{x}+C.
\]
Final result:
\[
\int \frac{\ln x}{x^2}\,dx=-\frac{\ln x+1}{x}+C.
\]
Detailed Explanation
We want to compute the indefinite integral
\[
\int \frac{\ln x}{x^2}\,dx.
\]
Step 1: Choose a method.
This integrand is a product involving \(\ln x\) and \(x^{-2}\). A very standard approach is integration by parts, because differentiating \(\ln x\) simplifies it, while integrating \(x^{-2}\) also produces a simpler power of \(x\).
Step 2: Set up integration by parts.
Recall the integration by parts formula:
\[
\int u\,dv = uv – \int v\,du.
\]
We choose:
\[
u=\ln x
\]
\[
dv=\frac{1}{x^2}\,dx.
\]
Step 3: Compute \(du\) and \(v\).
Differentiate \(u\):
\[
u=\ln x \quad \Rightarrow \quad du=\frac{1}{x}\,dx.
\]
Integrate \(dv\) to find \(v\):
\[
dv=x^{-2}\,dx \quad \Rightarrow \quad v=\int x^{-2}\,dx.
\]
Now compute \(v\):
\[
\int x^{-2}\,dx=\frac{x^{-1}}{-1}=-x^{-1}=-\frac{1}{x}.
\]
So we have:
\[
v=-\frac{1}{x}.
\]
Step 4: Apply the integration by parts formula.
Substitute into \(\int u\,dv = uv – \int v\,du\):
\[
\int \frac{\ln x}{x^2}\,dx = \left(\ln x\right)\left(-\frac{1}{x}\right) – \int \left(-\frac{1}{x}\right)\left(\frac{1}{x}\,dx\right).
\]
Simplify the first term:
\[
\left(\ln x\right)\left(-\frac{1}{x}\right)=-\frac{\ln x}{x}.
\]
Simplify the integrand inside the remaining integral:
\[
\left(-\frac{1}{x}\right)\left(\frac{1}{x}\,dx\right)=-\frac{1}{x^2}\,dx.
\]
So the formula becomes:
\[
\int \frac{\ln x}{x^2}\,dx = -\frac{\ln x}{x} – \int \left(-\frac{1}{x^2}\right)\,dx.
\]
The minus sign in front and the negative inside cancel:
\[
\int \frac{\ln x}{x^2}\,dx = -\frac{\ln x}{x} + \int \frac{1}{x^2}\,dx.
\]
Step 5: Compute the remaining integral.
We already computed \(\int x^{-2}\,dx\) above:
\[
\int \frac{1}{x^2}\,dx=\int x^{-2}\,dx=-\frac{1}{x}.
\]
Step 6: Combine results and add the constant.
Therefore:
\[
\int \frac{\ln x}{x^2}\,dx = -\frac{\ln x}{x} – \frac{1}{x} + C.
\]
Factor out \(-\frac{1}{x}\) if desired:
\[
-\frac{\ln x}{x}-\frac{1}{x}=-\frac{\ln x+1}{x}.
\]
Final Answer:
\[
\int \frac{\ln x}{x^2}\,dx = -\frac{\ln x}{x}-\frac{1}{x}+C = -\frac{\ln x+1}{x}+C.
\]
Graph
Calculus FAQ
What is \(\int \frac{\ln x}{x^2}\,dx\)?
How do you derive \(-\frac{\ln x+1}{x}\)?
What is \(\int \frac{\ln x}{x^2}\,dx\) for \(x\gt0\)?
Is there a substitution method instead of integration by parts?
What is \(\int \frac{\ln x+1}{x^2}\,dx\)?
Can you check by differentiation that \(-\frac{\ln x+1}{x}+C\) is correct?
Math, Geometry, Trigonometry, etc.