IMC 2009, Day 1, Problem 1
Suppose that and are real-valued functions on the real line and for every rational . Does this imply that for every real if
a) and are non-decreasing?
b) and are continuous?
Original from the official PDF

This transcription was compared symbol by symbol with the original, but not yet by a person.
Work for at least 45 minutes before opening the solution.
Official solution
Solution. a) No. Counter-example: and can be chosen as the characteristic functions of and , respectively.
b) Yes. By the assumptions is continuous on the whole real line and nonnegative on the rationals. Since any real number can be obtained as a limit of rational numbers we get that is nonnegative on the whole real line.
Transcribed from the official solutions, page 1. This transcription has not been checked a second time; if in doubt, look at the original.
Archive problem: the statement is the official text (transcribed, with the original above). Subject classification and difficulty were estimated automatically; hints and a worked solution are added over time.
How did it go?
Moves you mark come back sooner in triage.