To solve the integral \( \int e^x \left( \log x + \frac{1}{x^2} \right) \, dx \), we will use the method of integration by parts and substitution.
The integration by parts formula is given by:
\(\int u \, dv = uv - \int v \, du\)
First, let's rewrite and split the integral as:
\(\int e^x \left( \log x + \frac{1}{x^2} \right) \, dx = \int e^x \log x \, dx + \int e^x \frac{1}{x^2} \, dx\)
We will solve each part separately.
Combining the results from the two parts, we have:
\(\int e^x \left( \log x + \frac{1}{x^2} \right) \, dx = e^x \log x - \int e^x \frac{1}{x} \, dx - e^x \frac{1}{x}\)
Simplifying further, the integral becomes:
\(e^x \log x - \int e^x \frac{1}{x} \, dx - e^x \frac{1}{x} = e^x \log x - e^x \frac{1}{x}\)
Thus, the complete integrated result is:
\(e^x \left( \log x - \frac{1}{x} \right) + c\)
Therefore, the correct answer is: \(e^x \left\{ \log x - \frac{1}{x} \right\} + c\)
The value of : \( \int \frac{x + 1}{x(1 + xe^x)} dx \).