Skip to main content
Logo image

Just Enough Algebra

Section 1.2 Tables and graphs

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 showing the smoking rate for select years. The smoking rate is the average cigarettes per year per person (adults).
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.
What’s changing are the number of cigarettes smoked per person per year and the 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:
\(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}\)
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.
The graph is based on a horizontal line and vertical line, called the axes. 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 gridline counts the same number, called the scale, but the scale for the vertical may be different from the scale for the horizontal. Each pair of values of the independent and dependent variable from our table correspond 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. For the scale, it works nicely to count by 10s for years and count by 500s for the smoking rate.
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 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.
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.
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.
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.
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.

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.

My grandfather had $200 in savings bonds that matured in 1962 when he gave them to me. The bonds continue to earn interest at a fixed rate so I have yet to cash them in. The table shows some values. (Story also appears in 4.1.3.a and 5.3.1)
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.

2.

How cold is it? 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. (Story also appears in 4.1.3.b )
Wind speed (mph) 0 5 10 15 20 25 30 35 40 45 50 55 60
Wind chill (°F) 10 1 -4 -7 -9 -11 -12 -14 -15 -16 -17 -18 -19
(a)
Name the variables, including units and dependence.
(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 at an air temperature of 10°F?
(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. The Metropolitan Club costs $1,300 for the space and $92 per person.
(Story also appears in 1.3.2 and 3.2.3)
(a)
Identify and name the variables, including units.
(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.
(f)
Does your estimate agree with your graph? If not, revise.
(g)
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. (Story also appears in 0.4.1, 2.1.4, and 4.2.2)
(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
(Story also appears in 1.3.8)
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
(Story also appears in 1.3.6 and 4.4.8)
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 downtown Minneapolis but it dropped 3°F an hour in the afternoon.
(Story also appears in 4.1.8 and 4.1.8)
(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. She had taught in elementary school since I was a girl. Benefits have increased by 4% per year.
(Story also appears in 0.2.5, 1.1.7, and 5.1.6)
(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. 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.