0

Consider the following simple integral. \begin{align*} \int\dfrac{1}{2x}\,dx. \end{align*} Now, I would usually work as follows: \begin{align*} \int\dfrac{1}{2x}\,dx=\dfrac{1}{2}\int\dfrac{1}{x}\,dx=\dfrac{1}{2}\ln x+C. \end{align*} However, I thought I would try: \begin{align*} \int\dfrac{1}{2x}\,dx=\dfrac{1}{2}\int\dfrac{2}{2x}\,dx=\dfrac{1}{2}\ln 2x+C. \end{align*} I suppose this is incorrect. Why? Perhaps I should not use the same letter $C$ for both cases?

2 Answers2

2

No, it's not incorrect. Remember that indefinite integral is defined only up to an additive constant, and here in fact

$$\frac12\log 2x +C=\frac12\log x+\frac12\log 2+C$$

So again, the difference is only the addition of a constant, as expected.

Timbuc
  • 34,795
1

Hint: after the rules of logarithm we get $$\ln(2x)=\ln(2)+\ln(x)$$