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

  • Context: Undergrad 
  • Thread starter Thread starter coolnessitself
  • Start date Start date
  • Tags Tags
    Element Notation Set
Click For Summary
SUMMARY

The discussion centers on the notation for the last element in a set, specifically addressing the set defined as p = {p_1, p_2, ..., p_n}. Participants explore alternatives to explicitly stating p_n, such as using a function like last(p). However, it is established that in a mathematical set, the concept of a "last" element is not universally applicable, as sets are inherently unordered. The context of ordered sets, such as paths in a graph, introduces the possibility of defining a last element based on enumeration.

PREREQUISITES
  • Understanding of set theory and its properties
  • Familiarity with ordered versus unordered sets
  • Basic knowledge of graph theory and paths
  • Experience with mathematical notation and functions
NEXT STEPS
  • Research the properties of ordered sets in set theory
  • Explore the concept of sequences and their notation
  • Learn about graph traversal algorithms and their implications
  • Investigate mathematical functions that operate on sets, such as max() and last()
USEFUL FOR

Mathematicians, computer scientists, and anyone involved in set theory or graph theory who seeks clarity on notation and the properties of ordered elements within sets.

coolnessitself
Messages
29
Reaction score
0
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?
 
Physics news on Phys.org
If it is truly a set then no, that last element does not depend on the set, but on your enumeration of the set.
 
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...
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 29 ·
Replies
29
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K