I have the expression
$$
\frac{\sum_i\ln(x_i)}{p}
$$
where I have $x_1=20$, $x_2 =30$, $x_3=40$ for the $i$th numbers
I was wondering if I continue by $[\ln(20+30+40)]/p$ or if I $[\ln20+\ln30+\ln40]/p$
I have the expression
$$
\frac{\sum_i\ln(x_i)}{p}
$$
where I have $x_1=20$, $x_2 =30$, $x_3=40$ for the $i$th numbers
I was wondering if I continue by $[\ln(20+30+40)]/p$ or if I $[\ln20+\ln30+\ln40]/p$
If you have $\frac{1}{p}\sum_{i=1}^3 \ln x_i$ that means $\frac{1}{p}(\ln x_1+\ln x_2 + \ln x_3)$. Had you had $\frac{1}{p}\ln \left(\sum_{i=1}^3 x_i\right)$ then that would have been equal to $\frac{1}{p}\ln(x_1+x_2+x_3)$.