In mathematics, a relation is a connection between elements of two sets. If an element in one set corresponds to an element in another set, a relation exists.
A relation R from set A to set B is a subset of the Cartesian product A × B.
R ⊆ A × B
Below is a dynamic visual representation of relations between two sets.
A teacher imparts knowledge to students.
Two people are friends if they know each other.
The weather of a city depends on its temperature.
Instructions: For each pair below, select "Yes" if it forms a relation or "No" if it does not.