35. Ordered pairs
In analytic geometry, one specifies points in the plane by ordered pairs of real numbers, for example $\langle 3,5\rangle$. (Most books use round parentheses instead of pointy ones.) This is not the same as the two-element set $\{ 3, 5\}$, because in the ordered pair the order matters: $\langle 3,5\rangle$ is not the same as $\langle 5,3\rangle$.
In the ordered pair $\langle 3,5\rangle$, 3 is the first coordinate and 5 is the second coordinate. Sometimes, the two coordinates are the same: for example, $\langle 4,4\rangle$ has first and second coordinates both equal to 4.
An ordered pair in general need not have its first and second coordinates of the same type. For example, one might consider ordered pairs whose first coordinate is an integer and whose second coordinate is a letter of the alphabet, such as $\langle 5,\text{‘}a\text{’}\rangle$ and $\langle -3,\text{‘}d\text{’}\rangle$.
The following specification gives the operational properties of ordered pairs:
35.1 Specification: ordered pair
An ordered pair $\langle x,y\rangle$ is a mathematical object distinct from $x$ and $y$ which is completely determined by the fact that its first coordinate is $x$ and its second coordinate is $y$.
35.1.1 Remark Specification 35.1 implies that ordered pairs are the same if and only if their coordinates are the same:
$$(\langle x,y\rangle=\langle x',y'\rangle)\Leftrightarrow(x=x'\wedge y=y')$$
Thus we have a method:
35.1.2 Method
To prove two ordered pairs $\langle x,y\rangle$ and $\langle x',y'\rangle$ are the same, prove that $x=x'$ and $y=y'$.
35.1.3 Exercise Which of these pairs of ordered pairs are equal to each other?
a) $\langle 2,3\rangle$, $\langle 3,2\rangle$.
b) $\langle 3,\sqrt{4}\rangle$, $\langle 3,2\rangle$.
c) $\langle 2,\sqrt{4}\rangle$, $\langle\sqrt{4},2\rangle$.
(Answer on page 244.)
35.1.4 Exercise (discussion) In texts on the foundations of mathematics, an ordered pair $\langle a,b\rangle$ is often defined to be the set $\left\{\{a,b\},\{a\}\right\}$. Prove that at least when $a$ and $b$ are numbers this definition satisfies Specification 35.1 (with a suitable definition of “coordinate”).
Pages 49–50 of the book (PDF).