<meta http-equiv="refresh" content="1; url=/nojavascript/"> Graphing | CK-12 Foundation

# 2.8: Graphing

Created by: CK-12

## Lesson Objectives

The student will:

• correctly graph data with the proper scale, units, and best fit curve.
• recognize patterns in data from a graph.
• solve for the slope of given line graphs.

## Vocabulary

• extrapolation
• graph
• interpolation
• slope

## Introduction

Scientists search for regularities and trends in data. To make it easier to find these regularities and trends, scientists often present data in either a table or a graph. The table below presents data about the pressure and volume of a sample of gas. You should note that all tables have a title and include the units of the measurements. The unit of pressure used here is atm (atmosphere).

You may note a regularity that appears in this table: as the pressure of the gas increases, its volume decreases. This regularity or trend becomes even more apparent in a graph of this data. A graph is a pictorial representation of the relationship between variables on a coordinate system.

When the data from Data Table A is plotted as a graph, the trend in the relationship between the pressure and volume of a gas sample becomes more apparent. The graph aids the scientist in the search for any regularity that may exist in the data.

## Drawing Line Graphs

Reading information from a line graph is easier and more accurate as the size of the graph increases. In the example below, the graph on the left uses only a small fraction of the space available on the graph paper. The graph on the right shows the same data but uses all the space available. If you were attempting to determine the pressure at a temperature of $110 \ \text{K}$, using the graph on the left would give a less accurate result than using the graph on the right.

When you draw a line graph, you should arrange the numbers on the axes to use as much of the graph paper as you can. If the lowest temperature in your data is $100 \ \text{K}$ and the highest temperature in your data is $160 \ \text{K}$, you should arrange for $100 \ \text{K}$ to be on the extreme left of your graph and $160 \ \text{K}$ to be on the extreme right of your graph. The creator of the graph on the left did not take this advice and did not produce a very good graph. You should also make sure that the axes on your graph are labeled and that your graph has a title.

## Reading Information from a Graph

When we draw a line graph from a set of data points, we are inferring a trend and constructing new data points between known data points. This process is called interpolation. Even though we may only have a few data points, we are estimating the values between measured points, assuming that the line connecting these data points is a good model of what we're studying.

Consider the following set of data for the solubility of KClO3 in water. Data Table B shows that there are exactly six measured data points. When the data is graphed, however, the graph maker assumes that the relationship between the temperature and the solubility exists for all points within the data range. The graph maker draws a line by interpolating the data points between the actual data points. Note that the line is not drawn by just connecting the data points in a connect-the-dot manner. Instead, the line is a smooth curve that reasonably connects the known data points.

We can now read Graph B1, shown below, for points that were not actually measured. If we wish to determine the solubility of KClO3 at $70^\circ\text{C}$, we follow the vertical grid line for $70^\circ\text{C}$ up to where it touches the graphed line and then follow the horizontal grid line to the axis to read the solubility. In this case, we would read the solubility to be $30.0 \ \text{g/100 mL}$ of H2O at $70^\circ\text{C}$.

There are also occasions when scientists wish to know more about points that are outside the range of measured data points. Extending the line graph beyond the ends of the original line, using the basic shape of the curve as a guide, is called extrapolation.

Suppose the graph for the solubility of potassium chlorate has been made from just three measured data points. If the actual data points for the curve were the solubility at $60^\circ\text{C}$, $80^\circ\text{C}$, and $100^\circ\text{C}$, the graph would be the solid line shown in Graph B2 above. If the solubility at $30^\circ\text{C}$ was desired, we could extrapolate the curve (the dotted line) and obtain a solubility of 5.0 g/100 mL of H2O. If we check the more complete graph above (Graph B1), you can see that the solubility at $30^\circ$C is closer to 10. g/100 mL of H2O. The reason the second graph produces such a different answer is because the real behavior of potassium chlorate in water is more complicated than the behavior suggested by the extrapolated line. For this reason, extrapolation is only acceptable for graphs where there is evidence that the relationship shown in the graph will hold true beyond the ends of the graph. Extrapolation is more dangerous that interpolation in terms of producing possibly incorrect data.

In situations where it is unreasonable to interpolate or extrapolate data points from the actual measured data points, a line graph should not be used. If it is desirable to present data in a graphic form but a line graph is not useful, a bar graph can often be used instead. Consider the data in the following table.

For this set of data, you would not plot the data on a line graph because interpolating between years does not make sense; the concept of the average yearly rainfall halfway between the years 1980 and 1981 would not make sense. Looking at the general trend exhibited by Data Table C also does not provide the slightest amount of evidence about the rainfall in 1979 or 1990. Therefore, the interpolation and extrapolation of the data in this table is not reasonable. If we wish to present this information in a graphic form, a bar graph like the one seen in Graph C would be best.

From this bar graph, you could very quickly answer questions like, “Which year was most likely a drought year for Trout Creek?” and “Which year was Trout Creek most likely to have suffered from a flood?”

## Finding the Slope of a Graph

