A binary relation is a relationship between two elements that is implemented via a binary function.
Binary relations are used in many branches of mathematics to model concepts like:
NHST try to find this relation.
Example: Suppose there are:
The owns binary relation between the objects and the persons is:
This relation may be represented:
R = (
{ball, car, doll, gun},
{John, Mary, Ian, Venus},
{
(ball, John),
(doll, Mary),
(car, Venus)
}
)
ball | car | doll | gun | |
---|---|---|---|---|
John | + | |||
Mary | + | |||
Ian | ||||
Venus | + |
Two different relations could have the same graph. The graphs of the relations above and below are the same.
R = (
{ball, car, doll, gun},
{John, Mary, Venus},
{
(ball, John),
(doll, Mary),
(car, Venus)
}
)
ball | car | doll | gun | |
---|---|---|---|---|
John | + | |||
Mary | + | |||
Venus | + |