Let $X$ and $Y$ be two random variables, where $Y=f(X)$ is a deterministic function of $X$. Furthermore suppose $X,Y$ are continuous and that $f$ is smooth.
Is the mutual information between $X$ and $Y$ well defined in this case? I have the intuition that it can only be zero (if $f$ is a constant function) or infinity.