Login
📚 Modeling, Functions, and Graphs
Chapters ▾

2.4 Functions as Mathematical Models

The Shape of the Graph

Creating a good model for a situation often begins with deciding what kind of function to use. An appropriate model can depend on very qualitative considerations, such as the general shape of the graph. What sort of function has the right shape to describe the process we want to model? Should it be increasing or decreasing, or some combination of both? Is the slope constant or is it changing?

In Examples Example and Example, we investigate how the shape of a graph illustrates the nature of the process it models.

Erin walks from her home to a convenience store, where she buys some cat food, and then walks back home. Sketch a possible graph of her distance from home as a function of time.

The graph of Erin's distance from home is

_____

A graph is also shown below.

Alternate graph:

piecewise graph

Erin walks from her home to a convenience store, where she buys some cat food, and then walks back home. Sketch a possible graph of her distance from home as a function of time.

piecewise graph

The graphs in Example are piecewise linear, because Forrest traveled at a constant rate in each segment. In addition to choosing a graph that is increasing, decreasing, or constant to model a process, we can consider graphs that bend upward or downward. The bend is called the concavity of the graph.

A graph that bends upward is called concave up, and one that bends down is concave down.

A graph whose slopes decrease for increasing x is called

_____

A graph whose slopes decrease for increasing x is called concave down.

A graph whose slopes decrease for increasing x is called

  1. increasing.
  2. decreasing.
  3. concave up.
  4. concave down.
decreasing graphs of opposite concavity

Francine bought a cup of cocoa at the cafeteria. The cocoa cooled off rapidly at first, and then gradually approached room temperature. Which graph more accurately reflects the temperature of the cocoa as a function of time? _____

Explain why. (Select all that apply.)

  • The graph has a steep negative slope at first, corresponding to an initial rapid drop in the temperature of the cocoa. _____
  • The graph becomes closer to a horizontal line, corresponding to the cocoa approaching room temperature._____
  • The graph has a slight negative slope at first, corresponding to an initial rapid drop in the temperature of the cocoa. _____
  • The graph becomes grows steeper and steeper, corresponding to the cocoa approaching room temperature. _____

Is the graph you chose concave up or concave down? _____

Graph (a): The graph has a steep negative slope at first, corresponding to an initial rapid drop in the temperature of the cocoa. The graph becomes closer to a horizontal line, corresponding to the cocoa approaching room temperature. The graph is concave up.

Francine bought a cup of cocoa at the cafeteria. The cocoa cooled off rapidly at first, and then gradually approached room temperature. Which graph more accurately reflects the temperature of the cocoa as a function of time? Explain why. Is the graph you chose concave up or concave down?

decreasing graphs of opposite concavity

Graph (a): The graph has a steep negative slope at first, corresponding to an initial rapid drop in the temperature of the cocoa. The graph becomes closer to a horizontal line, corresponding to the cocoa approaching room temperature. The graph is concave up.

How can you tell from a table of values whether a function is concave up or concave down?

_____

How can you tell from a table of values whether a function is concave up or concave down?

Using the Basic Functions as Models

In Section 1.5 we considered some situations that can be modeled by linear functions. In this section, we consider some situations that can be modeled by the other basic functions. Example illustrates an application of the function   f ( x ) = x .

Which graph is concave down wherever it is defined?

_____

The graph of y = x is concave down.

Which graph is concave down wherever it is defined?

  1. y = x 3
  2. y = 1 x
  3. y = x 3
  4. y = x

The ultraviolet index (UVI) is issued by the National Weather Service as a forecast of the amount of ultraviolet radiation expected to reach Earth around noon on a given day. The data show how much exposure to the sun people can take before risking sunburn.

UVI 2 3 4 5 6 8 10 12
Minutes to burn
(more sensitive)
30 20 15 12 10 7.5 6 5
Minutes to burn
(less sensitive)
150 100 75 60 50 37.5 30 25
  1. Plot m , the minutes to burn, against u , the UVI, to obtain two graphs, one for people who are more sensitive to sunburn, and another for people less sensitive to sunburn. Which of the basic functions do your graphs most resemble?
    _____
  2. For each graph, find a value of k so that m = k f ( u ) fits the data.
    More sensitive: k = _____
    Less sensitive: k = _____
  1. The graphs are shown below. The shapes of the graphs resemble f ( x ) = 1 x .
  2. More sensitive: k = 60 , Less sensitive: k = 300

