Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Mathematics (https://www.askmehelpdesk.com/forumdisplay.php?f=199)
-   -   combination and probability (https://www.askmehelpdesk.com/showthread.php?t=620370)

  • Dec 17, 2011, 11:00 AM
    achal
    combination and probability
    There are k sets of numbers : {0,1,2,. m1}, {0,1,2,. m2},. {0,1,2,. mk}
    Such that m1<m2<... <mk.
    1. How many combinations of k elements can be made taken 1 element from each set such that each set has all distinct elements (no two elements are equal) ?
    2. What is the probability that any two sets will have at least one element common ?
    (Please provide procedure and explanation)
    I have found that the number of such permutations will be (m1+1)m2(m3-1)......(mk-k+2), but what will be the number of combinations ? Clearly it can not be just = No. of permutations / k!
    N.B. - Please mention the rule/formula used so that I can learn them.
  • Dec 21, 2011, 10:32 AM
    ebaines
    You asked: "What is the probability that any two sets will have at least one element common," but that doesn't seem like what you were trying to actually figure out. It seems you want to determine is many combinations of digits you can get where (a) there are no repeated digits in the number, and (b) order is ignored. Thus the number 1234 is considered to be the same as 2134, and hence one of those is discounted - correct? Once you have this number you easily calculate the probability that you're looking for.

    I don't think there is a single formula for this. To find out how many unique sets there are you need to use a series of nested sums that would look like this:



    where there is a nested sum for each of the k sets. Here's an example: if you have four sets of numbers like this:

    01
    0123
    01234
    0123456

    Then m1=1, m2=3, m3=4 and m4=6, so you have:



    As a, b, c and d cycle through their ranges you get this:



    Hence a total of N=23 possibilities of unique combinations with no repeated digits. The specific combinations are:
    0123, 0124, 0125, 0126, 0134, 0135, 0136, 0145, 0146, 0234, 0235, 0236, 0245, 0246, 0345, 0346, 1234, 1235, 1236, 1245, 1246, 1345, 1346

  • All times are GMT -7. The time now is 02:33 PM.