Precalculus with Integrated CalculusXYZ Homework Edition

⇩ Download ▾

1.2 Constant and Linear Functions

Constant Functions

Now that we have defined the concept of a function, we'll spend the rest of Chapter 1 revisiting families of curves from prior courses in Algebra by viewing them through a `function lens'. We start with lines and refer the reader to Section A.5 for a review of the basic properties of lines. The simplest lines are vertical and horizontal lines. We leave it to the reader (see Exercise ) to think about why we eschew vertical lines in our discussion here, and begin with a functional description of horizontal lines.

Consider the horizontal lines graphed in the x y -plane as shown below. The Vertical Line Test, Theorem 1.1, tells us that each describes y as a function of x so the question becomes how to represent these functions algebraically. The key here is to remember that the equation relating the independent variable x , the dependent variable y , and the function f is given by y = f ( x ) .

Coordinate-plane figure.
Figure 1.59 y = 3
Coordinate-plane figure.
Figure 1.60 y = 2
Coordinate-plane figure.
Figure 1.61 y = 0

In the graph on the left, y always equals 3 so we have f ( x ) = 3 . Procedurally, ` f ( x ) = 3 ' says that the rule f takes the input x , and, regardless of that input, gives the output 3 . This is an example of what is called a constant function - a function which returns the same value regardless of the input. Likewise, the function represented by the graph in the middle is f ( x ) = 2 , and the graph on the right (the x -axis) is the graph of f ( x ) = 0 . In general, we have the following definition:

Some remarks about Definition 1.4 are in order. First, note that we are using ` x ' as the independent variable, ` f ' as the function name, and the letter ` b ' as a parameter. In this context, a parameter is a fixed, but arbitrary, constant used to describe a family of functions. Different values of b determine different constant functions. For example, b = 3 gives f ( x ) = 3 , b = 2 gives f ( x ) = 2 , and so on. Once b is chosen, however, it does not change as the independent variable, x , changes.

Also note that we are using the generic defaults for function names and independent variables, namely f and x , respectively. The functions G ( t ) = π and Z ( ρ ) = 0 are also fine examples of constant functions. Recall that inherent in the definition of a function is the notion of domain, so we record (as part of the definition) that a constant function has domain ( , ) . The range of a constant function is the set { b } . The value b in this case is both the maximum and minimum of f , attained at each value in its domain.1

The next example showcases an application of constant functions and introduces the notion of a piecewise-defined function.

One of the favorite piecewise-defined functions in mathematical circles is the greatest integer of x , denoted by x . In Section we defined the set of integers as = { , 3 , 2 , 1 , 0 , 1 , 2 , 3 , } .4 The value x is defined to be the largest integer k with k x . That is, x is the unique integer k such that k x < k + 1 . Said differently, given any real number x , if x is an integer, then x = x . If not, then x lies in an interval between two integers, k and k + 1 and we choose x = k , the left endpoint.

Linear Functions

Now that we've discussed the functions which correspond to horizontal lines, y = b , we move to discussing the functions which can be represented by lines of the form y = m x + b where m 0 . These functions are called linear functions and are described below.

As with Definition 1.4, in Definition 1.5, x is the independent variable, f is the function name, and both m and b are parameters. Notice that m is restricted by m 0 for if m = 0 then the function f ( x ) = m x + b would reduce to the constant function f ( x ) = b . The domain of linear functions, like that of constant functions, is specified as ( , )

Recall6 that the form of the line y = m x + b is called the slope-intercept form of the line and the slope, m , and the y -intercept ( 0 , b ) , are easily determined when the line is written this way. Likewise, the form of the function in Definition 1.5, f ( x ) = m x + b , is often called the slope-intercept form of a linear function.

The graph of a linear function is the graph of the line y = m x + b . Lines are uniquely determined by two points, and two points of geometric interest are the axis intercepts. We've already reminded you of the y -intercept, ( 0 , b ) , which is obtained by setting x = 0 . Similarly, to find the x -intercept, we set y = 0 and solve m x + b = 0 for x . We leave this to the reader in Exercise. In addition to having special graphical significance, axis intercepts quite often play important roles in applications involving both linear and non-linear functions. For that reason, we take the time to define them here using function notation.

As is customary in this text, Definition 1.6 uses the default independent variable x , function name f , and dependent variable y , so these letters will change depending on the context. Also note that the `zeros' of a function are the solutions to f ( x ) = 0 - so they are real numbers. The x -intercepts are, on the other hand, points on the graph. As a quick example, consider f ( x ) = x 3 . The zeros of f are found by solving f ( x ) = 0 , or x 3 = 0 . We get one solution, x = 3 . Therefore, x = 3 is the zero of f that corresponds graphically to the x -intercept ( 3 , 0 ) .

We now turn our attention to slope. The role of slope, or more generally a `rate of change', in Science and Mathematics cannot be overstated.7 As you may recall, or quickly read about on page A.3, the slope of a line that has been graphed in the x y -plane is defined geometrically as follows:

m = rise run = Δ y Δ x ,

where the capital Greek letter ` Δ ' denotes `change in.'8 In this course, it is vital that we regard the slope of a linear function as a rate of change of function outputs to function inputs. That is, given the graph of a linear function y = f ( x ) = m x + b :

m = rise run = Δ y Δ x = Δ [ f ( x ) ] Δ x = Δ outputs Δ inputs .

