For pairwise disjoint finite sets, the rule of sum givesThe password sets of different lengths are disjoint, so the required number is .
The rule of product says that a sequence of choices, with possibilities at stage regardless of earlier choices, has possible outcomes. Applied to the Cartesian product of finite sets, it gives . Here independence means that the available choices do not restrict one another; no probability assumption is needed.
The rule of product counts unrestricted passwords and passwords containing no A. By the rule of subtraction, the answer is
Each of the elements is either included or excluded, so the rule of product gives . Alternatively, partition the power set into disjoint families according to cardinality. The family of -element subsets has size equal to the binomial coefficient . The rule of sum therefore gives
For finite sets, the inclusion-exclusion principle statesThus single-set cardinalities are added, pairwise-intersection cardinalities subtracted, triple-intersection cardinalities added, and so on.
Let contain the multiples of among . Its cardinality is , using the floor function. Because are pairwise coprime, their pairwise intersections correspond to divisibility by , and their triple intersection to divisibility by . The inclusion-exclusion principle gives
The pigeonhole principle states that if objects are placed in boxes and , at least one box contains at least two objects.
Set , using the ceiling function. If no box contains at least objects, all boxes contain at most , so the total number of objects is at most . Taking the contrapositive, a total greater than forces some box to contain at least objects. But , hence . This proves the generalized pigeonhole principle: some box contains at least objects.
By the generalized pigeonhole principle, 13 cards guarantee cards in one suit. The guarantee is sharp: 12 cards can consist of three cards from each suit, with no four cards of a common suit.
Use mathematical induction on . For , the sum is . Suppose it is at . ThenThe induction is complete, proving . The factorial identity also explains the cancellation directly.
In big O notation, means that there exist and such that for every integer . For the required polynomial versus exponential growth comparison, . If and , thenBy mathematical induction, for all . Thus , with and .
A binary relation is an equivalence relation precisely when it is reflexive, symmetric, and transitive.
For a counterexample to closure under union of antisymmetric relations, take , , and . Each is an antisymmetric relation: neither contains an off-diagonal pair together with its reverse. But contains both and while . Therefore is not an antisymmetric relation.
Write . Equality of -values defines an equivalence relation induced by a function: equality is reflexive, symmetric, and transitive, so all three properties hold for . The equivalence class of isFor this is the circle centred at the origin with radius ; the remaining equivalence class is the singleton .
This binary relation is not an equivalence relation, because it is not symmetric: since , but is false. In fact the injective encoding gives a total order. There are no equivalence classes for this binary relation.
Every nonzero integer has , proving reflexivity. Because , the relation is symmetric. If and , then , proving transitivity. Thus this is an equivalence relation, whose two equivalence classes are the positive integers and the negative integers:
Articles by others on the same topic
There are currently no matching articles.