Let $S_1 \subset \cdots \subset S_n \subset \cdots$ be an infinite sequence of finite sets. We can define both inverse limit and direct limit of this sequence. What is the difference between them? Thank you very much.
Edit: Let $\iota_{i,j}: S_i \to S_j$ be the map sending $a$ to $a$, for all $i<j$. Then we have a direct system. Then we can take direct limit $\lim_{\rightarrow} S_i = \sqcup_{i} S_i/\sim$, where $\sim$ is defined as: for $x_i \in S_i, x_j \in S_j$, $x_i \sim x_j$ if $x_i = x_j$.
Assume further that every $S_i$ has some element $0$. Let $\pi_{i,j}: S_j \to S_i$ be the map sending $a$ to $a$ if $a$ is in $S_i$ and sending $a'$ to $0$ if $a'$ is not in $S_i$, for all $i<j$. Then we have an inverse system. Then we can take inverse limit $\lim_{\leftarrow} S_i =\{ s \in \prod _{i} S_{i} : s_{i}=\pi_{i,j}(s_{j}), \forall i\leq j \}$.
I am asking this question because I have the following situation:
I have an infinite sequence of polytopes: $P_1, P_2, \ldots$ (every $P_i$ has finitely many vertices and faces), where for all $i$, there is a map sending all facets (codimension 1) of $P_i$ to facets to $P_{i+1}$ ($P_{i+1}$ has more vertices and has more facets). I want to define some polytope $P$ which is the limit of $P_1, P_2, \ldots$ in some sense ($P$ is the largest polytope in this sequence which possibly has infinite many vertices and facets). Should I define $P$ as direct limit or inverse limit? Thank you very much.
Edit: More precisely, the polytopes $P_i$'s are defined as follows. Let $A_1 \subset A_2 \subset \cdots$ be a sequence of sets of polynomials. Define $P_i$ to be the Newton polytope of the polynomial which is the product of the polynomials in $A_i$, see the webpage.
The colimit (better avoid the term "direct limit" since it is utterly confusing) of the sequence $S_0 \subseteq S_1 \subseteq S_2 \subseteq \cdots$ is the union set $\bigcup_{n \geq 0} S_n$. In fact, it is easily verified that this union, equipped with the inclusion maps $S_k \hookrightarrow \bigcup_{n \geq 0} S_n$, satisfies the universal property of the colimit.
However, the limit (better avoid the term "inverse limit") of $S_0 \subseteq S_1 \subseteq S_2 \subseteq \cdots$ is just $S_0$. This is trivial to verify. More interesting limits can be computed for sequence of maps in the other directions, e.g. $\cdots \twoheadrightarrow S_2 \twoheadrightarrow S_1 \twoheadrightarrow S_0$.
More generally, if $D : \mathcal{I} \to \mathcal{C}$ is any functor and $\mathcal{I}$ has an initial object $0$, then $\lim(D) = D(0)$. Dually, if $\mathcal{I}$ has a terminal object $1$, then $\mathrm{colim}(D) = D(1)$.