Sub topic 8
Casework and Organised Listing
Assume you know basic algebra, factors, multiples, remainders, and how CAT Quant questions are phrased. This chapter focuses on questions where a formula is not obvious, but the possible cases can be listed systematically.
When casework is useful
Casework means splitting a problem into separate, manageable situations. Enumeration means listing the valid possibilities and counting or evaluating them.
This method is useful when:
- A variable must be an integer.
- The question contains “at least,” “at most,” “exactly,” or “distinct.”
- A total is fixed, but several combinations are possible.
- Divisibility or parity creates separate possibilities.
- A direct formula would be harder to apply than a short list.
The main risk is incomplete or repeated counting. Every valid possibility should appear once, and every invalid possibility should be excluded for a stated reason.
A repeatable listing method
Use this sequence:
- Identify the quantity to find.
- Select one variable or condition to control the cases.
- Find its possible range using the constraints.
- For each case, derive the remaining values.
- Check positivity, integrality, distinctness, and any divisibility condition.
- Count or evaluate the surviving cases.
Consider positive integer solutions of:
\[ x+y+z=10 \]
Choose \(x\) first. Since \(y\) and \(z\) are positive, \(x\) can range only from 1 to 8. For each value of \(x\), list positive pairs \((y,z)\) whose sum is \(10-x\).
| \(x\) | \(y+z\) | Possible positive pairs |
|---|---|---|
| 1 | 9 | 8 |
| 2 | 8 | 7 |
| 3 | 7 | 6 |
| 4 | 6 | 5 |
| 5 | 5 | 4 |
| 6 | 4 | 3 |
| 7 | 3 | 2 |
| 8 | 2 | 1 |
The entries in the final column count the possibilities for \(y\) and \(z\). Therefore, the total is:
\[ 8+7+6+5+4+3+2+1=36 \]
If \(y\) and \(z\) are considered interchangeable, then \((y,z)\) and \((z,y)\) should not be counted separately. The interpretation of “solutions” must therefore be checked before counting.
count = sum(
1
for x in range(1, 10)
for y in range(1, 10)
for z in range(1, 10)
if x + y + z == 10
)
print(count) # 36Avoiding missed and repeated cases
Organise cases in increasing or decreasing order. Do not jump between values. If the cases involve two quantities, choose a fixed order such as \(a<b\). This prevents counting the same pair twice.
For example, if two distinct positive integers have sum 12 and \(a<b\), test:
\[ a=1,2,3,4,5 \]
The corresponding values of \(b\) are 11, 10, 9, 8, and 7. The value \(a=6\) is invalid because it would give \(a=b\).
Use bounds early. If three positive integers have total 20 and one is at least 8, start with that variable. If the variables are digits, restrict each case to 0 through 9 before doing further work.
Casework with divisibility
Suppose an integer \(n\) between 1 and 50 leaves remainder 2 when divided by 5. Instead of testing all 50 integers, write:
\[ n=5k+2 \]
The valid values are:
\[ 2,7,12,17,22,27,32,37,42,47 \]
This converts a divisibility condition into an organised list. Similar forms work for even numbers, odd numbers, and multiples.
A quick verification process
Before entering a TITA answer, ask:
- Did the cases cover the complete range?
- Did I count endpoints correctly?
- Did I enforce positivity and distinctness?
- Did I count ordered and unordered results correctly?
- Can I test the result with a formula or a short program?
Exercise
How many positive integer pairs (a, b) satisfy a + b = 9 and a < b?
Show answer
Test a = 1, 2, 3, and 4. The corresponding b values are 8, 7, 6, and 5, so there are 4 pairs.