Skip to main content
Logo image

Just Enough Algebra 2026 Edition

Section 1.2 Tables and graphs

Tables and graphs are useful ways to summarize a lot of information about how the values of several variables go together.

Opening Activity 1.2.1.

In Section 1.1, a report said that the average price of gasoline in Minnesota was $2.900/gal in 2010 and increased approximately 20% per year for the next several years. We calculated a few gas prices, which we’ll now organize in a table.
Year 2010 2011 2012
Gas price 2.90 3.50 4.20
Just to make sure we’re all on the same page, let’s use this table to answer a few questions.
  1. What does this table say the gas price was in 2011?
  2. Which year does this table say the gas price was $2.90/gal?
  3. Write a sentence in your own words about the remaining entry in the table.

Subsection Smoking rates

Lung cancer, chronic bronchitis, bad breath, stains on your clothes, and the expense. These are just a few of the consequences of smoking cigarettes. With what we know now about the dangers of smoking, are people smoking more or less than they were ten years ago, fifty years ago, or even one hundred years ago?
Reality is, we don’t have information on each individual person’s smoking rate, so we can’t answer this question exactly. We do have information on the total number of cigarettes sold each year. So maybe we should look at that total. Uh oh, that isn’t going to work. There are way more people now than there were fifty or a hundred years ago. So, even if the same percentage of people smoke, and even if they each smoke the same amount as their predecessors did, we would have a much bigger number of cigarettes smoked now just because there are more people now.
Turns out a reasonable measure is to compare the number of cigarettes smoked per year per person. By taking into account the number of people we will be able to see whether people are smoking more or less, on average. That’s what we want.
The table below shows the smoking rate for select years. The smoking rate is the average cigarettes per year per person (adults).

Aside

Year 1900 1915 1930 1940 1950 1965 1975 1990 2000 2006
Smoking rate 54 285 1,485 1,976 3,552 4,258 4,122 2,834 2,049 1,619
To make sense of these numbers, suppose there are five friends. Three don’t smoke at all, so that is 0 cigarettes in a year. Another smokes only occasionally, maybe 100 cigarettes a year. The fifth smokes “a pack a day,” which adds up to 7,300 cigarettes in a year because
\begin{equation*} \frac{1\text{ pack}}{\text{day}} \ast \frac{20\text{ cigarettes}}{\text{pack}} \ast \frac{365 \text{ days}}{\text{year}} = 20 \times 365 = \frac{7{,}300 \text{ cigarettes}}{\text{year}} \end{equation*}
(Not sure about this calculation? Not to worry. More about unit conversions in Section 1.4.) These five people smoke a total of
\begin{equation*} 0+0+0+100+7{,}300=7{,}400 \text{ cigarettes per year} \end{equation*}
so when we divide by the number of people we get
\begin{equation*} \frac{7{,}400 \text{ cigarettes per year}}{5 \text{ people}} = 7{,}400 \div 5 =1{,}480 \text{ cigarettes per year per person} \end{equation*}
which is less than the average of 1,619 cigarettes per year per person for 2006 (the last year the CDC published the data), which is the way things seem to be heading.
We can tell a lot of information from this table. For example, what was the smoking rate in 1965, and how does that compare to 2006? The answers appears in the table, a whopping 4,258 cigarettes per person in 1965 and 1,619 cigarettes per person in 2006.
When did the consumption first pass 3,000? That answer does not appear in the table, but we can use the information in the table to make a good guess. In 1940, there were an average of 1,976 cigarettes per person per year and by 1950, there were 3,552. Somewhere between 1940 and 1950 the number first climbed above 3,000. More specifically, the number we’re looking for (3,000) is a lot closer to the 1950 figure (3,552) than to the 1940 figure (1,976). So, it would be reasonable to guess close to 1950. I’d say 1947. Of course, you might guess 1946 or 1948, or even 1949 and those would be good guesses too.
When did the consumption drop below 3,000 again? This answer also does not appear in the table, but falls somewhere between 1975 when consumption was 4,122 and 1990 when consumption was 2,834. Here I’d guess just before 1990, say in 1989.

