Suppose we have the differential equation which can be expressed symbolically as $$ \frac {dx} x = -k \ dt$$ where $x$ is a function of $t$.
Now, my book says we can take the antiderivative of both sides to get
$$\log x = -kt + C$$
and I understand this. Now let's take a step back: The original diff eq above can also be written (maybe more commonly) as
$$\frac {dx}{dt} = -kx$$
which contains the exact same information, I think.
Since it's informationally the same as the first equation, we ought to be able to take the antiderivative of the above equation, just like as we did with the first equation.
Yet taking the antiderivative in the above form seems problematic since there are two differentials on the same side (raising the question "What would the antiderivative be taken with respect to?")
My question to you is "How is this conventionally treated?" i.e.
How is "taking the antiderivative of an expression" defined in the case when there is more than one differential on a given side of the equation?
EDIT: I know this question is different from the question in my title. (In fact it is a special case of it, so providing a good answer to either the question in the title or the bolded question above would be greatly appreciated.)