Representation of two relation matrices

Click For Summary

Homework Help Overview

The discussion revolves around the representation of the composition of two relation matrices in the context of set theory and matrix operations. Participants are exploring how to express the composition of relations and whether matrix multiplication applies, particularly with boolean operations.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants are questioning how to represent the composition of two relations using matrices, considering whether to use boolean operations in the multiplication process. Some are exploring the implications of mapping elements through multiple sets.

Discussion Status

There is an ongoing exploration of whether the boolean sum is appropriate in the context of matrix multiplication for relations. Some participants have provided hints and clarifications about the nature of boolean operations and their relevance to the matrices being discussed.

Contextual Notes

Participants are considering the dimensions of the elements involved and the specific definitions of boolean operations as they relate to the matrices. There is a mention of using logical matrices, which adds a layer of complexity to the discussion.

Panphobia
Messages
435
Reaction score
13

Homework Statement



w0jbwg.png

The Attempt at a Solution



I know what relations are individually but what do I do to represent the composition of both? Is it some matrix operation? Would I multiply them, but instead of adding I use the boolean sum?
 
Last edited:
Physics news on Phys.org
Panphobia said:

Homework Statement



w0jbwg.png



The Attempt at a Solution



I know what relations are individually but what do I do to represent the composition of both? Is it some matrix operation?

Let ##R = R_1 \circ R_2 : A → C##

If you have an element ##a \in A##, how would you be mapping it all the way to ##C## given the two matrices you have?

Hint: Think about the dimensions of the elements in ##A##.
 
I know that I can use the venn diagrams and draw arrows and stuff, but when I multiply the two matrices together, I get the right answer. So will it work for all of them?
 
Panphobia said:
I know that I can use the venn diagrams and draw arrows and stuff, but when I multiply the two matrices together, I get the right answer. So will it work for all of them?

Yes, suppose you denote the upper matrix in the problem by ##M_1## and the lower one by ##M_2##.

According to ##R_1##, you map the elements of ##A## to ##B##. The matrix of the relation happens to be ##M_1##.

So ##aM_1 \in B##.

Then to get to ##C##, you multiply by ##M_2##.

So ##aM_1M_2 \in C##.
 
Ahh alright, and I was right to assume that you used the boolean sum, during the multiplicative process?
 
I believe the question is simply asking you to multiply ##M_1## and ##M_2##. I'm not quite sure what you mean by 'Boolean sum' though.
 
If an element of A, a, and an element of B, b, are related then, aRb == 1, so there can only be values of 0 or 1, boolean sum is defined as a logical or so
0 + 0 = 0
1 + 0 = 1
0 + 1 = 1
1 + 1 = 1
 
Panphobia said:
If an element of A, a, and an element of B, b, are related then, aRb == 1, so there can only be values of 0 or 1, boolean sum is defined as a logical or so
0 + 0 = 0
1 + 0 = 1
0 + 1 = 1
1 + 1 = 1

Ahh you intended these as logical matrices. If that's the case then yes.
 
  • Like
Likes   Reactions: 1 person

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
2K
Replies
9
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K