Subsection Labeling variables in a table

Remember that in mathematics, quantities that change are called variables, and identifying the variables in a story is a good first step to understanding what’s going on in the story.
In this story, the things that are changing are the year and the number of cigarettes smoked per person per year. Those are our variables. The smoking rate is a function of year, and it’s what we care about, so it’s the dependent variable. Time, as measured in years, is the independent variable.
\begin{align*} S \amp= \text{ smoking rate (cigarettes per year per person) } \sim \text{ dep} \\ Y \amp= \text{ year (years since 1900) } \sim \text{ indep} \end{align*}
Quick note on how we deal with actual years. Since the year 0 doesn’t make sense in this problem, it is convenient to measure time in years since 1900, since that’s the earliest year mentioned. Officially we should rewrite our table as:
Table 1.2.1. Data on cigarette smoking
\(Y\) 0 15 30 40 50 65 75 90 100 106
\(S\) 54 285 1,485 1,976 3,552 4,258 4,122 2,834 2,049 1,619
Notice where the variable names are listed in the table. In a horizontal format like this table, the independent variable (\(Y\)) is in the top row, with the dependent variable (\(S\)) is in the bottom row. If you want to write your table in a vertical format, that’s okay too. Just put the independent variable in the left column, with the dependent variable in the right column. It might help to remember that the independent variable goes first (either top or left) and the dependent variable follows (either bottom or right).
Where the variables go in a table is not something you can figure out. It’s a convention - a custom, practice, or standard used within the mathematical community. Though based on reason, it often involves some arbitrary choice, which is why we can’t figure it out. So, whenever some practice is introduced to you as a “convention,” you need to memorize it.
Horizontal table format:
indep \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\)
dep \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\)
Vertical table format:
indep dep
\(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\)
\(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\)
\(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\)
\(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\)

Activity 1.2.2.

At a local private college, the comprehensive fee is currently $64,000. The fee is projected to increase each year for the next several years.
  1. Name the variables in this story:
    letter = everyday words (units) ~ dep or indep
    = \(\qquad\qquad\qquad\qquad\qquad\) \(\displaystyle\Big(\qquad\Big)\) ~
    = \(\displaystyle\Big(\qquad\Big)\) ~
  2. Here is an empty table. Remember that the first column holds the letter names for the two variables, and by convention, the independent variable comes first. Fill in your two letter names.
    \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\)
    \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\) \(\fillinmath{\displaystyle\int\int}\)
  3. Here is a bunch of information about the comprehensive fee; your job is to organize it into a table like the one above.
    In 2 years, the fee is projected to be $71,600. In 4 years, the fee will be $80,200. The fee will reach $89,700 in 6 years, and $100,500 in 8 years. In 10 years, the fee will rise to $112,500.
    (Isn’t it much nicer to organize this information in a table than it is to have it all in written words?)

Subsection Graphs

Tables are useful because they contain specific numbers, but it can be difficult to guess or see general trends. For that, a picture is worth a thousand words - or numbers, in this case. By “picture” we mean a graph of the function.
Throughout this text, we draw graphs by hand. On graph paper. Seriously. You might wonder why we do that when graphing calculators, spreadsheet programs, graphing “apps,” or computer algebra systems all can draw graphs for us. The answer is we want to understand graphs better, and I promise that drawing them by hand will help you do that. (Different instructors have different opinions on the importance of graphing by hand, so be sure to ask your instructor what you are expected to do. Even if you’re allowed to use some type of graphing technology, I strongly encourage you to practice drawing graphs by hand as well.)
There is a standard set-up for a graph.

Aside

The graph is based on a horizontal number line and a vertical number line, called the axes.

Aside

Where they cross is a point called the origin. It represents where each variable is 0. By convention, the independent variable is measured along the horizontal axis, with larger values progressing to the right of the origin, and negatives to the left. Similarly, the dependent variable is measured along the vertical axis, with larger values progressing up from the origin, and negatives down. Each pair of values of the independent and dependent variable from our table corresponds to a point on our graph.
In the graph of smoking rates, the independent variable is \(Y\text{,}\) the year, so that goes on the horizontal axis for our graph. Our dependent variable is \(S\text{,}\) the smoking rate, so that goes on the vertical axis.

