Suppose that $B, C \in M_3(R) $ are three-by-three matrices over $R$. Suppose that there is an open set $U \subset R^3$ so that for all vectors $u, v \in U$ we have $u^TBv = u^TCv$. Prove that $B = C$.
This is part of a homework assignment, so any hint will help. Thanks.