CSCI 301 L18 Notes

Lecture 18 - Notes

Relations

Announcements

Relations

Example:

Let \(A = \{1, 2, 3\}\). The relation \(R\) meaning “greater than equal to” is a subset of \(A \times A\): \[ R = \{(1, 1), (2, 1), (2, 2), (3, 3), (3, 2), (3, 1)\} \subseteq A \times A \] We can also draw a diagram representing this relation:

where each element of \(A\) is a dot, and each ordered pair in the relation is drawn as an arrow from its first element to its second element.

Do Exercises Part A

Properties of Relations

properties

Consider \(R\) from above. Is it:

Do Exercises Part B