Working with functions, more specifically function composition. In my case, for starters,
We have an island with the places haven, dale, sun, and ness.
We have a smaller island with the places east, bent and big.
And a tiny island with the place smallest.
We have relations between different places represented like Relation ⊆ place × place
Place ={Little, east, bent, big, ness, haven, sun, dale}
The relation is represented like (this is how the places are connected/related by roads etc)
Relation ={(haven, dale),(haven, sun),(haven, ness),(dale, sun),(east, bent),(east, big)}
The islands are connected by ferry- represented like
Ferry ⊆ place × place
Specifically:
Ferry ={(ness, smallest),(smallest, haven),(haven, ness)}
Question: what is the result/way to solve
Relation ∘ Ferry
Ferry ∘ Relation
Ferry−1∘ Relation
I have read up on composition of relations online and in books, but I don't understand it and I am stuck on how to solve these tasks/what the correct answer is. If someone could show me the correct answer in a simple way that would be highly appreciated.