Written for Engineering and Technology students. Every formula is stated exactly, every worked example is short, and every method is tied to an engineering use case. Read one section at a time and attempt the quiz only after you finish the notes.
If one operation can be performed in m ways and a second operation can be performed in n ways, then the two operations performed together can be performed in m × n ways. This is the multiplication rule for counting.
For r operations performed in sequence, with n1, n2, ..., nr outcomes respectively, the total number of outcomes is the product n1 × n2 × ... × nr.
For a natural number n, the factorial n! is the product of all positive integers from 1 up to n.
By convention, 0! = 1. This convention is required so that the permutation and combination formulas give correct answers in edge cases, for example when you choose all n objects from n objects.
n! = n × (n − 1)!(n + 1)! = (n + 1) × n!A permutation is an ordered arrangement of objects. Order matters. The arrangement ABC is different from CBA.
The number of permutations of n distinct objects taken r at a time is written nPr.
When r = n, the number of permutations of all n objects is simply n!.
If you are forming an ordered sequence of length k from a set of n objects and repetition is allowed, each position has n choices independently.
When objects are arranged in a circle, rotations of the same arrangement are considered identical. For example, seating A, B, C in a circle gives only 2 distinct arrangements, not 3! = 6, because rotating the circle does not create a new arrangement.
n − 1 people can be arranged in (n − 1)! ways relative to that reference.When some objects are identical, dividing by the factorials of the repeated items removes the overcounting.
A combination is a selection of objects where order does not matter. Selecting A, B, C is the same as selecting C, B, A.
The number of combinations of n distinct objects taken r at a time is written nCr or C(n, r).
The relationship between permutations and combinations is exact: every combination of r objects can be arranged internally in r! ways. Therefore nPr = nCr × r!.
nCr = nC(n − r). Choosing 3 from 10 is the same count as choosing 7 from 10.nC0 = 1 and nCn = 1.nCr + nC(r − 1) = (n + 1)Cr. This generates Pascal's triangle.nC0 + nC1 + ... + nCn = 2^n.If you choose r items from n types and repetition is allowed, and order does not matter, the count is:
The combination nCr is also called the binomial coefficient, written (n over r) in some texts. It counts the number of ways to choose r successes in n trials.
The coefficients of the expansion are exactly the combinations nC0, nC1, ..., nCn, and they form the rows of Pascal's triangle.
k components out of n can fail.A printed circuit board has 8 different locations where a component can be placed. If four distinct component types are available, the number of ways to assign a component to a location, with no location repeated, is a permutation.
A batch of 50 components contains 5 defective units. A quality engineer draws a sample of 10. The number of possible samples is a combination because the order of drawing does not matter.
If the engineer wants to know how many samples contain exactly 2 defective units, the count is the product of two combinations:
In a network with 12 nodes, the number of possible point to point links is the number of pairs of nodes.
If the links are directional (one way connections), the count becomes a permutation: 12P2 = 132.
A machine must process 6 different jobs. The number of possible processing orders is 6! = 720. If two jobs are identical and the rest are distinct, divide by 2! to remove overcounting.
If you are choosing a committee, a sample, or a set of components where the final group is what matters, use a combination. If you are ranking, scheduling, or assigning to labelled positions, use a permutation.
When identical items are present, always divide by the factorial of each repeated group. Otherwise you will overcount.
For seating around a round table, use (n − 1)!, not n!. Rotations are the same arrangement.
0! = 1. This is essential for the combination formula when r = 0 or r = n.
When stages are sequential, multiply the choices. Add only when you are counting mutually exclusive alternatives.
41 questions covering the counting principle, factorials, permutations, circular permutations, combinations, binomial coefficients, and engineering applications. Answer at your own pace, then check your score.