Suppose I want to approximate the following sum:
$\log( \sum_{n=1}^\infty s_n e^{X_{n}})$, where $(X_n)$ is linear.
Is there any smart way to approximate the first sum non-numerically?
Suppose I want to approximate the following sum:
$\log( \sum_{n=1}^\infty s_n e^{X_{n}})$, where $(X_n)$ is linear.
Is there any smart way to approximate the first sum non-numerically?
Well without knowing a little more about the $s_{j}$ and the $X_{k}$ I will punt for $$\sum_{n=1}^{\infty}s_{n}X_{n} =s_{1}X_{1}\sum_{n=2}^{\infty}\left(1+\frac{s_{n}X_{n}}{s_{1}X_{1}}\right) $$ Hence, \begin{align} \ln \sum_{n=1}^{\infty}s_{n}X_{n} &=\ln (s_{1}X_{1})+\ln\left(1+\sum_{n=2}^{\infty}\frac{s_{n}X_{n}}{s_{1}X_{1}}\right)\\ &= \ln (s_{1}X_{1})+\ln\left(1+\sum_{n=2}^{\infty}e^{(\ln s_{n}X_{n}-\ln s_{1}X_{1})}\right)\\ \end{align} Does this help in any way, shape or form?