In measure theory, I saw that while proving some "equalities" - $``a=b"$ - (such as measure of any type of an interval is its length, ...), the argument goes as follows:
We prove that $a\leq b$ and $b\leq a$. One of these inequalities is mostly obvious, say $a\leq b$, and to prove second inequality, we prove that for every $\epsilon>0$, we have $b\leq a+\epsilon$.
I would like to know, instead of "measure theory theorems", are there elementary theorems in analysis, involving equality, whose proof runs in a way as described above?