Relation (mathematics)

ID: relation-mathematics

In mathematics, a **relation** is a way to describe a relationship between sets. Formally, a relation can be defined as a subset of the Cartesian product of two sets. If we have two sets, \( A \) and \( B \), the Cartesian product \( A \times B \) consists of all possible ordered pairs \( (a, b) \) where \( a \) is in set \( A \) and \( b \) is in set \( B \).

New to topics? Read the docs here!