Magnesium and copper are essential for activating alkaline phosphatase and lysyl oxidase in the bone.