Recall the basic formula for the expectation value of an observable A:
Two important cases pertaining to the evaluation of the trace in the coordinate basis for expectation values will be considered below: