In this question I am using the euclidean metric to determine the distance between two points.
I want to make a function $f(x)=$ the minimum distance between $y=x$ and $y=e^x$ at each given point x, is there an efficient way of doing this?
Second related question if i knew $e^x$ was the shortest distance between $g(x)$ and $y = x$ could I figure out closed form solution for $g(x)$
