Expressing Functions as Sums in Mathematica: Sigma Notation Guide

  • Context: Mathematica 
  • Thread starter Thread starter member 428835
  • Start date Start date
  • Tags Tags
    Mathematica Sums
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
member 428835
Does anyone know how to express a given function as a sum in mathematica using sigma notation? For example, I know how to make ##e^x = 1 + x^2/2 + x^3/6 + x^4/24...## but how would I have mathematica write it as ##e^x = \Sigma_{n=0}^{\infty} x^n/n!##?

Thanks a ton!
 
Physics news on Phys.org
I'm not sure what you want here. If you want to write the sum yourself, use
Code:
Sum[x^n/(n!),{n,0,Infinity}]
Or do you want Mathematica to tell you what the sum is, given ##e^x##?
 
I was trying to have mathematica tell me the sum given ##e^x## (or any other function for that matter.

Thanks for responding!
 
The only way I can think of to obtain this is using natural language input:
Code:
= e^x series representation