Permutations: Definitions, Circular Permutation, Arrangements, Examples (2024)

Permutations and Combinations

Suppose you have three pens which are blue, black, and red in colour and two pencils. The two pencils are such that one of them is of company A and the other is of company B. Now your friend asks you to choose any of one of the items. In how many ways you can do so? The answer to this problem is five as you can choose any one of the given items at a time. Now your friend asks you to arrange them in a box. In how many ways you can do so? These types of problems based on arrangement come under the category of permutations. In this section, we will learn about permutations and circular permutation.

Suggested Videos

').appendTo(this.scroller));n2const.rtl.isRtl?(this.previous=this.$widget.find(".nextend-thumbnail-next").on("click",this.previousPane.bind(this)),this.next=this.$widget.find(".nextend-thumbnail-previous").on("click",this.nextPane.bind(this))):(this.previous=this.$widget.find(".nextend-thumbnail-previous").on("click",this.previousPane.bind(this)),this.next=this.$widget.find(".nextend-thumbnail-next").on("click",this.nextPane.bind(this))),this.slider.stages.done("BeforeShow",this.onBeforeShow.bind(this)),this.slider.stages.done("WidgetsReady",this.onWidgetsReady.bind(this))},t.prototype.renderThumbnails=function(){var t;this.parameters.invertGroupDirection&&(t=Math.ceil(this.slider.visibleRealSlides.length/this.group));for(var i=0;i

');if(this.parameters.invertGroupDirection?s.appendTo(this.$groups.eq(Math.floor(i/t))):s.appendTo(this.$groups.eq(i%this.group)),s.data("slide",e),e.$thumbnail=s,this.parameters.thumbnail!==c){var h=e.getThumbnailType(),n=p[h]!==c?p[h]:"";d('

'+n+"

").css("background-image","url('"+e.getThumbnail()+"')").appendTo(s)}if(this.parameters.caption!==c){var r=d('');switch(this.parameters.caption.placement){case"before":r.prependTo(s);break;default:r.appendTo(s)}if(this.parameters.title!==c&&r.append('

'+e.getTitle()+"

"),this.parameters.description!==c){var o=e.getDescription();o&&r.append('

'+o+"

