if the attractive forces between the ions and water are stronger than the attraction between the ions in the crystal, an ionic compound dissolves in water.