Consider the function defined by :
$f(p) = p \ln(p) + (1-p) \ln(1-p)$
Show that this extends to a continuous function on $[0,1]$. Does it obtain a global maximum and minimum?
I am struggling with the first part of the question. I know how to remove discontinuity for algebraic functions but for this one I have no clue. In particular, I tried to manipulate the function in order to be able to find a value at $p=0$ and $p =1$ but it never converges to a finite limit.
Any help would be greatly appreciated !