Subsection Scaling

Because the axes are number lines, each gridline on a graph counts the same number, called the scale. But the scale for the vertical axis may be different from the scale for the horizontal axis.
There’s a certain amount of guess and check involved in figuring out a good scale for each axis. As a general rule of thumb we would like the graph to be as large as possible so we can see all of its features clearly. But, not so big that it runs off the graph paper. What matters is that the gridlines are evenly scaled -- that is, that each gridline counts the same number -- and that they can handle large enough numbers. Speaking of which, it’s a good idea to leave a little room to extend the graph a little further than the information we have in the table, in case we get curious about values beyond what we have already.
With realistic numbers it’s normal to have numbers in the table that are not exactly where the gridlines are. It is very helpful to count by round numbers (2s, 5s, 10s, etc.) because it makes guessing in between easier. Easier for you drawing the graph. Easier for someone reading your graph.
For the scale in the graph of smoking rates, it works nicely to count by 10s for years and count by 500s for the smoking rate. Notice that with the graph paper below, every two gridlines is 10 years and every two gridlines is 500 smoking rate. Also, notice that we start counting at 0.
Scaled axes for plotting cigarette consumption
Figure 1.2.2. Scaled axes for plotting cigarette consumption. \(S\) = cigarettes per year per person, as a function of \(Y\) = years since 1900.

Activity 1.2.3.

Here’s a table of data about the comprehensive fee for the private college again. Fill in your own letter names for the variables.
= time (years) 0 2 4 6 8 10
= comprehensive fee ($) 64,000 71,600 80,200 89,700 100,500 112,500
In this activity we’re going to choose a scale for each axis. Here is some sample graph paper:
  1. Let’s start with the horizontal axis, where the independent variable (time) goes. What are the smallest and largest values of the independent variable?
  2. We want our data to all fit in our graph paper, but also to take up most of the space on our graph paper, so we have to choose the largest value on our horizontal axis carefully. Here are a few possible largest values. Which ones do you think are reasonably good, and why?
  3. Here are some possible scales to try for the horizontal axis. Which ones work well, and which ones don’t? What’s wrong with the ones that don’t work?
  4. Now let’s move on to the vertical axis, where the dependent variable (comprehensive fee) goes. What are the smallest and largest values of the dependent variable?
  5. Here are a few possible largest values for the vertical axis. Which ones do you think are reasonably good, and why?
  6. Here are some possible scales to try for the vertical axis. Which ones work well, and which ones don’t? What’s wrong with the ones that don’t work?

Subsection Plotting points

To plot each point, we start at the origin and move right to that \(Y\)-value, and then up to that \(S\)-value. When a value doesn’t land exactly on a grid mark, we have to guess in between. For example, in 1900, \(Y=0\) so we don’t move right at all, just up to \(S=54\text{.}\) The first labeled gridline on our graph is 500. Where’s 54? It’s between 0 and 500, very close to 0. Our point is just a tiny bit above the origin. In 1915 we have \(Y=15\text{.}\) Our labeled gridlines are for 10 and 20, so 15 must land halfway in between. The smoking rate is 285, which is around halfway between 0 and 500. Etc.
Scatter plot of cigarette consumption data
Figure 1.2.3. Scatter plot of data in Table 1.2.1. \(S\) = cigarettes per year per person, as a function of \(Y\) = years since 1900.
What we have so far is a scatter plot of points. Can you see why it’s called that? Anyway, our whole goal here was to be able to understand smoking rates better by having a graph. You may already begin to see a curve suggested by the points. Time to draw it in. I don’t mean drawing a line between each pair of points, like you do in the children’s game “connect the dots.” That isn’t quite right. It was probably more of a continuous trend and so the graph should be smoother.
Scatter plot of cigarette smoking data with a smooth curve connecting the points
Figure 1.2.4. Scatter plot with a smooth curve connecting the points. \(S\) = cigarettes per year per person, as a function of \(Y\) = years since 1900.
When we draw in this smooth curve for the graph, what we are really doing is making a whole lot of guesses all at once. For example, from the table we guessed that the smoking rate passed 3,000 in around 1947, and dropped back to that level in around 1989. What does the graph show? If we look where the horizontal gridline for 3,000 crosses our graph, it crosses in two places. First, between the vertical gridlines for 40 and 50, and perhaps slightly closer to 50. I’d say \(Y \approx 47\text{,}\) in the year 1947. Sure. The second time is between the gridlines for 80 and 90, much closer to 90. Looks like \(Y \approx 88\text{,}\) in the year 1988. We guessed 1989. Close enough.

