Results 1 to 6 of 6

Math Help - definite integral typing help

  1. #1
    Junior Member
    Joined
    Mar 2009
    Posts
    61

    definite integral typing help

    how would i type \int and include the "from x=1 to x=3" in a definite integral problem
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    Joined
    Dec 2008
    From
    Scotland
    Posts
    901
    Quote Originally Posted by Jim Marnell View Post
    how would i type \int and include the "from x=1 to x=3" in a definite integral problem
     \int_{x=1}^{x=3}

    Click on the image to see the code.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    MHF Contributor Reckoner's Avatar
    Joined
    May 2008
    From
    Baltimore, MD (USA)
    Posts
    1,024
    Thanks
    75
    Awards
    1

    Smile

    Quote Originally Posted by Jim Marnell View Post
    how would i type \int and include the "from x=1 to x=3" in a definite integral problem
    I know you have your answer, but as I like proper spacing and you are asking about the code for integrals, I feel like noting:

    In between the integrand and the dx, you should add a \, to get the appropriate spacing.

    Code:
    \int_a^bf(x)\,dx
    gives

    \int_a^bf(x)\,dx

    which looks nicer than

    \int_a^bf(x)dx

    (especially for iterated integrals).
    Follow Math Help Forum on Facebook and Google+

  4. #4
    is up to his old tricks again! Jhevon's Avatar
    Joined
    Feb 2007
    From
    New York, USA
    Posts
    11,663
    Thanks
    3
    i like to use "~" instead of "\," or "\;" ...but i think this has all been discussed before...
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Apr 2009
    Posts
    9
    Quote Originally Posted by Reckoner View Post
    I know you have your answer, but as I like proper spacing and you are asking about the code for integrals, I feel like noting:

    In between the integrand and the dx, you should add a \, to get the appropriate spacing.

    Code:
    \int_a^bf(x)\,dx
    gives

    \int_a^bf(x)\,dx

    which looks nicer than

    \int_a^bf(x)dx

    (especially for iterated integrals).
    does adding a \, always produce a little extra white space? are there common instances where doing this creates a problem or error message? i am just learning latex but i notice that a lot of times things get squished together. i like a cleaner look too.
    Follow Math Help Forum on Facebook and Google+

  6. #6
    MHF Contributor
    Opalg's Avatar
    Joined
    Aug 2007
    From
    Leeds, UK
    Posts
    4,041
    Thanks
    7
    Quote Originally Posted by da kid View Post
    does adding a \, always produce a little extra white space? are there common instances where doing this creates a problem or error message? i am just learning latex but i notice that a lot of times things get squished together. i like a cleaner look too.
    TeX provides four spacing commands for use in math mode. they are \, (thin space), \: (medium space), \; (thick space) and \! (negative thin space). On the whole, TeX and LaTeX are pretty good at getting the spacing correct, but there are some occasions where you need to use the spacing commands to improve the appearance of a formula. One of these is the thin space before dx in an integral. Another one that I often use is a negative space (or two) after the integral sign. I think that \int\!\!f(x)\,dx looks better than \int f(x)\,dx.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 5
    Last Post: December 5th 2011, 06:21 PM
  2. Replies: 4
    Last Post: April 13th 2011, 03:08 AM
  3. Error when typing derivative into TI 89
    Posted in the Calculators Forum
    Replies: 2
    Last Post: October 10th 2010, 03:53 AM
  4. Typing Text in mathematica
    Posted in the Math Software Forum
    Replies: 9
    Last Post: December 21st 2009, 06:07 AM
  5. typing a radical sign
    Posted in the Trigonometry Forum
    Replies: 1
    Last Post: November 6th 2008, 06:10 PM

Search Tags


/mathhelpforum @mathhelpforum