I came across the following note in a paper I'm reading and don't understand how it was derived.
$\max_{\alpha_\ell}\sum_\ell^L\beta_\ell\log\alpha_\ell$ such that $\sum_\ell^L\alpha_\ell=1$ and $\alpha_\ell\geq 0 \forall\alpha_\ell$ (that is, $\alpha$ is a probability distribution) is maximized by:
$\alpha_\ell*=\frac{\beta_\ell}{\sum_{\ell'}^L\beta_{\ell'}}$
I've tried the classic take a partial derivative and set equal to 0, but cannot figure out where the $\ell'$ comes from and keep getting 0=0, which is not helpful. What am I missing?
Thanks!