Question:

\(\int \log x^2 \, dx \)

Show Hint

For integrals involving logarithmic functions, use integration by parts and simplify the logarithmic terms whenever possible.
  • \( \frac{1}{x^2} + k \)
  • \( \frac{2}{x} + k \)
  • \( x \log x - x + k \)
  • \( 2(x \log x - x) + k \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

We are given: \[ I = \int \log x^2 \, dx \] To simplify, recall that \( \log x^2 = 2 \log x \). Hence, the integral becomes: \[ I = \int 2 \log x \, dx \] Now, apply integration by parts. Let: \[ u = \log x, \quad dv = 2 dx \] Then, \[ du = \frac{1}{x} dx, \quad v = 2x \] Using the integration by parts formula \( \int u dv = uv - \int v du \), we get: \[ I = 2x \log x - \int 2x \cdot \frac{1}{x} dx = 2x \log x - \int 2 dx = 2x \log x - 2x + k \] Thus, the correct answer is \( 2(x \log x - x) + k \).
Was this answer helpful?
0
0