This is “Essential Skills 5”, section 10.9 from the book Principles of General Chemistry (v. 1.0). For details on it (including licensing), click here.
For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. To download a .zip file containing this book to use offline, simply click here.
Previous Essential Skills sections presented the fundamental mathematical operations you need to know to solve problems by manipulating chemical equations. This section describes how to prepare and interpret graphs, two additional skills that chemistry students must have to understand concepts and solve problems.
A graph is a pictorial representation of a mathematical relationship. It is an extremely effective tool for understanding and communicating the relationship between two or more variables. Each axis is labeled with the name of the variable to which it corresponds, along with the unit in which the variable is measured, and each axis is divided by tic marks or grid lines into segments that represent those units (or multiples). The scale of the divisions should be chosen so that the plotted points are distributed across the entire graph. Whenever possible, data points should be combined with a bar that intersects the data point and indicates the range of error of the measurement, although for simplicity the bars are frequently omitted in undergraduate textbooks. Lines or curves that represent theoretical or computational results are drawn using a “best-fit” approach; that is, data points are not connected as a series of straight-line segments; rather, a smooth line or curve is drawn that provides the best fit to the plotted data.
The independent variable is usually assigned to the horizontal, or x, axis (also called the abscissa), and the dependent variable to the vertical, or y, axis (called the ordinate). Let’s examine, for example, an experiment in which we are interested in plotting the change in the concentration of compound A with time. Because time does not depend on the concentration of A but the concentration of A does depend on the amount of time that has passed during the reaction, time is the independent variable and concentration is the dependent variable. In this case, the time is assigned to the horizontal axis and the concentration of A to the vertical axis.
We may plot more than one dependent variable on a graph, but the lines or curves corresponding to each set of data must be clearly identified with labels, different types of lines (a dashed line, for example), or different symbols for the respective data points (e.g., a triangle versus a circle). When words are used to label a line or curve, either a key identifying the different sets of data or a label placed next to each line or curve is used.
Two types of graphs are frequently encountered in beginning chemistry courses: linear and log-linear. Here we describe each type.
In a linear graph, the plot of the relationship between the variables is a straight line and thus can be expressed by the equation for a straight line:
y = mx + bwhere m is the slope of the line and b is the point where the line intersects the vertical axis (where x = 0), called the y-intercept. The slope is calculated using the following formula:
$$m=\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}=\frac{\Delta y}{\Delta x}=\frac{\text{rise}}{\text{run}}$$For accuracy, two widely separated points should be selected for use in the formula to minimize the effects of any reporting or measurement errors that may have occurred in any given region of the graph. For example, when concentrations are measured, limitations in the sensitivity of an instrument as well as human error may result in measurements being less accurate for samples with low concentrations than for those that are more concentrated. The graph of the change in the concentration of A with time is an example of a linear graph. The key features of a linear plot are shown on the generic example.
It is important to remember that when a graphical procedure is used to calculate a slope, the scale on each axis must be of the same order (they must have the same exponent). For example, although acceleration is a change in velocity over time (Δv/Δt), the slope of a linear plot of velocity versus time only gives the correct value for acceleration (m/s^{2}) if the average acceleration over the interval and the instantaneous acceleration are identical; that is, the acceleration must be constant over the same interval.
A log-linear plot is a representation of the following general mathematical relationship:
y = Ac^{mx}Here, y is equal to some value Ac when x = 0. As described in Essential Skills 3 in Chapter 4 "Reactions in Aqueous Solution", Section 4.10 "Essential Skills 3", taking the logarithm of both sides produces
log y = log A + mx log c = (m log c)x + log AWhen expressed in this form, the equation is that of a straight line (y = mx + b), where the plot of y is on a logarithmic axis and (m log c)x is on a linear axis. This type of graph is known as a log-linear plot. Log-linear plots are particularly useful for graphing changes in pH versus changes in the concentration of another substance. One example of a log-linear plot, where y = [HA] and x = pH, is shown here:
From the linear equation, a log-linear plot has a y-intercept of log A, so the value of A may be obtained directly from the plot if the x axis begins at 0 (in this case it does not, as is often the case in pH plots). Using our example, however, we can calculate [HA] at the y-intercept first by calculating the slope of the line using any two points and the equation $\frac{{\text{log[HA]}}_{\text{2}}\u2013{\text{log[HA]}}_{\text{1}}}{{\text{pH}}_{\text{2}}\u2013{\text{pH}}_{\text{1}}}\text{:}$
$$\begin{array}{l}[{\text{HA}}_{2}]=0.600[{\text{HA}}_{1}]=0.006\\ \mathrm{log}[{\text{HA}}_{2}]=-\text{0}\text{.222}\mathrm{log}[{\text{HA}}_{1}]=-2.222\\ {\text{pH}}_{2}=2.5{\text{pH}}_{1}=3.5\end{array}$$ $$m\mathrm{log}c=\frac{-0.222-\left(-2.222\right)}{2.5-3.5}=\frac{2.000}{-1.0}=-2.0$$Using any point along the line (e.g., [HA] = 0.100, pH = 2.9), we can then calculate the y-intercept (pH = 0):
$$\begin{array}{l}\mathrm{log}[\text{HA}]=-2.0\text{pH+}b\\ \text{}-1.00=\left[(-2.0)(2.9)\right]+b\\ \text{}4.8=b\end{array}$$Thus at a pH of 0.0, log[HA] = 4.8 and [HA] = 6.31 × 10^{4} M. The exercises provide practice in drawing and interpreting graphs.
The absorbance of light by various aqueous solutions of phosphate was measured and tabulated as follows:
Absorbance (400 nm) | PO_{4}^{3−} (mol/L) |
---|---|
0.16 | 3.2 × 10^{−5} |
0.38 | 8.4 × 10^{−5} |
0.62 | 13.8 × 10^{−5} |
0.88 | 19.4 × 10^{−5} |
Graph the data with the dependent variable on the y axis and the independent variable on the x axis and then calculate the slope. If a sample has an absorbance of 0.45, what is the phosphate concentration in the sample?
The following table lists the conductivity of three aqueous solutions with varying concentrations. Create a plot from these data and then predict the conductivity of each sample at a concentration of 15.0 × 10^{3} ppm.
0 ppm | 5.00 × 10^{3} ppm | 10.00 × 10^{3} ppm | |
---|---|---|---|
K_{2}CO_{3} | 0.0 | 7.0 | 14.0 |
Seawater | 0.0 | 8.0 | 15.5 |
Na_{2}SO_{4} | 0.0 | 6.0 | 11.8 |
Solution:
Absorbance is the dependent variable, and concentration is the independent variable. We calculate the slope using two widely separated data points:
$$m=\frac{\Delta y}{\Delta x}=\frac{0.62-0.16}{13.8\times {10}^{-5}-3.2\times {10}^{-5}}=4.3\times {10}^{3}$$According to our graph, the y-intercept, b, is 0.00. Thus when y = 0.45,
0.45 = (4.3 × 10^{3})(x) + 0.00 x = 10 × 10^{−5}This is in good agreement with a graphical determination of the phosphate concentration at an absorbance of 0.45, which gives a value of 10.2 × 10^{−5} mol/L.
Conductivity is the dependent variable, and concentration is the independent variable. From our graph, at 15.0 × 10^{3} ppm, the conductivity of K_{2}CO_{3} is predicted to be 21; that of seawater, 24; and that of Na_{2}SO_{4}, 18.