I want to ask questions from calculus but I do not know how to write the formulas; it causes me lots of problems. I do not know to how write power series as there is no option in my keyboard.

Can anybody guide me on how to write integration and power series? I don't know how to write the big equation of geometry. Can anybody help me, or give me some idea, so that I can more easily ask questions about calculus?

  • 6
    $\begingroup$ Here is a brief tutorial about MathJax, MathJax basic tutorial and quick reference $\endgroup$
    – kingW3
    Aug 7, 2017 at 15:31
  • $\begingroup$ Have a look around for Questions (on the main site, Math.SE) about calculus, power series, etc. If you right-click on a formula, and choose the submenu Show Math as ... TeX Commands, a smallish text popup will show you the exact $\LaTeX$ syntax for that expression (which you can cut, paste, and edit to get your desired effect). $\endgroup$
    – hardmath
    Aug 7, 2017 at 18:25
  • $\begingroup$ Click the edit link of a post that contains the formulas and formats you need to see the source code of the text. Press cancle to cancle the edit. And use the context manue as hardmath has described $\endgroup$
    – miracle173
    Aug 15, 2017 at 21:47

1 Answer 1


General math formulas require dollar signs around them. Single for inline and double for displayed (the below are displayed)

$1+2=3$ renders as:


$$1+2=3$$ renders as:


If you want integration:

Use \int for regular integrals. It displays as


If you want bounds, use \int_{a}^{b}. It displays as


To add stuff inside the integral, I recommend the format \int_{a}^{b} f(x)~dx. It displays as

$$\int_{a}^{b} f(x)~dx$$

For double, triple, or quadruple integrals, everything above applies and use \iint,\iiint,\iiiint, which respectively displays as


For a closed line integral, use \oint, which displays as


For a sum,

please use \sum, not \Sigma. The difference is shown below:


To add bounds, the same procedure from above applies. For example, use \sum_{n=1}^{5} n^2 to get

$$\text{\sum}:~\sum_{n=1}^{5} n^2\qquad\text{\Sigma}:~\Sigma_{n=1}^{5} n^2$$

If one of your bounds happens to be infinity or negative infinity, use \infty or -\infty. For example, \sum_{n=0}^{\infty} to get


And use \int_{-\infty}^{\infty} to get


  • 1
    $\begingroup$ The difference between \sum and \Sigma is not only what is shown in this posting: $$ \sum_{k=0}^n a_k \text{ versus } \Sigma_{k=0}^n a_k $$ The first of these is \sum; the second is \Sigma. The point is that besides the size and shape, there is the issue of positions of subscripts and superscript. $\qquad$ $\endgroup$ Aug 8, 2017 at 2:41
  • $\begingroup$ Note that {curly braces} are needed only when more than one object is to be included. Thus in \sum_{k=0}^n or \sum_{k=0}^\infty one needs the braces in {k=0} but one need not write \sum_{k=0}^{n} or \sum_{k=0}^{\infty}. But \sum_{k=0}^{+\infty} is rendered as $\displaystyle \sum_{k=0}^{+\infty}$ whereas \sum_{k=0}^+\infty appears as $\displaystyle \sum_{k=0}^+\infty. \qquad$ $\endgroup$ Aug 8, 2017 at 2:45
  • 1
    $\begingroup$ @MichaelHardy To the second comment, some people get confused as to whether or not something counts as "one object", and since both ways work in that situation, I thought it better to mention the method that always works. $\endgroup$ Aug 8, 2017 at 11:54
  • $\begingroup$ thanks a lot @ simply beautiful art $\endgroup$
    – jasmine
    Aug 8, 2017 at 12:44
  • $\begingroup$ Nice list, @SimplyBeautifulArt But there's nowhere you've mentioned that the expressions only render in Mathjax when surrounded on each side by a dollar sign (or two). $\endgroup$
    – amWhy
    Aug 11, 2017 at 23:34
  • $\begingroup$ @amWhy True. I kind of assumed the OP knew generally how MathJax work, given his/her main site content, and was only asking about the integral and sum stuff. $\endgroup$ Aug 11, 2017 at 23:51
  • $\begingroup$ Fair enough; but for others encountering this post, particularly new users who are at Calc II level, I can never hurt to mention it. My comment mainly was meant as a compliment regarding your helpful post. $\endgroup$
    – amWhy
    Aug 11, 2017 at 23:54

Not the answer you're looking for? Browse other questions tagged .