Cantor's diagonal theorem · Exercise-CANTOR-S-DIAGONAL-THEOREM-005

Step-by-step solved exercise: Cardinals

With \(\displaystyle s_1=000\ldots\), \(\displaystyle s_2=111\ldots\) and \(\displaystyle s_3=0101\ldots\), what are the first three terms of the diagonal sequence \(\displaystyle t\), where \(\displaystyle t(n)=1-s_n(n)\)?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. The first sequence is \(\displaystyle 000\ldots\), so its first term is 0.

    \[\displaystyle s_1(1)=0\]

    Comment: Positions are counted from 1.

  2. Complementing, \(\displaystyle t(1)=1\).

    \[\displaystyle t(1)=1-0=1\]
  3. The second sequence is \(\displaystyle 111\ldots\), so \(\displaystyle s_2(2)=1\) and \(\displaystyle t(2)=0\).

    \[\displaystyle t(2)=1-s_2(2)=0\]
  4. The third sequence is \(\displaystyle 0101\ldots\), whose third term is 0; therefore \(\displaystyle t(3)=1\).

    \[\displaystyle t(3)=1-s_3(3)=1\]
  5. The first three terms of \(\displaystyle t\) are 1, 0, 1.

    \[\displaystyle 1,0,1\]

Answer

\(\displaystyle 1,0,1\)

🎯 Build my path to this exercise