Results 1 to 6 of 6

Math Help - Example of a map from [-1,1] to [0,1]

  1. #1
    Newbie Throughpoint's Avatar
    Joined
    Nov 2010
    Posts
    11

    Example of a map from [-1,1] to [0,1]

    How would I find an example of such a function that maps from [-1,1] -> [0,1]

    I was thinking.. q(x) =
    0 if x is in Q
    1 if x is NOT in Q
    x in (0,1)
    Follow Math Help Forum on Facebook and Google+

  2. #2
    is up to his old tricks again! Jhevon's Avatar
    Joined
    Feb 2007
    From
    New York, USA
    Posts
    11,663
    Thanks
    3
    Quote Originally Posted by Throughpoint View Post
    How would I find an example of such a function that maps from [-1,1] -> [0,1]

    I was thinking.. q(x) =
    0 if x is in Q
    1 if x is NOT in Q
    x in (0,1)
    How about \displaystyle q(x) = \frac 1{\pi} \cos^{-1} (x) ?

    you're function maps to only two elements in [0,1], what a waste and x in (0,1) won't work, you must use up all elements in your domain
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie Throughpoint's Avatar
    Joined
    Nov 2010
    Posts
    11
    Does that map closed sets to closet sets? I need to find a function that doesn't. =/

    Thanks for your help though
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Super Member

    Joined
    May 2006
    From
    Lexington, MA (USA)
    Posts
    11,740
    Thanks
    645
    Hello, Throughpoint!

    \text{How would I find a function that maps from }[-1,1]\:\to\:[0,1]\,?

    One such function is: . q(x) \,=\,x^2
    . . This maps two points of the domain onto one point of the range,
    . . with the sole exception x = 0.

    If a one-to-one mapping is desired, try: . q(x) \:=\:\dfrac{x+1}{2}
    Follow Math Help Forum on Facebook and Google+

  5. #5
    is up to his old tricks again! Jhevon's Avatar
    Joined
    Feb 2007
    From
    New York, USA
    Posts
    11,663
    Thanks
    3
    Quote Originally Posted by Throughpoint View Post
    Does that map closed sets to closet sets? I need to find a function that doesn't. =/

    Thanks for your help though
    i don't see what you mean? you did ask to map a closed set to a closed set didn't you?
    Follow Math Help Forum on Facebook and Google+

  6. #6
    MHF Contributor

    Joined
    Apr 2005
    Posts
    15,714
    Thanks
    1472
    Quote Originally Posted by Throughpoint View Post
    Does that map closed sets to closet sets? I need to find a function that doesn't. =/

    Thanks for your help though
    You originally asked for a function that maps [0, 1] to [-1, 1]. Are you now telling us that that is NOT what you want to do?

    So what is your question?
    Follow Math Help Forum on Facebook and Google+

Search Tags


/mathhelpforum @mathhelpforum