I am a physics student. Often we wish to find the complex conjugate of a function , for example
$$ f: \mathbb{R}\to \mathbb{C}, f(x)=e^{ix},$$
To do this, we just replace all $i \to -i$. In the special case $f(x)=a(x)+b(x)i$ it is very clear that this is equivalent to conjugation. And for a particular function, like the one above, it is also easy to prove, so that is not my question. But is there a way to see that for arbitrary $f(x)$ or even $f(z)$, making the replacement $i \to -i$ always gives the complex conjugate?
Most valuable to me would be a "proof sketch" wherein I understand the reasoning, but maybe not every epsilon.
It does not work for $f(z)= iz$ where changing $i$ t0 $-i$ results in $-iz$ which is not the conjugate of $iz$
Another counter example is $f(z)=e^{iz}$ where changing $i$ to $-i$ results in $e^{-iz}$ which is not the conjugate of $e^{iz}$