  We study the Schr\"odinger-Robertson uncertainty relations in an algebraic
framework. Moreover, we show that some specific commutation relations imply new
equalities, which are regarded as equality versions of well-known inequalities
such as Hardy's inequality.
