Sub topic 9
Choosing informative test values
This chapter covers how to pick test values for a Quantitative Comparison (QC) question so that a few trials reveal the true relationship. It assumes you know the four answer choices, the idea that a relationship must hold for every permitted value, and basic algebra with exponents and fractions.
Why the choice of values matters
Plugging in numbers is only useful if the numbers can expose a difference. Testing x = 3, then x = 4, then x = 5 in a question about x² and x tells you the same thing three times. All three give "Quantity A is greater," and you may wrongly pick (A).
The goal of testing is different from the goal of computing. You are not trying to find the answer for a typical value. You are trying to find a value that breaks the first pattern you see. If one value gives (A) and another gives (B) or (C), the answer is (D). If you try well-chosen values and they all agree, you gain confidence that the answer is (A), (B), or (C), and you should then try to prove it by reasoning.
The special values
Certain numbers behave differently from the rest. Most "it depends" QC questions turn on one of these.
| Value type | Examples | Why it behaves differently |
|---|---|---|
| Negative numbers | -1, -3, -0.5 | Squaring removes the sign. Multiplying by a negative reverses inequalities. Odd and even powers differ. |
| Zero | 0 | Many expressions become equal at zero. Division by zero is undefined. |
| Fractions between 0 and 1 | 1/2, 1/4 | Squaring or cubing makes the number smaller. Square roots make it larger. |
| One | 1 | Every power of 1 equals 1, so many quantities tie. |
| Negative one | -1 | Even powers give 1 and odd powers give -1. |
| Large integers | 2, 10, 100 | Show the "ordinary" behavior that most people assume. |
A useful habit is to run through this list in order: negative, zero, fraction, one, then a larger number. You will rarely need all of them. You stop as soon as two results disagree.
A worked example with x² and x
Consider this question, where x is any real number.
- Quantity A: x²
- Quantity B: x
The following code tests the standard set of special values and records which relationship each one produces.
from fractions import Fraction
def relation(a, b):
if a > b:
return "A"
if b > a:
return "B"
return "C"
# Quantity A: x**2 Quantity B: x (x is any real number)
results = set()
for x in [Fraction(-1), Fraction(0), Fraction(1, 2), Fraction(1), Fraction(2)]:
r = relation(x**2, x)
results.add(r)
print(x, r)
print("D" if len(results) > 1 else results.pop())The output is:
-1 A
0 C
1/2 B
1 C
2 A
DEach value teaches something:
- At x = -1, x² is 1 and x is -1. A negative number is always less than its own square, so (A).
- At x = 0, both quantities are 0, so (C).
- At x = 1/2, x² is 1/4, which is less than 1/2, so (B).
- At x = 1, both quantities are 1, so (C).
- At x = 2, x² is 4, which is greater than 2, so (A).
Three different outcomes appear. You did not need all five. Trying x = 2 and x = 1/2 alone already gives (A) and (B), so the answer is (D).
Notice what a weak test would have missed. Only positive integers greater than 1 all give (A). The fraction is the value that exposes the conflict.
Reading the permitted values first
Before you choose anything, reread the shared information. It sets the pool you may draw from, and a test value outside that pool is worthless.
- "x is an integer" rules out 1/2.
- "x > 0" rules out negatives and zero.
- "x is a positive integer" leaves only 1, 2, 3, and so on.
- "0 < x < 1" leaves only fractions and decimals.
Suppose the same question says that x is a positive integer. Then the special values shrink to 1 and larger integers. At x = 1 the quantities are equal. At x = 2 Quantity A is greater. That is already a conflict, so the answer is (D) again, but for a different reason than before.
Now suppose x > 1. Every permitted value gives x² > x, and the answer is (A). The restriction removed the values that caused the conflict. This shows why you can never skip the shared information.
Testing more than one variable
When two variables appear, the number of cases grows. Keep it manageable with these rules.
- Test one variable at a time while holding the other at a simple value such as 1 or 2.
- Include a case where the variables are equal and a case where they differ.
- Include a case where one variable is negative if the conditions allow it.
Example: xy > 0. Quantity A is x + y. Quantity B is 0.
The condition xy > 0 means x and y have the same sign. Testing x = 1, y = 2 gives x + y = 3, so (A). Testing x = -1, y = -2 gives -3, so (B). Both choices satisfy xy > 0, so the answer is (D). A test that only used positive numbers would have led you to (A).
Using a trial to guide the next trial
Treat each test as information. After the first result, ask what change would most likely reverse it.
- If A won with a positive integer, try a fraction or a negative.
- If A won with a negative, try a positive.
- If you got (C) at a special value like 0 or 1, move to a value near it, because a tie at one point does not mean a tie everywhere.
A tie is the most misleading result. In the x² and x example, 0 and 1 both give (C), yet the answer is not (C). Never choose (C) from a tie at a single value. Choose it only when you can show the quantities are equal for every permitted value, usually by simplifying.
When testing cannot finish the job
Testing can prove (D), because two conflicting examples are enough. It cannot prove (A), (B), or (C), because no finite set of examples covers every permitted value. Once your trials agree, switch to reasoning.
For example, suppose 0 < x < 1, with Quantity A as x² and Quantity B as x. Trying 1/2 and 1/10 gives (B) both times. To be sure, reason: x² = x · x, and multiplying x by a number less than 1 makes it smaller, so x² < x for every x in the interval. The answer is (B).
Your trials told you what to expect, and the argument confirmed it. This is the normal pattern: test to form a guess, then justify it if the answer is not (D).
Common mistakes with test values
- Testing only convenient numbers. Small positive integers feel safe but hide most conflicts.
- Forgetting to check the restrictions. A value that breaks the stated condition proves nothing.
- Stopping at a tie. A tie at 0 or 1 does not show that the quantities are always equal.
- Choosing values that are too similar. Testing 2 and 3 repeats the same case.
- Calling it (D) from a single trial. One result shows only that a relationship is possible. You need two results that disagree.
- Skipping a value because the arithmetic is awkward. Fractions are often the deciding case, so do the work.
Time and effort
Spend only a few seconds per trial. Write each test value and its result in a short column on your scratch paper, such as "-1: A, 1/2: B." With two conflicting rows you can stop immediately. If you have tried a negative, zero, a fraction, one, and a larger number, and all agree, that is the moment to switch to algebra and prove the relationship.
Exercise
Two integers x and y satisfy x > y. Quantity A is x². Quantity B is y². Which choice is correct, and which two test values show it?
Show answer
The answer is (D). Take x = 3 and y = 2: 9 > 4, so (A). Take x = 1 and y = -3: 1 < 9, so (B). Both pairs satisfy x > y, and the outcomes conflict.
Exercise
The condition is 0 < x < 1. Quantity A is the square root of x. Quantity B is x. Which choice is correct, and how can you be sure testing alone is not enough?
Show answer
The answer is (A). Testing x = 1/4 gives 1/2 versus 1/4, and x = 1/9 gives 1/3 versus 1/9, so A wins both times. Testing cannot cover every value in the interval, so confirm by reasoning: for 0 < x < 1, x < 1 means x · x < x · 1, so x² < x. Taking the square root of x, which is the number whose square is x, gives a number larger than x, so the square root of x is greater than x for every permitted x.
Exercise
A student tests x = 1 for the quantities x³ (A) and x² (B), gets a tie, and picks (C). The only given condition is that x is a real number. Explain the error and give the correct answer.
Show answer
A tie at x = 1 does not show equality everywhere. At x = 2, x³ = 8 is greater than x² = 4, giving (A). At x = -2, x³ = -8 is less than x² = 4, giving (B). Conflicting outcomes mean the answer is (D).