{"id":2654,"date":"2019-08-01T15:23:02","date_gmt":"2019-08-01T19:23:02","guid":{"rendered":"https:\/\/pressbooks.library.ryerson.ca\/ohsmath\/?post_type=chapter&#038;p=2654"},"modified":"2020-07-20T10:57:02","modified_gmt":"2020-07-20T14:57:02","slug":"3-2-domain-and-range","status":"publish","type":"chapter","link":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/chapter\/3-2-domain-and-range\/","title":{"raw":"3.2. Domain and Range","rendered":"3.2. Domain and Range"},"content":{"raw":"[Latexpage]\r\n<h1>Domain and Range<\/h1>\r\nOne of our main goals in mathematics is to model the real world with mathematical functions. In doing so, it is important to keep in mind the limitations of those models we create.\r\n\r\nThis table shows a relationship between circumference and height of a tree as it grows.\r\n<table class=\"no-lines\" style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td class=\"shaded\" style=\"width: 26.4633%\">Circumference, c<\/td>\r\n<td class=\"shaded\" style=\"width: 11.1215%\">1.7<\/td>\r\n<td class=\"shaded\" style=\"width: 12.4153%\">2.5<\/td>\r\n<td class=\"shaded\" style=\"width: 16.6667%\">5.5<\/td>\r\n<td class=\"shaded\" style=\"width: 16.6667%\">8.2<\/td>\r\n<td class=\"shaded\" style=\"width: 16.6667%\">13.7<\/td>\r\n<\/tr>\r\n<tr>\r\n<td class=\"shaded\" style=\"width: 26.4633%\">Height, h<\/td>\r\n<td style=\"width: 11.1215%\">24.5<\/td>\r\n<td style=\"width: 12.4153%\">31<\/td>\r\n<td style=\"width: 16.6667%\">45.2<\/td>\r\n<td style=\"width: 16.6667%\">54.6<\/td>\r\n<td style=\"width: 16.6667%\">92.1<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n&nbsp;\r\n\r\nWhile there is a strong relationship between the two, it would certainly be ridiculous to talk about a tree with a circumference of -3 feet, or a height of 3000 feet. When we identify limitations on the inputs and outputs of a function, we are determining the domain and range of the function.\r\n<div class=\"textbox shaded\"><strong>Domain<\/strong>: The set of possible input values to a function<\/div>\r\n<div class=\"textbox shaded\"><strong>Range<\/strong>: The set of possible output values of a function<\/div>\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 3.2.1<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nUsing the tree table above, determine a reasonable domain and range.\r\n\r\nWe could combine the data provided with our own experiences and reason to approximate the domain and range of the function <em>h<\/em> = <em>f<\/em>(<em>c<\/em>). For the domain, possible values for the input circumference <em>c<\/em>, it doesn\u2019t make sense to have negative values, so <em>c<\/em> &gt; 0. We could make an educated guess at a maximum reasonable value, or look up that the maximum circumference measured is about 119 feet. With this information we would say a reasonable domain is 0 &lt; <em>c<\/em> \u2264 119 feet.\r\n\r\nSimilarly for the range, it doesn\u2019t make sense to have negative heights, and the maximum height of a tree could be looked up to be 379 feet, so a reasonable range is 0 &lt; <em>h<\/em> \u2264 379 feet.\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 3.2.2<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nWhen sending a letter through the United States Postal Service, the price depends upon the weight of the letter, as shown in the table below. Determine the domain and range.\r\n<table style=\"border-collapse: collapse;width: 49.9014%;height: 84px\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 14px\">\r\n<td class=\"border\" style=\"width: 53.9525%;height: 14px;text-align: center\" colspan=\"2\"><strong>Letters<\/strong><\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td class=\"border\" style=\"width: 28.6561%;height: 14px;text-align: center\"><strong>Weight not Over<\/strong><\/td>\r\n<td class=\"border\" style=\"width: 25.2964%;height: 14px;text-align: center\"><strong>Price<\/strong><\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td class=\"border\" style=\"width: 28.6561%;height: 14px;text-align: center\">1 ounce<\/td>\r\n<td class=\"border\" style=\"width: 25.2964%;height: 14px;text-align: center\">\\$0.44<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td class=\"border\" style=\"width: 28.6561%;height: 14px;text-align: center\">2 ounces<\/td>\r\n<td class=\"border\" style=\"width: 25.2964%;height: 14px;text-align: center\">\\$0.61<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td class=\"border\" style=\"width: 28.6561%;height: 14px;text-align: center\">3 ounces<\/td>\r\n<td class=\"border\" style=\"width: 25.2964%;height: 14px;text-align: center\">\\$0.78<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td class=\"border\" style=\"width: 28.6561%;height: 14px;text-align: center\">3.5 ounces<\/td>\r\n<td class=\"border\" style=\"width: 25.2964%;height: 14px;text-align: center\">\\$0.95<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nSuppose we notate Weight by w and Price by <em>p<\/em>, and set up a function named <em>P<\/em>, where Price, <em>p<\/em> is a function of Weight, <em>w<\/em>.\u00a0 \u00a0 <em>p<\/em> = <em>P<\/em>(<em>w<\/em>).\r\n\r\nSince acceptable weights are 3.5 ounces or less, and negative weights don\u2019t make sense, the domain would be 0 &lt; <em>w<\/em> \u2264 3.5. Technically 0 could be included in the domain, but logically it would mean we are mailing nothing, so it doesn\u2019t hurt to leave it out.\r\n\r\nSince possible prices are from a limited set of values, we can only define the range of this function by listing the possible values. The range is <em>p<\/em> = \\$0.44, \\$0.61, \\$0.78, or \\$0.95.\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n<h1>Notation<\/h1>\r\nIn the previous examples, we used inequalities to describe the domain and range of the functions. This is one way to describe intervals of input and output values, but is not the only way.\r\n\r\nUsing inequalities, such as 0 &lt; <em>c<\/em> \u2264 163 , 0 &lt; <em>w<\/em> \u2264 3.5 , and 0 &lt; <em>h<\/em> \u2264 379 imply that we are interested in all values between the low and high values, including the high values in these examples.\r\n\r\nHowever, occasionally we are interested in a specific list of numbers like the range for the price to send letters, <em>p<\/em> = \\$0.44, \\$0.61, \\$0.78, or \\$0.95. These numbers represent a set of specific values: {0.44, 0.61, 0.78, 0.95}\r\n\r\nRepresenting values as a set, or giving instructions on how a set is built, leads us to another type of notation to describe the domain and range. Suppose we want to describe the values for a variable x that are 10 or greater, but less than 30. In inequalities, we would write 10 \u2264 <em>x<\/em> &lt; 30 .\r\n\r\nWhen describing domains and ranges, we sometimes extend this into <strong>set-builder notation<\/strong>, which would look like this: {<em>x<\/em> | 10 \u2264 <em>x<\/em> &lt; 30}. The curly brackets {} are read as \u201cthe set of\u201d, and the vertical bar | is read as \u201csuch that\u201d, so altogether we would read {<em>x<\/em> | 10 \u2264 <em>x<\/em> &lt; 30} as \u201cthe set of x-values such that 10 is less than or equal to <em>x<\/em> and <em>x<\/em> is less than 30.\u201d\r\n\r\nWhen describing ranges in set-builder notation, we could similarly write something like {<em>f<\/em>(<em>x<\/em>) | 0 &lt; <em>f<\/em>(<em>x<\/em>) &lt; 100}, or if the output had its own variable, we could use it. So for our tree height example above, we could write for the range {<em>h<\/em> | 0 &lt; <em>h<\/em> \u2264 379}. In set-builder notation, if a domain or range is not limited, we could write {<em>t<\/em> | <em>t<\/em> is a real number} , or {<em>t<\/em> | <em>t<\/em> \u2208 \u211c}, read as \u201cthe set of t-values such that<em> t<\/em> is an element of the set of real numbers.\r\n\r\nA more compact alternative to set-builder notation is <strong>interval notation<\/strong>, in which intervals of values are referred to by the starting and ending values. Curved parentheses are used for \u201cstrictly less than,\u201d and square brackets are used for \u201cless than or equal to.\u201d Since infinity is not a number, we can\u2019t include it in the interval, so we always use curved parentheses with \u221e and -\u221e. The table below will help you see how inequalities correspond to set-builder notation and interval notation:\r\n<table class=\"lines\" style=\"border-collapse: collapse;width: 100%\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 16px\">\r\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">Inequality<\/td>\r\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">Set Builder Notation<\/td>\r\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px;text-align: center\">Interval notation<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<table class=\"no-lines\" style=\"border-collapse: collapse;width: 100%;height: 112px\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 16px\">\r\n<td style=\"width: 33.3333%;height: 16px\">5 &lt; <em>h<\/em> \u2264 10<\/td>\r\n<td style=\"width: 33.3333%;height: 16px\">{<em>h<\/em> | 5 &lt; <em>h<\/em> \u2264 10}<\/td>\r\n<td style=\"width: 33.3333%;height: 16px;text-align: center\">(5, 10]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 16px\">\r\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">5 \u2264 <em>h<\/em> &lt; 10<\/td>\r\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">{<em>h<\/em> | 5 \u2264 <em>h<\/em> &lt; 10}<\/td>\r\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px;text-align: center\">[5, 10)<\/td>\r\n<\/tr>\r\n<tr style=\"height: 16px\">\r\n<td style=\"width: 33.3333%;height: 16px\">5 &lt; <em>h<\/em> \u2264 10<\/td>\r\n<td style=\"width: 33.3333%;height: 16px\">{<em>h<\/em> | 5 &lt; <em>h<\/em> &lt; 10}<\/td>\r\n<td style=\"width: 33.3333%;height: 16px;text-align: center\">(5, 10)<\/td>\r\n<\/tr>\r\n<tr style=\"height: 16px\">\r\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\"><em>h<\/em> &lt; 10<\/td>\r\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">{<em>h<\/em> | <em>h<\/em> &lt; 10}<\/td>\r\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px;text-align: center\">(-\u221e, 10)<\/td>\r\n<\/tr>\r\n<tr style=\"height: 16px\">\r\n<td style=\"width: 33.3333%;height: 16px\"><em>h<\/em> \u2265 10<\/td>\r\n<td style=\"width: 33.3333%;height: 16px\">{<em>h<\/em> | <em>h<\/em> \u2265 10}<\/td>\r\n<td style=\"width: 33.3333%;height: 16px;text-align: center\">[10, \u221e)<\/td>\r\n<\/tr>\r\n<tr style=\"height: 16px\">\r\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">all real numbers<\/td>\r\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">{<em>h<\/em> | <em>h <\/em>\u2208 \u211c}<\/td>\r\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px;text-align: center\">(-\u221e, \u221e)<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nTo combine two intervals together, using inequalities or set-builder notation we can use the word \u201cor\u201d. In interval notation, we use the union symbol, \u222a , to combine two unconnected intervals together.\r\n\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 3.2.3<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nDescribe the intervals of values shown on the line graph below using set builder and interval notations.\r\n<div class=\"textbox\" style=\"text-align: center\"><img src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103305.jpg\" alt=\"\" width=\"538\" height=\"46\" class=\"alignnone wp-image-1594 size-full\" \/><\/div>\r\nTo describe the values, <em>x <\/em>, that lie in the intervals shown above we would say, \u201c<em>x<\/em> is a real number greater than or equal to 1 and less than or equal to 3, or a real number greater than 5.\u201d\r\n\r\nAs an inequality it is: 1 \u2264 <em>x<\/em> \u2264 3 or <em>x<\/em> &gt; 5.\r\n\r\nIn set builder notation: {<em>x<\/em> | 1 \u2264 <em>x<\/em> \u2264 3 or <em>x<\/em> &gt; 5}.\r\n\r\nIn interval notation: [1, 3] \u222a (5, \u221e).\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n\r\nRemember when writing or reading interval notation: using a square bracket [ means the start value is included in the set; using a parenthesis ( means the start value is not included in the set.\r\n\r\n&nbsp;\r\n<h1>Domain and Range from Graphs<\/h1>\r\nWe can also talk about domain and range based on graphs. Since domain refers to the set of possible input values, the domain of a graph consists of all the input values shown on the graph. Remember that input values are almost always shown along the horizontal axis of the graph. Likewise, since range is the set of possible output values, the range of a graph we can see from the possible values along the vertical axis of the graph.\r\n\r\nBe careful \u2013 if the graph continues beyond the window on which we can see the graph, the domain and range might be larger than the values we can see.\r\n\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 3.2.4<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nDetermine the domain and range of the graph below:\r\n<div class=\"textbox\" style=\"text-align: center\"><img src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103906.jpg\" alt=\"\" width=\"312\" height=\"291\" class=\"aligncenter wp-image-1597 \" \/><\/div>\r\nIn the graph above, the input quantity along the horizontal axis appears to be \u201cyear\u201d, which we could notate with the variable <em>y<\/em>. The output is \u201cthousands of barrels of oil per day\u201d, which we might notate with the variable <em>b<\/em>, for barrels. The graph would likely continue to the left and right beyond what is shown, but based on the portion of the graph that is shown to us, we can determine the domain is 1975 \u2264 <em>y<\/em> \u2264 2008 , and the range is approximately 180 \u2264 b \u2264 2010 .\r\n\r\nIn interval notation, the domain would be [1975, 2008] and the range would be about [180, 2010]. For the range, we have to approximate the smallest and largest outputs since they don\u2019t fall exactly on the grid lines.\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n\r\nRemember that, as in the previous example, <em>x<\/em> and <em>y<\/em> are not always the input and output variables. Using descriptive variables is an important tool to remembering the context of the problem.\r\n\r\n&nbsp;\r\n<h1>Domain and Range from Formulas<\/h1>\r\nMost basic formulas can be evaluated at an input. Two common restrictions are:\r\n<ul>\r\n \t<li>The square root of negative values is non-real.<\/li>\r\n \t<li>We cannot divide by zero.<\/li>\r\n<\/ul>\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 3.2.5<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nFind the domain of each function:\r\n\r\n<strong>a)<\/strong> $f(x)=2\\sqrt{x + 4}$\r\n\r\n<strong>b)<\/strong> $g(x)=\\frac{3}{6-3x}$\r\n\r\n<\/div>\r\n<div class=\"textbox__content\">\r\n\r\n<strong>Solution<\/strong>\r\n\r\n<strong>a)<\/strong> Since we cannot take the square root of a negative number, we need the inside of the square root to be non-negative.\r\n\r\n<em>x<\/em> + 4 \u2265 0 when <em>x<\/em> \u2265 -4.\r\n\r\nThe domain of <em>f<\/em>(<em>x<\/em>) is [-4, \u221e).\r\n\r\n&nbsp;\r\n\r\n<strong>b)<\/strong> We cannot divide by zero, so we need the denominator to be non-zero.\r\n\r\n6 \u2013 3<em>x<\/em> = 0 when <em>x<\/em> = 2, so we must exclude 2 from the domain.\r\n\r\nThe domain of <em>g<\/em>(<em>x<\/em>) is (-\u221e, 2) \u222a (2, \u221e).\r\n\r\n<\/div>\r\n<\/div>\r\n<h1><\/h1>\r\n<h1>Piecewise Functions<\/h1>\r\nSome functions cannot be described by a single formula.\r\n<div class=\"textbox shaded\">\r\n\r\n<strong>Piecewise Function<\/strong>: A piecewise function is a function in which the formula used depends upon the domain the input lies in. We notate this concept as:\r\n\r\n$f(x)=\\begin{cases}\r\n\r\nformula\\;1 \\quad if \\quad domain\\;to\\;use\\;formula\\;1\\\\\r\n\r\nformula\\;2 \\quad if \\quad domain\\;to\\;use\\;formula\\;2\\\\\r\n\r\nformula\\;3 \\quad if \\quad domain\\;to\\;use\\;formula\\;3\\\\\r\n\r\n\\end{cases}$\r\n\r\n<\/div>\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 3.2.6<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nA museum charges \\$5 per person for a guided tour with a group of 1 to 9 people, or a fixed \\$50 fee for 10 or more people in the group. Set up a function relating the number of people, n, to the cost, <em>C<\/em>.\r\n\r\nTo set up this function, two different formulas would be needed. <em>C<\/em> = 5<em>n<\/em> would work for n values under 10, and <em>C<\/em> = 50 would work for values of n ten or greater. Notating this:\r\n\r\n$C(n)=\\begin{cases}\r\n\r\n5n\\quad if \\quad 0&lt;n&lt;10\\\\\r\n\r\n50\\quad if \\quad n\\ge10\\\\\r\n\r\n\\end{cases}$\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 3.2.7<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nA cell phone company uses the function below to determine the cost, <em>C<\/em>, in dollars for g gigabytes of data transfer.\r\n\r\n$C{g}=\\begin{cases}\r\n\r\n25\\quad if \\quad 0 &lt; g &lt; 2\\\\\r\n\r\n25+10(g-2) \\quad if \\quad g\\ge2\r\n\r\n\\end{cases}$\r\n\r\nFind the cost of using 1.5 gigabytes of data, and the cost of using 4 gigabytes of data.\r\n\r\nTo find the cost of using 1.5 gigabytes of data, <em>C<\/em>(1.5), we first look to see which piece of domain our input falls in. Since 1.5 is less than 2, we use the first formula, giving <em>C<\/em>(1.5) = \\$25.\r\n\r\nThe find the cost of using 4 gigabytes of data, <em>C<\/em>(4), we see that our input of 4 is greater than 2, so we\u2019ll use the second formula. <em>C<\/em>(4) = 25 + 10(4 \u2013 2) = \\$45.\r\n\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 3.2.8<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nSketch a graph of the function $f(x)=\\begin{cases}\r\n\r\n0\\quad if \\quad x\\le1\\\\\r\n\r\nx-1\\quad if \\quad 1&lt;x\\le4\\\\\r\n\r\n2\\quad if \\quad x&gt;4\\\\\r\n\r\n\\end{cases}$\r\n\r\nWe can imagine graphing each function, then limiting the graph to the indicated domain. At the endpoints of the domain, we put open circles to indicate where the endpoint is not included, due to a strictly-less-than inequality, and a closed circle where the endpoint is included, due to a less-than-or-equal-to inequality. The first and last parts are constant functions, where the output is the same for all inputs. The middle part we might recognize as a line, and could graph by evaluating the function at a couple inputs and connecting the points with a line.\r\n<div class=\"textbox\"><img src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111404.jpg\" alt=\"\" width=\"954\" height=\"318\" class=\"alignnone wp-image-1605 size-full\" \/><\/div>\r\nNow that we have each piece individually, we combine them onto the same graph. When the first and second parts meet at <em>x<\/em> = 1, we can imagine the closed dot filling in the open dot. Since there is no break in the graph, there is no need to show the dot.\r\n<div class=\"textbox\" style=\"text-align: center\"><img src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111424.jpg\" alt=\"\" width=\"284\" height=\"281\" class=\"wp-image-1606 aligncenter\" \/><\/div>\r\n<\/div>\r\n<\/div>\r\n<div><\/div>\r\n<h1>Practice questions<\/h1>\r\n<strong>1.<\/strong> The population of a small town in the year 1960 was 100 people. Since then the population has grown to 1400 people reported during the 2010 census. Choose descriptive variables for your input and output and use interval notation to write the domain and range.\r\n\r\n<strong>2.<\/strong> Given the following interval, write its a) meaning in words, b) set builder notation, and c) interval notation.\r\n<div class=\"textbox\" style=\"text-align: center\"><img src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103554.jpg\" alt=\"\" width=\"533\" height=\"48\" class=\"alignnone wp-image-1595 size-full\" \/><\/div>\r\n<strong>3. <\/strong>Given the graph below write the domain and range in interval notation.\r\n<div class=\"textbox\" style=\"text-align: center\"><img src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-104223.jpg\" alt=\"\" width=\"366\" height=\"248\" class=\"alignnone wp-image-1598 \" \/><\/div>\r\n<strong>4. <\/strong>At USA College during the 2009-2010 school year, tuition rates for in-state residents were \\$89.50 per credit for the first 10 credits, \\$33 per credit for credits 11-18, and for over 18 credits the rate is \\$73 per credit. Write a piecewise defined function for the total tuition, T, at USA College during 2009-2010 as a function of the number of credits taken, <em>c<\/em>. Consider a reasonable domain and range.\r\n\r\n<strong>5.<\/strong> Examine the graph below and indicate the following in both set-builder and interval notations.\r\n<p style=\"padding-left: 40px\"><strong>a. <\/strong>Domain<\/p>\r\n<p style=\"padding-left: 40px\"><strong>b. <\/strong>Range<\/p>\r\n\r\n<div class=\"textbox\" style=\"text-align: center\"><img src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/08\/Picture2-1024x654.png\" alt=\"\" width=\"1024\" height=\"654\" class=\"alignnone size-large wp-image-3142\" \/><\/div>\r\n&nbsp;","rendered":"<h1>Domain and Range<\/h1>\n<p>One of our main goals in mathematics is to model the real world with mathematical functions. In doing so, it is important to keep in mind the limitations of those models we create.<\/p>\n<p>This table shows a relationship between circumference and height of a tree as it grows.<\/p>\n<table class=\"no-lines\" style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td class=\"shaded\" style=\"width: 26.4633%\">Circumference, c<\/td>\n<td class=\"shaded\" style=\"width: 11.1215%\">1.7<\/td>\n<td class=\"shaded\" style=\"width: 12.4153%\">2.5<\/td>\n<td class=\"shaded\" style=\"width: 16.6667%\">5.5<\/td>\n<td class=\"shaded\" style=\"width: 16.6667%\">8.2<\/td>\n<td class=\"shaded\" style=\"width: 16.6667%\">13.7<\/td>\n<\/tr>\n<tr>\n<td class=\"shaded\" style=\"width: 26.4633%\">Height, h<\/td>\n<td style=\"width: 11.1215%\">24.5<\/td>\n<td style=\"width: 12.4153%\">31<\/td>\n<td style=\"width: 16.6667%\">45.2<\/td>\n<td style=\"width: 16.6667%\">54.6<\/td>\n<td style=\"width: 16.6667%\">92.1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>While there is a strong relationship between the two, it would certainly be ridiculous to talk about a tree with a circumference of -3 feet, or a height of 3000 feet. When we identify limitations on the inputs and outputs of a function, we are determining the domain and range of the function.<\/p>\n<div class=\"textbox shaded\"><strong>Domain<\/strong>: The set of possible input values to a function<\/div>\n<div class=\"textbox shaded\"><strong>Range<\/strong>: The set of possible output values of a function<\/div>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 3.2.1<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Using the tree table above, determine a reasonable domain and range.<\/p>\n<p>We could combine the data provided with our own experiences and reason to approximate the domain and range of the function <em>h<\/em> = <em>f<\/em>(<em>c<\/em>). For the domain, possible values for the input circumference <em>c<\/em>, it doesn\u2019t make sense to have negative values, so <em>c<\/em> &gt; 0. We could make an educated guess at a maximum reasonable value, or look up that the maximum circumference measured is about 119 feet. With this information we would say a reasonable domain is 0 &lt; <em>c<\/em> \u2264 119 feet.<\/p>\n<p>Similarly for the range, it doesn\u2019t make sense to have negative heights, and the maximum height of a tree could be looked up to be 379 feet, so a reasonable range is 0 &lt; <em>h<\/em> \u2264 379 feet.<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 3.2.2<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>When sending a letter through the United States Postal Service, the price depends upon the weight of the letter, as shown in the table below. Determine the domain and range.<\/p>\n<table style=\"border-collapse: collapse;width: 49.9014%;height: 84px\">\n<tbody>\n<tr style=\"height: 14px\">\n<td class=\"border\" style=\"width: 53.9525%;height: 14px;text-align: center\" colspan=\"2\"><strong>Letters<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td class=\"border\" style=\"width: 28.6561%;height: 14px;text-align: center\"><strong>Weight not Over<\/strong><\/td>\n<td class=\"border\" style=\"width: 25.2964%;height: 14px;text-align: center\"><strong>Price<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td class=\"border\" style=\"width: 28.6561%;height: 14px;text-align: center\">1 ounce<\/td>\n<td class=\"border\" style=\"width: 25.2964%;height: 14px;text-align: center\">&#36;0.44<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td class=\"border\" style=\"width: 28.6561%;height: 14px;text-align: center\">2 ounces<\/td>\n<td class=\"border\" style=\"width: 25.2964%;height: 14px;text-align: center\">&#36;0.61<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td class=\"border\" style=\"width: 28.6561%;height: 14px;text-align: center\">3 ounces<\/td>\n<td class=\"border\" style=\"width: 25.2964%;height: 14px;text-align: center\">&#36;0.78<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td class=\"border\" style=\"width: 28.6561%;height: 14px;text-align: center\">3.5 ounces<\/td>\n<td class=\"border\" style=\"width: 25.2964%;height: 14px;text-align: center\">&#36;0.95<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Suppose we notate Weight by w and Price by <em>p<\/em>, and set up a function named <em>P<\/em>, where Price, <em>p<\/em> is a function of Weight, <em>w<\/em>.\u00a0 \u00a0 <em>p<\/em> = <em>P<\/em>(<em>w<\/em>).<\/p>\n<p>Since acceptable weights are 3.5 ounces or less, and negative weights don\u2019t make sense, the domain would be 0 &lt; <em>w<\/em> \u2264 3.5. Technically 0 could be included in the domain, but logically it would mean we are mailing nothing, so it doesn\u2019t hurt to leave it out.<\/p>\n<p>Since possible prices are from a limited set of values, we can only define the range of this function by listing the possible values. The range is <em>p<\/em> = &#36;0.44, &#36;0.61, &#36;0.78, or &#36;0.95.<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h1>Notation<\/h1>\n<p>In the previous examples, we used inequalities to describe the domain and range of the functions. This is one way to describe intervals of input and output values, but is not the only way.<\/p>\n<p>Using inequalities, such as 0 &lt; <em>c<\/em> \u2264 163 , 0 &lt; <em>w<\/em> \u2264 3.5 , and 0 &lt; <em>h<\/em> \u2264 379 imply that we are interested in all values between the low and high values, including the high values in these examples.<\/p>\n<p>However, occasionally we are interested in a specific list of numbers like the range for the price to send letters, <em>p<\/em> = &#36;0.44, &#36;0.61, &#36;0.78, or &#36;0.95. These numbers represent a set of specific values: {0.44, 0.61, 0.78, 0.95}<\/p>\n<p>Representing values as a set, or giving instructions on how a set is built, leads us to another type of notation to describe the domain and range. Suppose we want to describe the values for a variable x that are 10 or greater, but less than 30. In inequalities, we would write 10 \u2264 <em>x<\/em> &lt; 30 .<\/p>\n<p>When describing domains and ranges, we sometimes extend this into <strong>set-builder notation<\/strong>, which would look like this: {<em>x<\/em> | 10 \u2264 <em>x<\/em> &lt; 30}. The curly brackets {} are read as \u201cthe set of\u201d, and the vertical bar | is read as \u201csuch that\u201d, so altogether we would read {<em>x<\/em> | 10 \u2264 <em>x<\/em> &lt; 30} as \u201cthe set of x-values such that 10 is less than or equal to <em>x<\/em> and <em>x<\/em> is less than 30.\u201d<\/p>\n<p>When describing ranges in set-builder notation, we could similarly write something like {<em>f<\/em>(<em>x<\/em>) | 0 &lt; <em>f<\/em>(<em>x<\/em>) &lt; 100}, or if the output had its own variable, we could use it. So for our tree height example above, we could write for the range {<em>h<\/em> | 0 &lt; <em>h<\/em> \u2264 379}. In set-builder notation, if a domain or range is not limited, we could write {<em>t<\/em> | <em>t<\/em> is a real number} , or {<em>t<\/em> | <em>t<\/em> \u2208 \u211c}, read as \u201cthe set of t-values such that<em> t<\/em> is an element of the set of real numbers.<\/p>\n<p>A more compact alternative to set-builder notation is <strong>interval notation<\/strong>, in which intervals of values are referred to by the starting and ending values. Curved parentheses are used for \u201cstrictly less than,\u201d and square brackets are used for \u201cless than or equal to.\u201d Since infinity is not a number, we can\u2019t include it in the interval, so we always use curved parentheses with \u221e and -\u221e. The table below will help you see how inequalities correspond to set-builder notation and interval notation:<\/p>\n<table class=\"lines\" style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr style=\"height: 16px\">\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">Inequality<\/td>\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">Set Builder Notation<\/td>\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px;text-align: center\">Interval notation<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table class=\"no-lines\" style=\"border-collapse: collapse;width: 100%;height: 112px\">\n<tbody>\n<tr style=\"height: 16px\">\n<td style=\"width: 33.3333%;height: 16px\">5 &lt; <em>h<\/em> \u2264 10<\/td>\n<td style=\"width: 33.3333%;height: 16px\">{<em>h<\/em> | 5 &lt; <em>h<\/em> \u2264 10}<\/td>\n<td style=\"width: 33.3333%;height: 16px;text-align: center\">(5, 10]<\/td>\n<\/tr>\n<tr style=\"height: 16px\">\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">5 \u2264 <em>h<\/em> &lt; 10<\/td>\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">{<em>h<\/em> | 5 \u2264 <em>h<\/em> &lt; 10}<\/td>\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px;text-align: center\">[5, 10)<\/td>\n<\/tr>\n<tr style=\"height: 16px\">\n<td style=\"width: 33.3333%;height: 16px\">5 &lt; <em>h<\/em> \u2264 10<\/td>\n<td style=\"width: 33.3333%;height: 16px\">{<em>h<\/em> | 5 &lt; <em>h<\/em> &lt; 10}<\/td>\n<td style=\"width: 33.3333%;height: 16px;text-align: center\">(5, 10)<\/td>\n<\/tr>\n<tr style=\"height: 16px\">\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\"><em>h<\/em> &lt; 10<\/td>\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">{<em>h<\/em> | <em>h<\/em> &lt; 10}<\/td>\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px;text-align: center\">(-\u221e, 10)<\/td>\n<\/tr>\n<tr style=\"height: 16px\">\n<td style=\"width: 33.3333%;height: 16px\"><em>h<\/em> \u2265 10<\/td>\n<td style=\"width: 33.3333%;height: 16px\">{<em>h<\/em> | <em>h<\/em> \u2265 10}<\/td>\n<td style=\"width: 33.3333%;height: 16px;text-align: center\">[10, \u221e)<\/td>\n<\/tr>\n<tr style=\"height: 16px\">\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">all real numbers<\/td>\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px\">{<em>h<\/em> | <em>h <\/em>\u2208 \u211c}<\/td>\n<td class=\"shaded\" style=\"width: 33.3333%;height: 16px;text-align: center\">(-\u221e, \u221e)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>To combine two intervals together, using inequalities or set-builder notation we can use the word \u201cor\u201d. In interval notation, we use the union symbol, \u222a , to combine two unconnected intervals together.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 3.2.3<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Describe the intervals of values shown on the line graph below using set builder and interval notations.<\/p>\n<div class=\"textbox\" style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103305.jpg\" alt=\"\" width=\"538\" height=\"46\" class=\"alignnone wp-image-1594 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103305.jpg 538w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103305-300x26.jpg 300w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103305-65x6.jpg 65w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103305-225x19.jpg 225w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103305-350x30.jpg 350w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/div>\n<p>To describe the values, <em>x <\/em>, that lie in the intervals shown above we would say, \u201c<em>x<\/em> is a real number greater than or equal to 1 and less than or equal to 3, or a real number greater than 5.\u201d<\/p>\n<p>As an inequality it is: 1 \u2264 <em>x<\/em> \u2264 3 or <em>x<\/em> &gt; 5.<\/p>\n<p>In set builder notation: {<em>x<\/em> | 1 \u2264 <em>x<\/em> \u2264 3 or <em>x<\/em> &gt; 5}.<\/p>\n<p>In interval notation: [1, 3] \u222a (5, \u221e).<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Remember when writing or reading interval notation: using a square bracket [ means the start value is included in the set; using a parenthesis ( means the start value is not included in the set.<\/p>\n<p>&nbsp;<\/p>\n<h1>Domain and Range from Graphs<\/h1>\n<p>We can also talk about domain and range based on graphs. Since domain refers to the set of possible input values, the domain of a graph consists of all the input values shown on the graph. Remember that input values are almost always shown along the horizontal axis of the graph. Likewise, since range is the set of possible output values, the range of a graph we can see from the possible values along the vertical axis of the graph.<\/p>\n<p>Be careful \u2013 if the graph continues beyond the window on which we can see the graph, the domain and range might be larger than the values we can see.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 3.2.4<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Determine the domain and range of the graph below:<\/p>\n<div class=\"textbox\" style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103906.jpg\" alt=\"\" width=\"312\" height=\"291\" class=\"aligncenter wp-image-1597\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103906.jpg 561w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103906-300x280.jpg 300w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103906-65x61.jpg 65w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103906-225x210.jpg 225w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103906-350x327.jpg 350w\" sizes=\"auto, (max-width: 312px) 100vw, 312px\" \/><\/div>\n<p>In the graph above, the input quantity along the horizontal axis appears to be \u201cyear\u201d, which we could notate with the variable <em>y<\/em>. The output is \u201cthousands of barrels of oil per day\u201d, which we might notate with the variable <em>b<\/em>, for barrels. The graph would likely continue to the left and right beyond what is shown, but based on the portion of the graph that is shown to us, we can determine the domain is 1975 \u2264 <em>y<\/em> \u2264 2008 , and the range is approximately 180 \u2264 b \u2264 2010 .<\/p>\n<p>In interval notation, the domain would be [1975, 2008] and the range would be about [180, 2010]. For the range, we have to approximate the smallest and largest outputs since they don\u2019t fall exactly on the grid lines.<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Remember that, as in the previous example, <em>x<\/em> and <em>y<\/em> are not always the input and output variables. Using descriptive variables is an important tool to remembering the context of the problem.<\/p>\n<p>&nbsp;<\/p>\n<h1>Domain and Range from Formulas<\/h1>\n<p>Most basic formulas can be evaluated at an input. Two common restrictions are:<\/p>\n<ul>\n<li>The square root of negative values is non-real.<\/li>\n<li>We cannot divide by zero.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 3.2.5<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Find the domain of each function:<\/p>\n<p><strong>a)<\/strong> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/ql-cache\/quicklatex.com-1e4e5fead709a9d9bca62a95f9176f96_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#40;&#120;&#41;&#61;&#50;&#92;&#115;&#113;&#114;&#116;&#123;&#120;&#32;&#43;&#32;&#52;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"131\" style=\"vertical-align: -4px;\" \/><\/p>\n<p><strong>b)<\/strong> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/ql-cache\/quicklatex.com-c1ffc356b9022e5db65ae325111b4013_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#103;&#40;&#120;&#41;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#51;&#125;&#123;&#54;&#45;&#51;&#120;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"97\" style=\"vertical-align: -6px;\" \/><\/p>\n<\/div>\n<div class=\"textbox__content\">\n<p><strong>Solution<\/strong><\/p>\n<p><strong>a)<\/strong> Since we cannot take the square root of a negative number, we need the inside of the square root to be non-negative.<\/p>\n<p><em>x<\/em> + 4 \u2265 0 when <em>x<\/em> \u2265 -4.<\/p>\n<p>The domain of <em>f<\/em>(<em>x<\/em>) is [-4, \u221e).<\/p>\n<p>&nbsp;<\/p>\n<p><strong>b)<\/strong> We cannot divide by zero, so we need the denominator to be non-zero.<\/p>\n<p>6 \u2013 3<em>x<\/em> = 0 when <em>x<\/em> = 2, so we must exclude 2 from the domain.<\/p>\n<p>The domain of <em>g<\/em>(<em>x<\/em>) is (-\u221e, 2) \u222a (2, \u221e).<\/p>\n<\/div>\n<\/div>\n<h1><\/h1>\n<h1>Piecewise Functions<\/h1>\n<p>Some functions cannot be described by a single formula.<\/p>\n<div class=\"textbox shaded\">\n<p><strong>Piecewise Function<\/strong>: A piecewise function is a function in which the formula used depends upon the domain the input lies in. We notate this concept as:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/ql-cache\/quicklatex.com-3654a1b775623613d3806534393ffd3e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#40;&#120;&#41;&#61;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#99;&#97;&#115;&#101;&#115;&#125;  &#102;&#111;&#114;&#109;&#117;&#108;&#97;&#92;&#59;&#49;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#105;&#102;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#100;&#111;&#109;&#97;&#105;&#110;&#92;&#59;&#116;&#111;&#92;&#59;&#117;&#115;&#101;&#92;&#59;&#102;&#111;&#114;&#109;&#117;&#108;&#97;&#92;&#59;&#49;&#92;&#92;  &#102;&#111;&#114;&#109;&#117;&#108;&#97;&#92;&#59;&#50;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#105;&#102;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#100;&#111;&#109;&#97;&#105;&#110;&#92;&#59;&#116;&#111;&#92;&#59;&#117;&#115;&#101;&#92;&#59;&#102;&#111;&#114;&#109;&#117;&#108;&#97;&#92;&#59;&#50;&#92;&#92;  &#102;&#111;&#114;&#109;&#117;&#108;&#97;&#92;&#59;&#51;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#105;&#102;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#100;&#111;&#109;&#97;&#105;&#110;&#92;&#59;&#116;&#111;&#92;&#59;&#117;&#115;&#101;&#92;&#59;&#102;&#111;&#114;&#109;&#117;&#108;&#97;&#92;&#59;&#51;&#92;&#92;  &#92;&#101;&#110;&#100;&#123;&#99;&#97;&#115;&#101;&#115;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"79\" width=\"430\" style=\"vertical-align: -35px;\" \/><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 3.2.6<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>A museum charges &#36;5 per person for a guided tour with a group of 1 to 9 people, or a fixed &#36;50 fee for 10 or more people in the group. Set up a function relating the number of people, n, to the cost, <em>C<\/em>.<\/p>\n<p>To set up this function, two different formulas would be needed. <em>C<\/em> = 5<em>n<\/em> would work for n values under 10, and <em>C<\/em> = 50 would work for values of n ten or greater. Notating this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/ql-cache\/quicklatex.com-d280a20818f22fb33062b9e6f9a8ee46_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#67;&#40;&#110;&#41;&#61;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#99;&#97;&#115;&#101;&#115;&#125;  &#53;&#110;&#92;&#113;&#117;&#97;&#100;&#32;&#105;&#102;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#48;&#60;&#110;&#60;&#49;&#48;&#92;&#92;  &#53;&#48;&#92;&#113;&#117;&#97;&#100;&#32;&#105;&#102;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#110;&#92;&#103;&#101;&#49;&#48;&#92;&#92;  &#92;&#101;&#110;&#100;&#123;&#99;&#97;&#115;&#101;&#115;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"57\" width=\"246\" style=\"vertical-align: -24px;\" \/><\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 3.2.7<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>A cell phone company uses the function below to determine the cost, <em>C<\/em>, in dollars for g gigabytes of data transfer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/ql-cache\/quicklatex.com-821ecac39d6102dd2218d064c8c4aa36_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#67;&#123;&#103;&#125;&#61;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#99;&#97;&#115;&#101;&#115;&#125;  &#50;&#53;&#92;&#113;&#117;&#97;&#100;&#32;&#105;&#102;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#48;&#32;&#60;&#32;&#103;&#32;&#60;&#32;&#50;&#92;&#92;  &#50;&#53;&#43;&#49;&#48;&#40;&#103;&#45;&#50;&#41;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#105;&#102;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#103;&#92;&#103;&#101;&#50;  &#92;&#101;&#110;&#100;&#123;&#99;&#97;&#115;&#101;&#115;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"57\" width=\"281\" style=\"vertical-align: -24px;\" \/><\/p>\n<p>Find the cost of using 1.5 gigabytes of data, and the cost of using 4 gigabytes of data.<\/p>\n<p>To find the cost of using 1.5 gigabytes of data, <em>C<\/em>(1.5), we first look to see which piece of domain our input falls in. Since 1.5 is less than 2, we use the first formula, giving <em>C<\/em>(1.5) = &#36;25.<\/p>\n<p>The find the cost of using 4 gigabytes of data, <em>C<\/em>(4), we see that our input of 4 is greater than 2, so we\u2019ll use the second formula. <em>C<\/em>(4) = 25 + 10(4 \u2013 2) = &#36;45.<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 3.2.8<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Sketch a graph of the function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/ql-cache\/quicklatex.com-e1312123eff43d5b268f885ce3e069f0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#40;&#120;&#41;&#61;&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#99;&#97;&#115;&#101;&#115;&#125;  &#48;&#92;&#113;&#117;&#97;&#100;&#32;&#105;&#102;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#120;&#92;&#108;&#101;&#49;&#92;&#92;  &#120;&#45;&#49;&#92;&#113;&#117;&#97;&#100;&#32;&#105;&#102;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#49;&#60;&#120;&#92;&#108;&#101;&#52;&#92;&#92;  &#50;&#92;&#113;&#117;&#97;&#100;&#32;&#105;&#102;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#120;&#62;&#52;&#92;&#92;  &#92;&#101;&#110;&#100;&#123;&#99;&#97;&#115;&#101;&#115;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"79\" width=\"256\" style=\"vertical-align: -35px;\" \/><\/p>\n<p>We can imagine graphing each function, then limiting the graph to the indicated domain. At the endpoints of the domain, we put open circles to indicate where the endpoint is not included, due to a strictly-less-than inequality, and a closed circle where the endpoint is included, due to a less-than-or-equal-to inequality. The first and last parts are constant functions, where the output is the same for all inputs. The middle part we might recognize as a line, and could graph by evaluating the function at a couple inputs and connecting the points with a line.<\/p>\n<div class=\"textbox\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111404.jpg\" alt=\"\" width=\"954\" height=\"318\" class=\"alignnone wp-image-1605 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111404.jpg 954w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111404-300x100.jpg 300w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111404-768x256.jpg 768w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111404-65x22.jpg 65w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111404-225x75.jpg 225w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111404-350x117.jpg 350w\" sizes=\"auto, (max-width: 954px) 100vw, 954px\" \/><\/div>\n<p>Now that we have each piece individually, we combine them onto the same graph. When the first and second parts meet at <em>x<\/em> = 1, we can imagine the closed dot filling in the open dot. Since there is no break in the graph, there is no need to show the dot.<\/p>\n<div class=\"textbox\" style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111424.jpg\" alt=\"\" width=\"284\" height=\"281\" class=\"wp-image-1606 aligncenter\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111424.jpg 384w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111424-300x297.jpg 300w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111424-65x64.jpg 65w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111424-225x223.jpg 225w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-111424-350x346.jpg 350w\" sizes=\"auto, (max-width: 284px) 100vw, 284px\" \/><\/div>\n<\/div>\n<\/div>\n<div><\/div>\n<h1>Practice questions<\/h1>\n<p><strong>1.<\/strong> The population of a small town in the year 1960 was 100 people. Since then the population has grown to 1400 people reported during the 2010 census. Choose descriptive variables for your input and output and use interval notation to write the domain and range.<\/p>\n<p><strong>2.<\/strong> Given the following interval, write its a) meaning in words, b) set builder notation, and c) interval notation.<\/p>\n<div class=\"textbox\" style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103554.jpg\" alt=\"\" width=\"533\" height=\"48\" class=\"alignnone wp-image-1595 size-full\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103554.jpg 533w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103554-300x27.jpg 300w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103554-65x6.jpg 65w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103554-225x20.jpg 225w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-103554-350x32.jpg 350w\" sizes=\"auto, (max-width: 533px) 100vw, 533px\" \/><\/div>\n<p><strong>3. <\/strong>Given the graph below write the domain and range in interval notation.<\/p>\n<div class=\"textbox\" style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-104223.jpg\" alt=\"\" width=\"366\" height=\"248\" class=\"alignnone wp-image-1598\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-104223.jpg 653w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-104223-300x204.jpg 300w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-104223-65x44.jpg 65w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-104223-225x153.jpg 225w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/06\/Annotation-2019-06-20-104223-350x238.jpg 350w\" sizes=\"auto, (max-width: 366px) 100vw, 366px\" \/><\/div>\n<p><strong>4. <\/strong>At USA College during the 2009-2010 school year, tuition rates for in-state residents were &#36;89.50 per credit for the first 10 credits, &#36;33 per credit for credits 11-18, and for over 18 credits the rate is &#36;73 per credit. Write a piecewise defined function for the total tuition, T, at USA College during 2009-2010 as a function of the number of credits taken, <em>c<\/em>. Consider a reasonable domain and range.<\/p>\n<p><strong>5.<\/strong> Examine the graph below and indicate the following in both set-builder and interval notations.<\/p>\n<p style=\"padding-left: 40px\"><strong>a. <\/strong>Domain<\/p>\n<p style=\"padding-left: 40px\"><strong>b. <\/strong>Range<\/p>\n<div class=\"textbox\" style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/08\/Picture2-1024x654.png\" alt=\"\" width=\"1024\" height=\"654\" class=\"alignnone size-large wp-image-3142\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/08\/Picture2-1024x654.png 1024w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/08\/Picture2-300x192.png 300w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/08\/Picture2-768x490.png 768w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/08\/Picture2-65x41.png 65w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/08\/Picture2-225x144.png 225w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/08\/Picture2-350x223.png 350w, https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-content\/uploads\/sites\/81\/2019\/08\/Picture2.png 1026w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"author":130,"menu_order":2,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[48],"contributor":[],"license":[],"class_list":["post-2654","chapter","type-chapter","status-publish","hentry","chapter-type-numberless"],"part":958,"_links":{"self":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-json\/pressbooks\/v2\/chapters\/2654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-json\/wp\/v2\/users\/130"}],"version-history":[{"count":9,"href":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-json\/pressbooks\/v2\/chapters\/2654\/revisions"}],"predecessor-version":[{"id":3084,"href":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-json\/pressbooks\/v2\/chapters\/2654\/revisions\/3084"}],"part":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-json\/pressbooks\/v2\/parts\/958"}],"metadata":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-json\/pressbooks\/v2\/chapters\/2654\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-json\/wp\/v2\/media?parent=2654"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-json\/pressbooks\/v2\/chapter-type?post=2654"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-json\/wp\/v2\/contributor?post=2654"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/ohsmath\/wp-json\/wp\/v2\/license?post=2654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}