How many combinations can be formed from 5 binary digits?

  • Context: Undergrad 
  • Thread starter Thread starter otto
  • Start date Start date
  • Tags Tags
    Combinatorics
Click For Summary

Discussion Overview

The discussion revolves around the combinatorial problem of determining how many combinations can be formed from 5 binary digits. Participants explore various mathematical approaches and identities related to binomial coefficients and their implications for counting combinations.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents a mathematical expression involving binomial coefficients and expresses uncertainty about its correctness, indicating a need for further verification.
  • Another participant suggests looking into Pascal's triangle for inspiration, implying a connection to the combinatorial identities being discussed.
  • A participant discusses Pascal's identity and raises a concern about the summation limits, specifically the issue of encountering a negative index in the binomial coefficient.
  • Another participant clarifies that the summation should start at k=0 and connects it to the binomial expansion, questioning the values of a and b that would satisfy the equation.
  • A later reply reiterates the issue with Pascal's identity and provides a condition for handling the case when k=0, suggesting that the convention is to define binomial coefficients with negative indices as zero.
  • One participant explains the combinatorial interpretation of the sum of binomial coefficients as representing the total number of ways to select items from a set, linking it to binary representations of selections.

Areas of Agreement / Disagreement

Participants express various viewpoints and uncertainties regarding the application of combinatorial identities and the limits of summation. No consensus is reached on the correctness of the initial mathematical expressions or the handling of specific cases.

Contextual Notes

Participants acknowledge limitations in their reasoning, particularly regarding the handling of summation indices and the definitions of binomial coefficients with negative values. The discussion remains open-ended with unresolved mathematical steps.

otto
Messages
4
Reaction score
0
So look at what I've done:
<br /> {n+1 \choose k} = \frac {(n+1)!} {(n+1-k)! \cdot k!} = \frac {(n+1)\cdot n!}{(n-(k-1))!\cdot k \cdot (k-1)!}<br /><br /> =<br /> \frac {(n+1)}{k} \cdot<br /> <br /> \frac { n!}{(n-(k-1))!\cdot (k-1)!} =<br /> <br /> \frac {(n+1)}{k} <br /> <br /> \cdot {n \choose k-1}<br /> <br />
oops I accidentally posted this before I finished my calculations, please ignore this until I've finished it. Thanks

[edit] So Yea, that's it. Thing is, somethings wrong (try plugging numbers into it). Anyways, I need to figure out what I did wrong. This is just part of a massive can of worms. I am trying to figure out the proof for: \sum\limits_{i=1}^n {n \choose k} = 2^n<br />
 
Last edited:
Physics news on Phys.org
Pascals identity to be exact. I've read some "proofs" if you can call them that, but they were rather not helpful. math stack exchange.

When I replace my summation from k=0 to n, with the combinatorics: <br /> <br /> \sum_{k=0}^n{n+1 \choose k} =<br /> <br /> \sum_{k=0}^n {n \choose k} +{n \choose k-1} <br /> <br /> I have the problem that k-1 will equal -1 in the first iteration of the summation. don't know how to fix this.
 
otto said:
I am trying to figure out the proof for: <br /> <br /> <br /> \sum\limits_{i=1}^n {n \choose k} = 2^n<br />

The lower limit of the sum should be k=0 because i isn't present in the combinatoric and for reasons you'll eventually find out, it should start at 0.


So you want to prove
<br /> \sum\limits_{k=0}^n {n \choose k} = 2^n<br />

then simply notice that the binomial expansion is

(a+b)^n = \sum\limits_{k=0}^n{n\choose k}a^{n-k}b^k

So for what values of a and b is

\sum\limits_{k=0}^n{n\choose k}a^{n-k}b^k\equiv \sum\limits_{k=0}^n {n \choose k}
 
otto said:
Pascals identity to be exact. I've read some "proofs" if you can call them that, but they were rather not helpful. math stack exchange.

When I replace my summation from k=0 to n, with the combinatorics: <br /> <br /> \sum_{k=0}^n{n+1 \choose k} =<br /> <br /> \sum_{k=0}^n {n \choose k} +{n \choose k-1}<br /> <br /> I have the problem that k-1 will equal -1 in the first iteration of the summation. don't know how to fix this.

The problem here is that ##\binom{n+1}k=\binom nk+\binom n{k-1}## only for k>0; if k=0 then it's just ##\binom nk##, as both are 1. I think the convention is often to let ##\binom n{-1}=0##; then ##\binom{n+1}k=\binom nk+\binom n{k-1}## even when k=0.
 
You are right that the proof by induction approach can turn into a can of worms.
Notice that <br /> \sum\limits_{k=0}^n {n \choose k}<br /> is the total number of ways that any number of items (including 0 and n) can be selected from n items.

If we indicate whether an item is selected or not by 1 or 0, respectively, and put the 1's and 0's in order, we can represent any set of selected items.

For instance, starting with n=5 items, 10110 = select first, don't select second, select third, select fourth, don't select fifth, represents one way of selecting 3 of the 5. Now, how many zero/one patterns can we get from 5 binary digits?
 

Similar threads

  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 8 ·
Replies
8
Views
11K