The graphs for part (a):

two concave up decreasing curves

The ultraviolet index (UVI) is issued by the National Weather Service as a forecast of the amount of ultraviolet radiation expected to reach Earth around noon on a given day. The data show how much exposure to the sun people can take before risking sunburn.

UVI 2 3 4 5 6 8 10 12
Minutes to burn
(more sensitive)
30 20 15 12 10 7.5 6 5
Minutes to burn
(less sensitive)
150 100 75 60 50 37.5 30 25
  1. Plot m , the minutes to burn, against u , the UVI, to obtain two graphs, one for people who are more sensitive to sunburn, and another for people less sensitive to sunburn. Which of the basic functions do your graphs most resemble?
  2. For each graph, find a value of k so that m = k f ( u ) fits the data.
  1. two concave up decreasing curves

    The shapes of the graphs resemble   f ( x ) = 1 x .
  2. More sensitive: k = 60 , Less sensitive: k = 300

To decide which basic function might model a set of data, we can

_____

To decide which basic function might model a set of data, we can plot the data.

To decide which basic function might model a set of data, we can

  1. plot the data.
  2. look at the variables.
  3. choose scales for the axes.
  4. calculate the slope.

To decide which basic function might model a set of data, we can plot the data.

At this point, a word of caution is in order. There is more to choosing a model than finding a curve that fits the data. A model based purely on the data is called an empirical model. However, many functions have similar shapes over small intervals of their input variables, and there may be several candidates that model the data. Such a model simply describes the general shape of the data set; the parameters of the model do not necessarily correspond to any actual process.

In contrast, mechanistic models provide insight into the biological, chemical, or physical process that is thought to govern the phenomenon under study. Parameters derived from mechanistic models are quantitative estimates of real system properties. Here is what GraphPad Software has to say about modeling:

"Choosing a model is a scientific decision. You should base your choice on your understanding of chemistry or physiology (or genetics, etc.). The choice should not be based solely on the shape of the graph.

"Some programs... automatically fit data to hundreds or thousands of equations and then present you with the equation(s) that fit the data best. Using such a program is appealing because it frees you from the need to choose an equation. The problem is that the program has no understanding of the scientific context of your experiment. The equations that fit the data best are unlikely to correspond to scientifically meaningful models. You will not be able to interpret the best-fit values of the variables, and the results are unlikely to be useful for data analysis."

(Source: Fitting Models to Biological Data Using Linear and Nonlinear Regression, Motulsky & Christopoulos, GraphPad Software, 2003)

Explain the difference between an empirical model and a mechanistic model.

_____

Explain the difference between an empirical model and a mechanistic model.

Modeling with Piecewise Functions

Recall that a piecewise function is defined by different formulas on different portions of the x -axis.

A piecewise function

_____

none of the above

A piecewise function

  1. must have no breaks in its graph.
  2. can have more than one output at some inputs.
  3. cannot have concavity.
  4. None of the above

