This question grew out of a research project in which I am an active participant, a project which curiously enough requires a hefty dose of the theory of curves and surfaces in $\Bbb R^3$. I needn't go into more detail here.
One of my colleagues in said endeavor noticed that a previous answer of mine, given in response to a question by Helen Waters, presented results which were very illuminating to his own work. The question to which I refer is:
Representing a unit speed curve on a sphere in terms of its Frenet Frame.
In point of fact, similar questions have been posed more than once here on math.stackexchange.com; but this particular one became the object of my colleague's attention, discovered by googling around.
In the course of our work it became clear that a generalization of this question and its answer is also of significant importance to us. I pose the generalized question here, and present my answer below.
A unit speed curve $\alpha(s)$, where $s$ as usual denotes arc-length, which lies on a sphere of radius $r$ centered at a point $c \in \Bbb R^3$ satisfies an equation of the form
$(\alpha(s) - c) \cdot (\alpha(s) - c) = r^2; \tag 1$
if we differentiate this equation with respect to $s$ and recall that the unit tangent vector $T(s)$ to $\alpha(s)$ is given by
$T(s) = \dot \alpha(s), \tag 2$
we obtain
$T(s) \cdot (\alpha(s) - c) = 0; \tag 3$
successive differentiation of this formula with respect to $s$ yields the results of the answer to the cited question; the engaged reader my consult it to see the details.
As indicated in the title, I seek here to broaden the result given in the above link to more general, not-necessarily spherical surfaces. To this end we note that, just as a patch on the sphere of radius $r$ centered at $c \in \Bbb R^3$ may be represented as as a $2$-parameter vector function $\mathbf r(u, v) \in \Bbb R^3$ such that
$(\mathbf r(u, v) - c) \cdot (\mathbf r(u, v) - c) = r^2, \tag 4$
so a general surface patch $\mathcal S$ in $\Bbb R^3$ may be represented by a vector function $\mathbf r(u, v)$, but sans the constraint (4). When (4) no longer applies, we may consider the role of $\delta(s)$, where
$\delta^2(s) = \mathbf r(u(s), v(s)) \cdot \mathbf r(u(s), v(s)) = \alpha(s) \cdot \alpha(s) \tag 5$
is the squared magnitude of $\mathbf r(s)$, i.e., $\delta(s)$ is the distance of $\alpha(s)$ from the coordinate origin $O$; here $(u(s), v(s))$ is the path $\alpha(s)$ takes in terms of the patch coordinates $u$ and $v$.
Seen from this point of view, what I wish to ask becomes:
The Question: Given a surface patch $\mathcal S$ specified by a vector function $\mathbf r(u, v)$ of two parameters $u$ and $v$, and a unit speed curve $\alpha(s)$ with differentiable non-vanishing curvature and non-vanishing torsion in $\mathcal S$ , express
$\alpha(s) = \mathbf r(u(s), v(s)) \tag 6$
in terms of the Frenet Frame of $\alpha(s)$ and the function $\delta(s)$.
This looks pretty ugly to me, but here goes. We write $$\alpha = \lambda T + \mu N + \nu B \tag{$\star$}$$ for some scalar functions $\lambda, \mu, \nu$. From $\|\alpha\|^2 = \delta^2$, we get $\lambda = \alpha\cdot T = \delta\delta'$. On the other hand, as we've shown numerous times in posts to which you referred, we differentiate ($\star$) and use the Frenet equations to get $$ T = (\lambda'-\mu\kappa)T + (\lambda\kappa + \mu' - \nu\tau)N + ((\mu\tau+\nu')B,$$ and so \begin{align*} \lambda' &= 1 + \mu\kappa \\ \nu' &= -\mu\tau \\ \mu' &= \nu\tau - \lambda\kappa. \end{align*} This gives us \begin{align*} \mu &= \frac1{\kappa}(\delta\delta'-1) \\ \nu &= \frac1{\tau}(\mu'+\lambda\kappa) = \frac1{\tau}\left(\Big(\frac{(\delta\delta'-1}{\kappa}\Big)' + \delta\delta'\kappa\right). \end{align*} And the final equality gives the constraint ODE $$0=\nu'+\mu\tau = \left(\frac1{\tau}\left(\Big(\frac{(\delta\delta'-1}{\kappa}\Big)' + \delta\delta'\kappa\right)\right)' + \frac{\tau}{\kappa}(\delta\delta'-1).$$ Yuck.