Sub topic 4
Test More Than One Kind of Number
Assume you know basic algebra, fractions, and the GRE Quantitative Comparison format. When a question contains a variable, do not assume that the variable is positive, an integer, or larger than 1 unless the question says so.
A statement that works for one value may fail for another. Testing carefully chosen values helps you discover whether a comparison is always true, sometimes true, or impossible.
Choose numbers that expose changes
Start by listing the number properties that might affect the result:
- Positive and negative numbers
- Zero
- Fractions between 0 and 1
- Numbers greater than 1
- Integers and non-integers
For example, compare \(x^2\) and \(x\). The result changes depending on the value of \(x\).
| Value of \(x\) | \(x^2\) | \(x\) | Greater quantity |
|---|---|---|---|
| \(-2\) | 4 | -2 | \(x^2\) |
| \(-0.5\) | 0.25 | -0.5 | \(x^2\) |
| 0.5 | 0.25 | 0.5 | \(x\) |
| 2 | 4 | 2 | \(x^2\) |
Since different valid values produce different results, the relationship is not fixed.
# Quantity A: x**2 Quantity B: x
for x in [-2, -1, -0.5, 0, 0.5, 1, 2]:
if x**2 > x:
print(x, "A is greater")
elif x**2 < x:
print(x, "B is greater")
else:
print(x, "equal")Use boundary values
Boundary values are numbers where a rule may change. Common boundaries include:
- 0, because it separates positive and negative numbers
- 1, because multiplying by a number below 1 can reduce a quantity
- \(-1\), because squaring changes the sign
- Values that make an expression equal to zero
- The smallest or largest value allowed by a condition
Suppose \(0 < x < 1\). Then \(x^2 < x\). But if \(x > 1\), then \(x^2 > x\). Testing \(x=0.5\) and \(x=2\) reveals this change quickly.
Do not choose only convenient values such as 1. A value of 1 often makes two expressions equal and can hide the actual relationship.
Follow the constraints exactly
A test value is useful only if it satisfies every condition. If the question says \(x\) is a positive integer, do not test \(-2\), 0, or 0.5. If it says \(x\) is a real number, fractions and decimals are allowed.
When no restriction is given, assume the broadest standard domain suggested by the expression. For example, a variable in an algebraic expression may be negative, zero, fractional, or irrational. Check whether an expression has restrictions, such as a denominator that cannot equal zero or a square root that requires a nonnegative radicand.
A repeatable testing process
- Write down the stated restrictions.
- Identify number types that could change the result.
- Test a simple value from each relevant category.
- Include a boundary value when possible.
- Stop when you find two valid cases with different outcomes.
- If all tested cases agree, look for an algebraic reason before concluding that the relationship is fixed.
Exercise
If \(x\) is a real number and \(x \ne 0\), compare Quantity A: \(1/x\) and Quantity B: \(x\). Test \(x=-2\), \(x=0.5\), and \(x=2\). What should you conclude?
Show answer
The relationship cannot be determined. For \(x=-2\), Quantity A is \(-0.5\), which is greater than \(-2\). For \(x=0.5\), Quantity A is 2, which is greater than \(0.5\). For \(x=2\), Quantity B is greater.