Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Latex Formula

  1. May 14, 2008 #1
    How do you write the permutation and combination formulas using latex. This is the best I can do:

    [tex]n_P_r=\frac{n!}{(n-r)!}[/tex]
     
  2. jcsd
  3. May 14, 2008 #2

    cristo

    User Avatar
    Staff Emeritus
    Science Advisor

    You mean like this: [tex]n \choose r[/tex] or [tex]^n\mathrm{C}_r[/tex] ?
     
    Last edited: May 14, 2008
  4. May 14, 2008 #3
    Yes, that's what I meant, but I am used to writing down like this:

    [​IMG]
     
  5. May 14, 2008 #4

    cristo

    User Avatar
    Staff Emeritus
    Science Advisor

    Ok, how about this then: [tex]_n\mathrm{C}_r \hskip5mm _n\mathrm{P}_r[/tex]
     
  6. May 14, 2008 #5
    Thanks, that's what I needed.:smile:
     
  7. May 14, 2008 #6
    Out of curiosity, are you good at perms. and combs.? Because I have a question on the the Precalc. forum that hasn't been answered yet. If not, it's ok, because I can wait.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?