Sum of weighted logarithms identity

151 Views Asked by At

I know that $\sum_i \log(x_i) = \log(\prod_ix_i)$. I am wondering if the identity extends to the case where we have $\sum_ia_i\log(x_i)$ where $a_i$ are positive weights. If not, is there any way to simplify $\sum_ia_i\log(x_i)$?

1

There are 1 best solutions below

0
On BEST ANSWER

Note that $$\sum_ia_i\log(x_i)=\sum_i\log(x_i^{a_i})=\log\left(\prod_i x_i^{a_i}\right).$$