I am trying to understand bivariate probability distribution functions and I am following all of Statistics: a concise course in statistical inference book. In this book the author give one example for joint mass function as mentioned below:
Suppose that $$f (x, y) = \begin{cases}x + y &\text{ if }0 \le x \le 1, 0 \le y \le 1 \\ 0&\text{ otherwise.}\end{cases}$$ If $x = 1$ and $y = 1$ then $f(x,y) = 2$ (which is wrong because probability can not be greater than $1$ ) what is the meaning of this?