Skip to content
Week6 - Posets, Functions, Countability

Week6 - Posets, Functions, Countability

This week we practice posets and functions and then learn how to prove countability / uncountability.

Resources

  • Exercises + Solutions: pdf
  • Kahoot: link
  • Slides: pdf
  • Exercise Sheet Questions link

There is a great Section about Countability on discmath.ch. You can find more examples there. If cannot quite wrap your head around the concept of different infinities, you can look at this video on youtube.

Notes on Last Exercise Sheet

  • Good work overall
  • Don’t just start with some a and b. Write “Take any a,b …” or “This holds for any a,b in …” or something similar.
  • Jusify your steps!!
  • Don’t make it more complicated than it needs to be. Make sure you exactly understand what you need to show before you start.

Proving Countability of a Set

We know that a set AA is countable if ANA \preccurlyeq \mathbb{N}, which we can show by finding an injection from AA to N\mathbb{N}. But we can also find an injection from AA to any countable set:

If there is an injection φ:AB\varphi : A \rightarrow B and BB is countable, then AA is also countable.

Proof: Since BB is countable we know BNB \preccurlyeq \mathbb{N} and since we found an injection from AA to BB we also know ABA \preccurlyeq B. Now the transitivity of \preccurlyeq implies ANA \preccurlyeq \mathbb{N}.

This means we can use some of the countable sets we already know as BB. Some useful ones are: N\mathbb{N}, {0,1}\{ 0,1 \}^{*} (the set of finite bitstrings), N×N\mathbb{N} \times \mathbb{N} or any other countable set that you can create using the rules in the script. So proving countability usually goes like this:

Find the Injection

This is the hardest part. Get an intuition about the set and find the injection φ\varphi.

Prove that it is a Function

To prove that φ\varphi is a function we need to show that it is well-defined and totally defined. Even if those proprties might seem obvious to you, you still need to prove them!

Prove the Injectivity

Finally, prove that φ\varphi is actually an injection.

Conclusion

Conclude with the argument above that the set is countable.

Proving Uncountability

If we want to prove uncountability we first need a lemma:

If BB is uncountable and there is an injection φ:BA\varphi : B \rightarrow A from BB to AA then AA is also uncountable.

Proof: Since there is an injection from BB to AA we know that BAB \preccurlyeq A. Now assume AA was countable. Then ANA \preccurlyeq \mathbb{N} and per injectivity of \preccurlyeq we get BNB \preccurlyeq \mathbb{N}. But this means that BB is countable, which is a contradiction.

Tip

What you just saw is the magic sentence. Whenever you prove uncountability you will copy-paste this sentence at the start / end of the proof. (Either from your brain or cheatsheet.)

So now we have a method to prove uncountability. Most of the time you will use {0,1}\{ 0,1 \}^{\infty} as your set BB.

Find the Injection

This is the hardest part. Get an intuition about the set and find the injection φ\varphi.

Prove that it is a Function

To prove that φ\varphi is a function we need to show that it is well-defined and totally defined. Even if those proprties might seem obvious to you, you still need to prove them!

Prove the Injectivity

Finally, prove that φ\varphi is actually an injection.

Conclusion

Conclude with the magic sentence above that the set is countable.

See that the steps are basically the same as above? Yes! Proving uncountability and countability is not actually that difficult. After you understoof the set you are working with and found the injection, the rest is mostly just mechanical work.

Look at discmath.ch for a more in-depth guide and some useful tips!

Exercise Sheet Recommendations

All the exercises this week are good (and important). Don’t skip 6.6, a lot of (old) exam exercises are similar to it.