I have the following summation I would like to simplify: $f(y)=\frac{1}{\left(2^{N}-1-N\right) \sqrt{2 \pi}} \sum_{k=2}^{N} \frac{\left(\begin{array}{l} N \\ k \end{array}\right)}{\sqrt{k \sigma^{2}+1}} e^{-0.5 y^{2} /\left(k \sigma^{2}+1\right)}$ $N>>1$ is a positive integer.
The Mathematica code I tried is below:
f=Sum[Binomial[N,k]Exp[(-0.5y^2)/(k *(sigma^2)+1)]/(Sqrt[k *(sigma^2)+1]), {k, 2, N}]
g=FullSimplify[f]
The output just displays what I have already written. It is not doing any simplification. Can someone tell me if this can be simplified using Mathematica? If yes, what should be the appropriate command?
NB: I am totally new to mathematica and hence asking.
ExpandSqrt, and make your code actually match the formula (using parentheses). Also,Nis a reserved symbol in Mathematica, don't use it as a variable. – Roman Jun 13 '21 at 15:34https://mathematica.stackexchange.com/help/formatting
– rasher Jun 13 '21 at 07:55nin Mathematica) looks very linear with a slope dependent only on $\sigma$. – JimB Jun 13 '21 at 16:13LinearModelFitorNonlinearModelFitshould be helpful. But you might want to write that up as a separate question (along with any attempts you've made with Mathematica). – JimB Jun 13 '21 at 16:35FullSimplify, which amount to e.g. telling Mathematica thatnis a positive integer, e.g.g = FullSimplify[f, n \[Element] Integers && n >2 && y \[Element] Reals && sigma \[Element] Reals && 1 + k sigma^2 > 0]. Unfortunately, that doesn't seem to help here, but just so you know the strategy! – thorimur Jun 14 '21 at 19:010.5will be treated differently than "exact" numbers like1/2. When not doing numerics, it's important to avoid decimals! – thorimur Jun 14 '21 at 19:03