So i have this expression
$\textbf{A} \times (\nabla \times \textbf{A})$
and I'm starting to get pretty familiar to this index notation but its one step i can't get the hang of when i look in the solution manual.
Anyway i get this
$[\textbf{A} \times (\nabla \times \textbf{A})]_i = \ldots\ \text{some steps}\ \ldots = (\partial_iA_l)A_l-A_i \partial_mA_m = \frac{1}{2}\partial_i({A_lA_l) -A_i\partial_mA_m}$
What happens here with the first term in this last step?
And another question, can you always pull out the free index i and put it outside? You see the answer is this
$[\frac{1}{2}grad\,A^2-\textbf{A}\,div\textbf{A}]_i$
and they simply pull out that i in the last term and put it outside the whole expression, can you always do it like that and when can you not do it?
I have the book Vector Calculus of Matthews and its pretty thin when it comes to clarify things.
\begin{align} [\mathbf A \times (\nabla \times \mathbf A)]_i &= \epsilon_{ijk} A_j (\nabla \times \mathbf A)_k = \epsilon_{kij} \epsilon_{kmn} A_j \partial_m A_n = (\delta_{im} \delta_{jn} - \delta_{in} \delta_{jm})A_j\partial_m A_n = \\ &= A_n \partial_i A_n - A_m \partial_m A_i = \frac 12 \partial_i (A_n A_n) - (A_m \partial_m) A_i = \frac 12 [\nabla\ (\mathbf A \cdot \mathbf A)]_i - [(\mathbf A \cdot \nabla) \mathbf A]_i \end{align}