"Combinatorial mathematics" counting principle

Source: Internet
Author: User

Counting principle

① Drawer principle

There are N drawers, n+1 apples, so at least one drawer has two or two apples.

There are N drawers and N-1 apples, so at least one drawer has no apples.

② addition principle

If Category A items have a, B items have B, then category A items or Category B items have a total of a+b (no case of the same nature)

③ Multiplication Principle

If A has a mode of occurrence in a, B has a mode in B, then the occurrence of events A and B has a*b in the way.

④ principle of tolerance and repulsion

∪= and A∪b writing a∪b, read A and B:

∩= a∩b writing a∩b, read as A cross B:

DeMorgan theorem: Set A and B as any two subsets of the complete U, then

Emoticons

, A's complement is the yellow part and the blue part

The complement of B is the red part and the blue part

The complement of A∩B is three parts of red, yellow and blue

Emoticons

, A's complement is the yellow part and the blue part

The complement of B is the red part and the blue part

The complement of A∩B is three parts of red, yellow and blue

"Combinatorial mathematics" counting principle

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.