ionic compound precipitate from a solution of the constituent ions is when the solution is basic or acid. first the ionic compound is allowed to dissociate into ions, when almost all the ions are dissociated a strong acid or base is added to change the ph, in order to precipitate the ions