I am confused about (dummy?) variable substitutions in comparison with change of variable type of substitutions.
On the one hand, I can write $f(x) = \dfrac{1}{1+x}$ or $f(u) = \dfrac{1}{1+u}$ and the functions produce same result for equal values of $x$ and $u$.
On the other hand, if $x$ and $u$ are related, say $x = 2u$, I get $f(x) = f(2u) = \dfrac{1}{1 + 2u}$. Now if I refer to $f(u)$, would I be talking about $\dfrac{1}{1 + u}$ or $\dfrac{1}{1 + 2u}$? Obviously in this case, $f(x=5)$, for example, would not product the same result as $f(u=5)$ without knowing which $f(\cdot)$ we are talking about.
Is there a more formal way to think about this? Should one of the functions $f(\cdot)$ actually be called something else?