What is important to note here is that for linear functions, the rate of change m is constant for all values in the domain.9 We'll see the importance of this statement in the upcoming examples.

Geometrically, the sign of the slope has a profound impact on the graph of the line. Recall that if the slope m > 0 , the line rises as we read from left to right; if m < 0 , the line falls as we read from left to right; if m = 0 , we have a horizontal line and the graph plateaus. We define these notions more precisely for general functions in the following definition.

Again, as with Definition 1.6, Definition 1.7 applies to any function, not just linear and constant functions. Also, note that, like Definition 1.3, Definition 1.7 blurs the line between the function, f , and its outputs, f ( x ) , because the verbiage ` f is increasing' is really a statement about the outputs, f ( x ) . Finally, when we ask `where' a function is increasing, decreasing or constant, we are looking for an interval of inputs. We'll have more to say about this in later sections, but for now, we summarize these ideas graphically below.

Figure: `increasing',
Figure 1.64 `increasing', m > 0
Figure: `decreasing',
Figure 1.65 `decreasing', m < 0
Figure: `constant',
Figure 1.66 `constant', m = 0

From the graphs above, we see that regardless if m > 0 or m < 0 , the range of linear functions is ( , ) . Therefore, linear functions have no maximum or minimum.10

A couple of remarks about Example 1.2.3 are in order. First, if x represents the number of PortaBoy game systems being produced, then x can really only take on whole number values. We will revisit this scenario in Section 1.4 where we will see how the approach presented here allows us to use more elegant techniques when analyzing the situation than a discrete data set would allow.13

Second, once we know that the variable cost is $ 80 per PortaBoy, we can revisit a computation we did earlier in the example. We computed C ( 185 ) = 14950 and needed to compute C ( 186 ) . With 186 being just one more PortaBoy than 185 , we can use the variable cost to get

C ( 186 ) = C ( 185 ) + 80 ( 1 ) = 14950 + 80 = 15030 ,

which agrees with our earlier computation.14 If we wanted to find C ( 300 ) , we could do something similar. Using 300 185 = 115 , we can find C ( 300 ) as follows:

C ( 300 ) = C ( 185 ) + 80 ( 115 ) = 14950 + 9200 = 24150 .

In general, we could rewrite C ( x ) = C ( 185 ) + 80 ( x 185 ) . This same reasoning shows that for any x 0 in the domain of C , we have C ( x ) = C ( x 0 ) + 80 ( x x 0 ) - a fact we invite the reader to verify.15

Indeed, the computations above are at the heart of what it means to be a linear function: linear functions change at a constant rate known as the slope. To better see this algebraically, recall that given a point ( x 0 , y 0 ) on a line along with the slope, m , the point-slope form of the line is: y y 0 = m ( x x 0 ) .16 Rewriting, we get y = y 0 + m ( x x 0 ) and setting y = f ( x ) and y 0 = f ( x 0 ) yields:

A few remarks are in order. First note that if the point ( x 0 , f ( x 0 ) ) is the y -intercept ( 0 , b ) , Equation 1.1 immediately reduces to the slope-intercept form of the line: f ( x ) = f ( x 0 ) + m ( x x 0 ) = b + m ( x 0 ) = m x + b , so you can use Equation 1.1 exclusively from this point forward.17

Second, if we write Δ x = x x 0 , then x = x 0 + Δ x so we can rewrite Equation 1.1 as follows:

f ( x 0 + Δ x ) = f ( x 0 ) + m Δ x ( new output ) = ( known output ) + ( change in outputs )

In other words, changing the input by Δ x results in changing the output by m Δ x . This tracks since

m Δ x = Δ [ f ( x ) ] Δ x Δ x = Δ [ f ( x ) ] = Δ outputs .

The fact that we can write Δ outputs = m Δ x for any choice of x 0 is another way to see that for linear functions, the rate of change is constant. That is, the rate of change, m , is the same for all values x 0 in the domain. We'll put Equation 1.1 to good use in the next example.

