Permutation : The Patterns of Order

Permutations aren’t just about counting possibilities; they’re about understanding the power of order. They allow us to quantify the intricate patterns of arrangements that arise when distinct objects are placed in a specific sequence.

Ahmad Mizan Nur Haq
Data And Beyond
4 min readNov 17, 2023

--

In the realm of mathematics, permutations stand as a fascinating concept that governs the arrangement of distinct objects. It’s the language of order, the art of counting possibilities, and the key to unlocking the intricate patterns of arrangements. But for many, the concept of permutations can seem daunting, shrouded in complex formulas and abstract theories.

What is a Permutation, Really?

A permutation is a specific arrangement of distinct objects in a particular order. Think of it like arranging letters to form a word or lining up people in a queue. The order matters, and each arrangement represents a unique permutation.

Imagine arranging the letters “ABC” to form different words. “ABC,” “CAB,” and “BCA” are all permutations, each representing a different arrangement of the three letters.

Understanding Permutation Fundamentals

To delve deeper into the world of permutations, let’s explore some essential concepts:

  • Distinct Objects: Permutations apply to distinct objects, meaning each object has a unique identity. For instance, arranging the letters “AAA” doesn’t involve permutations since the objects are identical.
  • Order Matters: The order in which objects are arranged is crucial in permutations. For example, “ABC” and “CBA” are distinct permutations of the letters “ABC” due to the different order.
  • Factorial Notation: The number of permutations for arranging ’n’ distinct objects is denoted by n!, where n! is the factorial of n. For instance, 3! = 3 x 2 x 1 = 6, representing the 6 permutations of 3 distinct objects.

Formula:

The formula in the image is the permutation formula, which is used to calculate the number of ways to arrange n distinct objects in a row. It is denoted by nPr, where:

  • n is the number of distinct objects
  • r is the number of objects to be arranged

For example, let’s say we have 3 distinct objects: A, B, and C. We want to calculate the number of ways to arrange these 3 objects in a row. Using the permutation formula, we get:

nPr = 3! / (3 - 3)! = 3! / 0! = 6

This means that there are 6 permutations of the 3 objects A, B, and C. The 6 permutations are as follows:

ABC
ACB
BAC
BCA
CAB
CBA

Everyday Examples

Permutations aren’t just confined to mathematical equations; they’re embedded in the very fabric of our daily lives. From selecting a combination of flavors for an ice cream sundae to generating unique passwords, permutations play a vital role in various scenarios.

Consider ordering a sandwich with three toppings: lettuce, tomato, and onion. The order in which we put the toppings matters, resulting in different permutations. For instance, lettuce-tomato-onion and tomato-onion-lettuce are distinct permutations, each representing a different sandwich configuration.

Similarly, in the realm of cybersecurity, permutations are essential for creating strong passwords. By increasing the number of possible permutations, we can make it more difficult for hackers to crack passwords and compromise our digital security.

Question: A company requires its employees to create passwords that are 6 characters long and must contain at least one lowercase letter, and one number. If the order of the characters in the password matters, how many possible passwords meet these requirements?

let’s break down the problem into smaller steps:

  • Number of lowercase letters: There are 26 lowercase letters in the alphabet, so there are 26 possibilities for the lowercase letter in the password.
  • Number of numbers: There are 10 digits (0 to 9), so there are 10 possibilities for the number in the password.
  • Number of remaining characters: Since the password must be 6 characters long and we have already accounted for one lowercase letter and one number, we have 4 remaining characters. These 4 characters can be any of the 26 lowercase letters or 10 digits.
  • Number of possible password arrangements: Using the permutation formula, we can calculate the number of possible arrangements of the 4 remaining characters:
nPr = n! / (n - r)!

where n is the number of distinct objects and r is the number of objects to be arranged.

In this case, n = 36 (26 lowercase letters + 10 digits) and r = 4. Therefore, the number of possible arrangements of the 4 remaining characters is:

nPr = 36! / (36 - 4)! = 36! / 32! = 1,679,616

Therefore, there are 1,679,616 possible passwords that meet the company’s requirements.

Hey 👋 Enjoying the content? If you find it valuable, why not subscribe and follow Me on Medium for more content!

🔔 Subscribe & Follow

☕️Buymeacoffee |📚Substack | GitHub | LinkedIn

By subscribing, you’ll get the latest updates, tips, and content delivered right to your inbox.

Thank you for your support! 🙌

In this post, I kindly want to see the effectiveness of Call to Action (CTA)

--

--