6)
a) Let a be least element of poset.
To prove: It is unique.
On contradiction, Let b be another least element.
Since a is least element
Also, (anti
symetric property)
Thus, a=b which proves uniqueness.
b) see attached image.
7.
Lets have definition of terms used-
Bipartite Graph- If we are able to find two disjoint subsets U and V of vertices of graph such that each edge of graph connect one vertices of U to one vertices of V.
Cycle-If connected graph contains one cycle. In this number of vertices are same as number of edeges.
Wheel-If there exist a vertex which is connected to all other vertex.
Complete Graph-If every vertices are connected to each other.
For solution see attached image. 


given the definition:
A partially ordered set S is said to be "inductive" if every chain
of S has an upper bound in S.
Show that (1) and (2) are equivalent.
Show that D Every inductive set has a maximal element inductive set and let xeX, then maximal element b (2) Let X be an Xhas at least Such that asb. one
Show that D Every inductive set has a maximal element inductive set and let xeX, then maximal element...
Let S be the set of distinct ordered triples comprised of the numbers 1, 2, 3, 4. To say that the triple is distinct means that no number occurs twice in the triple. To say that the triple is ordered means that two triples in which the same numbers appear in a different order are considered to be different triples. Some of the elements of S are: 1,2,3), (1,2,4), (3,2,1), (3,2,4), (4,2,1), (4,3,2) We wish to list all of the...
Question 9: Let S be a set consisting of 19 two-digit integers. Thus, each element of S belongs to the set 10, 11,...,99) Use the Pigeonhole Principle to prove that this set S contains two distinct elements r and y, such that the sum of the two digits of r is equal to the sum of the two digits of y. Question 10: Let S be a set consisting of 9 people. Every person r in S has an age...
Example 1.9:
1.23 "The median of an ordered set is an element such that the number of elements less than the median is within one of the number that are greater, assuming no ties. a. Write an algorithm to find the median of three distinct integers a, b, and c. b. Describe D. the set of inputs for your algorithm. in light of the discussion in Sec- tion 1.4.3 following Example 1.9. c. How many comparisons does your algorithm do...
4. One ordered pair u (V1,U2) dominates another ordered pair u-(ui,u2) iful > ข1 and U2 > Un Given a set S of ordered pairs, an ordered pair u E S is called Pareto optimal for S if there is no vES such that v dominates u. Give an efficient algorithm that takes as input a list of n ordered pairs and outputs the subset of all Pareto-optimal pairs in S. (10 points correct reasonably fast algorithm with justification, 5...
1. Let A= {0,1}2 U... U{0,1}5 and let < be the order on A defined by (s, t) E< if and only if s is a prefix of t. (We consider a word to be a prefix of itself.) (a) Find all minimal elements in A. (Recall that an element x is minimal if there does not exist y E A with y < x.) (b) Are 010 and 01101 comparable? 2. Give an example of a total order on...
4. Ranking/Unranking Subsets. Let A be a set of n elements and set Sk(A) be the collection of all k-element subsets of A. Recall that |Sk(A)I - (a.) (8 points) Describe a ranking algorithm to rank a k-element subset of an n-element set. (b.) (8 points) Describe an unranking algorithm to unrank an integer 0 < s< [into a ithm to unrank an integer 0 S s <C) k-element subset of an n-element set. (c.) (10 points) As examples, let...
Question 2. Recall that a monoid is a set M together with a binary op- eration (r,y) →エ. y from M × M to M, and a unit element e E/, such that: . the operation is associative: for all x, y, z E M we have (z-y): z = the unit element satisfies the left identity axiom: for all r E M we have the unit element satisfies the right identity axiom: for all a EM we Let K...
I have done the a and b, but i'm so confuse with other
questions, could someone help me to fix these questions, thanks so
much.
4 Directed graphs Directed graphs are sometimes used operating systems when trying to avoid deadlock, which is a condition when several processes are waiting for a resource to become available, but this wil never happen because Page 2 p2 T2 Figure 1: Minimal example of a resource allocation graph with deadlock other processes are holding...
Answer with simple java code and comments
This homework deals with the problem of partitioning an array. We'll define partitioning to mean arranging the elements of an array around a certain "pivot, " element such that all elements to the left of the pivot are strictly less than the pivot, and all elements to the right of the pivot are greater than or equal to the pivot. To simplify things a little bit, we'll assume that the pivot element is...