How do I add limits to my sum/integral?
The “sum†and “int†commands can (optionally) take in the parameters “from†and “toâ€. These are used for lower and upper limits respectively. These parameters can be used singly or together.
-
Markup
|
Result
|
sum from k = 1 to n a_k
|
![](WriterGuide_html_m16d975fa.gif)
|
int from 0 to x f(t) dt
|
![](WriterGuide_html_37067c19.gif)
|
int from Re f
|
![](WriterGuide_html_22c0d00b.gif)
|
sum to infinity 2^{-n}
|
![](WriterGuide_html_m240fabda.gif)
|
Note
|
For more details on integrals and sums, see the table on page 401.
|