As you may recall from algebra, the slope of the line may be determined from the graph. The slope represents the rate at which one variable is changing with respect to the other variable. For a straight-line graph, the slope is constant for the entire line, but for a non-linear graph, the slope varies at different points along the line. For a straight-line graph, the slope for all points along the line can be determined from any section of the graph. Consider the following data table and the linear graph that follows.

The relationship in this set of data is linear; in other words, the data produces a straight-line graph. The slope of this line is constant at all points on the line. The slope of a line is defined as the rise (change in vertical position) divided by the run (change in horizontal position). For a pair of data points, the coordinates of the points are identified as $(x_1, \ y_1)$ and $(x_2, \ y_2)$. In this case, the data points selected are $(40^\circ\text{C}, \ 65 \ \text{mL})$ and $(100^\circ\text{C}, \ 80 \ \text{mL})$. The slope can then be calculated in the following manner:

$\text{slope} \ m = \frac {rise} {run} = \frac {(y_2 - y_1)} {(x_2 - x_1)} = \frac {(80 \ \text{mL} - 65 \ \text{mL})} {(100^\circ\text{C} - 40^\circ\text{C})} = 0.25 \ \text{mL}/^\circ\text{C}$

Therefore, the slope of the line is $0.25 \ \text{mL}/^\circ\text{C}$. The fact that the slope is positive indicates that the line is rising as it moves from left to right and that the volume increases by $0.25 \ \text{mL}$ for each $1^\circ\text{C}$ increase in temperature. A negative slope would indicate that the line was falling as it moves from left to right.

For a non-linear graph, the slope must be calculated for each point independently. Since the line will be a curve, the slope is calculated from the tangent to the curve at the point in question. Data Table E and Graph E are for a reaction in which the concentration of one of the reactants, bromine, was measured against time. The concentration is expressed in moles/liter, which is symbolized by M.

In order to determine the slope at some point on a curved line, a tangent (approximate) is drawn in as a line that just touches the point in question. Once the tangent has been drawn, the slope of the tangent is determined, which is also the slope of the curve at that point. In the graph above, the tangent has been drawn at the point where t = 2 seconds. We determine the $x$- and $y$-coordinates for two points along the tangent line (as best we can) and use the coordinates of those two points to calculate the slope of the tangent. The coordinates of the point at the left end of the tangent line is determined to be (1.00 s, 0.056 M). The coordinates of the point at the right end of the line is harder to determine, and we are guessing that the coordinates are (3.25 s, 0.031 M).

$\text{slope} \ m = \frac {rise} {run} = \frac {(y_2 - y_1)} {(x_2 - x_1)} = \frac {(0.031 \ \text{M} - 0.056 \ \text{M})} {(3.25 \ \text{s} - 1 .00 \ \text{s})} = -0.011 \ \text{M/s}$

Since the slope is a negative number, we know the line is decreasing in height. At t = 2 seconds, the concentration of bromine is decreasing at a rate of 0.011 moles/liter per second. At other points along this curve, the slope would be different. From the appearance of the curve, it is apparent that the slope is negative (the concentration of bromine is decreasing) all along the line, but it appears to be decreasing more quickly at the beginning of the reaction and less quickly as time increases.

## Lesson Summary

• Tables and graphs are two common methods of presenting data that aid in the search for regularities and trends within the data.
• When we draw a line graph from a set of data points, we are inferring a trend and constructing new data points between known data points. This process is called interpolation.
• Constructing data points beyond the end of a line graph, using the basic shape of the curve as a guide, is called extrapolation.
• The slope of a graph represents the rate at which one variable is changing with respect to the other variable.
• For a straight-line graph, the slope for all points along the line can be determined from any section of the graph.
• For a non-linear graph, the slope must be determined for each point by drawing a tangent line to the curve at the point in question.

## Review Questions

1. What would you do to find the slope of a curved line?
2. Andrew was completing his density lab for his chemistry lab exam. He collected the following data in his data table (shown in Table below).
1. Draw a graph to represent the data.
2. Calculate the slope.
3. What does the slope of the line represent?
Data Table for Problem 2
Mass of Solid (g) Volume of Solution (mL)
$3.4$ $0.3$
$6.8$ $0.6$
$10.2$ $0.9$
$21.55$ $1.9$
$32.8$ $2.9$
$44.23$ $3.9$
$55.57$ $4.9$
1. Donna is completing the last step in her experiment to find the effect of the concentration of ammonia on the reaction. She has collected the following data from her time trials and is ready for the analysis. Her data table is Table below. Help Donna by graphing the data, describing the relationship, finding the slope, and then discussing the meaning of the slope.
Data Table for Problem 3
Time (s) Concentration (mol/L)
$0.20$ $49.92$
$0.40$ $39.80$
$0.60$ $29.67$
$0.81$ $20.43$
$1.08$ $14.39$
$1.30$ $10.84$
$1.53$ $5.86$
$2.00$ $1.95$
$2.21$ $1.07$
$2.40$ $0.71$
$2.60$ $0.71$

## Date Created:

Feb 23, 2012

Aug 30, 2014
You can only attach files to None which belong to you
If you would like to associate files with this None, please make a copy first.