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

Is there a notation for the last element in a set?

  1. Nov 29, 2009 #1
    Say set [tex]p = \left\{p_1, p_2,\ldots,p_n\right\}[/tex], how to notate [tex]p_n[/tex] without saying [tex]p_n[/tex], since I'm not explicitly writing out [tex]p[/tex] like that for a variety of reasons?
    Like max([tex]p[/tex]) has the maximal element, what about last([tex]p[/tex]) or something? Is that recognized?
  2. jcsd
  3. Nov 29, 2009 #2
    If it is truly a set then no, that last element does not depend on the set, but on your enumeration of the set.
  4. Nov 29, 2009 #3
    My p is a path on a graph from node 1 to 2 to 6, to etc, so here it's ordered in some sense or another...
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook