8.4 Age Problems & Discrete Optimization

Key Takeaways

  • Everyone ages at the same rate, so the difference between two people's ages is invariant. Assign variables at one reference time and shift that time by adding or subtracting the elapsed years.

  • Age ratios change even though differences do not. Translate each clause to the time it names: 'in 5 years' is present plus 5, and '3 years ago' is present minus 3.

  • To maximize one integer in a constrained set, minimize every other integer to the smallest value the constraints still allow (distinctness, positivity, median, or upper bound).

  • To minimize the largest integer, pack the values as close together as the constraints allow — usually consecutive or near-consecutive integers around the mean.

  • Worst-case (pigeonhole) guarantee questions add 1 to the maximum number of draws that still fail the target condition.

Last updated: August 2026

Age problems are algebraic translation, the same skill Official Guide Math Review 3.2 tests with linear equations. Discrete-optimization items — greatest possible, least possible, minimum number that guarantees — are integer cousins of the overlap bounds in Section 8.1. Both appear as Problem Solving word problems on the 21-question, 45-minute, no-calculator Quantitative Reasoning section.

Age Problems: One Clock, Constant Differences

Every living person ages at the same rate of one year per year. Two consequences follow, and both are tested:

  1. The difference between two people's ages never changes.
  2. The ratio of their ages does change. As years pass, any two positive ages drift toward a ratio of 11.

The reliable setup is to pick one reference time (almost always now), assign a variable to each person at that time, and express every other epoch by adding or subtracting the same elapsed years from every person.

Personkk years agoNowmm years from now
AAA−kA - kAAA+mA + m
BBB−kB - kBBB+mB + m
Difference A−BA - BA−BA - BA−BA - BA−BA - B

Do not introduce a second independent variable for the same person at a second time. "Priya in five years" is P+5P + 5, not a new letter. Mixing clocks is the source of most age-algebra errors.

Translation examples:

  • "In 55 years, Arthur will be twice as old as Brenda was 33 years ago" →A+5=2(B−3)\to A + 5 = 2(B - 3).
  • "When Chris was born, Diana was already 66" →D−C=6\to D - C = 6.
  • "Four years ago, Marcus was 55 times as old as Leo" →M−4=5(L−4)\to M - 4 = 5(L - 4).

After writing one equation per time-clause, substitute. Ages must come out positive and, on the GMAT, almost always integers. If a candidate value makes a past age zero or negative, reject it.

A useful sanity check: if the present ages are MM and LL with M>LM > L, then M−LM - L must equal the difference implied by every epoch in the stem. If the past equation and the future equation produce two different differences, the algebra is wrong.

Discrete Optimization: Extreme Allocation

A typical GMAT prompt gives a sum, a mean, a median, and a distinct-positive-integer constraint, then asks for the greatest possible value of the largest term — or the least possible value of the largest term. Integers cannot take fractional values, and "distinct" forbids repeats.

Rules:

  1. Maximize the largest xnx_n. Minimize every other xix_i to the smallest legal integer (often 1,2,3,…1, 2, 3, \ldots, subject to a fixed median).
  2. Minimize the largest xnx_n (minimax). Pack the list as close together as possible, usually consecutive integers around the mean S/nS/n.
  3. Minimize the smallest x1x_1. Maximize the other terms up to any stated cap.
  4. Maximize the smallest x1x_1 (maximin). Again pack near the mean.

Median handling: for an odd count, the middle position is locked to the stated median. For an even count of 66, the median is the average of x3x_3 and x4x_4, so x3+x4x_3 + x_4 is twice the median. To maximize x6x_6 you still minimize x1,x2,x5x_1, x_2, x_5 and, subject to x3<x4x_3 < x_4 and x3+x4x_3 + x_4 fixed, you take the split that then allows the smallest x5x_5.

Integer Products and Sums

