Given
find the range of .
Do not try to bound x and y separately. Bounding each variable on its own and recombining always overestimates the range, because the two constraints are linked. The correct method is to express the target as a linear combination of the two given expressions.
Set up the combination. Look for constants with
Matching coefficients gives the system
Solve for the weights. Subtracting the second equation from the first:
Check: ✓.
Scale each given interval by its weight. Both weights are positive, so the inequalities keep their direction:
If a weight had come out negative, that inequality would have to be flipped before adding — the standard trap in this method.
Add the two bounded intervals.
Confirm both endpoints are attainable. The bounds are reached when both constraints sit at their extremes. Taking and gives , , and . Taking and gives , , and . Both ends are achieved, so the range is exactly .
Need to solve a different problem like this? Open the solver →