8
$\begingroup$

I have had trouble trying to express a sigma sum formula.

Please do not think I have been lazy, I have been lazy, it is just I have up attempting to work it out after over 2 hours (when my actual question still remains to be written).

I was intending to specify a sigma with a variable ( n) at the top right of it And a (i=1) on the bottom right of the sigma. I have made many attempts, but I cannot have an "=" expression instead of a simple variable (like i on its own).

Many thanks

$\endgroup$
1

3 Answers 3

18
$\begingroup$

I think you want something like this $$\sum_{i=1}^n a_i$$

This is given by \sum_{i=1}^n a_i.

Formatting tips here.

If you omit the curly braces, then characters will be omitted. For example Notice the difference when I write \frac123 $$\frac123$$ versus \frac{1}{23} $$\frac{1}{23}$$.

$\endgroup$
1
  • $\begingroup$ Much appreciated, thank you for offering that. $\endgroup$
    – Mr a
    Commented Jan 18, 2016 at 18:45
4
$\begingroup$
 \sum\limits_{i=1}^{\infty}

$\sum\limits_{i=1}^{\infty}$


if you want a bigger sigma so

 \displaystyle\sum\limits_{i=1}^{\infty}

$\displaystyle\sum\limits_{i=1}^{\infty} $

$\endgroup$
4
  • $\begingroup$ There are also \sum_{i=1}^{\infty} and \displaystyle\sum_{i=1}^{\infty} giving $\sum_{i=1}^{\infty}$ and $\displaystyle\sum_{i=1}^{\infty}$ $\endgroup$
    – Henry
    Commented Jan 19, 2016 at 10:51
  • $\begingroup$ Please never ever use \displaystyle or \limits in inline math. It looks horrible. $\endgroup$ Commented Jan 19, 2016 at 11:01
  • 1
    $\begingroup$ @NajibIdrissi I think that it looks good, but it is your right to think what ever you want $\endgroup$
    – 3SAT
    Commented Jan 19, 2016 at 11:06
  • $\begingroup$ Okay... $\endgroup$ Commented Jan 19, 2016 at 11:11
1
$\begingroup$

It sounds like your are looking for the code for $\sum_{i=1}^n$, which is $\sum_{i=1}^n$.

The point here is that the command _ which makes the lower index just takes the first character of some larger text unless you put curly brackets around the whole text. The same is true for ^.

$\endgroup$
1
  • $\begingroup$ Thanks that was exactly what I was trying to achieve. I made the mistake of having them both I seperate pairs of brackets. $\endgroup$
    – Mr a
    Commented Jan 18, 2016 at 18:44

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