This is because the crystal must be electrically neutral. In mathematical terms, the sum of the charges of all the ions in the crystal must be equal to zero. This can be represented as:
\[\sum q_{i} = 0\]
where \(q_{i}\) is the charge of the \(i^{th}\) ion.
Show more…