Energy conservation and transformations