I'm really confused about total derivatives and partial derivatives.
My multivariable calculus book (Guidorizzi vol 2 Um Curso de Calculo) says that if I have a function like $f(a(u,v),b(u,v))$ then the following is true:
$$\frac{\partial f}{\partial u}=\frac{\partial f}{\partial a}\frac{\partial a}{\partial u}+\frac{\partial f}{\partial b}\frac{\partial b}{\partial u}\tag{1}$$
But studying classical field theory, precisely in Noether's theorem for fields, I came across that
$$\frac{d\mathcal{L}}{dx^{\mu}}=\frac{\partial \mathcal{L}}{\partial\phi_{\alpha}}\frac{\partial\phi_{\alpha}}{\partial x^{\mu}}+\frac{\partial \mathcal{L}}{\partial \phi_{\alpha,\mu}}\frac{\partial \phi_{\alpha,\mu}}{\partial x^{\mu}}+\frac{\partial \mathcal{L}}{\partial x^{\mu}}\tag{2}$$ with $\mathcal{L}=\mathcal{L}(\phi_{\alpha}(x^{\mu}),\phi_{\alpha,\mu}(x^{\mu}),x^{\mu})$
Note: $\alpha$ fields $\phi$ for $x^\mu$ arguments ($\mu=0,1,2,3$) in lagrangian density $\mathcal{L}$
This is called total space-time derivative (also someone can give me a reference than explain and define formally ?, for bibliography reference purpose please!)
The problem is, I can understand why equation (2) is true and make sense. After all, we are varying in all $\mathcal{L}$ arguments. It seems like the (1) equation doesn't make sense if equation (2) is true. I'm thinking that equation (1) is a notation abuse and in fact should be a total derivative
$$\frac{\text d f}{\text d u}=\frac{\partial f}{\partial a}\frac{\partial a}{\partial u}+\frac{\partial f}{\partial b}\frac{\partial b}{\partial u}$$
Am I right?
I have a third question: If $f$ depends explicitly on $u$ then $f(a(u,v),b(u,v),u)$ and equation (1) doesn't make sense:
$$\frac{\partial f}{\partial u}=\frac{\partial f}{\partial a}\frac{\partial a}{\partial u}+\frac{\partial f}{\partial b}\frac{\partial b}{\partial u}+\frac{\partial f}{\partial u}$$
All of my reasoning makes me believe that in fact that is $$\frac{\text d f}{\text d u}=\frac{\partial f}{\partial a}\frac{\partial a}{\partial u}+\frac{\partial f}{\partial b}\frac{\partial b}{\partial u}+\frac{\partial f}{\partial u}$$
Is my calculus book wrong along with several other references I had studied?