The function p in Example 1.2.4 is called the price-demand function (or, sometimes called more simply a `demand function') because it returns the price p ( x ) associated with a certain demand x - that is, how many products will sell.21 These functions, along with cost functions like the one in Example 1.2.3, will be revisited in Example 1.4.3.

Our next two examples focus on writing formulas for piecewise-defined functions, the second of which models a real-world situation.

Linear Regression

We have demonstrated in this section that constant, linear, and piecewise combinations of these two function types can be used to model a variety of phenomena inspired by real-world situations. What happens, as if often the case in real-world situations, when we are given data sets that are not precisely linear, but still have a definite linear trend? An example of this is Skippy's time and temperature data from Example 1.1.1 in Section 1.1.

In that example, t represented the time (number of hours after 6 a.m.) and T represented the outdoor temperature in degrees Fahrenheit. The data Skippy collected along with a plot of the function T = f ( t ) are given below. Even though the data points as t varies from t = 0 to t = 8 do not all lie on the same line - a fact we could prove analytically by checking slopes - there does appear to be a linear trend evident. The same can be said for the data as t varies from t = 8 to t = 12 . As we'll see, there are statistical methods which can produce linear functions that are in some sense `closest' to all of the data, and they are represented below by the dashed lines below on the right.

t : hours after 6 a.m. T : temperature  F 0 64 2 67 4 75 6 80 8 83 10 83 12 82

Figure: The graph of .
Figure 1.72 The graph of T = f ( t ) .

How do we measure how `close' a set of points is to a given line? Let's leave Skippy's data for the moment and focus on a smaller data set. Suppose we collected three data points: { ( 1 , 0.5 ) , ( 3 , 2 ) , ( 4 , 3 ) } . At the top of the next page (on the left) we plot these points along with the line y = 0.5 x + 0.5 . The way we measure how close the line is to these points is by computing the total squared (vertical) error between the data points and the line as follows. For each of our data points, we find the vertical distance between the point and the line. To accomplish this, we need to find a point on the line directly above or below each data point. In other words, we need a point on the line with the same x -coordinate as our data point.

For example, to find the point on the line directly above ( 1 , 0.5 ) , we plug x = 1 into y = 0.5 x + 0.5 and we get the point ( 1 , 1 ) . Similarly, we find ( 3 , 2 ) is on the line already and ( 4 , 2.5 ) is the point on the line directly beneath ( 4 , 3 ) . We find the total squared error E by taking the sum of the squares of the differences of the y -coordinates of each data point and its corresponding point on the line. For the data and line in this discussion E = ( 0.5 1 ) 2 + ( 2 2 ) 2 + ( 3 2.5 ) 2 = 0.5 .

Using advanced mathematical machinery,24 it is possible to find the line which results in the lowest value of E . This line is called the least squares regression line, or sometimes the `line of best fit'. The formula for the line of best fit requires notation we won't present until Chapter 10, so we will revisit it then. Most graphing utilities have a built-in regression feature, so at this point we turn the computations over to the technology. A screenshot from desmos is given on the right at the top of the next page.

Coordinate-plane figure.
Figure 1.73
Image: ThreePointRegression
Figure 1.74

Our graphing utility produces the model25 y = m x + b where the slope is m 0.821 and the y -coordinate of the y -intercept is b 0.357 . The value r is the correlation coefficient and is a measure of how close the data is to being on the same line. The closer | r | is to 1 , the better the linear fit.26 Having r 0.997 tells us that the points have a strong, positive correlation - that is, they are very close to being on a line with a positive slope, namely y = 0.821 x 0.357 . Indeed, the total squared error between our data set and this line is E 0.018 . The mathematics tells us that this is the smallest we can get E by modifying the parameters m and b , even though none of the data points actually lie on the line.

Now that we have this new mathematical machinery, let's revisit Skippy's time and temperature data.

Examples 1.2.3, 1.2.4 and 1.2.7 (among others) represent three different levels of mathematical modeling. In Example 1.2.3, the mathematical model (the cost function) was provided and our task was to use the model to interpret the mathematics in that context. In Example 1.2.4, we were given a minimal amount of information, namely, two data points, and then asked to construct a model which fit those data exactly. Lastly, in Example 1.2.7, we were given several data points and we used statistical methods to construct a best fit model to the data.

The validity of the models rests on the validity of the underlying assumptions used to create the models. For instance, is there any reason to assume a price-demand function would be linear? Is it reasonable to assume that the temperature changes at a constant rate? These are questions for economists and scientists. Mathematicians often take on a role of equal parts translator and prophet: they codify ideas into formulas and then use them to make predictions about yet-to-be observed phenomena.

The Average Rate of Change of a Function

As mentioned earlier in the section, the concepts of slope and the more general rates of change are important concepts not just in Mathematics, but also in other fields. Many important phenomena are modeled using non-linear functions, and while the rates of change of these functions are not constant, we can sample the function at two points and compute what is known as an average rate of change between them to give some sense as to the function's behavior over that interval.29

Image: SecantLine
Figure 1.77

The graph of a function f along with the secant line through the points ( a , f ( a ) ) and ( b , f ( b ) ) .

As with Definitions 1.3 and 1.7, the wording in Definition 1.8, while referring to the function f , is really making a statement about its outputs f ( x ) .

If f is increasing over [ a , b ] , then the average rate of change will be positive. Likewise, if f is decreasing or constant, the average rate of change will be negative or 0 , respectively. (Think about this for a moment.) However, as the next example demonstrates, the converses of these statements aren't always true.31

An important lesson from the last example is that average rates of change give us a snapshot of what is happening at the endpoints of an interval, but not necessarily what happens over the course of the interval. Calculus gives us tools to compute slopes at points which correspond to instantaneous rates of changes. While we don't quite have the machinery to properly express these ideas, we can hint at them in the Exercises. Speaking of exercises …

Exercises

In Exercises -, graph the function. Find the slope and axis intercepts, if any.

  1. f ( x ) = 2 x 1
  2. g ( t ) = 3 t
  3. F ( w ) = 3
  4. G ( s ) = 0
  5. h ( t ) = 2 3 t + 1 3
  6. j ( w ) = 1 w 2

In Exercises -, graph the function. Find the domain, range, and axis intercepts, if any.

  1. f ( x ) = { 4 x  if  x 3 2  if  x > 3
  2. g ( x ) = { 2 x  if  x < 2 x 2  if  x 2
  3. F ( t ) = { 2 t 4  if  t < 0 3 t  if  t 0
  4. G ( t ) = { 3  if  t < 0 2 t 3  if  0 < t < 3 3  if  t > 3
  5. The unit step function is defined as U ( t ) = { 0 if  t < 0 1 if  t 0 .

    1. Graph y = U ( t ) .
    2. State the domain and range of U .
    3. List the interval(s) over which U is increasing, decreasing, and/or constant.
    4. Write U ( t 2 ) as a piecewise defined function and graph.

In Exercises -, find a formula for the function.

  1. Coordinate-plane figure.
    Figure 1.81 y = f ( x )
  2. Coordinate-plane figure.
    Figure 1.82 s = F ( t )
  3. Coordinate-plane figure.
    Figure 1.83 y = L ( x )
  4. Coordinate-plane figure.
    Figure 1.84 w = g ( v )
  5. For n copies of the book Me and my Sasquatch, a print on-demand company charges C ( n ) dollars, where C ( n ) is determined by the formula

    C ( n ) = { 15 n  if  1 n 25 13.50 n  if  25 < n 50 12 n  if  n > 50

    1. Find and interpret C ( 20 ) .
    2. How much does it cost to order 50 copies of the book? What about 51 copies?
    3. Your answer to should get you thinking. Suppose a bookstore estimates it will sell 50 copies of the book. How many books can, in fact, be ordered for the same price as those 50 copies? (Round your answer to a whole number of books.)
  6. An on-line comic book retailer charges shipping costs according to the following formula

    S ( n ) = { 1.5 n + 2.5  if  1 n 14 0  if  n 15

    where n is the number of comic books purchased and S ( n ) is the shipping cost in dollars.

    1. What is the cost to ship 10 comic books?
    2. What is the significance of the formula S ( n ) = 0 for n 15 ?
  7. The cost in dollars C ( m ) to talk m minutes a month on a mobile phone plan is modeled by

    C ( m ) = { 25  if  0 m 1000 25 + 0.1 ( m 1000 )  if  m > 1000

    1. How much does it cost to talk 750 minutes per month with this plan?
    2. How much does it cost to talk 20 hours a month with this plan?
    3. Explain the terms of the plan verbally.
  8. Jeff can walk comfortably at 3 miles per hour. Find an expression for a linear function d ( t ) that represents the total distance Jeff can walk in t hours, assuming he doesn't take any breaks.
  9. Carl can stuff 6 envelopes per minute. Find an expression for a linear function E ( t ) that represents the total number of envelopes Carl can stuff after t hours, assuming he doesn't take any breaks.
  10. A landscaping company charges $ 45 per cubic yard of mulch plus a delivery charge of $ 20 . Find an expression for a linear function C ( x ) which computes the total cost in dollars to deliver x cubic yards of mulch.
  11. A plumber charges $ 50 for a service call plus $ 80 per hour. If she spends no longer than 8 hours a day at any one site, find an expression for a linear function C ( t ) that computes her total daily charges in dollars as a function of the amount of time spent in hours, t at any one given location.
  12. A salesperson is paid $200 per week plus 5% commission on her weekly sales of x dollars. Find an expression for a linear function W ( x ) which computes her total weekly pay in dollars as a function of x . What must her weekly sales be in order for her to earn $475.00 for the week?
  13. An on-demand publisher charges $ 22.50 to print a 600 page book and $ 15.50 to print a 400 page book. Find an expression for a linear function which models the cost of a book in dollars C ( p ) as a function of the number of pages p . Find and interpret both the slope of the linear function and C ( 0 ) .
  14. The Topology Taxi Company charges $ 2.50 for the first fifth of a mile and $ 0.45 for each additional fifth of a mile. Find an expression for a linear function which models the taxi fare F ( m ) as a function of the number of miles driven, m . Find and interpret both the slope of the linear function and F ( 0 ) .
  15. Water freezes at 0 Celsius and 32 Fahrenheit and it boils at 100 C and 212 F.

    1. Find an expression for a linear function F ( T ) that computes temperature in the Fahrenheit scale as a function of the temperature T given in degrees Celsius. Use this function to convert 20 C into Fahrenheit.
    2. Find an expression for a linear function C ( T ) that computes temperature in the Celsius scale as a function of the temperature T given in degrees Fahrenheit. Use this function to convert 110 F into Celsius.
    3. Is there a temperature T such that F ( T ) = C ( T ) ?
  16. Legend has it that a bull Sasquatch in rut will howl approximately 9 times per hour when it is 40 F outside and only 5 times per hour if it's 70 F . Assuming that the number of howls per hour, N , can be represented by a linear function of temperature Fahrenheit, find the number of howls per hour he'll make when it's only 20 F outside. What troubles do you encounter when trying to determine a reasonable applied domain?
  17. Economic forces have changed the cost function for PortaBoys to C ( x ) = 105 x + 175 . Rework Example 1.2.3 with this new cost function.
  18. In response to the economic forces in Exercise above, the local retailer sets the selling price of a PortaBoy at $250. Remarkably, 30 units were sold each week. When the systems went on sale for $220, 40 units per week were sold. Rework Example 1.2.4 with this new data.
  19. A local pizza store offers medium two-topping pizzas delivered for $ 6.00 per pizza plus a $ 1.50 delivery charge per order. On weekends, the store runs a `game day' special: if six or more medium two-topping pizzas are ordered, they are $ 5.50 each with no delivery charge. Write a piecewise-defined linear function which calculates the cost in dollars C ( p ) of p medium two-topping pizzas delivered during a weekend.
  20. A restaurant offers a buffet which costs $ 15 per person. For parties of 10 or more people, a group discount applies, and the cost is $ 12.50 per person. Write a piecewise-defined linear function which calculates the total bill T ( n ) of a party of n people who all choose the buffet.
  21. A mobile plan charges a base monthly rate of $ 10 for the first 500 minutes of air time plus a charge of 15 ¢ for each additional minute. Write a piecewise-defined linear function which calculates the monthly cost in dollars C ( m ) for using m minutes of air time.

    HINT: You may wish to refer to number for inspiration.

  22. The local pet shop charges 12 ¢ per cricket up to 100 crickets, and 10 ¢ per cricket thereafter. Write a piecewise-defined linear function which calculates the price in dollars P ( c ) of purchasing c crickets.
  23. The cross-section of a swimming pool is below. Write a piecewise-defined linear function which describes the depth of the pool, D (in feet) as a function of:

    1. the distance (in feet) from the edge of the shallow end of the pool, d .
    2. the distance (in feet) from the edge of the deep end of the pool, s .
    3. Graph each of the functions in (a) and (b). Discuss with your classmates how to transform one into the other and how they relate to the diagram of the pool.
    Coordinate-plane figure.
    Figure 1.85
  24. The function defined by I ( x ) = x is called the Identity Function. Thinking from a procedural perspective, explain a possible origin of this name.
  25. Why must the graph of a function y = f ( x ) have at most one y -intercept?

    HINT: Consider what would happen graphically if there were more than one …

  26. Why is a discussion of vertical lines omitted when discussing functions?
  27. Find a formula for the x -intercept of the graph of f ( x ) = m x + b . Assume m 0 .
  28. Suppose ( c , 0 ) is the x -intercept of a linear function f . Use the point-slope form of a liner function, Equation 1.1 to show f ( x ) = m ( x c ) . This is the `slope x -intercept' form of the linear function.
  29. Prove that for all linear functions L with with slope 3 , L ( 120 ) = L ( 100 ) + 60 .
  30. Find the slopes between the following points from the data set given in Example 1.2.7 and compare them with the slope of the corresponding regression line:

    1. ( 0 , 64 ) , ( 4 , 75 )
    2. ( 4 , 75 ) , ( 8 , 83 )
    3. ( 8 , 83 ) , ( 10 , 83 )
    4. ( 10 , 83 ) , ( 12 , 82 )
  31. According to this website 32, the census data for Lake County, Ohio is:

    Table 1.1
    Year 1970 1980 1990 2000
    Population 197200 212801 215499 227511
    1. Find the least squares regression line for these data and comment on the goodness of fit.33 Interpret the slope of the line of best fit.
    2. Use the regression line to predict the population of Lake County in 2010. (The recorded figure from the 2010 census is 230 , 041 )
    3. Use the regression line to predict when the population of Lake County will reach 250 , 000 .
  32. According to this website 34, the census data for Lorain County, Ohio is:

    Table 1.2
    Year 1970 1980 1990 2000
    Population 256843 274909 271126 284664
    1. Find the least squares regression line for these data and comment on the goodness of fit. Interpret the slope of the line of best fit.
    2. Use the regression line to predict the population of Lorain County in 2010. (The recorded figure from the 2010 census is 301 , 356 )
    3. Use the regression line to predict when the population of Lake County will reach 325 , 000 .
  33. The chart below contains a portion of the fuel consumption information for a 2002 Toyota Echo that Jeffrey used to own. The first row is the cumulative number of gallons of gasoline that I had used and the second row is the odometer reading when I refilled the gas tank. So, for example, the fourth entry is the point (28.25, 1051) which says that I had used a total of 28.25 gallons of gasoline when the odometer read 1051 miles.

    Table 1.3
    Gasoline Used
    (Gallons) 0 9.26 19.03 28.25 36.45 44.64 53.57 62.62 71.93 81.69 90.43
    Odometer
    (Miles) 41 356 731 1051 1347 1631 1966 2310 2670 3030 3371

    Find the least squares line for this data. Is it a good fit? What does the slope of the line represent? Do you and your classmates believe this model would have held for ten years had I not crashed the car on the Turnpike a few years ago?

  34. Using the energy production data given below

    Table 1.4
    Year 1950 1960 1970 1980 1990 2000
    Production
    (in Quads) 35.6 42.8 63.5 67.2 70.7 71.2
    1. Plot the data using a graphing utility and explain why it does not appear to be linear.
    2. Discuss with your classmates why ignoring the first two data points may be justified from a historical perspective.
    3. Find the least squares regression line for the last four data points and comment on the goodness of fit. Interpret the slope of the line of best fit.
    4. Use the regression line to predict the annual US energy production in the year 2010 .
    5. Use the regression line to predict when the annual US energy production will reach 100 Quads.

In Exercises -, compute the average rate of change of the function over the specified interval.

  1. f ( x ) = x 3 , [ 1 , 2 ]
  2. g ( x ) = 1 x , [ 1 , 5 ]
  3. f ( t ) = t , [ 0 , 16 ]
  4. g ( t ) = x 2 , [ 3 , 3 ]
  5. F ( s ) = s + 4 s 3 , [ 5 , 7 ]
  6. G ( s ) = 3 s 2 + 2 s 7 , [ 4 , 2 ]
  7. The height of an object dropped from the roof of a building is modeled by: h ( t ) = 16 t 2 + 64 , for 0 t 2 . Here, h ( t ) is the height of the object off the ground in feet t seconds after the object is dropped. Find and interpret the average rate of change of h over the interval [ 0 , 2 ] .
  8. Using data from Bureau of Transportation Statistics , the average fuel economy F ( t ) in miles per gallon for passenger cars in the US can be modeled by F ( t ) = 0.0076 t 2 + 0.45 t + 16 , 0 t 28 , where t is the number of years since 1980 . Find and interpret the average rate of change of F over the interval [ 0 , 28 ] .
  9. The temperature T ( t ) in degrees Fahrenheit t hours after 6 AM is given by:

    T ( t ) = 1 2 t 2 + 8 t + 32 , 0 t 12

    1. Find and interpret T ( 4 ) , T ( 8 ) and T ( 12 ) .
    2. Find and interpret the average rate of change of T over the interval [ 4 , 8 ] .
    3. Find and interpret the average rate of change of T from t = 8 to t = 12 .
    4. Find and interpret the average rate of temperature change between 10 AM and 6 PM.
  10. Suppose C ( x ) = x 2 10 x + 27 represents the costs, in hundreds, to produce x thousand pens. Find and interpret the average rate of change as production is increased from making 3000 to 5000 pens.
  11. Recall from Example 1.2.8 The formula s ( t ) = 5 t 2 + 100 t for 0 t 20 gives the height, s ( t ) , measured in feet, of a model rocket above the Moon's surface as a function of the time after lift-off, t , in seconds.

    1. Find and interpret the average rate of change of s over the following intervals:

      1. [ 14.9 , 15 ]
      2. [ 15 , 15.1 ]
      3. [ 14.99 , 15 ]
      4. [ 15 , 15.01 ]
    2. What value does the average rate of change appear to be approaching as the interval shrinks closer to the value t = 15 ?
    3. Find the equation of the line containing ( 15 , 375 ) with slope m = 50 and graph it along with s on the same set of axes using a graphing utility. What happens as you zoom in near ( 15 , 375 ) ?
  12. Show the average rate of change of a function of the form f ( x ) = m x + b over any interval is m .
  13. Why doesn't the graph of the vertical line x = b in the x y -plane represent y as a function of x ?
  14. With help from a graphing utility, graph the following pairs of functions on the same set of axes:35

    • f ( x ) = 2 x and g ( x ) = 2 x
    • f ( x ) = x 2 4 and g ( x ) = x 2 4
    • f ( x ) = x 3 and g ( x ) = x 3
    • f ( x ) = x 4 and g ( x ) = x 4

    Choose more functions f ( x ) and graph y = f ( x ) alongside y = f ( x ) until you can explain how, in general, one would obtain the graph of y = f ( x ) given the graph of y = f ( x ) .

  15. The Lagrange Interpolate function L for two points ( x 0 , y 0 ) and ( x 1 , y 1 ) where x 0 x 1 is given by:

    L ( x ) = y 0 x x 1 x 0 x 1 + y 1 x x 0 x 1 x 0

    1. For each of the following pairs of points, find L ( x ) using the formula above and verify each of the points lies on the graph of y = L ( x ) .

      1. ( 1 , 3 ) , ( 2 , 3 )
      2. ( 3 , 2 ) , ( 5 , 2 )
      3. ( 3 , 2 ) , ( 0 , 1 )
      4. ( 1 , 5 ) , ( 2 , 1 )
    2. Verify that, in general, L ( x 0 ) = y 0 and L ( x 1 ) = y 1 .
    3. Show the point-slope form of a linear function, Equation 1.1 is equivalent to the formula given for L ( x ) after making the identifications: f ( x 0 ) = y 0 and m = y 1 y 0 x 1 x 0 .

Answers

  1. f ( x ) = 2 x 1

    slope: m = 2

    y -intercept: ( 0 , 1 )

    x -intercept: ( 1 2 , 0 )

    Coordinate-plane figure.
    Figure 1.86
  2. g ( t ) = 3 t

    slope: m = 1

    y -intercept: ( 0 , 3 )

    t -intercept: ( 3 , 0 )

    Coordinate-plane figure.
    Figure 1.87
  3. F ( w ) = 3

    slope: m = 0

    y -intercept: ( 0 , 3 )

    w -intercept: none

    Coordinate-plane figure.
    Figure 1.88
  4. G ( s ) = 0

    slope: m = 0

    y -intercept: ( 0 , 0 )

    s -intercept: { ( s , 0 ) | s  is a real number }

    Coordinate-plane figure.
    Figure 1.89
  5. h ( t ) = 2 3 x + 1 3

    slope: m = 2 3

    y -intercept: ( 0 , 1 3 )

    t -intercept: ( 1 2 , 0 )

    Coordinate-plane figure.
    Figure 1.90
  6. j ( w ) = 1 w 2

    slope: m = 1 2

    y -intercept: ( 0 , 1 2 )

    w -intercept: ( 1 , 0 )

    Coordinate-plane figure.
    Figure 1.91
  7. domain: ( , )

    range: [ 1 , )

    y -intercept: ( 0 , 4 )

    x -intercept: none

    Coordinate-plane figure.
    Figure 1.92
  8. domain: ( , )

    range: [ 0 , )

    y -intercept: ( 0 , 2 )

    x -intercept: ( 2 , 0 )

    Coordinate-plane figure.
    Figure 1.93
  9. domain: ( , )

    range: ( 4 , )

    y -intercept: ( 0 , 0 )

    t -intercepts: ( 2 , 0 ) , ( 0 , 0 )

    Coordinate-plane figure.
    Figure 1.94
  10. domain: ( , )

    range: [ 3 , 3 ]

    y -intercept: ( 0 , 3 )

    t -intercept: ( 3 2 , 0 ) = ( 1.5 , 0 )

    Coordinate-plane figure.
    Figure 1.95
    1. Coordinate-plane figure.
      Figure 1.96 y = U ( t )
    2. domain: ( , ) , range: { 0 , 1 }
    3. U is constant on ( , 0 ) and [ 0 , ) .
    4. U ( t 2 ) = { 0 if  t < 2 1 if  t 2 .

      Coordinate-plane figure.
      Figure 1.97 y = U ( t 2 )
  11. f ( x ) = 3
  12. F ( t ) = { 2 if  t 1 3 if  1 < t 3 , 4 if  t > 3 .
  13. L ( x ) = 3 5 x + 1
  14. g ( v ) = { 3 v + 5 if  3 v < 1 2 if  1 < v 3 ,
    1. C ( 20 ) = 300 . It costs $ 300 for 20 copies of the book.
    2. C ( 50 ) = 675 , $ 675 . C ( 51 ) = 612 , $ 612 .
    3. 56 books.
    1. S ( 10 ) = 17.5 , $ 17.50 .
    2. There is free shipping on orders of 15 or more comic books.
    1. C ( 750 ) = 25 , $ 25 .
    2. C ( 1200 ) = 45 , $ 45 .
    3. It costs $ 25 for up to 1000 minutes and 10 cents per minute for each minute over 1000 minutes.
  15. d ( t ) = 3 t , t 0 .
  16. E ( t ) = 360 t , t 0 .
  17. C ( x ) = 45 x + 20 , x 0 .
  18. C ( t ) = 80 t + 50 , 0 t 8 .
  19. W ( x ) = 200 + .05 x , x 0 She must make $5500 in weekly sales.
  20. C ( p ) = 0.035 p + 1.5 The slope 0.035 means it costs 3.5 ¢ per page. C ( 0 ) = 1.5 means there is a fixed, or start-up, cost of $ 1.50 to make each book.
  21. F ( m ) = 2.25 m + 2.05 The slope 2.25 means it costs an additional $ 2.25 for each mile beyond the first 0.2 miles. F ( 0 ) = 2.05 , so according to the model, it would cost $ 2.05 for a trip of 0 miles. Would this ever really happen? Depends on the driver and the passenger, we suppose.
    1. F ( T ) = 9 5 T + 32
    2. C ( T ) = 5 9 ( T 32 ) = 5 9 T 160 9
    1. F ( 40 ) = 40 = C ( 40 ) .
  22. N ( T ) = 2 15 T + 43 3 and N ( 20 ) = 35 3 12 howls per hour.

    Having a negative number of howls makes no sense and since N ( 107.5 ) = 0 we can put an upper bound of 107.5 F on the domain. The lower bound is trickier because there's nothing other than common sense to go on. As it gets colder, he howls more often. At some point it will either be so cold that he freezes to death or he's howling non-stop. So we're going to say that he can withstand temperatures no lower than 42 F so that the applied domain is [ 42 , 107.5 ] .

    1. C ( 0 ) = 175 , so our start-up costs are $ 175 . C ( 5 ) = 700 , so to produce 5 systems, it costs $ 700 .

      Coordinate-plane figure.
      Figure 1.98 y = C ( x )
    2. Since we can't make a negative number of game systems, x 0 .
    3. The slope is m = 105 so for each additional system produced, it costs an additional $ 105 .
    4. Solving C ( x ) = 15000 gives x 141.19 so 141 can be produced for $ 15 , 000 .
    1. p ( x ) = 3 x + 340 , 0 x 113 .

      Coordinate-plane figure.
      Figure 1.99 y = p ( x )
    2. The slope is m = 3 so for each $ 3 drop in price, we sell one additional game system.
    3. Since x = 150 is not in the domain of p , p ( 150 ) is not defined. (In other words, under these conditions, it is impossible to sell 150 game systems.)
    4. Solving p ( x ) = 150 gives x 63.33 so if the price $ 150 per system, we would sell 63 systems.
  23. C ( p ) = { 6 p + 1.5  if  1 p 5 5.5 p  if  p 6
  24. T ( n ) = { 15 n  if  1 n 9 12.5 n  if  n 10
  25. C ( m ) = { 10  if  0 m 500 10 + 0.15 ( m 500 )  if  m > 500
  26. P ( c ) = { 0.12 c  if  1 c 100 12 + 0.1 ( c 100 )  if  c > 100
    1. D ( d ) = { 8  if  0 d 15 1 2 d + 31 2  if  15 d 27 2  if  27 d 37

    2. D ( s ) = { 2  if  0 s 10 1 2 s 3  if  10 s 22 8  if  22 s 37

    3. Coordinate-plane figure.
      Figure 1.100 y = D ( d )
      Coordinate-plane figure.
      Figure 1.101 y = D ( s )
  27. Since I ( x ) = x for all real numbers x , the function I doesn't change the `identity' of the input at all.
  28. If a graph contains more than one y -intercept, it would violate the Vertical Line Test since x = 0 would be matched with (at least) two different y -values.
  29. Vertical Lines fail the Vertical Line Test.
  30. ( b m , 0 ) . (Note the importance here of m 0 .)
  31. Plugging in ( c , 0 ) for ( x 0 , f ( x 0 ) ) , we get f ( x ) = f ( x 0 ) + m ( x x 0 ) = 0 + m ( x c ) or f ( x ) = m ( x c ) .
  32. Since L is linear with slope 3 , L ( x ) = L ( x 0 ) + m Δ x = L ( 100 ) + ( 3 ) ( 120 100 ) = L ( 100 ) + 60 .
    1. m = 75 64 4 0 = 2.75
    2. m = 83 75 8 4 = 2
    1. m = 83 83 10 8 = 0
    2. m = 82 83 12 10 = 0.5

    The first two points contributed to a regression line slope of m = 2.55 ; the last two points contributed to a regression line slope of m = 0.25 .

    1. y = 936.31 x 1645322.6 with r = 0.9696 which indicates a good fit. The slope 936.31 indicates Lake County's population is increasing at a rate of (approximately) 936 people per year.
    2. According to the model, the population in 2010 will be 236 , 660 .
    3. According to the model, the population of Lake County will reach 250 , 000 sometime between 2024 and 2025.
    1. y = 796.8 x 1309762.5 with r = 0.8916 which indicates a reasonable fit. The slope 796.8 indicates Lorain County's population is increasing at a rate of (approximately) 797 people per year.
    2. According to the model, the population in 2010 will be 291 , 805 .
    3. According to the model, the population of Lake County will reach 325 , 000 sometime between 2051 and 2052.
  33. The regression line is y = 36.8 x + 16.39 with r = .99987 , so this is an excellent fit. The slope 36.8 represents mileage in miles per gallon.
    1. y = 0.266 x 459.86 with r = 0.9607 which indicates a good fit. The slope 0.266 indicates the country's energy production is increasing at a rate of 0.266 Quad per year.
    2. According to the model, the production in 2010 will be 74.8 Quad.
    3. According to the model, the production will reach 100 Quad in the year 2105.
  34. 2 3 ( 1 ) 3 2 ( 1 ) = 3
  35. 1 5 1 1 5 1 = 1 5
  36. 16 0 16 0 = 1 4
  37. 3 2 ( 3 ) 2 3 ( 3 ) = 0
  38. 7 + 4 7 3 5 + 4 5 3 7 5 = 7 8
  39. ( 3 ( 2 ) 2 + 2 ( 2 ) 7 ) ( 3 ( 4 ) 2 + 2 ( 4 ) 7 ) 2 ( 4 ) = 4
  40. The average rate of change is h ( 2 ) h ( 0 ) 2 0 = 32 . During the first two seconds after it is dropped, the object has fallen at an average rate of 32 feet per second.
  41. The average rate of change is F ( 28 ) F ( 0 ) 28 0 = 0.2372 . From 1980 to 2008, the average fuel economy of passenger cars in the US increased, on average, at a rate of 0.2372 miles per gallon per year.
    1. T ( 4 ) = 56 , so at 10 AM (4 hours after 6 AM), it is 56 F. T ( 8 ) = 64 , so at 2 PM (8 hours after 6 AM), it is 64 F. T ( 12 ) = 56 , so at 6 PM (12 hours after 6 AM), it is 56 F.
    2. The average rate of change is T ( 8 ) T ( 4 ) 8 4 = 2 . Between 10 AM and 2 PM, the temperature increases, on average, at a rate of 2 F per hour.
    3. The average rate of change is T ( 12 ) T ( 8 ) 12 8 = 2 . Between 2 PM and 6 PM, the temperature decreases, on average, at a rate of 2 F per hour.
    4. The average rate of change is T ( 12 ) T ( 4 ) 12 4 = 0 . Between 10 AM and 6 PM, the temperature, on average, remains constant.
  42. The average rate of change is C ( 5 ) C ( 3 ) 5 3 = 2 . As production is increased from 3000 to 5000 pens, the cost decreases at an average rate of $ 200 per 1000 pens produced (20¢ per pen.)
      1. 49.5 so the average velocity of the rocket between 14.9 and 15 seconds after lift off is 49.5 feet per second ( 49.5 feet per second directed downwards.)
      2. 50.5 so the average velocity of the rocket between 14 and 15.1 seconds after lift off is 50.5 feet per second. ( 50.5 feet per second directed downwards.)
      3. 49.95 so the average velocity of the rocket between 14.99 and 15 seconds after lift off is 49.95 feet per second. ( 49.95 feet per second directed downwards.)
      4. 50.05 so the average velocity of the rocket between 15.01 and 15 seconds after lift off is 50.05 feet per second. ( 50.05 feet per second directed downwards.)
    1. The average rate of change seem to be approaching 50 .
    2. Line: y = 50 ( t 15 ) + 375 or y = 50 t + 1125 . Graphing this line along with the s on a graphing utility we find the two graphs become indistinguishable as we zoom in near ( 15 , 375 ) .
      1. L ( x ) = 3
      2. L ( x ) = 2
      3. L ( x ) = x + 1
      4. L ( x ) = 2 x + 3

Adapted from Precalculus, Preliminary 4th Edition (integrated calculus), by Carl Stitz and Jeff Zeager (stitz-zeager.com), licensed under CC BY-NC-SA 3.0. Changes were made: reformatted as an accessible XYZ web edition. License: CC-BY-NC-SA-3.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.