| This It is of interest to the followingWikiProjects: | |||||||||||
| |||||||||||
QUOTE
"... is an equation relating the sizes of two sets and their union. It states that if A and B are two (finite) sets, then
|A \cup B| = |A| + |B| - |A \cap B|. \,
The meaning of the statement is that the number of elements in the union of the two sets is the sum of the elements in each set, respectively, minus the number of elements that are in both. Similarly, for three sets A, B and C,"ENDQUOTE
Sets don't have a size, they have a number of members - also known as cardinality, the cardinality of the union of two sets is NOT the sum of the elements in each set.... that would give another set, not a number. Mathematics is the area above all of human achievement where clarity of thought is most necessary and most refined. Who are the people who take it upon themselves to write articles about mathematical subjects, when they don't have the ability to distinguish the elements of the set from the number of those elements. Many many articles in the encyclopedia suffer from this kind of ineptness. If they stopped and left it to those better equipped the article count would increase more slowly, yet the readers would be more enlightened, there would be more silk purses and there would be fewer sows ears.
— Precedingunsigned comment added by82.0.89.176 (talk)23:30, 7 February 2013 (UTC)[reply]
This is very confusing. How about some examples.
The new section repeatedly had
where
appeared to be intended. Those are of course two different things. I hope I've fixed all of those.Michael Hardy (talk)02:41, 15 May 2009 (UTC)[reply]
The way the formula is written at the moment, doesn't, count everything twice (and so on for the other terms)? Would it be correct to write it as ? I think I don't understand this well enough to change the article...
The notation in this context does not mean the set of allordered pairs (i,j). It does not say, i.e. we don't havej running from 1 throughn separately for each fixed value ofi.Michael Hardy 01:48, 6 Jun 2005 (UTC)
This proof is horrifically obtuse - is there a more intuitive (but still algebraic) one?
Suppose the pointi is ink of the sets. The first term counts itk times, the second subtracts it times, the third adds it times, and so on. So the total number of times it is counted is
which is the binomial expansion for. Thus, each point is counted exactly once. Is that clearer?McKay04:55, 30 May 2006 (UTC)[reply]
Indeed, the definition as given, scares the reader momentarily away from the article. Introducing the topicwith elemantary math, examples, and illustrations is the better approach, in line withMcKay above but with more detailed explanations and examples starting with 2 and 3 sets.Lantonov14:33, 23 October 2007 (UTC)[reply]
I added the parenthesis with the synonym 'sieve principle'; and didn't notice until after saving that I was auto-logged out. Just so that you know whom to blame...JoergenB14:25, 27 September 2006 (UTC)[reply]
The diagram currently for n=4 appears to depict a special case where - labelling the 4 sets going clockwise around the diagram say, A,B,C,D - the number of elements in the intersection of A & C which are not in B or D is zero, and the number of elements in the intersection of B & D not in A or C is also zero. This could lead students to derive alternativeincorrect formulae, such as:
I think the special case diagram is likely to lead to faulty reasoning, and would be better either removed or replaced with something catering for the general case.Stumps (talk)03:35, 27 June 2008 (UTC)[reply]

