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

Set theory: Largest number in the set

  1. Feb 24, 2012 #1
    1. The problem statement, all variables and given/known data
    How to write "the largest number in a set of real numbers A" using the appropriate set theory notation?

    2. Relevant equations

    3. The attempt at a solution
    Tried Googling and searching on Wikipedia with no relevant results.
  2. jcsd
  3. Feb 24, 2012 #2
    What is the largest element of a set? Don't answer using the set theory notation, just English. Then try to convert your answer in set theory notation.
  4. Feb 24, 2012 #3


    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper
    Education Advisor

    Didn't Mark essentially answer this question in this thread?
  5. Feb 24, 2012 #4


    User Avatar
    Science Advisor

    Cinitiator seems to be mystified by the idea of the "maximum" operator.
  6. Feb 24, 2012 #5
    The thing is, the max operator in order statistics would only output the largest value of a set if that set is ordered from the largest one to the smallest one. One has to order the set in order to use this operator in order to find the largest real numbers. Now, I'm searching for a way to order a set from the largest to the smallest, without having access to any of its members.

    Correct me if I'm wrong.
  7. Feb 24, 2012 #6
    Not all sets of real numbers have a largest element. Are you sure this is how the question is phrased?

    Check out supremum.

    Edit: Wait, I'm pretty sure Mark has answered your question in that thread.
  8. Feb 24, 2012 #7
    What I want to find are the min. and max. extremes of an ordered set which has a finite quantity of real numbers.
  9. Feb 24, 2012 #8
    min and max should work.
  10. Feb 24, 2012 #9
    But how do I order a set before applying min and max? Of course, I could just do that manually, but let's say that I need an operator which would allow me to sort the set from the largest to the smallest in order to apply the min and max operators in a way which is relevant to my problem.
  11. Feb 24, 2012 #10
    I don't understand why you have to order a set if min and max are defined as the smallest and largest elements of a set.

    Sets by definition don't have an order imposed on them. If you wanted to create an ordered n-tuple out of a set S of n elements, one way is to map it to the n-tuple (min S, min S \ {min S}, min S \ {min S, min S \ {min S}}, ...)

    Last edited: Feb 24, 2012
  12. Feb 24, 2012 #11
    The max is the max no matter what order you list the elements of the set. I explained this in the other thread you've got going on this topic.

    Max{1,2,3,4} is the same as Max{4,2,3,1}.

    In that other thread, someone actually posted C code to get the max of a set. And I pointed you to the bubble sort. Perhaps there is some secret context for your question that you're not telling us. Clearly you are not getting what you need despite a lot of people trying to answer your question.
    Last edited: Feb 24, 2012
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook