I have this lemma:
If X is a complex inner product space and $S,T \in B(X)$ are such that $(Sz,z)=(Tz,z)\forall z \in X$, then $S=T$.
$B(x)$ is the set of bounded linear operators from X to X.
$(,)$ is the inner-product function.
I want to prove this lemma. But I do not know how to prove it.
I tried something like this:
Assume for contradiction that the transformations are not the same.
Then there is an $z'$, such that $(Sz',z')=(Tz',z')$, but $Sz'\ne Tz'$ . Then $z'\ne0$, $Sz'-Tx'\ne0 $, but $z'$ and $Sz'-Tz'$ are orthogonal. But I don't see how to continue.
Any tips?