On the unification of Pythagorean theorem for electronic orbitals