maths.free › Combinatorics & Graph Theory › Pigeonhole principle and inclusion, exclusion

Pigeonhole principle and inclusion, exclusion

Two counting ideas that prove things without listing anything.

Pigeonhole: more pigeons than holes means some hole holds two. Inclusion, exclusion: |A ∪ B| = |A| + |B| − |A ∩ B|, and the alternating sum continues for more sets. Picture it: a Venn diagram; the overlap is what you counted twice. Think it: inclusion, exclusion is the Möbius function of the subset lattice.

কাজের উদাহরণ · {1,2,3,4} union {3,4,5,6}

{1,2,3,4} union {3,4,5,6}

ধাপ ধাপে

  1. A = \left\{1, 2, 3, 4\right\},\quad B = \left\{3, 4, 5, 6\right\}

    The two sets.

  2. A \cup B = \left\{1, 2, 3, 4, 5, 6\right\}

    Keep everything in either set.

  3. |A| = 4,\ |B| = 4,\ |A \cup B| = 6

    Cardinalities. Note |A ∪ B| = |A| + |B| − |A ∩ B|.

উত্তর প্রকাশ করুন
A \cup B = \left\{1, 2, 3, 4, 5, 6\right\}

এখন তুমি একটি সমস্যা বেছে নিন, অথবা নিজের সমস্যা টাইপ করুন অথবা আঁকুন। প্রতিটি পদক্ষেপ, একটি ছবি, উত্তর আড়াল করা আছে যতক্ষণ না আপনি প্রশ্ন করেন।

আপনার নিজের কাজ চালিয়ে যান

একটি বিনামূল্যে অ্যাকাউন্ট প্রতিটি পাঠের নোট যোগ করে, আপনি কি শেষ করেছেন তার একটি রেকর্ড, আপনার সমাধান করা সমস্যা এক জায়গায়, এবং আপনি এই পাতা সম্পর্কে একজন টিউটরকে জিজ্ঞাসা করতে পারেন। গণিত নিজেই সবার জন্য উন্মুক্ত, লগইন করা হোক বা না হোক।

নিবন্ধন করুন লগ- ইন

এখানে ব্যবহৃত প্রতীক

যে কোন প্রতীক চাপুন সম্পূর্ণ সংজ্ঞা, একটি ছবি এবং এর প্রতিটি অক্ষরের অর্থের জন্য।

কিভাবে: Pigeonhole principle and inclusion, exclusion

  1. The two sets.
  2. Keep everything in either set.
  3. Cardinalities. Note |A ∪ B| = |A| + |B| − |A ∩ B|.

মানুষ জিজ্ঞাসা করে

Permutation or combination?

Ask whether order matters. A lock code is a permutation (order matters); a hand of cards is a combination (it does not).

What is a graph in this sense?

Dots (vertices) joined by lines (edges), not a plot. Road maps, social networks and molecules are graphs; questions like "is there a route" and "how few colours" are graph theory.

আরও Combinatorics & Graph Theory