A scaled Bregman theorem with applications