With regard to magnesium, I'd recommend you start at the Wikipedia entry for Magnesium Deficiency,[1] and read about all the common forms of magnesium supplements: Magnesium chloride, oxide, gluconate, malate, orotate, glycinate, ascorbate and citrate are all used as oral magnesium supplements.
Same with the others.
1. https://en.wikipedia.org/wiki/Magnesium#Deficiency