请输入您要查询的百科知识:

 

词条 Rule of sum
释义

  1. Simple example

  2. Inclusion–exclusion principle

  3. See also

In combinatorics, the rule of sum or addition principle is a basic counting principle. Stated simply, it is the idea that if we have A ways of doing something and B ways of doing another thing and we can not do both at the same time, then there are A + B ways to choose one of the actions.

More formally, the rule of sum is a fact about set theory. It states that sum of the sizes of a finite collection of pairwise disjoint sets is the size of the union of these sets. That is, if are pairwise disjoint sets, then we have:

Simple example

A woman has decided to shop at one store today, either in the north part of town or the south part of town. If she visits the north part of town, she will shop at either a mall, a furniture store, or a jewelry store (3 ways). If she visits the south part of town then she will shop at either a clothing store or a shoe store (2 ways).

Thus there are 3+2=5 possible shops the woman could end up shopping at today.

Inclusion–exclusion principle

{{main|Inclusion–exclusion principle}}

The inclusion–exclusion principle can be thought of as a generalization of the rule of sum in that it too enumerates the number of elements in the union of some sets (but does not require the sets to be disjoint). It states that if A1, ..., An are finite sets, then

See also

  • Combinatorial principle
  • Rule of product
  • Inclusion–exclusion principle
{{Unreferenced|date=March 2009}}Todennäköisyysteoria#Tuloperiaate ja summaperiaate

2 : Combinatorics|Mathematical principles

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/20 13:28:24