Assume that $f:\mathbb{R}^N\to\mathbb{R}^N$ is a surjective function and in addition suppose that $f$ is a local diffeomorphism. Take two points in the image of $f$, let's say, $f(x),f(y)$ with $f(x)\neq f(y)$.
Is it possible to find a continuous curve $\alpha :[0,1]\to\mathbb{R}^N$ such that $\alpha(0)=x$, $\alpha(1)=y$ and $f(\alpha (t))=(1-t)f(x)+tf(y)$.
Remark: This question is related to this one
Remark 1: The answer given here by @smiley06, solves this problem, when only one boundary condition is prescribed.
Thank you

