2
$\begingroup$

Can I factor $t^2$ from $\frac{1}{t}\sum_{n=1}^{n1}t^2Exp[-a n^2+bn]$ to get

$t\sum_{n=1}^{n1}Exp[-a n^2+bn]$ using some command?

1/t Sum[t^2 Exp[-a n^2 + b n], {n, 1, n1}]
$\endgroup$
2
  • 1
    $\begingroup$ sum /. Sum[const_?(FreeQ[#, n] &)*expr_, iter_List] :> const*Sum[expr, iter] $\endgroup$
    – Bob Hanlon
    Commented Jul 15, 2020 at 17:06
  • $\begingroup$ Closely related : How do I expand a sum? $\endgroup$
    – Artes
    Commented Jul 15, 2020 at 17:34

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.