Difference between revisions of "Combination"
(→Links) |
Etmetalakret (talk | contribs) |
||
(13 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | A '''combination''' is a way of choosing <math>r</math> objects from a set of <math>n</math> where the order in which the objects are chosen is irrelevant. We are generally concerned with finding the number of combinations of size <math>r</math> from an original set of size <math>n</math> | + | A '''combination''', sometimes called a '''binomial coefficient''', is a way of choosing <math>r</math> objects from a set of <math>n</math> where the order in which the objects are chosen is irrelevant. We are generally concerned with finding the number of combinations of size <math>r</math> from an original set of size <math>n</math> |
+ | ==Video== | ||
+ | This video goes over what Permutations & Combinations are, their various types, and how to calculate each type! It serves as a great introductory video to combinations, permutations, and counting problems in general! [https://bit.ly/CombinationsAndPermutations Permutations & Combinations Video] | ||
+ | https://youtu.be/MWNe0qbBwu4 | ||
+ | |||
+ | This video is a great introduction to permutations, combinations, and constructive counting: | ||
+ | https://www.youtube.com/watch?v=t6a4uHEwQnM& | ||
== Notation == | == Notation == | ||
− | |||
The common forms of denoting the number of combinations of <math>{r}</math> objects from a set of <math>{n}</math> objects is: | The common forms of denoting the number of combinations of <math>{r}</math> objects from a set of <math>{n}</math> objects is: | ||
− | |||
* <math>\binom{n}{r}</math> | * <math>\binom{n}{r}</math> | ||
* <math>{C}(n,r)</math> | * <math>{C}(n,r)</math> | ||
Line 12: | Line 16: | ||
== Formula == | == Formula == | ||
− | |||
<math>{{n}\choose {r}} = \frac {n!} {r!(n-r)!}</math> | <math>{{n}\choose {r}} = \frac {n!} {r!(n-r)!}</math> | ||
− | == Derivation == | + | === Derivation === |
Consider the set of letters A, B, and C. There are <math>3!</math> different [[permutations]] of those letters. Since order doesn't matter with combinations, there is only one combination of those three.(<math>ABC,ACB,BAC,BCA,CAB,CBA</math> are all equivalent in combination but different in permutation.) | Consider the set of letters A, B, and C. There are <math>3!</math> different [[permutations]] of those letters. Since order doesn't matter with combinations, there is only one combination of those three.(<math>ABC,ACB,BAC,BCA,CAB,CBA</math> are all equivalent in combination but different in permutation.) | ||
Line 25: | Line 28: | ||
==Formulas/Identities== | ==Formulas/Identities== | ||
* <math>\binom{n-1}{r-1}+\binom{n-1}{r}=\binom{n}{r}</math> | * <math>\binom{n-1}{r-1}+\binom{n-1}{r}=\binom{n}{r}</math> | ||
− | |||
* <math>\binom{n}{r}=\frac{n}{r}\binom{n-1}{r-1}</math> | * <math>\binom{n}{r}=\frac{n}{r}\binom{n-1}{r-1}</math> | ||
− | |||
* <math>\sum_{x=0}^{n} \binom{n}{x} = 2^n</math> | * <math>\sum_{x=0}^{n} \binom{n}{x} = 2^n</math> | ||
Latest revision as of 11:43, 21 May 2021
A combination, sometimes called a binomial coefficient, is a way of choosing objects from a set of
where the order in which the objects are chosen is irrelevant. We are generally concerned with finding the number of combinations of size
from an original set of size
Video
This video goes over what Permutations & Combinations are, their various types, and how to calculate each type! It serves as a great introductory video to combinations, permutations, and counting problems in general! Permutations & Combinations Video https://youtu.be/MWNe0qbBwu4
This video is a great introduction to permutations, combinations, and constructive counting: https://www.youtube.com/watch?v=t6a4uHEwQnM&
Notation
The common forms of denoting the number of combinations of objects from a set of
objects is:
Formula
Derivation
Consider the set of letters A, B, and C. There are different permutations of those letters. Since order doesn't matter with combinations, there is only one combination of those three.(
are all equivalent in combination but different in permutation.)
In general, since for every permutation of objects from
elements
which is
.Now since in permutation the order of arrangement matters(
is not same as
) but in combinations the order of arrangement does not matter(
is equivalent to
).For its derivation see this video.
Suppose elements are selected out.For permutation
elements can be arranged in
ways.We have overcounted the number of combinations by
times.So We have
, or
.
Formulas/Identities
One of the many proofs is by first inserting into the binomial theorem. Because the combinations are the coefficients of
, and a and b disappear because they are 1, the sum is
.
We can prove this by putting the combinations in their algebraic form.
. As we can see,
. By the commutative property,
. Because
, by the transitive property, we can conclude that this is true for all non-negative integers n and r where n is greater than or equal to r. Another reason this is true is because that choosing what you don't want is the same as choosing what you do want, because by choosing what you don't want, you imply that you choose the rest. This identity is also the reason why Pascal's Triangle is symmetrical.