Sub topic 8
Plugging in Numbers to Explore a Relationship
Assume you can manipulate algebraic expressions, compare fractions and decimals, and work with exponents. In a GRE Quantitative Comparison question, plugging in numbers means choosing permitted values for the variables and comparing Quantity A with Quantity B.
This method is useful when algebra does not immediately show a fixed relationship. It can reveal that the answer is (D), meaning the relationship depends on the permitted values.
One test value is not enough
A Quantitative Comparison answer must be true for every value allowed by the question.
Suppose the question gives:
- Quantity A: \(x^2\)
- Quantity B: \(x\)
- \(x\) is any real number
Try \(x=2\):
- Quantity A: \(2^2=4\)
- Quantity B: \(2\)
- Quantity A is greater.
This result does not prove that the answer is (A). Another allowed value may produce a different relationship. Try \(x=\frac12\):
- Quantity A: \(\left(\frac12\right)^2=\frac14\)
- Quantity B: \(\frac12\)
- Quantity B is greater.
Because the relationship changes, the correct answer is (D).
Choose informative test values
Good test values are simple and likely to expose different behaviors. The restrictions in the question determine which values are legal.
| Situation | Useful values | What they can reveal |
|---|---|---|
| No restriction on \(x\) | \(-1, 0, 1, 2\) | Sign changes, zero behavior, and growth |
| \(x>0\) | \(\(\frac12\), \(1\), \(2\) | Fraction behavior and increasing powers |
| \(x<0\) | \(-1, -2\) | Effects of negative signs |
| \(x\ne 0\) | \(1, -1, 2, \frac12\) | Behavior near common special values |
For expressions containing powers, test negative numbers, zero when allowed, one, and a fraction between zero and one. For expressions containing a denominator, never choose a value that makes the denominator zero.
A repeatable testing process
Use this process when testing values:
- Write down every restriction on the variables.
- Choose one easy permitted value.
- Compute both quantities carefully.
- Record whether A is greater, B is greater, or they are equal.
- Choose a second value that behaves differently, such as a negative number or a fraction.
- Decide whether the results establish a fixed relationship or prove (D).
Why choice (D) needs two outcomes
Choice (D) is correct when different permitted values produce different relationships. For example, one value may make A greater and another may make B greater. Equality at one value can also matter if another value makes one quantity larger.
However, testing several values does not prove that the relationship is always fixed. If all tested values give A greater, you still need an algebraic argument or a reliable comparison showing that A is always greater. Use substitution to find a pattern, then use algebra to confirm it when the question requires certainty.
from fractions import Fraction
def relationship(a, b):
if a > b:
return "A"
if b > a:
return "B"
return "C"
results = set()
for x in [Fraction(-1), Fraction(0), Fraction(1, 2), Fraction(1), Fraction(2)]:
result = relationship(x**2, x)
results.add(result)
print(f"x = {x}: {result}")
print("D" if len(results) > 1 else results.pop())Exercise
Quantity A is \(x+3\), and Quantity B is \(2x\). If \(x\) is any real number, test \(x=1\) and \(x=5\). What do these tests suggest about the answer?
Show answer
At \(x=1\), A is \(4\) and B is \(2\), so A is greater. At \(x=5\), both quantities equal \(8\). The tests show that A is not always greater, but more analysis is needed before concluding that the answer is (D).