Imagine we want to take the partial derivative of a quantity, we will call it $\rho_i = f(F(r_{ij}))$ with respect to a particle's position vector, $\vec{r}_k$.
In mathematical terms, this would be expressed as:
$$\frac{\partial \rho_i}{\partial \vec{r}_k} = \frac{\partial F}{\partial r_{ij}}\frac{\partial r_{ij}}{\partial \vec{r}_k}$$
given the definition of $\rho_i$ and using the chain-rule. The $\frac{\partial F}{\partial r_{ij}}$ is a straight-forward calculation, but I run into trouble when trying to calculte $\frac{\partial r_{ij}}{\partial \vec{r}_k}$. Given that $r_{ij}$ is defined as $|\vec{r}_i-\vec{r}_j|$, how does one approach/conceptualize this?
The paper from which I am drawing this hypothetical scenario says that this derrivative is $(\delta_{ik}-\delta_{jk})\hat{r}_k$, where $\hat{r}_k$ is the unit vector, i.e. $\frac{\vec{r}_k}{|\vec{r}_k|}$.
I know and understand that the derrivative of a quantity with respect to a vector is the gradient of the quantity, as explained here, but I do not understand how and why the deltas appear given this notation setup. This probably has to do with my lack of intuition when it comes to Einstein Vector notation, and any help on the matter would be greatly appreciated.
By the way, here is the full image of the full derrivation which I am struggling to understand. The weird notation introduced above results from the need to introduce independent indicies from multiple summations. I have indicated the relevant parts of the derrivation in the image.