I learned from a textbook that if $f(x)$ can be expressed as a function of $u(x)$, for example $$f(x) = u(x)^3,$$ and if $\delta f$, $\delta u$, $\delta x$ are small finite quantities, then $${\delta f \over \delta x} = {\delta f \over \delta u} {\delta u \over \delta x}.$$ As the quantities become infinitesimally small, we get $$\frac{df}{dx} = \frac{df}{du} \frac{du}{dx}.$$ The above definitions seems to suggest the the quantities ${\delta u}$ and $du$ have to cancel in the expressions.
I expanded the above definition using the gradient definition of a derivative into $${df \over dx}=\lim_{\delta u \to 0} {f(u+\delta u)-f(u) \over \delta u} \times \lim_{\delta x \to 0} {u(x+\delta x)-u(x) \over \delta x}$$
Does this imply that the $\delta u$ and $u(x+\delta x)-u(x)$ cancel each other?If that is so, why are they equal? It does not seem intuitive to me that they equal.
We can give such kind of not rigorous but intuitive explanation of chain rule as follow for
$$f(x) = f(u(x))$$
then
$$\Delta f\approx f'(u(x))\Delta u$$
$$\Delta u\approx u'(x)\Delta x$$
thus
$$\Delta f\approx f'(u(x))u'(x)\Delta x\implies\frac {\Delta f}{\Delta x}\approx f'(u(x))u'(x)\implies \frac{d f}{dx}=f'(u(x))u'(x)=\frac{df}{du}\frac{du}{dx}$$