Q36: Case study: one-way traffic flow between five spots as a relation
Case Study -1
A city’s traffic management department is planning to optimize traffic flow by analyzing the connectivity between various traffic signals. The city has five major spots labelled , and .
The department has collected the following data regarding one-way traffic flow between spots:
1. Traffic flows from to , to , and to .
2. Traffic flows from to and to .
3. Traffic flows from to .
4. Traffic flows from to and to .
The department wants to represent and analyze this data using relations and functions. Use the given data to answer the following questions:
I. Is the traffic flow reflexive? Justify. (1 mark)
II. Is the traffic flow transitive? Justify. (1 mark)
III A. Represent the relation describing the traffic flow as a set of ordered pairs. Also state the domain and range of the relation. (2 marks)
OR
III B. Does the traffic flow represent a function? Justify your answer. (2 marks)
Let R be the relation “traffic flows from x to y” on the set of spots .
Why?
A relation is a set of ordered pairs. Here the pair is in R exactly when the data say traffic flows from to . The order matters, because the flow is one-way.
I. No spot has traffic flowing to itself, e.g. .
Why?
R is reflexive only if for every element of the set. So one missing pair is enough to show it is not reflexive.
None of the listed flows starts and ends at the same spot, so is not in R.
So, the traffic flow is not reflexive.
II. and , but .
Why?
R is transitive if, whenever and , also . To show it is not transitive, one counterexample is enough.
Traffic goes A to B and B to E, but the data list no flow from A to E.
Watch out: some chains do work, for example , and . That does not make R transitive; the rule must hold for every chain.
So, the traffic flow is not transitive.
III A.
Why?
Each sentence of the data gives ordered pairs (from, to): 3 pairs from A, 2 from B, 1 from C and 2 from D. That is pairs.
Domain , Range
Why?
The domain of a relation is the set of first elements of its pairs, and the range is the set of second elements.
First elements, in order: A, A, A, B, B, C, D, D. Without repeats: .
Second elements, in order: B, C, D, C, E, E, E, C. Without repeats: .
No traffic leaves E, so E is not in the domain. No traffic arrives at A, so A is not in the range.
III B. A is related to three spots: , , . So A has three images.
Why?
A relation is a function only if every element of the domain has exactly one image. A has three images (B, C and D), so this fails.
The same is true of B and D, which have two images each.
No, the traffic flow does not represent a function, as A has three images.
Chapter 1, Relations and Functions: Relations: reflexive, transitive, function.
Question type: A relation given as a list of pairs
How to spot it: click to see
Type 1. A relation given as a list of pairs: check each property
Spot it: is written out pair by pair, on a small set like .
Here: Write the flows as the pairs on the five spots. In I, is missing; in II, but .
Tell us if something on this page is wrong or unclear. Send feedback on this question →
Relations and Functions in past papers: question 9 of 18 · see them all