The inner product given is $\langle u,v \rangle = u_{1}^{2}v_{1}^{2} + u_{2}^{2}v_{2}^{2}$. If I am thinking of linearity correctly, then all that means is the coefficients in front of each like term would be the same, so there wouldn't be something like $5u_{1}^{2}$ and $3u_{1}^{2}$. So why doesn't this inner product work?
Edit: In my notes, linearity is written as $\langle u,c_{1}v_{1} + c_{2}v_{2}\rangle$ = $c_{1}\langle u, v_{1} \rangle + c_{2}\langle u, v_{2} \rangle$. I still don't get it. Does linearity mean you can't have terms that are to the third power and above? If so, why?
To make things simple, try an example with $c_1=c_2=1$.