<< Chapter < Page Chapter >> Page >
Discusses the basics of combinations and permutations, and how to calculate the probability of certain events, such as n-bit errors in a codeword.

Permutations and combinations

The lottery "game" consists of picking k numbers from a pool of n . For example, you select 6 numbers out of 60 . To win, the order in which you pick the numbers doesn't matter;you only have to choose the right set of 6 numbers. The chances of winning equal the number of different length- k sequences that can be chosen.A related, but different, problem is selecting the batting lineup for a baseball team. Now the order matters, and many more choices are possiblethan when order does not matter.

Answering such questions occurs in many applications beyond games. Indigital communications, for example, you might ask how many possible double-bit errors can occur in a codeword. Numbering thebit positions from 1 to N , the answer is the same as the lottery problem with k 6 . Solving these kind of problems amounts to understanding permutations - the number of ways of choosing things when order matters as in baseballlineups - and combinations - the number of ways of choosing things when order does not matter as in lotteries and bit errors.

Calculating permutations is the easiest. If we are to pick k numbers from a pool of n , we have n choices for the first one. For the second choice, we have n 1 . The number of length-two ordered sequences is therefore be n n 1 . Continuing to choose until we make k choices means the number of permutations is n n 1 n 2 n k 1 . This result can be written in terms of factorials as n n k , with n n n 1 n 2 1 . For mathematical convenience, we define 0 1 .

When order does not matter, the number of combinations equals the number of permutations divided bythe number of orderings. The number of ways a pool of k things can be ordered equals k . Thus, once we choose the nine starters for our baseball game, we have 9 362,880 different lineups! The symbol for the combination of k things drawn from a pool of n is n k and equals n n k k .

What are the chances of winning the lottery? Assume you pick 6 numbers from the numbers 1 - 60 .

60 6 60 54 6 50,063,860 .

Got questions? Get instant answers now!

Combinatorials occur in interesting places. For example, Newton derived that the n -th power of a sum obeyed the formula x y n n 0 x n n 1 x n 1 y n 2 x n 2 y 2 n n y n .

What does the sum of binomial coefficients equal? In other words, what is k 0 n n k

Because of Newton's binomial theorem, the sum equals 1 1 n 2 n .

Got questions? Get instant answers now!

A related problem is calculating the probability that any two bits are in error in a length- n codeword when p is the probability of any bit being in error. The probability of any particular two-bit errorsequence is p 2 1 p n 2 . The probability of a two-bit error occurring anywhere equals this probability times the number ofcombinations: n 2 p 2 1 p n 2 . Note that the probability that zero or one or two, etc. errors occurring must be one; in other words, something must happen to thecodeword! That means that we must have n 0 1 p n n 1 p 1 p n 1 n 2 p 2 1 p n 2 n n p n 1 . Can you prove this?

Questions & Answers

how does Neisseria cause meningitis
Nyibol Reply
what is microbiologist
Muhammad Reply
what is errata
Muhammad
is the branch of biology that deals with the study of microorganisms.
Ntefuni Reply
What is microbiology
Mercy Reply
studies of microbes
Louisiaste
when we takee the specimen which lumbar,spin,
Ziyad Reply
How bacteria create energy to survive?
Muhamad Reply
Bacteria doesn't produce energy they are dependent upon their substrate in case of lack of nutrients they are able to make spores which helps them to sustain in harsh environments
_Adnan
But not all bacteria make spores, l mean Eukaryotic cells have Mitochondria which acts as powerhouse for them, since bacteria don't have it, what is the substitution for it?
Muhamad
they make spores
Louisiaste
what is sporadic nd endemic, epidemic
Aminu Reply
the significance of food webs for disease transmission
Abreham
food webs brings about an infection as an individual depends on number of diseased foods or carriers dully.
Mark
explain assimilatory nitrate reduction
Esinniobiwa Reply
Assimilatory nitrate reduction is a process that occurs in some microorganisms, such as bacteria and archaea, in which nitrate (NO3-) is reduced to nitrite (NO2-), and then further reduced to ammonia (NH3).
Elkana
This process is called assimilatory nitrate reduction because the nitrogen that is produced is incorporated in the cells of microorganisms where it can be used in the synthesis of amino acids and other nitrogen products
Elkana
Examples of thermophilic organisms
Shu Reply
Give Examples of thermophilic organisms
Shu
advantages of normal Flora to the host
Micheal Reply
Prevent foreign microbes to the host
Abubakar
they provide healthier benefits to their hosts
ayesha
They are friends to host only when Host immune system is strong and become enemies when the host immune system is weakened . very bad relationship!
Mark
what is cell
faisal Reply
cell is the smallest unit of life
Fauziya
cell is the smallest unit of life
Akanni
ok
Innocent
cell is the structural and functional unit of life
Hasan
is the fundamental units of Life
Musa
what are emergency diseases
Micheal Reply
There are nothing like emergency disease but there are some common medical emergency which can occur simultaneously like Bleeding,heart attack,Breathing difficulties,severe pain heart stock.Hope you will get my point .Have a nice day ❣️
_Adnan
define infection ,prevention and control
Innocent
I think infection prevention and control is the avoidance of all things we do that gives out break of infections and promotion of health practices that promote life
Lubega
Heyy Lubega hussein where are u from?
_Adnan
en français
Adama
which site have a normal flora
ESTHER Reply
Many sites of the body have it Skin Nasal cavity Oral cavity Gastro intestinal tract
Safaa
skin
Asiina
skin,Oral,Nasal,GIt
Sadik
How can Commensal can Bacteria change into pathogen?
Sadik
How can Commensal Bacteria change into pathogen?
Sadik
all
Tesfaye
by fussion
Asiina
what are the advantages of normal Flora to the host
Micheal
what are the ways of control and prevention of nosocomial infection in the hospital
Micheal
what is inflammation
Shelly Reply
part of a tissue or an organ being wounded or bruised.
Wilfred
what term is used to name and classify microorganisms?
Micheal Reply
Binomial nomenclature
adeolu
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Fundamentals of electrical engineering i. OpenStax CNX. Aug 06, 2008 Download for free at http://legacy.cnx.org/content/col10040/1.9
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Fundamentals of electrical engineering i' conversation and receive update notifications?

Ask