Products in Fraction: Bigger with Sub/Super Scripts

  • Context: MHB 
  • Thread starter Thread starter rapid1
  • Start date Start date
  • Tags Tags
    Fraction
Click For Summary
SUMMARY

This discussion focuses on formatting mathematical products in LaTeX to display larger products with subscript and superscript notations above and below the operator. The user seeks to achieve this using the \displaystyle command or the \dfrac command instead of \frac. Additionally, the discussion highlights the use of \prod\limits for placing limits above and below the operator while maintaining the text style. Reference to The TeXbook is provided for further reading on this topic.

PREREQUISITES
  • Familiarity with LaTeX typesetting
  • Understanding of mathematical notation and operators
  • Knowledge of display vs. text style in LaTeX
  • Basic concepts of subscripts and superscripts in mathematical expressions
NEXT STEPS
  • Learn about LaTeX \dfrac and \frac commands for fractions
  • Explore the use of \prod\limits for operator limits in LaTeX
  • Study the differences between display style and text style in LaTeX
  • Read The TeXbook for advanced typesetting techniques
USEFUL FOR

Mathematicians, LaTeX users, educators, and anyone involved in typesetting complex mathematical expressions.

rapid1
Messages
13
Reaction score
0
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,}
$$
 
Physics news on Phys.org
rapid said:
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,}$$
 
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.
 
And it's as simple as that :p Thanks very much!
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K