Welcome to our community

Be a part of something great, join today!

Products in a fraction

rapid

New member
Jan 31, 2012
13
Basically i have this code, obviously the fraction is in display maths, but i want BIG products too, with sub/super scripts above and below rather than next to it. Thanks

$$
pr(X=k)=\mu\frac{\prod^{k-1}_{i=1}\{1-\mu+(i-1)\theta\}}{\prod^{k}_{i=1}\{1+(i-1)\theta\}}, \quad \mbox{for k$\geq$ 1,}
$$
 

princeps

New member
Mar 1, 2012
3
Basically i have this code, obviously the fraction is in display maths, but i want BIG products too, with sub/super scripts above and below rather than next to it. Thanks

$$
pr(X=k)=\mu\frac{\prod^{k-1}_{i=1}\{1-\mu+(i-1)\theta\}}{\prod^{k}_{i=1}\{1+(i-1)\theta\}}, \quad \mbox{for k$\geq$ 1,}
$$
type \displaystyle in front of \prod


$$
pr(X=k)=\mu\frac{\displaystyle\prod^{k-1}_{i=1}\{1-\mu+(i-1)\theta\}}{\displaystyle\prod^{k}_{i=1}\{1+(i-1)\theta\}}, \quad \mbox{for k$\geq$ 1,}$$
 

Evgeny.Makarov

Well-known member
MHB Math Scholar
Jan 30, 2012
2,493
There are two ways to place limits above and below an operator. First, this is the default for big operators in display style. Here, the fraction is in display style, but the nominator and denominator are in text style. You can activate display style using \displaystyle in the nominator and denominator or by using \dfrac instead of \frac. Second, without changing the style, you can put the limits above/below the operator by saying \prod\limits. Conversely, in display style limits can be put next to the operator by saying \prod\nolimits.

See also p. 144 of The TeXbook.
 

rapid

New member
Jan 31, 2012
13
And it's as simple as that :p Thanks very much!