Mathematical-Reasoning ยท Unit 27 ยท Video 3 ยท Interactive Practice

Reading Relation Properties off a Directed Graph

IKey Formulas

PropertyOn the directed graphA failure looks like
Reflexive on AA: (x,x)โˆˆR(x, x) \in R for all xโˆˆAx \in Aa loop at every vertexone vertex with no loop
Symmetric: (x,y)โˆˆRโ‡’(y,x)โˆˆR(x, y) \in R \Rightarrow (y, x) \in Revery arrow has a return arrow (loops are their own reverse)one arrow with no return
Transitive: (x,y),(y,z)โˆˆRโ‡’(x,z)โˆˆR(x, y), (y, z) \in R \Rightarrow (x, z) \in Revery two-step path xโ†’yโ†’zx \to y \to z has a shortcut xโ†’zx \to zone two-step path with no shortcut

Key Insight: The path xโ†’yโ†’xx \to y \to x is a two-step path too, and its shortcut is a loop. So in a transitive relation, arrows in both directions between xx and yy force loops at xx and at yy.

IILoops, Return Arrows and Shortcuts

Each property is one feature of the picture; every missing copy of that feature is drawn dashed.

IIIWalking Every Two-Step Path

Transitivity is a claim about every two-step path, including the paths that go there and back.

IVQuiz Questions

Problem 1 ยท Read All Three

Given: the directed graph of a relation on {a,b,c}\{a, b, c\} has a loop at each of aa, bb, cc and the arrows aโ†’ba \to b, bโ†’cb \to c, aโ†’ca \to c, and no other edges. Which properties does the relation have?

โœ… Correct! Every vertex has a loop, the arrow aโ†’ba \to b has no return, and the only two-step path through different vertices, aโ†’bโ†’ca \to b \to c, has its shortcut aโ†’ca \to c.
โŒ Not quite. The arrow aโ†’ba \to b has no return arrow bโ†’ab \to a, so the relation is not symmetric.
โŒ Not quite. Check the shortcuts: aโ†’bโ†’ca \to b \to c has aโ†’ca \to c, and every other two-step path uses a loop, whose shortcut is already an edge.
โŒ Not quite. None of the three arrows has a return arrow, so the relation is not symmetric.
โŒ Not quite. Look for loops, return arrows and shortcuts in turn.
Show solution

Loops: aa, bb and cc all have loops, so the relation is reflexive.

Return arrows: aโ†’ba \to b has no arrow bโ†’ab \to a, so it is not symmetric.

Shortcuts: a two-step path through a loop, such as aโ†’aโ†’ba \to a \to b, has the shortcut aโ†’ba \to b, which is the other step itself. The only path through three different vertices is aโ†’bโ†’ca \to b \to c, and aโ†’ca \to c is present. There are no there-and-back paths, since no arrow has a return. So the relation is transitive.

Problem 2 ยท A Two-Way Pair

Given: on A={1,2,3}A = \{1, 2, 3\}, the relation R={(1,1),(1,2),(2,1)}R = \{(1, 1), (1, 2), (2, 1)\}. Which single pair, added to RR, makes it transitive?

โœ… Correct! The path 2โ†’1โ†’22 \to 1 \to 2 needs the loop (2,2)(2, 2). With it, R={(1,1),(1,2),(2,1),(2,2)}R = \{(1,1), (1,2), (2,1), (2,2)\} and every two-step path has its shortcut.
โŒ Not quite. Vertex 33 has no arrows, so no two-step path passes through it. Transitivity does not require loops at vertices that sit alone.
โŒ Not quite. Adding (1,3)(1, 3) creates nothing RR needs and leaves the path 2โ†’1โ†’22 \to 1 \to 2 without its shortcut.
โŒ Not quite. (2,1),(1,2)โˆˆR(2, 1), (1, 2) \in R but (2,2)โˆ‰R(2, 2) \notin R.
โŒ Not quite. Walk the there-and-back paths.
Show solution

The arrows 1โ†’21 \to 2 and 2โ†’12 \to 1 give two there-and-back paths: 1โ†’2โ†’11 \to 2 \to 1, whose shortcut (1,1)(1, 1) is present, and 2โ†’1โ†’22 \to 1 \to 2, whose shortcut (2,2)(2, 2) is missing.

Add (2,2)(2, 2). The relation {(1,1),(1,2),(2,1),(2,2)}\{(1,1), (1,2), (2,1), (2,2)\} contains every pair from {1,2}ร—{1,2}\{1, 2\} \times \{1, 2\}, so any two-step path between 11 and 22 has its shortcut, and vertex 33 takes part in no path. The result is transitive (and still not reflexive on AA, since (3,3)(3, 3) is missing).

Problem 3 ยท Counting Missing Return Arrows

Given: the directed graph of a relation on {1,2,3,4}\{1, 2, 3, 4\} has loops at 11 and 33 and the arrows 1โ†’21 \to 2, 2โ†’12 \to 1, 3โ†’43 \to 4, 4โ†’34 \to 3, 2โ†’32 \to 3. What is the fewest number of edges that must be added to make it symmetric?

โœ… Correct! Only 2โ†’32 \to 3 lacks its return; adding 3โ†’23 \to 2 makes every arrow two-way.
โŒ Not quite. 2โ†’32 \to 3 has no arrow 3โ†’23 \to 2.
โŒ Not quite. Symmetry does not ask for loops; the missing loops at 22 and 44 matter for reflexivity, not symmetry.
โŒ Not quite. The pairs 1โ†”21 \leftrightarrow 2 and 3โ†”43 \leftrightarrow 4 already go both ways; only one arrow is one-way.
โŒ Not quite. Count the arrows with no return arrow.
Show solution

Loops are their own reverse, so they never break symmetry. Check each arrow between different vertices:

  • 1โ†’21 \to 2 and 2โ†’12 \to 1: both present.
  • 3โ†’43 \to 4 and 4โ†’34 \to 3: both present.
  • 2โ†’32 \to 3: the return 3โ†’23 \to 2 is missing.

Adding the single edge 3โ†’23 \to 2 makes the relation symmetric, and nothing fewer will do.

Problem 4 ยท When Symmetric and Transitive Force Loops

Given: a relation RR on a set AA is symmetric and transitive, and every xโˆˆAx \in A is related to at least one element of AA. Must RR be reflexive on AA?

โœ… Correct! Each vertex has at least one arrow out; symmetry adds the arrow back, and the there-and-back path forces the loop.
โŒ Not quite. The empty relation breaks the extra hypothesis: 11 is related to nothing. That is exactly the case this hypothesis rules out.
โŒ Not quite. Here the extra hypothesis supplies an arrow from each vertex, and the there-and-back rule then forces every loop.
โŒ Not quite. The conclusion is right but the reason is false: {(1,2),(2,1)}\{(1, 2), (2, 1)\} on {1,2}\{1, 2\} is symmetric and has no loops.
โŒ Not quite. Start from an arrow out of xx and use both properties.
Show solution

Let xโˆˆAx \in A. By hypothesis there is some yโˆˆAy \in A with xRyx \mathrel{R} y. Since RR is symmetric, yRxy \mathrel{R} x. Now xRyx \mathrel{R} y and yRxy \mathrel{R} x, so transitivity (with z=xz = x) gives xRxx \mathrel{R} x.

Since xx was arbitrary, RR is reflexive on AA. On the graph: every vertex has an arrow out, symmetry supplies the return arrow, and the path xโ†’yโ†’xx \to y \to x needs the loop at xx.

Solved: 0 / 4