I see a physics textbook that switches between the following three notations:
\begin{equation} \int_V \text{d}V \end{equation} \begin{equation} \int_V \text{d}^3\vec x \end{equation} \begin{equation} \int_V \text{d}^3 x \end{equation}
where all three are meant to be equivalent. The quantity $V$ is the volume of a sphere and $\vec x$ is a position vector.
The latter two seem to be in contradiction. Which is correct? Or are all three fine?
They are not contradictory, it is just a notation to denote a volume element, just keep that in mind, here are some other notations I've seen around
$\displaystyle{\iiint_V {\rm d}^{3}V}$
$\displaystyle{\iiint_V {\rm d}x{\rm d}y{\rm d}z}$
$\displaystyle{\int_V {\rm d}^3{\bf r}}$
As long as you are clear on the meaning of all these symbols: volume integral over the region $V$, there shouldn't be any problem