Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

To prove the closure with respect to the property. ofthe relation \(R = \{ (0,0),(0,1),(1,1),(2,2)\} \) on the set \(\{ 0,1,2\} \) does not exist if . is the property" has an odd number of elements."

Short Answer

Expert verified

procedure reflexive closure of transitive closure \(\left( {{M_R}:} \right.\) zero-one \(n*n\) matrix )

\(W: = {M_R}\)

procedure reflexive closure of transitive closur

W: \( = {{\rm{M}}_{\rm{R}}}\)

fork: \( = 1\) to \({\rm{n}}\)

fori: \( = 1\) to \({\rm{n}}\)

forj: \( = 1\) to \({\rm{n}}\)

\({w_{{\rm{ij}}}}: = {w_{ij}} \vee \left( {{w_{ik}} \wedge {w_{kj}}} \right)\)

fork: \( = 1\) to \(n\)

fori: \( = 1\) to \(n\)

forj: \( = 1\) to \(n\)

\({w_{{\rm{ij}}}}: = {w_{ij}} \vee \left( {{w_{ik}} \wedge {w_{kj}}} \right)\).

Step by step solution

01

Given data

\(R = \{ (a,b)\mid a\)and \(b\) have at least one common class with \(a \ne b\} \)

\(A = \) Set of all students.

02

Concept used of algorithm

Algorithms are used as specifications for performingcalculations and data processing.

03

Find the reflexive closures

Suppose $S$ were the closure of $R$ with respect to this property. Since $R$ does not have an odd numberof elements, $S \neq R$, so $S$ must be a proper superset of R.

Clearly S cannot have more than 5 elements, for if it did, then any subset of $S$ consisting of $R$ and one element of $\mathrm{S}$ - $\mathrm{R}$ would be a proper subset of $\mathrm{S}$ with the property; this would violate the requirement that $\mathrm{S}$ be a subset of every superset of $R$ with theproperty.

Thus $\mathrm{S}$ must have exactly 5 elements.

Let Tbe another superset of $R$ with 5 elements (thereare $9-4=5$ such sets in all).

Thus Thas the property, but $S$ is not a subset of $T$.

This contradicts thedefinition.

Therefore our original assumption was faulty, and the closure does not exist.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free