Show tensor $g_{ij}A^iB^j $ is invariant under coordinate change The components of a $(0,2)$ tensor is $(g_{ij})$ and the components of a $(1,0)$ tensor is $A^i,B^j$. 
How can I show that the quantity (using Einstein summation convention)
$$g_{ij}A^iB^j $$ 
is invariant? 
So I want to show that the value does not change when coordinate systems are changed. 
One hint that the textbook gives me is to use the Kronecker delta, so I know that is:
$$\sum_{i=1}^n \frac{\partial\bar{x}^i}{\partial x^j}\frac{\partial x^k}{\partial\bar{x}^i} = \delta_{j}^k$$
 A: Here is an index-free solution. Represent $G=(g_{ij})$ as a matrix, $a=(A^i)$ and $b=(B^j)$ as vectors. Then $g_{ij}A^iB^j$ can be written as $a^\top Gb$. We change the coordinate system via a transformation $T$. This yields:
$$a\mapsto Ta,\qquad b\mapsto Tb,\qquad G\mapsto (T^{-1})^\top GT^{-1}.$$
We then have
$$a^\top Gb
\quad\mapsto\quad 
(T a)^\top (T^{-1})^\top GT^{-1} (T b) 
=  a^\top \underbrace{T^\top (T^{-1})^\top}_IG\underbrace{T^{-1} T}_I b
= a^\top G b.
$$
You can try writing this out with indices if necessary.
A: You just have to show that if the coordinate transform as $x^i \rightarrow \bar{x}^{\mu}$, then
$$ \bar{g}_{\mu\nu} \bar{A}^{\mu}\bar{B}^{\nu} = g_{ij} A^{i} B^{j} $$
You can show this by first note that the components of the tensors in this new coordinate system is (by the transformation rule for tensor components)
$$ \bar{g}_{\mu\nu} = g_{ij} \frac{\partial x^i}{\partial \bar{x}^{\mu} } \frac{\partial x^j}{\partial \bar{x}^{\nu} }$$
$$
\bar{A}^{\mu} =A^{k}  \frac{\partial \bar{x}^{\mu} }{\partial x^k} \qquad 
\bar{B}^{\nu} =B^{l}  \frac{\partial \bar{x}^{\nu} }{\partial x^l} 
$$
And after substitution to $ \bar{g}_{\mu\nu} \bar{A}^{\mu}\bar{B}^{\nu} $ you can use your hint above to show that it is equal to $g_{ij} A^{i} B^{j}$.
