Find the Composion of this relation

  • Thread starter Thread starter Jakes
  • Start date Start date
  • Tags Tags
    Relation
AI Thread Summary
The discussion focuses on finding the composition of two relations, R and S, where R relates elements from set A to set B, and S relates elements from set B to set C. The initial solution proposed includes pairs (2,y) and (3,y) as part of the composition, but it was pointed out that the final answer lacked proper notation. It was clarified that the correct composition, S∘R, is indeed {(2,y), (3,y)}. Additionally, it was noted that while elements can be reused in the composition, certain pairs do not contribute to the final result due to the absence of corresponding elements in the original relations. Ultimately, the correct composition is confirmed to be S∘R = {(2,y), (3,y)}.
Jakes
Messages
7
Reaction score
0
A = {1,2,3}
B= {a,b,c}
c = {x,y,z}

R = {(1,a) (2,c) (3,a) (3,c)}
S = {(b,x) (b,z) (c,y)}

Find RoS (composition of relation)my solution was this:
(2,c) belongs to R and (c,y) belongs to S so (2,y) belongs to RoS
(3,c) belongs to R and (c,y) belongs to S so (3,y) belongs to Ros
RoS={(2,y) 3,y}

can we use (c,y) more than one time..
Is this correct answer ??
 
Physics news on Phys.org
i think you are finding the composition relation S\circ R since
R is relation from A to B and S is relation from B to C. So if you are seeking
S\circ R , then your your first two lines are correct but the final answer
is not since you forgot to put brackets for (3,y) .so

S\circ R=\{(2,y),(3,y)\}

and its ok to use (c,y) more than one time
 
If you are indeed looking for RoS, then note that S "takes b into" both x and z but there is no pair in R having x or z as a first member. Similarly, S "takes c into" y but there is no pair in R having y as first member. RoS does not exist (or is the empty relation).


To find SoR, R "takes 1 to" a but there is no pair in S with first member a so there is no pair in SoR with first member 1. R "takes 2 to" c and S "takes c to y" so SoR contains (2, y). R "take 3 to" both a and c. There is no pair in S with first member a but S "takes c to" y so (3, y) is in RoS.
 
Thanks both of you :)
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...

Similar threads

Replies
5
Views
2K
Replies
6
Views
1K
Replies
2
Views
2K
Replies
1
Views
2K
Replies
7
Views
2K
Replies
4
Views
1K
Replies
1
Views
2K
Back
Top