Hi, do you see a particular reason to bound the discussion to probability? It seems to me that a half-way level of generality is not so convenient here after all.In fact, it only forces to repeat everything with a different notation ( P(A) instead of |A|).
My suggestion is to keep the first part with statement and proofs in thefinite cardinality case, and then in a last sectionInclusion–exclusion principle in measure theory just observe that everything holds in general measure spaces (so in particular for probability measures): this way we don't either need to change notation,because |A| for a general measure is standard.
Notice also that the measure theoretic setting also includes cases with a somehow more direct visual appeal (subsets in R^2 etc), than examples in Probability.
Another thing:
I would like the case ofregular intersections,
to be also stated in this form
which is of common use in combinatorics and somehow nicer. --PMajer (talk)12:51, 30 October 2008 (UTC)[reply]
You might want to take a look at the approach given inInclusion-Exclusion Principle inProofWiki (a fast-growing baby sibling of this one).
The emphasis here is on thegeneral additive function, which automatically takes on board the counting function and the probability measure (in fact, any measure you care to consider).
The proof itself is inductive and purely algebraic, in that it does not use anything more complicated than an (admittedly) intuitive appeal to "all subsets of order out of" in order to get the correct sum of the contributions of the intersections of subsets of.
IMO it's easier to follow (well I would think that, I wrote it). --WestwoodMatt (talk)07:46, 3 March 2010 (UTC)[reply]
This article illustrates the principle and gives an example, but to be honest I don't think your average wikipedia reader will understand it. Is it possible to illustrate a principle like this in a purely written format using examples? I'm not saying remove the mathematics, just that some sort of written explanation would make it an awful lot more readable for a general audience.
At present this is as close to a written explanation as we are given:
What this statement is saying appears quite simple to me, it's just written in a way that is likely to promote confusion amongst those without a background in mathematics. It would also help immensely if it were followed up with an example (I know there is an example further down, but this is an example of a calculation, not a simple example of what the above statement actually means). I know this seems like dumbing down the article, but surely the key goal should be to communicate the information to as many people as possible.
Personally, I don't have the writing ability nor knowledge to do a good job of this. I'm commenting here in the hope someone else can furnish a solution.Blankfrackis (talk)14:10, 15 December 2010 (UTC)[reply]
Ijon Tichy x2 (talk)07:47, 30 March 2013 (UTC)[reply]
I am almost finished with my refactoring of this article. I've expanded the lead to make it readable, clarified the statement of the principle, talked about special cases and generalizations and vastly expanded the list of applications. I am now moving on to improve some of the mathematical writing. Before tackling the proofs (which I have moved to the end of the article, where they belong) I want to redo the section on Möbius inversion (titled "Other forms" - that will be changed!). My usual modus operandi is to leave as much of what previous editors have contributed alone and build up the section with small corrections and changes. I especially don't like to touch referenced material that I don't have access to. In this section however, I feel that I need to make some major changes. The statement of the result is not accurate, the presentation leaves much to be desired and the emphasis seems a bit skewed. This may not be the fault of the editor, but rather the reference that was used. I am planning on replacing the reference with something a bit more mainstream as I redo the section and I am afraid that not much of what is currently there will survive. Any comments before I do this?Bill Cherowitzo (talk)03:25, 1 April 2013 (UTC)[reply]
The "Alternative proof" at the end is essentially exactly the same as the "First possibility" under "Proof". I could redo this, but might be better if someone familiar with the page did.Thanks!Natkuhn (talk)02:56, 22 December 2014 (UTC)[reply]
The text (in the introductory part) says "This concept is attributed to Abraham de Moivre (1718);[1] but it first appears in a paper of Daniel da Silva (1854),[2] and later in a paper by J. J. Sylvester (1883).[3]"
But 1718 is long before 1854, so what does this text mean? Did de Moivre not actually write about the principle but people cite him anyway for some reason? Or is it just a mistake with the dates? It's hard to tell because de Moivre (1718) isn't actually listed in the references.Nathaniel Virgo (talk)09:17, 2 July 2018 (UTC)[reply]
To count the number of elements in exactly sets, the coefficient for the intersection of sets is
In the normal case this results in coefficients 1, -1, 1, -1, ...
For elements in exactly 1 set this is 0, 1, -2, 3, -4, ...
For elements in exactly 2 sets this is 0, 0, 1, -3, 6, -10, ...
I believe this result is in textbooks but it's strangely hard to find it on the internet. I don't have a proof though so this result and the proof should be added to the article.Wqwt (talk)06:47, 20 August 2018 (UTC)[reply]
By Samuel Monnier - Own work (low res file), CC BY-SA 3.0,https://commons.wikimedia.org/w/index.php?curid=8481291— Precedingunsigned comment added byNoosphericus (talk •contribs)19:55, 28 December 2018 (UTC)[reply]
"where the last sum runs over all subsets I of the indices 1, ..., n which contain exactly k elements, and .."
no: I runs over all n-uples.. etc. Please amend--Federicolo (talk)13:37, 1 January 2021 (UTC)[reply]
I don't have a reference for this, but it consistently works in Excel. p(at least one of 5 independent events) = p on each trial*5 - pr(event occurs 2 times) - 2pr(3 times) - 3pr(4 times) - 4pr(5 times). Etc. for any number of events.This works by correcting for double counting. It clearly works for exactly 2 events but I had to play with it to get it to work for more than 2.Does somebody have a reference and is this worth adding to this page?Ed Gracely (talk)Ed Gracely (talk)14:43, 14 June 2024 (UTC)[reply]