I ran into a problem where i need to simplify the equation $p\cdot\ln(x) + (1-p)\ln(y)$.
Can I solve it by moving the multiplier on top of the log as such: $\ln(x)^p + \ln(y)^{(1-p)}$ and then using the logarithm property $\ln(x)+\ln(y)=\ln(x\cdot y)$, thus getting $\ln(x^p\cdot y^{(1-p)})$?