Properties of nCr · Mathematics Class 11–12 | StemPy Lab
Course 4.3·Lesson 2 of 3
Properties of nCr
Choosing r to take is choosing n−r to leave, so nCr=nCn−r
about 25 min1 simulation1 practice question1 Python program5 questions to check yourself
This lesson is free to read. Enroll free to keep your place and take the tests.
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
Taking or leaving
Rahim packs 3 of his 5 shirts for a trip. Each choice of 3 to take is also a choice of 2 to leave behind. So the two counts are equal:
5C3=5C2=10.
In general, choosing r to take is choosing n−r to leave:
nCr=nCn−r.
The formula shows it too. Swap r and n−r in r!(n−r)!n! and nothing changes. This saves work: 20C18=20C2=220×19=190.
Two equal values
If nCa=nCb, then either a=b or a+b=n. So when a=b, you can read off n.
For example, if nC9=nC7, then n=9+7=16. And then nC2=16C2=120.
Pascal's rule
nCr+nCr−1=n+1Cr,1≤r≤n.
A counting proof. A class of n+1 students includes Ishaan. Count the groups of r from the class in two ways.
Groups without Ishaan: choose all r from the other n, in nCr ways.
Groups with Ishaan: choose his r−1 partners from the other n, in nCr−1 ways.
Every group is in exactly one of the two kinds. So the total, n+1Cr, is the sum.
An algebra proof is in the problems. It puts both fractions over the common bottom r!(n−r+1)!.
Pascal's triangle
Write the values of nCr in rows, one row for each n. Each row starts and ends with 1. By Pascal's rule, every other number is the sum of the two just above it.
Pascal's triangle, rows n = 0 to n = 7, each number in a small circle. Row 6 reads 1, 6, 15, 20, 15, 6, 1 and row 7 reads 1, 7, 21, 35, 35, 21, 7, 1. The 15 and the 20 of row 6 are orange, with red arrows down to the 35 below them, which is red. The caption says each number is the sum of the two above it: 6C2 + 6C3 = 15 + 20 = 35 = 7C3.
n
the row
4
14641
5
15101051
6
1615201561
Each row reads the same from both ends. That is the symmetry nCr=nCn−r.
Move r across the row. The values rise to the middle and then fall. The two dots always match.
Counting in geometry
Lines. Take n points, no three on a straight line. Any two of them fix a line. So there are nC2 lines.
Triangles. Any three of the points make a triangle. So there are nC3 triangles.
Diagonals. A polygon with n corners has nC2 segments joining two corners. Of these, n are sides. So it has nC2−n=2n(n−3) diagonals. A hexagon has 15−6=9.
Points on a line. Now let 4 of 7 points lie on one line, with no other three in a line. Three points on that line make no triangle. So the triangles number 7C3−4C3=35−4=31.
Two pictures. Left: six points at the corners of a regular hexagon, joined in every way: 6 blue sides and 9 dashed orange diagonals, 15 segments in all, which is 6C2. Right: seven points, four red ones on a straight line and three green ones above it. One triangle is shaded, with two corners on the line and one above it. The title says the number of triangles is 7C3 minus 4C3, which is 35 minus 4, or 31.
A worked example
If nCr−1=36, nCr=84 and nCr+1=126, find n and r.
Step 1. A handy ratio. Divide the two formulas: nCr−1nCr=rn−r+1.
Step 2. First ratio.3684=37, so 3(n−r+1)=7r, or 3n+3=10r.
Step 3. Second ratio.84126=23=r+1n−r, so 2n=5r+3.
Step 4. Solve. From Step 3, n=25r+3. Then 23(5r+3)+3=10r, so 15r+15=20r and r=3, n=9.
Check:9C2=36, 9C3=84 and 9C4=126.
Practise with new numbers
Try it in Python
The program prints Pascal's triangle with comb, then checks the symmetry and Pascal's rule for every row up to 12.
Common mistakes
Missing the second answer.nCa=nCb allows a+b=n, not only a=b.
Adding the wrong pair. Pascal's rule adds two neighbours in the same row: nCr−1 and nCr.
Counting sides as diagonals. Take the n sides away from nC2.
Forgetting points on a line. Points on one line give one line, not many, and no triangles among themselves.
Remember these
nCr=nCn−r.
nCa=nCb means a=b or a+b=n.
nCr+nCr−1=n+1Cr, Pascal's rule.
nCr−1nCr=rn−r+1.
n points, no three in a line: nC2 lines and nC3 triangles. A polygon of n sides has 2n(n−3) diagonals.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Work out 30C28 without a calculator.
If nC4=nC6, what is n?
Write 8C5+8C4 as a single nCr.
How many diagonals does an octagon have?
Six points lie on a circle. How many triangles have their corners among them?
Enroll free in Combinations
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.