Magnesium hydroxide and magnesium citrate function as mild laxatives when they reach the small intestine. Why do magnesium hydroxide and magnesium citrate, two very different substances, have the same effect in your small intestine. (Hint: The contents of the small intestine are basic.)