DEV Community

Cover image for "Day 46 of My Learning Journey: Setting Sail into Data Excellence! ⛵️ Today's Focus: Mathematics for Data Analysis ( P & C- 1)
Nitin-bhatt46
Nitin-bhatt46

Posted on

"Day 46 of My Learning Journey: Setting Sail into Data Excellence! ⛵️ Today's Focus: Mathematics for Data Analysis ( P & C- 1)

PERMUTATION AND COMBINATION - 1

It is a method in which we count something with different methods.

WHY do we need to learn about it ?

It is the best and most practical thing which we or everyone can learn to be practically more logical towards any thing which we can encounter in our life.

In Data Science and Analyst jobs it will help us in probability not just to learn but to understand it in depth.

Nowadays everything is done by machine so, don’t mug up all the formulas, just understand the concept and apply it in your project.

Fundamental Principle of Counting. :-
Multiplication
Addition

Fundamental Multiplication Principle of Counting. :-

If there are ‘m’ different ways of doing one event and ‘n’ different ways of doing another event, then the simultaneous occurrence of these events will be given by
‘m x n’ in different ways.

Eg of different ways to explain Fundamental Multiplication Principle of Counting.

MODEL 1 : - TWO COIN ARE TOSSED SIMULTANEOUSLY.

Total no. of outcome = 4

For three coins the outcome is :- 8 possible outcomes.

Because everyone has 2 possible outcome and when we are doing is simultaneously we get 2 X 2 X 2 = 8

Because every outcome is independent of each other.

No.of outcome = 2^(n)
n = no.of coin.

MODEL 2 : - TWO DICE ARE ROLLED SIMULTANEOUSLY.

EACH DICE OUTCOME POSSIBILITY = 6.

Total no. of outcome = 36

No.of outcome = 6^(n)
n = no.of dice

MODEL 3 : - Clothes Wearing possibility upper and lower.

2 upper and 4 lower.

No. of ways to wear = 2 X 4 = 8.

MODEL 4 : - Find the no. of way to reach somewhere ask in the question.

A has three (3) paths to reach B and from B to C we have four (4) ways.

So, to total outcome to reach C from A through B is = 3 X 4 = 12

MODEL 5 : - Four boxes and Four Different balls.

We NEED to place these 4 balls into the boxes. How many ways are there ?
Condition box can also be empty or it can be the only one who is filled with all balls.

So, to find the correct outcome. We need to know the possible outcome of each ball. I.e = 4.

Total outcomes :-

4 X 4 X 4 X 4 = 256

🙏 Thank you all for your time and support! 🙏
Don't forget to catch me daily at 6:30 Pm (Monday to Friday)for the latest updates on my programming journey! Let's continue to learn, grow, and inspire together! 💻✨

Top comments (0)