Results 1 to 7 of 7

Math Help - domain and range

  1. #1
    Member
    Joined
    May 2008
    Posts
    109

    Unhappy domain and range

    Find the domain and range of the following function, the function that assigns to a bit string the number of one bits in the string.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Flow Master
    mr fantastic's Avatar
    Joined
    Dec 2007
    From
    Zeitgeist
    Posts
    16,948
    Thanks
    5
    Quote Originally Posted by sjenkins View Post
    Find the domain and range of the following function, the function that assigns to a bit string the number of one bits in the string.
    Surely the domain would be the set of all possible bit strings and the range would be all positive integers together with the number 0 ......?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member
    Joined
    Mar 2008
    From
    Texas
    Posts
    110
    Awards
    1

    Talking

    This is only the fourth problem in the section! Think about how you need to set up the problem so you are able to reason out some on your exam. Think... hmmm. Lets try this...

    Lets use the following bit strings as an example.
    1) 0
    2) 10
    3) 101
    4) 100
    5) 000
    6) ∅
    7) 101010

    f(1) = 0, f(2) = 1, f(3) = 2, f(4) = 1, f(5) = 0, f(6) = 0... you get the idea now.
    Notice that all of the "outputs" or better said elements in the "Range" are going to be a number x≥0, a positive integer. Even for f(6), the empty string, because it contains no 1 bits. Thus, your DOMAIN, which is the original set you want to operate on, is the SET OF ALL POSSIBLE BIT STRINGS, which also includes the empty string. And as we illustrated before, the RANGE, which is the result of operating on an element in your DOMAIN, are the POSITIVE INTEGERS.
    (Redundant, I know. Please note that my f(x) notation for the bit strings may not be accurate, but illustrates my point. My capitals don't mean "yelling", just want to emphasize the answer in my post.)

    Have some fun with Math! :-)
    Last edited by yvonnehr; June 18th 2008 at 04:36 PM. Reason: typo
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Member
    Joined
    May 2008
    Posts
    109
    Thank you for your help. This class is just above me, but it is a required class for me. I am an Elementary Education major, not a math major so I find it very difficult taking this class, that's why I ask so many questions.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Member
    Joined
    Mar 2008
    From
    Texas
    Posts
    110
    Awards
    1

    Smile tough class!

    This is definitely a challenging class for anyone, even if you are a math major. Other than domain and range, this section is going to test your reasoning and logic skills. That is the theme of the whole book. Moreover, it tests these skills through different types of applications, such as counting in the the binary system and computer science applications. When you get to such things that you may not know, try to learn just a enough about the application (via the web) to get a handle on it, it will do you better during your exam.

    Best of luck to you.

    -Yvonne


    Quote Originally Posted by sjenkins View Post
    Thank you for your help. This class is just above me, but it is a required class for me. I am an Elementary Education major, not a math major so I find it very difficult taking this class, that's why I ask so many questions.
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Member
    Joined
    May 2008
    Posts
    109
    Thank you for the encouragement. Hopefully I am picking up enough to pass the two exams. I have the midterm waiting for me and hope to complete the last few lessons within the next two weeks so I can be done with this class and never have to think about it again!!!!
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Member
    Joined
    May 2008
    Posts
    109
    Thank you for the encouragement. Hopefully I am picking up enough to pass the two exams. I have the midterm waiting for me and hope to complete the last few lessons within the next two weeks so I can be done with this class and never have to think about it again!!!!
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Domain and range
    Posted in the Algebra Forum
    Replies: 2
    Last Post: April 14th 2010, 02:09 AM
  2. Domain and Range
    Posted in the Pre-Calculus Forum
    Replies: 9
    Last Post: January 13th 2010, 07:12 AM
  3. Replies: 6
    Last Post: September 16th 2009, 06:25 AM
  4. Domain And Range
    Posted in the Pre-Calculus Forum
    Replies: 4
    Last Post: May 3rd 2008, 09:31 PM
  5. Domain and range?
    Posted in the Pre-Calculus Forum
    Replies: 1
    Last Post: April 22nd 2008, 04:45 AM

Search Tags


/mathhelpforum @mathhelpforum