Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know the general formula for calculating $\prod_{i \in I}(1-a_i)$ where $I$ is a set of indices?
I suspect it is $1+\sum_{\emptyset \subsetneq J \subseteq I}(-1)^{|J|}\prod_{j \in J}a_j$. I don't require a proof, just a confirmation.

share|cite|improve this question
Looks almost fine. You should write either $\sum_{\emptyset \ne J \subseteq I}$ or omit the "$1$", as $(-1)^{|\emptyset|}\prod_{j \in \emptyset} a_j = 1$ gives the second "$1$" now, which you don't need. – martini Sep 28 '12 at 7:20
Done the edit as suggested. – Abhishek Anand Sep 28 '12 at 7:23
Now you are right. – martini Sep 28 '12 at 7:45
up vote 2 down vote accepted

We have by distributivity \begin{align*} \prod_{i\in I} (1 - a_i) &= \sum_{J \subseteq I} \prod_{j \in J} (-a_j) \cdot \prod_{j \in I \setminus J} 1 \\ &= \sum_{J \subseteq I} (-1)^{|J|} \prod_{j \in J} a_j\\ &= 1 + \sum_{\emptyset \ne J \subseteq I} (-1)^{|J|} \prod_{j \in J} a_j \end{align*}

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.