Sub topic 9
Combining Bounds: Ranges of Sums, Differences, and Products
Earlier chapters solved for a variable. This chapter does something different. You know that each variable lies in an interval, and you must find the interval for an expression built from them, such as x + y, x − y, or xy. GRE Quantitative Comparison and Numeric Entry questions use this often.
This chapter assumes you can do the following:
- Read and write inequalities and compound inequalities such as 2 < x < 5.
- Reverse an inequality when you multiply by a negative number.
- Do signed-number arithmetic confidently.
The Core Idea: Bounds Are Extremes You Can Approach
Suppose 2 < x < 5. Then x has no single value. The only thing you know is that x lies between 2 and 5. An expression such as x + 3 also has no single value, but you can describe the interval it covers.
To find the range of a combined expression, ask two questions:
- What is the smallest value the expression can take?
- What is the largest value it can take?
The answers come from plugging in the smallest or largest value of each variable. Which end of each variable you need depends on the operation. The rest of the chapter works out that choice.
Sums: Add the Bounds
If a < x < b and c < y < d, then a + c < x + y < b + d.
The smallest sum uses both smallest values, and the largest sum uses both largest values. You are adding two inequalities that point the same way, which is always allowed.
Example. Let 2 < x < 5 and −1 < y < 3.
- Lower bound: 2 + (−1) = 1
- Upper bound: 5 + 3 = 8
So 1 < x + y < 8.
Differences: Negate, Then Add
You cannot subtract inequalities directly. Rewrite x − y as x + (−y), find the bounds on −y, and then add.
Use the negative multiplier rule on the bounds of y:
- Start with −1 < y < 3.
- Multiply by −1 and reverse both signs: −3 < −y < 1.
Now add to 2 < x < 5:
- Lower bound: 2 + (−3) = −1
- Upper bound: 5 + 1 = 6
So −1 < x − y < 6.
The shortcut is that the smallest difference is (smallest x) − (largest y), and the largest difference is (largest x) − (smallest y). Pairing the small x with the small y gives 2 − (−1) = 3. That is neither the smallest nor the largest difference, so it is the wrong pairing.
Products: Check the Corners
Multiplication is more delicate because the sign of each factor decides whether it pushes the product up or down. When both variables are positive, the pattern matches addition: smallest times smallest gives the smallest product. Once negatives are allowed, that pattern fails.
The reliable method is the corner method:
- Write each variable's lower and upper bound.
- Form all four products of one bound from x with one bound from y.
- The smallest of those four products is the lower bound. The largest is the upper bound.
Example. Let −2 ≤ x ≤ 3 and 4 ≤ y ≤ 5.
| x bound | y bound | Product |
|---|---|---|
| −2 | 4 | −8 |
| −2 | 5 | −10 |
| 3 | 4 | 12 |
| 3 | 5 | 15 |
The smallest is −10 and the largest is 15, so −10 ≤ xy ≤ 15.
Notice that the lower bound, −10, comes from −2 × 5. It uses the largest y, not the smallest. A negative x makes the product smaller as y grows. This is why you cannot assume "low times low" gives the minimum.
The corner method also works for sums and differences. For a sum or difference, the extreme values always occur at corners. The same is true for products of two different variables, because the expression is linear in each variable when the other is held fixed. The method fails for expressions where one variable appears twice, such as x² or x(x − 1). The edge cases below cover that.
Checking Your Answer with Code
You can confirm the rules by computing the corners directly. The script below finds the range of the sum, difference, and product for 2 ≤ x ≤ 5 and −1 ≤ y ≤ 3.
from itertools import product
def corner_range(x_bounds, y_bounds, op):
"""Return (min, max) of op(x, y) over the four corner pairs."""
values = [op(x, y) for x, y in product(x_bounds, y_bounds)]
return min(values), max(values)
x_bounds = (2, 5)
y_bounds = (-1, 3)
print("sum ", corner_range(x_bounds, y_bounds, lambda x, y: x + y))
print("difference", corner_range(x_bounds, y_bounds, lambda x, y: x - y))
print("product ", corner_range(x_bounds, y_bounds, lambda x, y: x * y))
# sum (1, 8)
# difference (-1, 6)
# product (-5, 15)The sum and difference match the hand calculations above. For the product, the corners are −2, 6, −5, and 15, so the range is −5 to 15.
To see that the corners really are the extremes, test many interior points as well:
def brute_range(xs, ys, op):
values = [op(x, y) for x in xs for y in ys]
return min(values), max(values)
xs = [-2 + i * 0.5 for i in range(11)] # -2, -1.5, ..., 3
ys = [4 + i * 0.5 for i in range(3)] # 4, 4.5, 5
print(brute_range(xs, ys, lambda x, y: x * y))
# (-10.0, 15.0)The result matches the corner-method answer from the product table. No interior point beats the corners.
Strict and Inclusive Endpoints
Whether an end of the result is strict (<) or inclusive (≤) depends on the bounds you used to build it.
- The result bound is inclusive only if every bound that produced it is inclusive.
- If any contributing bound is strict, the result bound is strict.
Example. Let 1 ≤ x ≤ 2 and 3 < y < 4. Then 4 < x + y < 6. Both ends are strict because y is strict at both ends. The sum 4 would need y = 3, and y never reaches 3.
Example. Let 1 ≤ x ≤ 2 and 3 ≤ y ≤ 4. Then 4 ≤ x + y ≤ 6, and both ends can be reached.
This matters on the GRE because a question may ask whether a value such as 6 is possible. If you track strictness, the answer is clear.
Edge Cases and Traps
The same variable twice
The corner method assumes x and y vary independently. When the same variable appears twice, the two copies are not independent, and the method can give wrong results.
Example. Let −3 < x < 2. What is the range of x²?
Multiplying the corners of x × x gives (−3)(−3) = 9, (−3)(2) = −6, and (2)(2) = 4. That suggests the range −6 to 9. This is wrong, because x² can never be negative. The correct reasoning splits at zero:
- x² is smallest at x = 0, where it equals 0.
- x² grows as x moves away from 0 in either direction.
- The farthest x gets from 0 is toward −3, which gives values just below 9.
So 0 ≤ x² < 9. The value 9 is not reached, because x = −3 is excluded.
Similarly, x − x is always 0, not a range. If you treated the two x's as independent bounds, you would get a nonzero interval. Check whether a question's two terms are really the same variable.
Two different variables with the same bounds
If x and y each lie between 1 and 5, they are still different variables, and they can take different values. Then x − y ranges from 1 − 5 = −4 up to 5 − 1 = 4. Do not assume x = y unless the question says so.
Zero inside an interval
When a bound interval contains 0, the sign of the variable changes. The corner method still works for products of two different variables, but never assume that the "largest" bound produces the largest product. Compute all four corners.
Quotients
Ranges of x/y are harder when y can be near zero or negative. If y is positive on its whole interval, the extremes come from the corners of x and y. If 0 lies inside y's interval, the quotient has no bound. Chapter 10 treats variables in a denominator in detail.
Summary of the Rules
| Expression | Lower bound | Upper bound |
|---|---|---|
| x + y | x low + y low | x high + y high |
| x − y | x low − y high | x high − y low |
| xy (different variables) | Smallest of the four corner products | Largest of the four corner products |
| x² | 0 if 0 is in the interval, otherwise the smaller of the squared bounds | The larger of the squared bounds |
Using This on the GRE
Range questions appear in two forms.
Quantitative Comparison. You are given bounds on x and y and two quantities to compare. Find the range of each quantity, and then compare the ranges.
- If one range lies entirely above the other, the answer is A or B.
- If the ranges overlap so that either quantity can be larger, the answer is D.
- If both quantities are always exactly equal, the answer is C.
Numeric Entry. You may be asked for the greatest or least possible integer value of an expression. Find the range, and then respect strictness. If 4 < x + y < 6, and x and y can be any real numbers, the greatest integer value is 5. If the upper bound were inclusive, the greatest integer would be 6.
Worked Example from Start to Finish
Let −4 < a < 1 and 2 < b < 5. What is the range of a − b, and what is the greatest integer it could be?
- Bounds on −b: negate and reverse, so −5 < −b < −2.
- Add to −4 < a < 1:
- Lower: −4 + (−5) = −9
- Upper: 1 + (−2) = −1
- So −9 < a − b < −1, and both ends are strict.
- The greatest integer below −1 is −2.
Check with the corner shortcut. The lower bound is a low − b high = −4 − 5 = −9. The upper bound is a high − b low = 1 − 2 = −1.
Exercise
Let −4 ≤ a ≤ −1 and 2 ≤ b ≤ 6. Find the range of ab.
Show answer
Compute the four corner products: (−4)(2) = −8, (−4)(6) = −24, (−1)(2) = −2, and (−1)(6) = −6. The smallest is −24 and the largest is −2, so −24 ≤ ab ≤ −2.
Exercise
Let 2 < x < 5 and 1 < y < 3. Quantity A is x − y. Quantity B is 1. Which comparison is correct: A is greater, B is greater, they are equal, or the relationship cannot be determined?
Show answer
The range of x − y runs from 2 − 3 = −1 up to 5 − 1 = 4, so −1 < x − y < 4. Values below 1 (for example x = 2.5, y = 2.5 gives 0) and above 1 (for example x = 4, y = 1.5 gives 2.5) are both possible. The relationship cannot be determined.
Exercise
Let −3 ≤ x ≤ 2. Find the range of x², and explain why multiplying the corners of x by x gives a wrong answer.
Show answer
The range is 0 ≤ x² ≤ 9. The minimum 0 occurs at x = 0, and the maximum 9 occurs at x = −3. Multiplying corners treats the two copies of x as independent, so it produces (−3)(2) = −6, which is impossible for a square.