I noticed many seemingly reputable online sources have "incorrect" description of
directional derivatives for real-valued functions in several variables.
Here, by "incorrect" I mean it disagree with the definitions in the textbooks I'm familiar with.
Of course, I'm open the possibility that all the textbooks I have been using are wrong. (Update: well, that's probably impossible).
For a function $f$ in $n$ variables $\mathbf{x}=(x_1,\dots,x_n)$ and a unit vector $\mathbf{v}$, almost all sources defines directional derivatives as $$ D_{\mathbf{v}} f(\mathbf{x}) = \lim_{h \to 0} \frac{f(\mathbf{x} + h \mathbf{v}) - f(\mathbf{x})}{h}. $$ So far so good. Then many online sources state that if the partial derivatives exist, then $$ D_{\mathbf{v}} f(\mathbf{x}) = \frac{\partial f}{\partial x_1} v_1 + \dots + \frac{\partial f}{\partial x_n} v_n. $$ This is not true. At least this disagrees with all the textbook my department is using (Ron Larson). We can also easily come up with counterexamples where the left hand side is undefined while the right hand is defined (Update: or even better/worse counterexamples where one side is nonzero and the other side is zero). Indeed, if students took the above statement literally, then the existence of partials implies the existence of all directional derivatives, which renders many exam questions meaningless.
Some major reputable sources that has this problem:
Just to name few well known ones. These three also happen to be the first 3 search results in my Google search results for "directional derivative". So these are what students are most likely to see.
YouTube sources are not much better, the 3 videos with the highest views that I can see are
Only the last one makes this distinction explicit.
This disagreement causes real issues in classroom. In addition to confusing students, students very often justifies incorrect answers on exams by referencing these sources. It is not easy to convince students that somehow I am to be trusted more than these reputable sources. (no one is going to care about counterexamples).
My question is why are so many seemingly reputable sources wrong about this rather important distinction? (Update: this is an honest question. Why are they all wrong about same thing in exact same way? Carelessness in the exact same way? Yet, none of them confuse the existence of partials and differentiability. Why not be careless there too?)