")}}}var a="universalclick",l="onDotClick";"mouseenter"===this.parameters.action?(a="universalenter",l="onDotHover"):this.slider.hasTouch()&&(a="n2click"),this.dots=this.scroller.find(".nextend-thumbnail-scroller-group > div").on(a,this[l].bind(this)),this.images=this.dots.find(".n2-ss-thumb-image")},t.prototype.onTap=function(t){i||(d(t.target).trigger("n2click"),i=!0,setTimeout(function(){i=!1},500))},t.prototype.onBeforeShow=function(){var t=!1;switch(this.parameters.area){case 5:t="left";break;case 8:t="right"}t&&(this.offset=parseFloat(this.$widget.data("offset")),this.slider.responsive.addHorizontalSpacingControl(t,this)),this.renderThumbnails(),this.slider.hasTouch()&&(N2Classes.EventBurrito(this.$widget.get(0),{mouse:!0,axis:"x",start:function(){this.bar.width();this._touch={start:parseInt(this.scroller.css(n2const.rtl.left)),max:0},this.getScrollerWidth()this._touch.start?this.previousPane():this.nextPane(),Math.abs(e.x)<10&&Math.abs(e.y)<10?this.onTap(t):nextend.preventClick(),delete this._touch}.bind(this)}),this.slider.parameters.controls.drag||this.$widget.on("click",this.onTap.bind(this))),this.widthPercent=this.$widget.data("width-percent"),this.thumbnailDimension={widthLocal:this.dots.width(),width:this.dots.outerWidth(!0),height:this.dots.outerHeight(!0),widthBorder:parseInt(this.dots.css("borderLeftWidth"))+parseInt(this.dots.css("borderRightWidth"))+parseInt(this.dots.css("paddingLeft"))+parseInt(this.dots.css("paddingRight")),heightBorder:parseInt(this.dots.css("borderTopWidth"))+parseInt(this.dots.css("borderBottomWidth"))+parseInt(this.dots.css("paddingTop"))+parseInt(this.dots.css("paddingBottom"))},this.thumbnailDimension.widthMargin=this.thumbnailDimension.width-this.dots.outerWidth(),this.thumbnailDimension.heightMargin=this.thumbnailDimension.height-this.dots.outerHeight(),this.imageDimension={width:this.images.outerWidth(!0),height:this.images.outerHeight(!0)},this.sideDimension=.25*this.thumbnailDimension.width,this.scroller.height(this.thumbnailDimension.height*this.ratio*this.group+"px"),this.bar.height(this.scroller.outerHeight(!0)+"px"),this.horizontalSpacing=this.bar.outerWidth()-this.bar.width(),this.slider.sliderElement.on({SlideWillChange:this.onSlideSwitch.bind(this),visibleRealSlidesChanged:this.onVisibleRealSlidesChanged.bind(this)})},t.prototype.onWidgetsReady=function(){this.activateDots(this.slider.currentSlide.index),this.slider.sliderElement.on("SliderResize",this.onSliderResize.bind(this)),this.onSliderResize()},t.prototype.filterSliderVerticalCSS=function(t){};var e=!(t.prototype.onSliderResize=function(){if(this.slider.visibleRealSlides.length){if(this.lastScrollerWidth!==this.getScrollerWidth()){var t,i=1,e=this.getScrollerWidth(),s=e-2*this.sideDimension;if((t=e/this.thumbnailDimension.width)=t&&(this.localSideDimension=.1*e,i=(s=e-2*this.localSideDimension)/(this.parameters.minimumThumbnailCount*this.thumbnailDimension.width),t=s/(this.thumbnailDimension.width*i),(t=e/(this.thumbnailDimension.width*i))e;e++)i[e].$thumbnail.addClass("n2-active")},t.prototype.resetPane=function(){this.goToDot(this.currentI)},t.prototype.previousPane=function(){this.goToDot(this.currentI-this.itemsPerPane*this.group)},t.prototype.nextPane=function(){this.goToDot(this.currentI+this.itemsPerPane*this.group)},t.prototype.getPaneByIndex=function(t){return t=Math.max(0,Math.min(this.dots.length-1,t)),this.parameters.invertGroupDirection?Math.floor(t%Math.ceil(this.dots.length/this.group)/this.itemsPerPane):Math.floor(t/this.group/this.itemsPerPane)},t.prototype.getScrollerTargetLeft=function(t){this.lastScrollerWidth=this.getScrollerWidth();var i=0;t===Math.floor((this.dots.length-1)/this.group/this.itemsPerPane)?(i=-t*this.itemsPerPane*this.thumbnailDimension.width*this.ratio,0===t?this.previous.removeClass("n2-active"):this.previous.addClass("n2-active"),this.next.removeClass("n2-active")):(0

Permutations

A permutation is basically an arrangement of items in a certain order out of which a few or all of them are taken at a time. In a permutation, we count the number of ways in the arrangement can occur.

Consider the above example of the pens and pencils. If we need to find the number of ways in which these items can arrange themselves in a box, how can we find it? There are two cases either we can select a pencil first or a pen first and then we can arrange them in any way possible.

Suppose the denotation of pens is the letter A and that of pencils is B. We have A1, A2, and A3 for the three pens and B1, and B2 for the pencils. The numbers of ways the arrangement can be done are

Case 1

The first choice is of the pencil

Permutations: Definitions, Circular Permutation, Arrangements, Examples (9)

Case 2

The first choice is of the pen

Permutations: Definitions, Circular Permutation, Arrangements, Examples (10)

In both the cases, the number of ways is 6 = 2 × 3 or 3 × 2. Here, 6 = 3!

In factorial notation, n! = n × (n – 1) × (n – 2) × … × 2 × 1.

Notation

Suppose we have n items out of which we have to make an arrangement for r of them. The numbers of ways in which the arrangement can take place are given by permutation as nPr = \( \frac{n!}{(n-1)!} \)n! ⁄ (n – r)!, 0 ≤ r ≤ n.

Check out yourself the above example with this denotation.

Note 0! = 1.

Browse more Topics under Permutations And Combinations

  • Permutations with Restrictions
  • Combinations with Standard Results

Circular Permutation

