\(\int\displaystyle\frac{x+e^{2x}}{x^2+e^{2x}}\,dx=\)
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(\displaystyle\frac{1}{2}\log\left|x^2+e^{2x}\right|+C\)
The numerator is half the derivative of the denominator, so substitute
\(t = x^2+e^{2x}\)
\(dt = (2x+2e^{2x})\,dx = 2(x+e^{2x})\,dx\)
Then
\( \displaystyle \int\frac{x+e^{2x}}{x^2+e^{2x}}\,dx = \frac{1}{2}\int\frac{dt}{t} \)
\( \displaystyle = \frac{1}{2}\log|t|+C \)
\( \displaystyle = \frac{1}{2}\log\left|x^2+e^{2x}\right|+C \)
Why the other options are incorrect
Option (1) \(\log\left|x^2+e^{2x}\right|+C\) — Incorrect. Its derivative is \(\frac{2(x+e^{2x})}{x^2+e^{2x}}\), twice the integrand: the factor \(\frac{1}{2}\) from dt is missing.
Option (3) \(\displaystyle\frac{1}{2}\log\left|x^2\right|+C\) — Incorrect. Its derivative is \(\frac{1}{x}\), which is not the integrand.
Option (4) \(\log\left|e^{2x}\right|+C\) — Incorrect. This equals 2x + C, whose derivative is the constant 2.