Representasi Relasi
Using Matrix
A relation between finite sets cam be represented using a zero-one matrix. Suppose that is a relation from . (Here the elements of sets and have been listed in a particular, but arbitary, order. Furthermore, when we use the same ordering for and .) The relation can be represented by the matrix , whereSebuah relasi antara himpunan yang terbatas dapat direpresentasikan menggunakan matriks nol-satu. Misalkan adalah relasi dari . (Di sini elemen-elemen himpunan dan telah dicantumkan dalam urutan tertentu, tetapi sembarangan. Selanjutnya, ketika kita menggunakan urutan yang sama untuk dan .) Relasi dapat direpresentasikan oleh matriks , dimanaIn other words, the zero-one matrix representing has a 1 as its entry when b_j(a_i)b_j$. (Such a representation depends on the ordering used for A and B.)