Activity 1.2.4.

Here’s a table of data about the comprehensive fee for the private college again. Fill in your own letter names for the variables.
= time (years) 0 2 4 6 8 10
= comprehensive fee ($) 64,000 71,600 80,200 89,700 100,500 112,500
In Activity 1.2.3 we chose good scales for both axes; now we’ll use the scales we chose to plot the points in the table. Here’s the sample graph paper again:
  1. Let’s start with the point where the time is 4 years and the comprehensive fee is $80,200. Find where 4 years is located on your horizontal axis, and find where $80,200 is located on your vertical axis. Draw a point where those two locations meet.
  2. Draw all the rest of the points given in the table. Don’t forget the one where the time is 0 years and the comprehensive fee is $64,000!
  3. Draw in a nice smooth curve connecting all the points.
  4. Use the curve you drew to guess what the comprehensive fee will be in 7 years.
  5. What do you think the water level might be after 15 years?
Don’t forget that when we drew in that curve it was really just a guess. We’re sure about the points we plotted, but we’re only guessing about where to draw the curve in. That means we’re not sure about the other points. If we knew a lot more points we could have a more accurate graph.
Turns out more data is available from the CDC. The full table of data from the CDC shows that consumption first topped 3,000 as early as 1944. Here’s an example where the history tells you more than the mathematics as cigarette consumption rose sharply during World War II. Our guess about 1988 or 1989 was spot on. Look at how the graph from the full data (the dotted line) compares to our guess.
Comparison of annual data vs partial data
Figure 1.2.5. Comparison of annual data vs partial data. \(S\) = cigarettes per year per person, as a function of \(Y\) = years since 1900.

Do you know …

  1. Where the independent and dependent variables appear in a table and in a graph?
  2. How to guess values from a table or from a graph?
  3. How to make a graph from a table?
  4. Why we start each axis at 0?
  5. What we mean by scaling an axis evenly?
  6. How to make a table and then a graph from a story?
  7. Why we draw in a smooth line or curve connecting the points?
  8. What type of graphing technology, if any, you’re allowed to use? Ask your instructor.
If you’re not sure, work the rest of exercises and then return to these questions. Or, ask your instructor or a classmate for help.

Exercises Exercises

Exercises 1-4 are available in a separate workbook format.

1.

The comprehensive fee at a local private college is currently $64,000. The fee is projected to increase each year for the next several years according to the values in this table:
Years 0 2 4 6 8 10
Fee 64,000 71,600 80,200 89,700 100,500 112,500
(a)
Name the variables in this story.
letter = everyday words (units) ~ dep or indep
= \(\qquad\qquad\qquad\qquad\qquad\) \(\displaystyle\Big(\qquad\Big)\) ~
= \(\displaystyle\Big(\qquad\Big)\) ~
(b)
What will the fee be in 6 years?
(c)
When is the fee projected to be $80,200?
(d)
Approximately when will the fee reach $95,000?
(e)
What do you guess the fee might be in 15 years?
(f)
Graph the function using the information given in the table, and use the graph to check your answers to the questions.

2.

