Determine whether the function f is one-to-one
f(t) is the number of people in line at a movie theater at time t.
Determine whether the function f is one-to-one
f(t) is the number of people in line at a movie theater at time t.
Copyright © 2021 JogjaFile Inc.
Informally, we can think of a one-to-one function as one that maps distinct elements in the domain to distinct elements in the codomain. Or, in other words, if $f$ maps $a$ and $b$ map to the same thing, then $a=b$.
Formally, a function $f:A \rightarrow B$ is called one-to-one if $f(a)=f(b)$ implies $a=b$. Equivalently, if $a \neq b$, then $f(a) \neq f(b)$.
In this question, we have a function $f:T \rightarrow \mathbb{Z}^{\geq 0}$ defined by $f(t)$ is the number of people in line at a movie theater at time $t$, and $T$ is the set of times for which "time" is defined. The task is to find two distinct times $t_1 \in \mathbb{R}$ and $t_2 \in \mathbb{R}$ for which $f(t_1)=f(t_2)$.
Here's a simple mathematical answer; it assumes (a) the theater has been open longer than an instant, and (b) there are a finite number of people in existence.