Mathematica Expressing Functions as Sums in Mathematica: Sigma Notation Guide

  • Thread starter Thread starter member 428835
  • Start date Start date
  • Tags Tags
    Mathematica Sums
AI Thread Summary
To express a function as a sum in Mathematica using sigma notation, users can utilize the Sum function. For example, to represent the exponential function e^x, the syntax is Sum[x^n/(n!), {n, 0, Infinity}]. However, if the goal is to have Mathematica derive the series representation of e^x automatically, users can input natural language commands like "e^x series representation." This approach allows Mathematica to generate the corresponding sum notation for various functions.
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
 
thanks for your help!
 

Similar threads

Replies
1
Views
2K
Replies
1
Views
3K
Replies
13
Views
2K
Replies
4
Views
1K
Replies
19
Views
2K
Replies
5
Views
2K
Replies
4
Views
2K
Replies
1
Views
2K
Back
Top