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