Maths Olympiad Prep

Library / /208 of 241

, 2026

Algebra Difficulty 2.8 Junior Find the answer Canada

Of the 100100 people who are
watching a movie, 4747 bought
popcorn, more than 4040 bought a
drink, xx bought both popcorn and a
drink, and 2x2x bought neither. If
x>0x>0, what is the largest
possible value of xx?

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Let yy be the number of
people who bought a drink. It is given that y>40y>40.

The number of people who bought popcorn but did not buy a drink is 47x47-x.

The number of people who bought a drink but did not buy popcorn is yxy-x.

The number of people who bought both is given to be xx, and the number of people who bought
neither is given to be 2x2x.

Every person falls into exactly one of the cases above, so we have that
100=(47x)+(yx)+x+2x100 = (47-x) + (y-x) + x + 2x
which can be solved for yy to get
y=53xy = 53-x. It is given that y>40y>40, so we must have 53x>4053-x > 40, which can be rearranged to
get x<5340x < 53-40 or x<13x<13. Since xx is an integer, we must have x12x\leq 12.

Note that if x=12x=12, the purchases
satisfy the conditions:

Purchases
Number of people

popcorn and drink
1212

popcorn and no drink
3535

drink and no popcorn
2929

nothing
2424

Want a route through all this instead of an archive? The track puts 2,444 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: CEMC, University of Waterloo, licensed CC-BY-NC-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.