1 / 23

Permutations and Combinations

Permutations and Combinations. Agenda. Permutations Combinations Some derivation of Permutations and Combinations Eliminating Duplicates r-Combinations with Repetitions. Permutations. Sample questions

cate cate
Download Presentation

Permutations and Combinations

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Permutations and Combinations

  2. Agenda • Permutations • Combinations • Some derivation of Permutations and Combinations • Eliminating Duplicates • r-Combinations with Repetitions

  3. Permutations Sample questions Five athletes (Amazon, Bobby, Corn, Dick and Ebay) compete in an Olympic event. Gold, silver and bronze medals are awarded: in how many ways can the awards be made?

  4. Permutation (cont.) • Order matters !!! • The case that Amazon wins gold and Ebay wins silver is different from the case Ebay wins gold and Amazon wins silver. • If the order is of significance, the multiplication rules are often used when several choices are made from one and the same set of objects.

  5. Permutations--Definition • In general, if r objects are selected from a set of n objects, any particular arrangement of these r objects(say, in a list) is called a permutation. • In other words, a permutation is an ordered arrangement of objects. • By multiple principle, the total number of permutations of r objects selected from a set of n objects is n(n-1)(n-2)·…·(n-r+1)

  6. Permutations –More examples • Examples • How many permutations of 3 of the first 5 positive integers are there? • How may permutations of the characters in COMPUTER are there? How many of these end in a vowel? • How many batting orders are possible for a nine-man baseball team?

  7. Permutations - Calculation • Background-Factorial notation: • 1!=1, 2!=(2)(1)=2, 3!=(3)(2)(1)=6 • In general, n!= n(n-1)(n-2) ·…·3·2·1 for any positive integer n. • It is customary to let 0!=1 by definition. • Calculation of Permutation

  8. Permutations -- Special Cases • P(n,0) There’s only one ordered arrangement of zero objects, the empty set. • P(n,1) There are n ordered arrangements of one object. • P(n,n) There are n! ordered arrangements of n distinct objects (multiplication principle)

  9. Combinations • An NBA team has 12 players, in how ways we can choose 5 from 12? • Can we use permutations? • Are we interested in the order of the players?

  10. Combinations (cont.) • A combination is the same as a subset. • When we ask for the number of combinations of r objects chosen from a set of n objects, we are simply asking “How many different subsets of r objects can be chosen from a set of n objects?” • The order does not matter.

  11. Combinations (cont.) • Any r objects can be arranged among themselves in r! permutations, which only count as one combination. • So the n(n-1)(n-2)…(n-r+1) different permutations of r objects chosen from a set of n objects contain each combination r! times.

  12. Combinations -- Definition The number of combinations of r objects chosen from a set of n objects is: for r=0,1,2,…,n Or Other notations for C(n,r) are:

  13. (Number of ways to choose the objects) (Number of ways to arrange the objects chosen) * Combinations (cont.) • For each combination, there are r! ways to permute the r chosen objects. • Using the multiplication principle: C(n,r)r!=P(n,r) are refer as binomial coefficients

  14. Combinations –More examples In how many ways a committee of five can be selected from among the 80 employees of a company? In how many ways a research worker can choose eight of the 12 largest cities in the United States to be included in a survey?

  15. Combinations (cont.) Lets introduce a simplification: When we choose r objects from a set of n objects we leave (n-r) of the n objects, so there are as many ways of leaving (or choosing) (n-r) objects as there are of choosing r objects. So for the solution of the previous problem, we have:

  16. Combinations -- Special Cases • C(n,0): • C(n,1): • C(n,n): there is only one way to chose 0 objects from the n objects there are n ways to select 1 object from n objects there is only one way to select n objects from n objects, and that is to choose all the objects

  17. Permutations or Combinations ? • There are fewer ways in a combinations problem than a permutations problem. • The distinction between permutations and combinations lies in whether the objects are to be merely selected or both selected and ordered. If ordering is important, the problem involves permutations; if ordering is not important the problem involves combinations. • C(n,r) can be used in conjunction with the multiplication principle or the addition principle. • Thinking of a sequence of subtasks may seem to imply ordering bit it just sets up the levels of the decision tree, the basis of the multiplication principle. • Check the Fig 3. 9 to get an idea about the difference between permutation and combination.

  18. Eliminating duplicate • A committee of 8 students is to be selected from a class consisting of 19 freshmen and 34 sophomores. In how many ways can a committee with at least 1 freshman be selected? • How many distinct permutations are there of the characters in the word Mongooses? • How many distinct permutations are there of the characters in the word APALACHICOLA?

  19. Eliminating duplicate (cont.) In general, suppose there are n objects of which a set of n1 are indistinguishable for each other, another set of n2 are indistinguishable from each other, and so on, down to nk objects that are indistinguishable from each other. The number of distinct permutations of the n objects is

  20. r- Combinations with Repetitions • A jeweler designing a pin has decided to use two stones chosen from diamonds, rubies and emeralds. In how many ways can the stones be selected? • Answer-- {D,R}, {D,D}, {D,E}, {E,R},{E,E}, {R,R}. • Any other way to solve this problem? What if he needs five stones?

  21. r-Combinations with Repetitions(cont.) • Some hints? • 1 diamond, 3 rubies and 1 emerald === * | * * * | * • 5 diamond, 0 rubies and 0 emerald === * * * * * | | • 0 diamond, 5 rubies and 0 emerald === | * * * * * | • 0 diamond, 0 rubies and 5 emerald === | | * * * * * What is it? Choose 5 stars from 7 elements, i.e., C(7,5)

  22. r-Combinations with Repetitions (cont.) • In general, there must be n-1 markers to indicate the number of copies of each of the n objects. • We will have r + (n-1) slots to fill (objects + markers). • We want the number of ways to select r out of the previous slots to fill. • Therefore we want: • Six children use one lollipop each from a selection of red, yellow, and green lollipops. In how many ways can this be done?

  23. Summary

