I read something weird in my category theory book (Awodey p 47).
" Observe also that a terminal object is a nullary product, that is, a product of no objects:
Given no objects, there is an object $1$ with no maps, and given any other object $X$ and no maps, there is a unique arrow:
$$!:X\to 1$$
making nothing further commute."
Could anyone give a hint about what this means? I mean "given no objects, there is an object..?"
Thank you
To form a product, you give me $n$ objects, $A_1,\dots,A_n$, and I give you back an object $A_1\times\dots\times A_n$, together with $n$ maps $\pi_i\colon A_1\times\dots\times A_n\to A_i$ (one to each of the $A_i$) satisfying the universal property of the product.
So what happens if $n=0$? Then you give me $0$ objects, and I give you back an object which we call $1$, together with $0$ maps $\pi_i$ (one to each of the $A_i$, of which there aren't any), satisfying the universal property of the product.
What does the universal property say in this case?
For any $X$ given together with $0$ maps $f_i$ (one to each of the $A_i$, of which there aren't any), there is a unique map $!\colon X\to 1$ making all of the triangles commute ($\pi_i\circ ! = f_i$ for all $i$, of which there aren't any).
Removing the vacuous conditions from the definition, we see that the empty product is an object $1$ such that for every object $X$ there is a unique map $!\colon X\to 1$, i.e. $1$ is a terminal object.