Today we mainly talked about injectivity/surjectivity of functions.
In Exercise 3 we needed to think about injectivity/surjectivity of compositions.
Proof: Let be arbitrary elements of Because is injective, Now, notice that and are two non-equal elements of the set Using that is injective, Since by definition, we have proven that for any This means that is injective.
At the start of the class I posed the question: if is an injective function, is necessarily surjective? Answer: this statement is true for finite sets, but not infinite ones.
One exercise asked us to prove that a strictly increasing function is necessarily injective. Indeed, if then either or In the first case and in the second case In either case, (We could also say: "Suppose without loss of generality that …")
Then I asked a sort of converse: is an injective function necessarily strictly increasing or decreasing? I argued that we can't make a counterexample by drawing a graph without lifting our pen. Someone found a counterexample, which was something of the form (Actually in class I got the example subtly wrong; instead of I wrote That doesn't work, because in that case we would have …)