A second family asks for the greatest product of positive integers with a fixed sum, or the least sum of positive integers with a fixed product.

  • For a fixed sum SS of two positive integers, the product x(S−x)x(S - x) is maximized when xx is as close as possible to S/2S/2. If repeats are forbidden, use the nearest distinct pair (for S=10S = 10, 4×6=244 \times 6 = 24 rather than 5×5=255 \times 5 = 25).
  • For a fixed product, the sum is minimized when the factors are as equal as possible (and usually near 33 if unrestricted partitions are allowed). GMAT stems nearly always restrict to two or three named positive integers, so equal-as-possible is enough.
  • If the product of two positive integers is 3636 and repeats are allowed, the least sum is 6+6=126 + 6 = 12. If they must be distinct, 4+9=134 + 9 = 13 is the next candidate to check against 3+12=153 + 12 = 15 and 2+18=202 + 18 = 20.

Always enforce the stated type: positive versus nonnegative, distinct versus repeats allowed, even versus odd. A beautiful fractional split is not an answer if the stem demands integers.

Worst-Case Guarantees (Pigeonhole Counting)

Prompts that ask for the minimum number that guarantees an outcome are not probability questions. They are worst-case counts:

Guaranteed selections=(maximum unlucky selections)+1\text{Guaranteed selections} = (\text{maximum unlucky selections}) + 1

Protocol:

  1. Name the target (at least kk of one color; at least one matching pair).
  2. Take as many items as possible while still missing the target: all of every non-target type, plus k−1k - 1 of the target type, or one from each category if the target is a matching pair.
  3. Add 11. The next draw is forced.

High-yield patterns:

  • At least kk of color XX, with other colors present: draw every non-XX item, then kk of color XX.
  • At least kk of some color, with four colors available: draw k−1k - 1 of each color, then one more.
  • At least one matching pair from CC categories: draw C+1C + 1.

Respect inventory caps. You cannot draw 99 red items from a box that contains only 88 red items; the worst case is limited by what the box actually holds.

Framework Table

GoalStrategy for the other valuesTypical GMAT wording
Maximize the largestMinimize the rest"greatest possible value of the largest"
Minimize the largestPack near the mean"least possible value of the largest"
Maximize a product at fixed sumSplit as evenly as allowed"greatest possible product"
Minimize a sum at fixed productSplit as evenly as allowed"least possible sum"
Guarantee an outcomeExhaust the unlucky draws, then +1+1"minimum number that must be selected to guarantee"

Worked Example: Two-Epoch Ages

Four years ago, Marcus was 55 times as old as Leo. In 66 years, Marcus will be 33 times as old as Leo. Let MM and LL be present ages. Then M−4=5(L−4)M - 4 = 5(L - 4) so M=5L−16M = 5L - 16, and M+6=3(L+6)M + 6 = 3(L + 6) so M=3L+12M = 3L + 12. Equating, 5L−16=3L+125L - 16 = 3L + 12, hence 2L=282L = 28 and L=14L = 14, M=54M = 54. Check: four years ago the ages were 5050 and 1010; in six years they will be 6060 and 2020.

Worked Example: Greatest Possible Largest Integer

Five distinct positive integers have mean 4040 and median 3535. The sum is 200200. In order x1<x2<x3<x4<x5x_1 < x_2 < x_3 < x_4 < x_5 with x3=35x_3 = 35, minimize 1+2+35+36=741 + 2 + 35 + 36 = 74 to maximize x5=200−74=126x_5 = 200 - 74 = 126.

Worked Example: Guarantee Count

A box holds 1212 red, 1515 green, 1818 blue, and 2020 yellow balls. To guarantee at least 1010 balls of one color, draw 99 of each color first (3636 balls, still no color at 1010), then one more ball — 3737 draws.

Test Your Knowledge

Three years ago, Priya was 5 times as old as her son Arjun. In 7 years, Priya will be 3 times as old as Arjun will be then. How old is Priya today?

A

53

B

48

C

45

D

40

Test Your Knowledge

The average (arithmetic mean) of 5 distinct positive integers is 20. If the median of the 5 integers is 18, what is the greatest possible value of the largest integer?

A

58

B

60

C

61

D

64

Test Your Knowledge

A jar contains 7 black marbles, 9 white marbles, 11 gray marbles, and 13 brown marbles. Marbles are drawn at random without replacement. What is the minimum number of marbles that must be drawn to guarantee that at least 5 marbles of the same color have been selected?

A

16

B

20

C

17

D

21

Sections you finish are checked off in the contents.