I've just started learning about antiderivatives/primitive functions/indefinite integrals, and I have the functions
$f(x) = 3 \ln((\frac{x+2}{3})^2 + 1)$
$g(x) = \dfrac{2\frac{x+2}{3}}{(\frac{x+2}{3})^2 + 1}$
I came to the conclusion that $f'(x) = g(x)$ so that $\int g(x) = f(x)$ and I wanted to check with wolfram alpha, but wolfram says that $\int g(x) \neq f(x)$ even though it says $f'(x) = g(x)$.
It seems to me that this violates the definition of antiderivative?
The symbol $\int g(x) dx$ means the set of all antiderivatives of $g$. Since $f$ is an antiderivative of $g$ , we have
$\int g(x) dx=f(x)+C.$