A relation \( R = \{(x, y) : \text{Number of pages in} \, x \text{ and } y \text{ are equal} \} \) is defined on the set \( A \) of all books in a college library. Prove that \( R \) is an equivalence relation.