Suppose we are given $g(r): \mathbb{R} \to \mathbb{R}$ where $g(r) = f(ry, r^2s)$ for $f: \mathbb{R}^{n+1} \to \mathbb{R}$ where $y \in \mathbb{R}^n, s \in \mathbb{R}$. How do we determine $\frac{dg}{dr}$? I have a feeling some sort of Chain Rule might be useful.
In addition, this problem looks very much like the definition of the directional derivative of $\underline{q}$ in the direction of $\underline{v}$ as $p'(0)$ where $p(t) = q(\underline{a} + t\underline{v})$. Is there a similar geometric intuition for what $\frac{dg}{dr}$ is doing?
I'm supposing $y$ and $s$ are fixed. Then, $g$ is a composition $g=f\circ h$ where $f$ is as advertised and
$h:\mathbb R\to \mathbb R^{n+1}$ is defined by $r\mapsto (ry,r^{2}s)$.
Then, the chain rule applies to say that $$\left ( \frac{\mathrm{d} g}{\mathrm{d} r} \right )_{r=r_{0}}=\nabla f(h(r_{0}))\cdot \left ( \frac{\mathrm{d} h}{\mathrm{d} r} \right )_{r=r_{0}}$$ which is, after calculating the derivatives, $$\sum ^{n}_{i=1}y_{i}\frac{\partial f}{\partial x_{i}}(r_{0}y,r_{0}^{2}s)+2r_{0}s\frac{\partial f}{\partial x_{n+1}}(r_{0}y,r_{0}^{2}s)$$