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