The above-discussed arrangements are linear in nature. There are some arrangements which are circular in nature. For example consider the roundtable conference, making of a necklace with different coloured beads. These are like arranging the items in a closed loop. The number of ways of counting associated with the circular arrangement gives rise to a circular permutation.

Suppose we have four chairs around the roundtable and we need to make arrangement for four persons A, B, C, and D. Any of the persons can take any of the positions. But as soon as one of them takes a chair, the number of options reduces by one for the other three persons. And at last, there is only one chair for the last person.

Arrangement in Circular Permutation

For the above situation, four persons A, B, C, and D can arrange themselves in 4! ways if they are to be arranged in a row. As in a linear permutation i.e, in a row arrangement, there is a start and there is an end. We need to take into consideration the position of all the persons in the arrangement. But in the circular permutation, there is nothing like a start or an end.

In the circular permutation, we consider that one person or object is fixed and the remaining persons are to be arranged. Suppose the position of A is fixed. The number of ways in which the other three persons arrange themselves When one of them has a fix position is (4− 1)! = 3! = 6.

Permutations: Definitions, Circular Permutation, Arrangements, Examples (11)

So there are six possible ways in which the four persons A, B, C, and D can arrange themselves. This is also true if we fix the position of B or that of C or of D.

In the above example, the position of the person depends on the clockwise or anticlockwise arrangement. The number of arrangement reduces to \( \frac{1}{2} \) (n – 1)! =\( \frac{1}{2} \) (4 – 1)! = \( \frac{3!}{2} \) = 3 if there is no such dependency. This will be the case if the position of the person does not depend on the order of the arrangement. It is like the arrangement of beads of the same colour in a necklace.

Solved Examples for You

Problem: Find the number of ways in which 10 beads can be arranged to form a necklace.

Solution: Let us fix the position of one bead. Now, we are left with the arrangement of the remaining, 10 − 1 = 9 beads. These nine beads can arrange themselves in 9P9 = 9! ways. As there is no dependency on the position of beads in a clockwise or anticlockwise manner. The required number of ways = \( \frac{1}{2} \) (9!) = 181440.

Problem: Find the number of ways in which four girls and three boys can arrange themselves in a row so that none of the boys is together? How is this arrangement different from that in a circular way?

Solution:

Case 1: Linear arrangement

Let us first seat the four girls. The girls can seat in 4P4 = 4! = 24.

_ G1 _ G2 _ G3 _ G4 _

For this type of arrangement, the boys can only sit on the five blanked ( _ ) position. Three boys can arrange themselves in 5 P 3 = 5! ⁄ 2! = 60. The required number of ways = 24 × 60 = 1440. (By multiplication theorem)

Case 2: Circular arrangement

Since the condition is that none of the boys can sit together or adjacent to each other. We can get the required number of ways if we subtract the ways in which the three boys can seat up together from the total number of arrangement. The total number of ways in which the four girls and three boys can sit around the table = (7 – 1)! = 6!.

Let us assume that the three boys sit together. They are considered as one unit now. Here, we need to arrange only four girls and a unit of boy i.e., 4 + 1 = 5 persons. In the circular arrangement the required number of ways = (5 – 1)! = 4!. These three boys can now rearrange themselves in 3! ways. By the multiplication theorem, the number of the ways = 4! × 3!.

The number of ways in which the arrangement can take place if none of the boys is seated together is 6! – (4! × 3!) = 720 – 144 = 576. Here we see that in the circular arrangement the number of ways is less than those in the row or linear arrangement.

PreviousResume Writing
NextPermutations with Restrictions

Customize your course in 30 seconds

Which class are you in?

5th

6th

7th

8th

9th

10th

11th

12th

Permutations: Definitions, Circular Permutation, Arrangements, Examples (2024)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Kelle Weber

Last Updated:

Views: 6531

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Kelle Weber

Birthday: 2000-08-05

Address: 6796 Juan Square, Markfort, MN 58988

Phone: +8215934114615

Job: Hospitality Director

Hobby: tabletop games, Foreign language learning, Leather crafting, Horseback riding, Swimming, Knapping, Handball

Introduction: My name is Kelle Weber, I am a magnificent, enchanting, fair, joyous, light, determined, joyous person who loves writing and wants to share my knowledge and understanding with you.