What is the difference between the Permutations and combinations

AI Thread Summary
Permutations count the arrangements of items where order matters, while combinations count selections where order does not matter. For example, with the letters A, B, C, and D, there are 24 permutations of three letters (ABC, ACB, etc.), calculated using the formula P(m,n) = m!/(m-n)!. In contrast, there are only four combinations of three letters (ABC, ABD, ACD, BCD), calculated with C(m,n) = m!/(n!(m-n)!). Understanding these distinctions is crucial for solving problems in combinatorics effectively.
r-soy
Messages
170
Reaction score
1
Hi



I want simple explanation of the Permutations and combinations and which one has condition and I want simple example to undersand it



I want your help
 
Physics news on Phys.org
At the simplest: permutations are used to count arrangements (order is important) and combinations are used when order does not matter.

In neither case (again, in simplest examples) is it allowed to repeat items.

Example: Consider the four letters A, B, C, D

Question 1: How many different arrangements of three letters are there (repetitions not allowed)

By listing we get:
ABC, ACB, ABD, ADB, ACD,ADC
BAC, BCA, BAD, BDA, BCD, BDC
CAB, CBA, CBD, CDB, CAD, CDA
DAB, DBA, DAC, DCA, DBC, DCB

If you count there are 24 of these (they are considered different because of the different orderings). The long phrase is this:
"There are 24 permutations of four letters selected three at a time"

While there is no universal standard for the mathematical notation, the ones I've listed below are the most common.

<br /> P(4,3) = 24, \quad P^4_3 = 24, {}^4P_3 = 24<br />

The general formula for calculation can be written as

<br /> P(m,n) = \frac{m!}{(m-n)!} = m \cdot (m-1) \cdot \dots \cdot (m - n + 1)<br />

where m is the number of items from which you choose, and n is
the number of items selected.

For combinations, order is not important, only the set of objects selected. Again, if you look at the letters A, B, C, D, the number of ways to select three at a time (no repetititions) is
four - the selections are
ABC, ABD, ACD, BCD

In notation

<br /> C(4,3) = 4, \quad {}^4C_3 = 4, C^4_3 = 4<br />

and the general formula is

<br /> C(m,n) = \frac{m!}{n!(m-n)!} = \frac{P(m,n)}{n!}<br />

Hope this helps.
 
Back
Top