I'm trying to find the curl of $a \times (b \times r)$ where $a$, $b$ are constant vectors and $r = (x,y,z)$.
I've worked through the problem to achieve the following answer:
$$(\vec a \cdot \vec r) (\nabla \times \vec b) + \nabla (\vec a \cdot \vec r) \times \vec b - (\vec a \cdot \vec b) (\nabla \times \vec r) - \nabla (\vec a \cdot \vec b) \times \vec r$$
I know that the final answer is, $a \times b$, however I'm unsure of the steps in between to get there. Help would be greatly appreciated.
\begin{align*} \mathbf{a} \times (\mathbf{b} \times \mathbf{r}) &= (\mathbf{a \cdot r}) \mathbf{b}-(\mathbf{a \cdot b}) \mathbf{r} \\[5pt] \nabla \times [\mathbf{a} \times (\mathbf{b} \times \mathbf{r})] &= \nabla \times [(\mathbf{a \cdot r}) \mathbf{b}]- (\mathbf{a \cdot b}) \nabla \times \mathbf{r} \\[5pt] &= \begin{vmatrix} \mathbf{e}_{x} & \mathbf{e}_{y} & \mathbf{e}_{z} \\ \partial_{x} & \partial_{y} & \partial_{z} \\ (\mathbf{a \cdot r}) b_x & (\mathbf{a \cdot r}) b_y & (\mathbf{a \cdot r}) b_z \\ \end{vmatrix} - \mathbf{0} \\[5pt] &= \sum_{xyz} \mathbf{e}_{x} \left \{ \frac{\partial}{\partial y} [(\mathbf{a\cdot r}) b_{z}]- \frac{\partial}{\partial z} [(\mathbf{a\cdot r}) b_{y}] \right \} \\[5pt] &= \sum_{xyz} \, \mathbf{e}_{x} (a_{y} b_{z}-a_{z} b_{y}) \\[5pt] &= \mathbf{a\times b} \end{align*}