I'm having trouble getting the algebra right here and don't know where I'm going wrong:
Show that the unit basis vector fields for polar coordinates in the Euclidean plane,
$$\hat{\mathbf{r}} = \cos\theta \hat{\mathbf{x}} + \sin\theta \hat{\mathbf{y}} \\ \hat{\mathbf{\theta}} = -\sin\theta \hat{\mathbf{x}} + \cos\theta \hat{\mathbf{y}} $$
where $\hat{\mathbf{x}} = \partial/\partial x $, $\hat{\mathbf{y}} = \partial/\partial y $, are a noncoordinate basis.
I started by noting that $x=r\cos\theta$, $y=r\sin\theta$, therefore $\dfrac{\partial}{\partial x}\cos\theta = \dfrac{1}{r}$ and $\dfrac{\partial}{\partial x}\sin\theta= \dfrac{1}{r}$.
Then I wrote out the commutator components:
$$ [\hat{\mathbf{r}}, \hat{\mathbf{\theta}}] = \left[r^i {\partial\over\partial x^i}, \theta^j {\partial\over\partial x^j}\right] \\ = \left(r^i {\partial\theta^j\over\partial x^i}- \theta^i {\partial r^j\over\partial x^i}\right){\partial\over\partial x^j} \\ =-cos\theta{\partial \sin\theta \over \partial x}{\partial \over \partial x} + \cos\theta{\partial \cos\theta \over \partial x}{\partial \over \partial y} -\sin\theta{\partial \sin\theta \over \partial y}{\partial \over \partial x} + \sin\theta{\partial \cos\theta \over \partial y}{\partial \over \partial y} \\ + \sin\theta{\partial cos\theta \over \partial x}{\partial \over \partial x} + \sin\theta{\partial sin\theta \over \partial x}{\partial \over \partial y} - \cos\theta{\partial cos\theta \over \partial y}{\partial \over \partial x} - \cos\theta{\partial sin\theta \over \partial y}{\partial \over \partial y} \\ = 0 + \cos\theta {1\over r}{\partial \over \partial y} - \sin\theta {1\over r}{\partial \over \partial x} + 0 + \sin\theta {1\over r}{\partial \over \partial x} +0+0-\cos\theta {1\over r}{\partial \over \partial y} = 0 $$
but the answer is supposed to be non-zero, so I've included terms that I shouldn't have somewhere.