I was reading my class notes about direction derivatives, and my teacher stated the following:
Let $f: \mathbb{R}^n \to \Bbb R$ be a function, $p,v \in \mathbb R ^n$ and let $f'(p,v)$ denote the directional derivative of $f$ at $p$ relatively to $v$, this is:
$$f'(p,v) = \lim_{h \to 0} \frac{f(p + hv) - f(p)}{ h}$$
Then he added the following note:
- If $v \neq 0$, the direction derivative only depends on $p$ and on the direction of $v$.
This would mean that for any $k > 0$, $f'(p,v) = f'(p,kv)$ since multiplying a vector by a scalar doesn't change the direction of the vector. But:
$$f'(p,kv) = \lim_{h \to 0} \frac{f(p + hk \cdot v) - f(p)}{ h}$$
If we change do the following change of variables: $\lambda = hk$ we get:
$$f'(p,kv) = k \lim_{\lambda \to 0}\frac{f(p + \lambda v) - f(p)}{ \lambda} = k \cdot f'(p,v) $$
So : $f'(p,kv) = k \cdot f'(p,v)$
Am I doing some mistake here, or does the value of the directional derivative change not only with the direction of $v$ but only with its magnitude?