2.8: Graphing
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 \begin{align*}110 \ \text{K}\end{align*}
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 \begin{align*}100 \ \text{K}\end{align*}
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 KClO_{3} 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 connectthedot 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 KClO_{3} at \begin{align*}70^\circ\text{C}\end{align*}
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 \begin{align*}60^\circ\text{C}\end{align*}
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 straightline graph, the slope is constant for the entire line, but for a nonlinear graph, the slope varies at different points along the line. For a straightline 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 straightline 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 \begin{align*}(x_1, \ y_1)\end{align*}


 \begin{align*}\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}\end{align*}

Therefore, the slope of the line is \begin{align*}0.25 \ \text{mL}/^\circ\text{C}\end{align*}. 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 \begin{align*}0.25 \ \text{mL}\end{align*} for each \begin{align*}1^\circ\text{C}\end{align*} increase in temperature. A negative slope would indicate that the line was falling as it moves from left to right.
For a nonlinear 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 \begin{align*}x\end{align*} and \begin{align*}y\end{align*}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).


 \begin{align*}\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}\end{align*}

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 straightline graph, the slope for all points along the line can be determined from any section of the graph.
 For a nonlinear graph, the slope must be determined for each point by drawing a tangent line to the curve at the point in question.
Review Questions
 What would you do to find the slope of a curved line?
 Andrew was completing his density lab for his chemistry lab exam. He collected the following data in his data table (shown in Table below).
 Draw a graph to represent the data.
 Calculate the slope.
 What does the slope of the line represent?
Mass of Solid (g)  Volume of Solution (mL) 

\begin{align*}3.4\end{align*}  \begin{align*}0.3\end{align*} 
\begin{align*}6.8\end{align*}  \begin{align*}0.6\end{align*} 
\begin{align*}10.2\end{align*}  \begin{align*}0.9\end{align*} 
\begin{align*}21.55\end{align*}  \begin{align*}1.9\end{align*} 
\begin{align*}32.89\end{align*}  \begin{align*}2.9\end{align*} 
\begin{align*}44.23\end{align*}  \begin{align*}3.9\end{align*} 
\begin{align*}55.57\end{align*}  \begin{align*}4.9\end{align*} 
 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.
Time (s)  Concentration (mol/L) 

\begin{align*}0.20\end{align*}  \begin{align*}49.92\end{align*} 
\begin{align*}0.40\end{align*}  \begin{align*}39.80\end{align*} 
\begin{align*}0.60\end{align*}  \begin{align*}29.67\end{align*} 
\begin{align*}0.81\end{align*}  \begin{align*}20.43\end{align*} 
\begin{align*}1.08\end{align*}  \begin{align*}14.39\end{align*} 
\begin{align*}1.30\end{align*}  \begin{align*}10.84\end{align*} 
\begin{align*}1.53\end{align*}  \begin{align*}5.86\end{align*} 
\begin{align*}2.00\end{align*}  \begin{align*}1.95\end{align*} 
\begin{align*}2.21\end{align*}  \begin{align*}1.07\end{align*} 
\begin{align*}2.40\end{align*}  \begin{align*}0.71\end{align*} 
\begin{align*}2.60\end{align*}  \begin{align*}0.71\end{align*} 
All images, unless otherwise stated, are created by CK12 Foundation and are under the Creative Commons license CCBYNCSA.