We saw that we can always solve for \(d_{10}\text{,}\) but by using modular inverses, we can also do the same for other digits. First, we can rearrange the modular equation to get:
\begin{equation*}
-(11-i) d_i \equiv 10 d_1 + \cdots + (11-i+1) d_{i-1} + (11-i-1)d_{i+1} + \cdots + d_{10} \pmod{11}
\end{equation*}
By distributing, we can simplify
\(-(11-i)\) to
\(i-11\text{,}\) which is equivalent to
\(i\text{.}\) Since
\(1 \leq i \leq 10\text{,}\) then
\(i\) is relatively prime to
\(11\text{.}\) By Proposition
3.4(6),
\(i\) has a multiplicative inverse
\(b\text{.}\) Therefore,
\begin{equation*}
d_i \equiv b (10 d_1 + \cdots + (11-i+1) d_{i-1} + (11-i-1) d_{i+1} + \cdots + d_{10} \pmod{11},
\end{equation*}
so
\(d_i\) is determined by the other digits, and any other
\(d_i'\) will not be a valid
ISBN.
Now suppose that
\(i \lt j\) and
\(d_i \neq d_j\text{.}\) For the purpose of contradiction, we assume that
\(d_1 \cdots d_n\) and the transposition
\(d_1 \cdots d_j \cdots d_i \cdots d_n\) are both valid
ISBN-10s. Therefore, we have the modular equations:
\begin{align*}
10 d_1 + \cdots + (11-i) d_i + \cdots + (11-j) d_j + \cdots + d_1 &\equiv 0 \pmod{11}\\
10 d_1 + \cdots + (11-i) d_j + \cdots + (11-j) d_i + \cdots + d_1 &\equiv 0 \pmod{11}\text{.}
\end{align*}
By subtracting the second equation from the first, we get:
\begin{align*}
(11-i) d_i + (11-j) d_j - (11-i) d_j - (11-j) d_i &\equiv 0 \pmod{11}\\
(11-i) (d_i - d_j) + (11-j)(d_j - d_i) &\equiv 0 \pmod{11}\\
(11-i - 11 + j)(d_i - d_j) & \equiv 0 \pmod{11}\\
(j-i)(d_i - d_j) &\equiv 0 \pmod{11}\text{.}
\end{align*}
Because \(1 \leq i \lt j \leq 10\text{,}\) then \(1 \leq j-i \leq 9\text{,}\) so \(j-i\) is relatively prime to \(11\text{.}\) Thus, we can multiply by the multiplicative inverse of \(j-i\) to get \(d_i - d_j \equiv 0 \pmod{11}\text{.}\) Both \(d_i\) and \(d_j\) are at most \(10\text{,}\) so the only way for \(d_i - d_j\) to be divisible by \(11\) is if \(d_i = d_j\text{,}\) a contradiction.