Find the zero-one matrix of the transitive closure of the relation with matrix A = [1 0 1; 0 1 0; 1 1 0].
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. [1 1 1; 0 1 0; 1 1 1]
Explanation
1 → 3 → 2 gives (1, 2); 3 → 1 → 3 gives (3, 3). Row 1 becomes 111, row 2 stays 010, row 3 becomes 111.
More Discrete Structures and Optimization questions
- For the LPP: maximize Z = 2x₁ − x₂ + 2x₃ subject to 2x₁ + x₂ ≤ 10, x₁ + 2x₂ − 2x₃ ≤ 20, x₁ + 2x₃ ≤ 5, x₁, x₂, x₃ ≥ 0, what is the solution…
- How many different Boolean functions of degree n are there?
- Consider the Euler's phi function given by ϕ(n) = n ∏ (1 − 1 ) p p n where runs over all the primes dividing . What ϕ(45) is the value of ?
- Consider the following statements : S n > 1, aϕ(n) ≡ 1(mod n) 1 : For any integer a ∈ Z∗ ϕ(n) for all n , where is Euler's phi function. S…
- In mathematical logic, which of the following are statements? (i) There will be snow in January. (ii) What is the time now ? (iii) Today is…
- Match List I with List II and choose the correct answer from the code given below.