How cold is it?
Aside
An air temperature of 10°F is cold but manageable. But add a 30 miles per hour wind and, brrr, it feels like it is -12°F (12 below zero). We say the wind chill of 10°F with a 30 mph wind is -12°F. The table lists the wind chill for various wind speeds at an air temperature of 10°F.
Wind speed (mph) 0 5 10 15 20 25 30 35 40 45 50 55
Wind chill (°F) 10 1 -4 -7 -9 -11 -12 -14 -15 -16 -17 -18
(a)
Name the variables, including units and dependence.
letter = everyday words (units) ~ dep or indep
= \(\qquad\qquad\qquad\qquad\qquad\) \(\displaystyle\Big(\qquad\Big)\) ~
= \(\displaystyle\Big(\qquad\Big)\) ~
(b)
At an air temperature of 10°F with a 20 mph wind, what is the wind chill?
(c)
A cold advisory is issued whenever the wind chill falls below 0°F. How fast does the wind need to be at an air temperature of 10°F to issue a cold advisory?
(d)
Between a wind chill of 0°F and -15°F, schools in our district are open but kids may not go outside for recess. What is the corresponding range of wind speeds?
(e)
Draw a graph showing how wind chill depends on wind speed and use it to check your answers. To graph both positive and negative numbers on the vertical axis, put the horizontal axis somewhere in the middle of the graph paper.

3.

Anthony and Christina are trying to decide where to hold their wedding reception.
Aside
The Metropolitan Club costs $1,300 for the space and $92 per person.
(a)
Identify and name the variables, including units.
letter = everyday words (units) ~ dep or indep
= \(\qquad\qquad\qquad\qquad\qquad\) \(\displaystyle\Big(\qquad\Big)\) ~
= \(\displaystyle\Big(\qquad\Big)\) ~
(b)
Explain the dependence using a sentence of the form “ is a function of ”.
(c)
Make a table showing the cost for 20, 50, 75, 100, or 150 people.
(d)
If Tony and Tina’s budget is $8,000, about how many people can they invite to their wedding reception? Give a rough estimate from your table.
(e)
Graph the function. Does your estimate agree with your graph? If not, revise.
(f)
Can you figure out from the story exactly how many guests Tony and Tina can invite to their wedding reception and stay within their $8,000 budget?

4.

A mug of coffee costs $3.45 at Juan’s favorite cafe.
Aside
(a)
Juan buys coffee on the way to work every day. How much does Juan spend on coffee in a month? Let’s say that’s 22 workdays.
(b)
If Juan pays $10 for a discount card, then coffee costs $2.90/mug instead. How much (total) would Juan spend on coffee in a month if he buys the discount card first? Still use 22 workdays. Include the $10.
(c)
Does the card pay for itself within the month? That means, is the total with the card (including the $10 for the card) less than the total without the card?
(d)
Complete the table, where \(M\) is the number of mugs of coffee Juan buys and \(T\) is the total cost, in dollars.
\(M\) 0 10 22 50
\(T\) (regular) \(\fillinmath{\displaystyle\int\int\int}\) \(\fillinmath{\displaystyle\int\int\int}\) \(\fillinmath{\displaystyle\int\int\int}\) \(\fillinmath{\displaystyle\int\int\int}\)
\(T\) (with card) \(\fillinmath{\displaystyle\int\int\int}\) \(\fillinmath{\displaystyle\int\int\int}\) \(\fillinmath{\displaystyle\int\int\int}\) \(\fillinmath{\displaystyle\int\int\int}\)
(e)
Draw a graph illustrating both functions.
(f)
What does the point where the two lines cross mean in terms of the story?

5.

The table lists estimates of Earth’s population, in billions, for select years since 1800.
Year 1800 1850 1900 1950 1970 1990 2000
Population 0.98 1.26 1.65 2.52 3.70 5.27 6.06
Aside
Use the table to find or reasonably guess the answers to the following questions.
(a)
What was the population of Earth in 1850?
(b)
What do you think the population of Earth was in 1860?
(c)
What do you think the population of Earth was in 1960?
(d)
In what year do you think the population of Earth first exceeded 2 billion?
(e)
In what year do you think the population of the world will exceed 7 billion?
(f)
Identify the variables, including units and dependence.

