2080 6

BIT152 ยท 2080 ยท 5 marks

How can you represent relations using matrices? Explain with suitable example.

How can you represent relations using matrices? Explain with suitable example. [5]

Discrete StructureChapter 3: Set Theory and RelationsRelation matrices

A relation R from set A to set B can be represented using a zero-one matrix (also called a Boolean matrix or relation matrix), denoted MR. --- Let: - Set A = {aโ‚, aโ‚‚, ..., aโ‚˜} with m elements (rows) - Set B = {bโ‚, bโ‚‚, ..., bโ‚™} with n elements (columns) The matrix MR is an m ร— n matrix where each ...