-1
$\begingroup$

When we assume that $$1+\log x = t,$$ then the integral becomes $$\log(1+\log x)+ C.$$
But when we assume that $$\log x = t,$$ the integral becomes $$∫\frac1x + \frac{\log x}x\,\mathrm dx \\ \log x + \frac{(\log x)^2}2 + C.$$ Why the discrepancy?

$\endgroup$
2

1 Answer 1

2
$\begingroup$

If you do the substitution $t=1+\log{x}$, the integral becomes$$\int t dt=\frac{1}{2}t^2+C=\frac{1}{2}(1+\log{x})^2+C=\frac{1}{2}(\log{x})^2+\log{x}+\frac{1}{2}+C$$ Combining $\frac{1}{2}$ and C into a new arbitrary constant gives you the same result

$\endgroup$

Not the answer you're looking for? Browse other questions tagged .