6.

Your local truck rental agency lists what it costs to rent a truck (for one day) based on the number of miles you drive the truck.
Distance driven (miles) 50 100 150 200
Rental cost ($) 37.50 55.00 72.50 90.00
Aside
Use the table to find or reasonably guess the answers to the following questions.
(a)
How much does it cost to rent a truck if you drive it 100 miles?
(b)
How many miles did you drive a truck costing $90.00 to rent?
(c)
If you rent a truck and drive it 75 miles, how much do you think it will cost?
(d)
If you rent a truck and drive it 10 miles, how much do you think it will cost?
(e)
If you rent a truck and it costs $60.00, about how many miles was it driven?
(f)
Identify the variables, including units, realistic domain, and dependence.
(g)
Draw a detailed graph illustrating the dependence based on the points given in the table. Be sure your axes are labeled and evenly scaled. Sketch in a smooth curve connecting the points.
(h)
Use your graph to check your answers to the questions. Modify, if necessary.

7.

The temperature was 40°F at noon yesterday in downtown Minneapolis,
Aside
but it dropped 3°F an hour in the afternoon.
(a)
Make a table of reasonable values.
(b)
Draw a graph illustrating the dependence. Count time in hours after noon.
(c)
According to your table and graph, when did the temperature drop below freezing (32°F)?
(d)
According to your graph, when did the temperature drop below 0°F? Does that seem realistic? Here in the midwest there are no oceans or mountains to moderate large temperature changes.

8.

Mrs. Nystrom’s Social Security benefit was $746.17/month when she retired from teaching in 2009.
Aside
She had taught in elementary school since I was a girl. Benefits have increased by 4% per year.
(a)
Make a table of reasonable values using \(N\) for Mrs. Nystrom’s benefits (in dollars) and \(Y\) for time (in years since 2009).
(b)
Draw a graph illustrating the dependence. Scale your graph to show up through the year 2020 and $1,200.
(c)
According to your table and graph, when did her benefit pass $900/month?
(d)
If you extend your graph to 2020, what would you estimate Mrs. Nystrom’s benefit will be then, assuming these increases continue?

9.

The table shows the “heat index” as a function of humidity at an air temperature of 88°F.
Aside
With up to about 40% humidity, 88°F feels like it’s 88°F. But if the humidity rises to 60%, then it feels like it is 95°F; that is, the heat index is 95°F.
Humidity (%) 50 60 70 85 90 95
Heat index (°F) 91 95 100 110 113 117
All of the following questions refer to situations when the air temperature is 88°F.
(a)
What is the heat index when the humidity level is 70%?
(b)
At what humidity level does it feel more like 98°F?
(c)
Heat exhaustion is likely to occur when the heat index reaches 105°F. At what humidity level will heat exhaustion likely occur?
(d)
The heat index is considered danger in the range from 105°F to 129°F. What range of humidity levels are considered dangerous?
(e)
What do you think the heat index would be at 99% humidity?
(f)
Identify the variables, including units, realistic domain, and dependence.
(g)
Draw a detailed graph illustrating the dependence based on the points given in the table. Be sure your axes are labeled and evenly scaled. Sketch in a smooth curve connecting the points.
(h)
Use your graph to check your answers to the questions. Modify, if necessary.

10.

My grandfather had $200 in savings bonds that matured in 1962 when he gave them to me.
Aside
The bonds continue to earn interest at a fixed rate so I have yet to cash them in. The table shows some values.
year 1962 1970 1980 1990 2000 2010
\(T\) 0 8 18 28 38 48
\(B\) 200.00 318.77 570.87 1,022.34 1,830.85 3,278.77
(a)
What do \(T\) and \(B\) stand for? Include the units and dependence.
(b)
What were the savings bonds worth in 1970?
(c)
When were the savings bonds worth $1,022.34?
(d)
Approximately when were the savings bonds worth $1,500?
(e)
What do you expect the savings bonds would be worth in 2020?
(f)
Graph the function using the information given in the table.
(g)
Use the graph to check your answers to the questions.