Suppose we have a line segment joining to complex points $a$ and $b$ in the z-plane, and then, suppose we map the whole plane under an analytic function $f$. Would the shortest curve between $f(b)$ and $f(a)$ be the curve which the line segment is mapped too?
My thoughts:
I thought of an algebraic verification using calculus of variations. We have the arc length functional:
$$ L(\gamma) = \int_{z=a}^{z=b} |f'(\gamma)| |\gamma'(t)| dt$$
And, minimizing the above integral would give the required what is the shortest path.
So, I start by nudging the curve $$L(\gamma + \epsilon \eta) = \int_{z=a}^{z=b} | f'(\gamma) + \epsilon \eta f''(\gamma)| |\gamma'+ \epsilon \eta'| dt= \int_{z=a}^{z=b}| f'(\gamma) \gamma' + \epsilon \left[ f'(\gamma)\eta' + \epsilon \eta f'(\gamma) \gamma'\right] + O(\epsilon^2)| dt$$
I'm not sure how to finish the problem since the modulus is preventing me from using the integration by parts trick which allows us to derive euler lagrange equations in simple cases. One way would to do it be to take real and complex component of function and write the modulus using square roots... but that is even more uglier.
Is there a better way to do this?