More Related

玻璃钢生产厂家铜陵户外玻璃钢雕塑宝鸡玻璃钢人物大型城市雕塑临沧玻璃钢雕塑批发商周口玻璃钢浮雕雕塑设计厂家玻璃钢仿铜鹿雕塑宜春学校玻璃钢雕塑哪家便宜狗玻璃钢卡通雕塑工厂玻璃钢雕塑金牛河北承接玻璃钢雕塑玻璃钢红军雕塑哪家价格便宜商场玻璃钢花盆研究陕西玻璃钢马雕塑价格开封玻璃钢雕塑制作阜阳创意玻璃钢雕塑联系方式郴州玻璃钢人物雕塑中秋商场气球美陈玻璃钢雕塑加工厂家四川四川大型商场美陈订购定制玻璃钢卡通雕塑铜川玻璃钢卡通雕塑商场美陈导视牌淮安商场美陈道具雨城玻璃钢花盆花器昆明个性化玻璃钢雕塑价位玻璃钢动物雕塑价钱仙鹤玻璃钢雕塑商场六一美陈图片大全贵州玻璃钢花盆价格石景山区商场圣诞美陈安装卡通雕塑玻璃钢批发香港通过《维护国家安全条例》两大学生合买彩票中奖一人不认账让美丽中国“从细节出发”19岁小伙救下5人后溺亡 多方发声单亲妈妈陷入热恋 14岁儿子报警汪小菲曝离婚始末遭遇山火的松茸之乡雅江山火三名扑火人员牺牲系谣言何赛飞追着代拍打萧美琴窜访捷克 外交部回应卫健委通报少年有偿捐血浆16次猝死手机成瘾是影响睡眠质量重要因素高校汽车撞人致3死16伤 司机系学生315晚会后胖东来又人满为患了小米汽车超级工厂正式揭幕中国拥有亿元资产的家庭达13.3万户周杰伦一审败诉网易男孩8年未见母亲被告知被遗忘许家印被限制高消费饲养员用铁锨驱打大熊猫被辞退男子被猫抓伤后确诊“猫抓病”特朗普无法缴纳4.54亿美元罚金倪萍分享减重40斤方法联合利华开始重组张家界的山上“长”满了韩国人?张立群任西安交通大学校长杨倩无缘巴黎奥运“重生之我在北大当嫡校长”黑马情侣提车了专访95后高颜值猪保姆考生莫言也上北大硕士复试名单了网友洛杉矶偶遇贾玲专家建议不必谈骨泥色变沉迷短剧的人就像掉进了杀猪盘奥巴马现身唐宁街 黑色着装引猜测七年后宇文玥被薅头发捞上岸事业单位女子向同事水杯投不明物质凯特王妃现身!外出购物视频曝光河南驻马店通报西平中学跳楼事件王树国卸任西安交大校长 师生送别恒大被罚41.75亿到底怎么缴男子被流浪猫绊倒 投喂者赔24万房客欠租失踪 房东直发愁西双版纳热带植物园回应蜉蝣大爆发钱人豪晒法院裁定实锤抄袭外国人感慨凌晨的中国很安全胖东来员工每周单休无小长假白宫:哈马斯三号人物被杀测试车高速逃费 小米:已补缴老人退休金被冒领16年 金额超20万

玻璃钢生产厂家 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化