As part of a water conservation program, the utilities commission in Arid, New Mexico, establishes a two-tier system of monthly billing for residential water usage: The commission charges a $30 service fee plus $2 per hundred cubic feet (HCF) of water if you use 50 HCF or less, and a $50 service fee plus $3 per HCF of water if you use over 50 HCF (1 HCF of water is about 750 gallons).

  1. Write a piecewise formula for the water bill, B ( w ) , as a function of the amount of water used, w , in HCF.
    B ( w ) = { f ( w ) 0 w 50 g ( w ) w > 50
    where f ( w ) = _____
    and g ( w ) = _____
  2. Graph the function B .
  1. B ( w ) = { 30 + 2 w 0 w 50 50 + 3 w w > 50
  2. A graph is below.

A graph for part (b):

broken piecewise graph

As part of a water conservation program, the utilities commission in Arid, New Mexico, establishes a two-tier system of monthly billing for residential water usage. The commission charges a $30 service fee plus $2 per hundred cubic feet (HCF) of water if you use 50 HCF or less, and a $50 service fee plus $3 per HCF of water if you use over 50 HCF. (1 HCF of water is about 750 gallons).

  1. Write a piecewise formula for the water bill, B ( w ) , as a function of the amount of water used, w , in HCF.
  2. Graph the function B .
  1. B ( w ) = { 30 + 2 w 0 w 50 50 + 3 w w > 50
  2. broken piecewise graph

Explain how slope and concavity are related.

_____

Explain how slope and concavity are related.

Section Summary

Vocabulary

Look up the definitions of new terms in the Glossary.

  • Increasing
  • Decreasing
  • Concave up
  • Concave down
  • Empirical model
  • Mechanistic model

CONCEPTS

  1. The shape of a graph describes how the output variable changes.
  2. A nonlinear graph may be concave up or concave down. If a graph is concave up, its slope is increasing. If it is concave down, its slope is decreasing.
  3. The basic functions can be used to model physical situations.
  4. Some situations can be modeled by piecewise functions
  5. Fitting a curve to the data is not enough to produce a useful model; appropriate scientific principles should also be considered.

STUDY QUESTIONS

  1. Sketch the graph of a function whose slope is positive and increasing.
  2. Sketch the graph of a function whose slope is positive and decreasing.
  3. Which basic function is increasing but bending downward?
  4. Which basic function is decreasing but bending upward?
  5. Why is it bad practice to choose a model purely on the shape of the data plot?

SKILLS

Practice each skill in the Homework problems listed.

  1. Sketch a graph whose shape models a situation: #1–18
  2. Choose one of the basic graphs to fit a situation or a set of data: #19–24, 35–44
  3. Decide whether the graph of a function is increasing or decreasing, concave up or concave down from a table of values: #25–28
  4. Write and sketch a piecewise define function to model a situation: #45–48

Homework 2.4

In Problems 1–4, which graph best illustrates each of the following situations?

Your pulse rate during an aerobics class

two curves

(b)

The stopping distances for cars traveling at various speeds

two curves

Your income in terms of the number of hours you worked

two curves

(a)

Your temperature during an illness

two curves

In Problems 5–8, sketch graphs to illustrate the following situations

Halfway from your English class to your math class, you realize that you left your math book in the classroom. You retrieve the book, then walk to your math class. Graph the distance between you and your English classroom as a function of time, from the moment you originally leave the English classroom until you reach the math classroom.

piecewise function

After you leave your math class, you start off toward your music class. Halfway there you meet an old friend, so you stop and chat for a while. Then you continue to the music class. Graph the distance between you and your math classroom as a function of time, from the moment you leave the math classroom until you reach the music classroom.

Toni drives from home to meet her friend at the gym, which is halfway between their homes. They work out together at the gym; then they both go to the friend's home for a snack. Finally Toni drives home. Graph the distance between Toni and her home as a function of time, from the moment she leaves home until she returns.

piecewise function

While bicycling from home to school, Greg gets a flat tire. He repairs the tire in just a few minutes but decides to backtrack a few miles to a service station, where he cleans up. Finally, he bicycles the rest of the way to school. Graph the distance between Greg and his home as a function of time, from the moment he leaves home until he arrives at school.

Choose the graph that depicts the function described in Problems 9 and 10.

Inflation is still rising, but by less each month.

four curves

(b)

The price of wheat was rising more rapidly in 1996 than at any time during the previous decade.

four curves

In Problems 11 and 12, match each graph with the function it illustrates.

  1. The volume of a cylindrical container of constant height as a function of its radius
  2. The time it takes to travel a fixed distance as a function of average speed
  3. The simple interest earned at a given interest rate as a function of the investment
  4. The number of Senators present versus the number absent in the U.S. Senate
four curves
  1. II
  2. IV
  3. I
  4. III
  1. Unemployment was falling but is now steady.
  2. Inflation, which rose slowly until last month, is now rising rapidly.
  3. The birthrate rose steadily until 1990 but is now beginning to fall.
  4. The price of gasoline has fallen steadily over the past few months.
four curves

Sketch possible graphs to illustrate the situations described in Problems 13–18.

The height of a man as a function of his age, from birth to adulthood

curve

The number of people willing to buy a new high-definition television, as a function of its price

The height of your head above the ground during a ride on a Ferris wheel

curve

The height above the ground of a rubber ball dropped from the top of a 10 -foot ladder

The average age at which women first marry decreased from 1940 to 1960, but it has been increasing since then

curve

When you learn a foreign language, the number of vocabulary words you know increases slowly at first, then increases more rapidly, and finally starts to level off.

Each situation in Problems 19–24 can be modeled by a transformation of a basic function. Name the basic function and sketch a possible graph.

The volume of a hot air balloon, as a function of its radius

y = x 3 stretched or compressed vertically

cubic

The length of a rectangle as a function of its width, if its area is 24 square feet

The time it takes you to travel 600 miles, as a function of your average speed

y = 1 x stretched or compressed vertically

reciprocal

The sales tax on a purchase, as a function of its price

The width of a square skylight, as a function of its area

y = x

root

The area of a circle as a function of its diameter

In Problems 25–28, use the table of values to answer the questions.

  1. Based on the given values, is the function increasing or decreasing?
  2. Could the function be concave up, concave down, or linear?
x 0 1 2 3 4
f ( x ) 1 1.5 2.25 3.375 5.0625
  1. Increasing
  2. Concave up
x 0 1 2 3 4
g ( x ) 1 0.8 0.64 0.512 0.4096
x 0 1 2 3 4
f ( x ) 0 0.174 0.342 0.5 0.643
  1. Increasing
  2. Concave down
x 0 1 2 3 4
c ( x ) 1 0.985 0.940 0.866 0.766

In Problems 29–34,

  1. Is the graph increasing or decreasing, concave up or concave down?
  2. Match the graph of the function with the graph of its rate of change, shown in Figures A–F.
positive slope line
decreasing concave down
horizontal line in Q1
horizontal line in Q4
increasing concave up
decreasing concave up
positive slope line
  1. Increasing, linear (neither concave up nor down)
  2. C
decreasing concave up
increasing concave down
  1. Increasing, concave down
  2. F
increasing concave up
decreasing line
  1. Decreasing, linear (neither concave up nor down)
  2. D
decreasing concave down

For Problems 35–40, plot the data; then decide which of the basic functions could describe the data.

  x     0   0.5   1   2 4
y 0 3.17 4 5.04 6.35
points

y = 4 x 3

  x     0   0.5   1   2 4
y 0 5.66 8 11.31 16
  x   0.5   1     2   3 4
y 12 3 0.75 0.33 0.1875
points

y = 3 1 x 2

  x   0.5   1     2     3     4  
y 12 6 3 2 1.5
  x     0   0.5   1     2   3
y 0 0.125 0.5 2 4.5
points

y = 0.5 x 2

  x     0   0.5   1     2   3
y 0 0.0125 0.1 0.8 2.7

Four different functions are described below. Match each description with the appropriate table of values and with its graph.

  1. As a chemical pollutant pours into a lake, its concentration is a function of time. The concentration of the pollutant initially increases quite rapidly, but due to the natural mixing and self-cleansing action of the lake, the concentration levels off and stabilizes at some saturation level.
  2. An overnight express train travels at a constant speed across the Great Plains. The train's distance from its point of origin is a function of time.
  3. The population of a small suburb of a Florida city is a function of time. The population began increasing rather slowly, but it has continued to grow at a faster and faster rate.
  4. The level of production at a manufacturing plant is a function of capital outlay, that is, the amount of money invested in the plant. At first, small increases in capital outlay result in large increases in production, but eventually the investors begin to experience diminishing returns on their money, so that although production continues to increase, it is at a disappointingly slow rate.
  1.   x     1     2     3     4     5     6     7     8  
    y 60 72 86 104 124 149 179 215
  2.   x     1     2     3     4     5     6     7     8  
    y 60 85 103 120 134 147 159 169
  3.   x     1     2     3     4     5     6     7     8  
    y 60 120 180 240 300 360 420 480
  4.   x     1     2     3     4     5     6     7     8  
    y 60 96 118 131 138 143 146 147
increasing concave down
increasing line
increasing concave down
increasing concave up
  1. Table (4), Graph (C)
  2. Table (3), Graph (B)
  3. Table (1), Graph (D)
  4. Table (2), Graph (A)

Four different functions are described below. Match each description with the appropriate table of values and with its graph.

  1. Fresh water flowing through Crystal Lake has gradually reduced the phosphate concentration to its natural level, and it is now stable.
  2. The number of bacteria in a person during the course of an illness is a function of time. It increases rapidly at first, then decreases slowly as the patient recovers.
  3. A squirrel drops a pine cone from the top of a California redwood. The height of the pine cone is a function of time, decreasing ever more rapidly as gravity accelerates its descent.
  4. Enrollment in Ginny's Weight Reduction program is a function of time. It began declining last fall. After the holidays, enrollment stabilized for a while but soon began to fall off again.
  1.   x     0     1     2     3     4  
    y 160 144 96 16 0
  2.   x     0     1     2     3     4  
    y 20 560 230 90 30
  3.   x     0     1     2     3     4  
    y 480 340 240 160 120
  4.   x     0     1     2     3     4  
    y 250 180 170 150 80
decreasing w/ inflection
decreasing concave up
decreasing concave down
surge function

The table shows the radii, r , of several gold coins, in centimeters, and their value, v , in dollars.

Radius 0.5 1 1.5 2 2.5
Value 200 800 1800 3200 5000
  1. Which graph represents the data?
    four curves
  2. Which equation describes the function?
    1. v = k r
    2. v = k r
    3. v = k r 2
    4. v = k r
  1. III
  2. 3

The table shows how the amount of water, A , flowing past a point on a river is related to the width, W , of the river at that point.

Width (feet) 11 23 34 46
Amount of water
(ft 3 / sec)
23 34 41 47
  1. Which graph represents the data?
    four curves
  2. Which equation describes the function?
    1. A = k W
    2. A = k W
    3. A = k W 2
    4. A = k W

If you order from Coldwater Creek, the shipping charges are given by the following table.

Purchase
amount
Shipping
charge
Up to $25$5.95
$25.01 to $50$7.95
$50.01 to $75$9.95
$75.01 to $100$10.95
  1. Write a piecewise formula for S ( x ) , the shipping charge as a function of the purchase amount, x .
  2. Graph S ( x ) .
  1. S ( x ) = { 5.95 x 25 7.95 25 < x 50 9.95 50 < x 75 10.95 75 < x 100
  2. piecewise function

The Bopp-Busch Tool and Die Company markets its products to individuals, to contractors, and to wholesale distributors. The company offers three different price structures for its toggle bolts. If you order 20 or fewer boxes, the price is $ 2.50 each. If you order more than 20 but no more than 50 boxes, the price is $ 2.25 each. If you order more than 50 boxes, the price is $ 2.10 each.

  1. Write a piecewise formula for C ( x ) , the cost of ordering x boxes of toggle bolts.
  2. Graph C ( x ) .

Bob goes skydiving on his birthday. The function h ( t ) approximates Bob's altitude t seconds into the trip.

h ( t ) = { 25 t 0 t < 400 10 , 000 400 t < 500 10 , 000 16 ( t 500 ) 2 500 t < 520 3600 120 ( t 520 ) 520 t 550

  1. Graph h ( t ) . Describe what you think is happening during each piece of the graph.
  2. Find two times when Bob is at an altitude of 6000 feet.
  1. piecewise curve

    During the first 400 seconds Bob's altitude is climbing with the aircraft; then the aircraft maintains a constant altitude of 10,000 feet for the next 100 seconds; after jumping from the plane, Bob falls for 20 seconds before opening the parachute; he falls at a constant rate after the chute opens.
  2. 240 seconds (4 minutes) and 500 + 250 515.8

Jenni lives in the San Fernando Valley, where it is hot during summer days but cools down at night. Jenni uses the air conditioner as little as possible. The function T ( h ) approximates the temperature in Jenni's house h hours after midnight.

T ( h ) = { 65 0 h < 8 25 + 5 h 8 h < 14 2240 h 65 14 h < 16 75 16 h < 20 125 2.5 h 20 h < 24

  1. Graph T ( h ) . Describe what you think is happening during each piece of the graph.
  2. Find two times when the temperature inside the house is 85 Fahrenheit.

Lead nitrate and potassium iodide react in solution to produce lead iodide, which settles out, or precipitates, as a yellow solid at the bottom of the container. As you add more lead nitrate to the solution, more lead iodide is produced until all the potassium iodide is used up. The table shows the height of the precipitate in the container as a function of the amount of lead nitrate added. (Source: Hunt and Sykes, 1984)

Lead nitrate
solution (cc)
0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
Height of
precipitate (mm)
2.8 4.8 6.2 7.4 9.5 9.6 9.6 9.6
  1. Plot the data. Sketch a piecewise linear function with two parts to fit the data points
  2. Calculate the slope of the increasing part of the graph, including units. What is the significance of the slope?
  3. Write a formula for your piecewise function.
  4. Interpret your graph in the context of the problem.
  1. points and piecewise linear function
  2. m 3.2 mm/cc: The height of precipitate increases by 1 mm for each additional cc of lead nitrate
  3. f ( x ) = { 1.34 + 3.2 x x < 2.6 9.6 x 2.6
  4. The increasing portion of the graph corresponds to the period when the reaction was occurring, and the horizontal section corresponds to when the potassium iodide is used up.

The graph shows the temperature of 1 gram of water as a function of the amount of heat applied, in calories. Recall that water freezes at 0 C and boils at 100 C.

temperature of water being heated
  1. How much heat is required to raise the temperature of 1 gram of water by 1 degree?
  2. How much heat is required to convert 1 gram of ice to water?
  3. How much heat is required to convert 1 gram of water to steam?
  4. Write a piecewise function to describe the graph.

As the global population increases, many scientists believe it is approaching, or has already exceeded, the maximum number the Earth can sustain. This maximum number, or carrying capacity, depends on the finite natural resources of the planet—water, land, air, and materials—but also on how people use and preserve the resources. The graphs show four different ways that a growing population can approach its carrying capacity over time. (Source: Meadows, Randers, and Meadows, 2004)

4 models of population meeting carrying capacity

Match each graph to one of the scenarios described in (a)–(d) and explain your choice.

  1. Sigmoid growth: The population levels off smoothly below the carrying capacity.
  2. Overshoot and collapse: The population exceeds the carrying capacity with severe damage to the resource base and is forced to decline rapidly to achieve a new balance with a reduced carrying capacity.
  3. Continued growth: The carrying capacity is far away, or growing faster than the population.
  4. Overshoot and oscillation: The population exceeds the carrying capacity without inflicting permanent damage, then oscillates around the limit before leveling off.
  1. II
  2. IV
  3. I
  4. III

The introduction of a new species into an environment can affect the growth of an existing species in various ways. The graphs show four hypothetical scenarios after Species A is introduced into an environment where Species B is established.

4 models of 2 interacting populations

Match each graph to one of the scenarios described in (a)–(d) and explain your choice.

  1. Predator-prey (sustained): Species A becomes a predator population that grows when its prey, Species B, is abundant, but declines when the prey population is small. The prey population grows when predators are scarce but shrinks when predators are abundant.
  2. Predator-prey (extinction): Species A becomes a predator population that annihilates Species B, but then Species A itself declines toward extinction.
  3. Competition: Species A and B have a common food source, and the Species A replaces Species B in the environment.
  4. Symbiosis: Species A and B help each other to grow.

Modeling, Functions, and Graphs by Katherine Yoshiwara (yoshiwarabooks.org), GNU Free Documentation License 1.2 or later. Adapted for the XYZ HTML edition with the authors' permission (recorded 2026-07-04). License: GFDL-1.2-or-later.