I am reading a book Axioms and Set Theory - A first course in Set Theory by Robert Andr´e
In the book an example if discussed regarding composition of two relations R and T
For a set S
S = {a,b,c,{a},{a,b},{{c}},∅,{∅}}
The relations R and T on S are given as
R = {(x, y) : x ∈ y}
T = {(x, y) : x = {y}}
So now,
R = { (a, {a}), (a, {a, b}), (b, {a, b}), (∅, {∅}) }
T = { ({a}, a}), ({∅},∅})}
We define T∘R
T∘R = {(x, y) : (z, y) ∈ T for some z ∈ imR}
For the relation T∘R we obtain:
T∘R = {(a, a), (∅,∅)}
For the relation R∘T we obtain:
R∘T = {({a}, {a}), ({∅}, {∅})}
But I am getting my answer as:
R∘T = {({a}, {a}), ({a}, {a, b}), ({∅}, {∅})}
Am I making any mistake or the example discussed in book has the error