Why are expressions such as $\operatorname{ln}T$ used in thermodynamics where $T$ is not dimensionless? In all thermodynamics texts that I have seen, expressions such as $\operatorname{ln}T$ and $\operatorname{ln}S$ are used, where $T$ is temperature and $S$ is entropy, and also with other thermodynamic quantities such as volume $V$ etc. But I have always thought that this is incorrect because the arguments $x$ in expessions such as $\operatorname{ln}x$ and $e^x$ ought to be dimensionless. Indeed at undergraduate level I always tried to rewrite these expressions in the form $\operatorname{ln}\frac{T}{T_0}$. So is it correct to use expressions such as $\operatorname{ln}T$ at some level?
 A: Also, mathematically, there's nothing wrong as such with taking the logarithm of a value expressed in arbitrary units.  The logarithm just turns unknown multiplicative factors into unknown additive terms.
For example, $$\log(T\ {\rm K}) = \log(T) + \log(1\ {\rm K}).$$
Sure, you end up with a constant term of $\log(1\ {\rm K})$ which has no fixed value, but it's no worse in that regard than any other unknown constant.  If it cancels out, great! If not, you just carry it around until you can do something to it (like, say, exponentiate it to get back a factor of $\rm K$ again).
As long as you agree that $T\ {\rm K}$ represents a positive scalar value, it has a well defined logarithm, even if its exact value is unknown. It's no less defined than $\log(2x) = \log(2) + \log(x)$, where $x$ is any unknown positive value. (Of course, you're free to work in a system where you arbitrarily insist that $1\ {\rm K}$ isn't a positive scalar and $\log(1\ {\rm K})$ isn't defined. But the point is that we can define it, in the "obvious" way, without introducing any inconsistencies.)
Ps. It's perhaps worth noting that the reason we can do that is because $\rm K$ is an ordinary multiplicative unit which obeys all the usual rules of arithmetic, such as $1\ {\rm K} + 1\ {\rm K} = 2\ {\rm K}$ and $1\ {\rm K} \cdot 1\ {\rm K} = 1\ {\rm K}^2$. We would not be able to do that for "affine units" like $\rm ^\circ C$, which already conceal an additive constant in the notation. Arguably, this is because writing $x\ {\rm ^∘C}=(273.15+x)\ {\rm K}$ is itself an abuse of notation, retained for historical reasons.
A: You are absolutely right about the dimensional analysis. The use of $ \ln T $ etc. is always a shorthand for $ \ln \left(\frac{T}{T_0}\right) $ which is okay to use if for some reason you don't care about $ T_0 $, i.e. because it cancels out or you are interested in the asymptotic behaviour only.
In any expression where you have to take derivatives to get observable quantities (partition function, generating functional etc.), it's okay to leave off the scale:
$$ \mathrm{d} \ln \left(\frac{T}{T_0}\right) = T^{-1} \mathrm{d}T $$
independent of $ T_0 $.
So: it's a lazy shorthand - the kind of thing much beloved by physicists. :)
