Results 1 to 14 of 14

Math Help - summation limits in fractions

  1. #1
    Newbie
    Joined
    Nov 2007
    Posts
    7

    summation limits in fractions

    Hello,
    I am using following latex lines to produce my output:

    \begin{equation}
    U=\frac{ \sum_{F=1}^{N_F}N_S^{(F)} }{N_S \times N_F}
    \label{AvgU}
    \end{equation}

    The problem is that I am getting an output (attached) in which limits of summation are to the right and not exactly above or below. They are all right in equation mode when there is no fraction. I need to number this equation as well. Can I anyone tell me how to get the limits of summation above and below in the above mentioned example keeping in consideration that I have to number the equation as well.
    [IMG]file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg[/IMG][IMG]file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot-1.jpg[/IMG]
    Attached Files Attached Files
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Forum Admin topsquark's Avatar
    Joined
    Jan 2006
    From
    Wellsville, NY
    Posts
    9,821
    Thanks
    317
    Awards
    1
    How about
    U = \frac{ \begin{matrix} N_F \\ \sum \\ F = 1 \end{matrix} N_S^{(F)} }{N_S \times N_F}

    -Dan
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Nov 2007
    Posts
    7
    it's perfect but have you obtained it using equation environment as I have to number this equation as well.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Newbie
    Joined
    Nov 2007
    Posts
    7
    sorry but one more question can I get this (F) directly above N (not as a superscript).
    Thanks in advance.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Forum Admin topsquark's Avatar
    Joined
    Jan 2006
    From
    Wellsville, NY
    Posts
    9,821
    Thanks
    317
    Awards
    1
    U = \frac{ \begin{matrix} N_F \\ \sum \\ F = 1 \end{matrix} \begin{matrix} (F) \\ N_S \\ ~ \end{matrix} }{N_S \times N_F}

    You can likely pretty this up using different text sizes. Unfortunately I know nothing about the equation command.

    -Dan
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Math Engineering Student
    Krizalid's Avatar
    Joined
    Mar 2007
    From
    Santiago, Chile
    Posts
    3,654
    Thanks
    12
    Tout d'abord, Bienvenue sur le forum! Cheers du Chili!

    Quote Originally Posted by optimist76 View Post
    Hello,
    I am using following latex lines to produce my output:

    \begin{equation}
    U=\frac{ \sum_{F=1}^{N_F}N_S^{(F)} }{N_S \times N_F}
    \label{AvgU}
    \end{equation}

    The problem is that I am getting an output (attached) in which limits of summation are to the right and not exactly above or below. They are all right in equation mode when there is no fraction.
    Generally, when you put a fraction over another fraction, does not yield the desired. For cases like that, you need to place \displaystyle before to write \sum.

    U=\frac{\displaystyle\sum_{F=1}^{N_F}N_S^{(F)}}{N_  S\times N_F}.

    (Clic on the formula to reveal its code.)

    Quote Originally Posted by optimist76 View Post
    I need to number this equation as well.
    Could you be more specific?

    Are you makin' some of equation alignment? Or you just want to put a number?
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Newbie
    Joined
    Nov 2007
    Posts
    7
    Actually, when we use \begin{equation} \end{equation} format, there is an autmotatic numbering of equations that is referred through a label. The problem is this \displaystyle command does not work inside \begin{equation} \end{equation}.
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Math Engineering Student
    Krizalid's Avatar
    Joined
    Mar 2007
    From
    Santiago, Chile
    Posts
    3,654
    Thanks
    12
    I found a way

    \begin{equation} U = \frac {\sum\limits_{F = 1}^{N_F}N_S^{(F)} }{N_S \times N_F} \label{AvgU} \end{equation}.

    The forum does not recognize the command, so try it by your own.
    Follow Math Help Forum on Facebook and Google+

  9. #9
    Newbie
    Joined
    Nov 2007
    Posts
    7
    @Krizalid
    thanks alot it was what I was looking for. and how about producing (F) above letter N (not as super script)?
    Follow Math Help Forum on Facebook and Google+

  10. #10
    Math Engineering Student
    Krizalid's Avatar
    Joined
    Mar 2007
    From
    Santiago, Chile
    Posts
    3,654
    Thanks
    12
    The following code holds:

    \mathop N\limits^{(F)},

    which produces \mathop N\limits^{(F)}.
    Follow Math Help Forum on Facebook and Google+

  11. #11
    Newbie
    Joined
    Nov 2007
    Posts
    7
    thanks but if I want to place a subscript in this mode then it also takes it like limits. I was looking for (F) above N and at the same time S as subscript. I tried this one but didn't work
    \mathop N_S\limits^{(F)}
    ,
    Follow Math Help Forum on Facebook and Google+

  12. #12
    Math Engineering Student
    Krizalid's Avatar
    Joined
    Mar 2007
    From
    Santiago, Chile
    Posts
    3,654
    Thanks
    12
    Quote Originally Posted by optimist76 View Post
    I was looking for (F) above N and at the same time S as subscript. I tried this one but didn't work
    \mathop N_S\limits^{(F)}
    ,
    You missed the {}, so the command is \mathop {N_S}\limits^{(F)}, which yields

    \mathop {N_S}\limits^{(F)}.

    As desired \blacksquare
    Follow Math Help Forum on Facebook and Google+

  13. #13
    Newbie
    Joined
    Nov 2007
    Posts
    7
    @Krizalid
    Thanks alot. It's working. Is it possible to reduce the sizes of subscripts and powers.
    Follow Math Help Forum on Facebook and Google+

  14. #14
    Math Engineering Student
    Krizalid's Avatar
    Joined
    Mar 2007
    From
    Santiago, Chile
    Posts
    3,654
    Thanks
    12
    Yes.

    The following command holds:

    N^{\scriptscriptstyle{(F)}}, this yields N^{\scriptscriptstyle{(F)}}.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Limits with fractions
    Posted in the Pre-Calculus Forum
    Replies: 4
    Last Post: April 12th 2010, 09:58 AM
  2. Changing the Limits of a Summation
    Posted in the Algebra Forum
    Replies: 1
    Last Post: January 3rd 2010, 09:53 PM
  3. Triple lower limits in summation sign (urgent)
    Posted in the LaTeX Help Forum
    Replies: 2
    Last Post: October 31st 2009, 01:27 AM
  4. limits of summation
    Posted in the Calculus Forum
    Replies: 5
    Last Post: September 21st 2009, 02:31 AM
  5. limits with fractions (x in denominator)
    Posted in the Calculus Forum
    Replies: 4
    Last Post: September 13th 2009, 07:21 AM

Search Tags


/mathhelpforum @mathhelpforum