I have recently started studying Set Theory in a self-thaught way, for that purpose I have been following Kunen's book: Set Theory: An Introduction to Independence Proofs. I'm in Chapter I section 7 and it has been defined the ordinals addition but I don't quite understand that definition. I have seen that in other books authors defines the addition using transfinite induction and it seems easier but now I want to understand Kunen's one.
$$\alpha + \beta=type(\alpha \times \{ 0 \} \cup \beta \times \{1\}, R) \:\text{where } $$ $$R=\{ \langle \langle \xi,0 \rangle, \langle \eta , 0\rangle \rangle : \xi<\eta<\alpha\} \; \cup \{\langle \langle \xi,1 \rangle, \langle \eta , 1\rangle \rangle : \xi<\eta<\beta\} \; \cup [(\alpha\times\{0\})\times(\beta\times\{1\})]. $$
With $type(A,R)$ is the unique ordinal $C$ such that $\langle A, R\rangle \cong C$ when $\langle A,R\rangle$ is a well-ordering set.
What I think I understood so far is that this definition tries to order two non-disjoint sets having that $\alpha<\beta$ and keeping the order inside $\alpha$ and $\beta$. What I can't understand is how I can get that cardinal (in for example a finite case), maybe I'm being stubborn and I should "ignore" this definition and trying to understand the more simplified one given in the later results.
Thank you for your time.
As mentioned by Brian, it is essentially the lexicographic ordering.
For example, say $2=\{0_2,1_2\}$ and $3=\{0_3,1_3,2_3\}$.
According to the definition, we first extend $2$ and $3$ to ordered pairs:
$$2\times\{0\}=\{(0_2,0),(1_2,0)\}\quad{\rm and}\quad 3\times\{1\}=\{(0_3,1),(1_3,1),(2_3,1)\}.$$
Then what is $R$? Although it is written as the union of sets, we can write it in a chain like this:
$$(0_2,0)<(1_2,0)<(0_3,1)<(1_3,1)<(2_3,1).$$
The set $2\times\{0\}\cup 3\times\{1\}$ is linearly ordered and isomorphic to $5=\{0_5,1_5,2_5,3_5,4_5\}$ in which
$$0_5<1_5<2_5<3_5<4_5.$$
Thus, $2+3=5$.