Consider the two functions functions : $e^x$ and $\ln x$.
I know that the shortest distance is along the common normal. But my teacher said that "both the curves are inverse of each other and symmetrical about the line $y=x$. Hence , the common normal must be perpendicular to the line $y=x$."
My problem is only regarding the last line. My teacher said it in a way that it seems obvious. But I cannot prove that why the normal must be perpendicular to the line $y=x$ also. I'm especially looking for a geometric proof.