I need to write a balanced equation and indicate the type of reaction phosphoric acid + magnesium hydroxide= magnesium phosphate+ water

See your other post. This is an acid/bae reaction to produce salt + H2O.

To write a balanced equation and indicate the type of reaction, you can follow a few steps:

Step 1: Write down the chemical formula of each compound involved in the reaction.

Phosphoric acid: H3PO4
Magnesium hydroxide: Mg(OH)2
Magnesium phosphate: Mg3(PO4)2
Water: H2O

Step 2: Identify the type of reaction. In this case, it is a double displacement or precipitation reaction because the cations in the reactants (magnesium and hydrogen) switch places to form new compounds.

Step 3: Write the unbalanced equation by swapping the cations between the reactants.

H3PO4 + Mg(OH)2 → Mg3(PO4)2 + H2O

Step 4: Balance the equation by adjusting the coefficients in front of each compound to ensure the same number of atoms on both sides of the equation.

3H3PO4 + 2Mg(OH)2 → Mg3(PO4)2 + 6H2O

Therefore, the balanced equation for the reaction involving phosphoric acid and magnesium hydroxide is 3H3PO4 + 2Mg(OH)2 → Mg3(PO4)2 + 6H2O.