# Graphing with Logarithmic Paper Tutorial

At the end of the tutorial on Graphing Simple Functions, you saw how to produce a linear graph of the exponential function \(N = N_0e^{at}\) eat as shown in * Panel 1*. This was done by taking the natural logarithm of both sides of the equation and plotting \(ln(N/N_0)\) vs \(t\) to get a straight line of slope \(a\).

Sometimes it's a nuisance to look up a bunch of logarithms of values of \(N/N_0\) so we make use of a special type of graph paper which does this automatically. A sheet of this paper is shown in * Panel 2*. Notice that it has a linear scale horizontally but a logarithmic scale vertically. It's called "

*semilogarithmic paper*". Notice that the vertical scale goes from 1 to 10. This paper is called "

*one-cycle semi-logarithmic paper*". The significance of this name will become apparent in a little while.

\(N/N_0\) | \(t(s)\) | \(ln(N/N_0)\) |
---|---|---|

2.02 2.78 3.58 5.05 6.35 |
0.8 2.2 3.3 4.8 5.8 |
0.70 1.02 1.28 1.62 1.85 |

In the table of values above \(N/N_0\) obeys an exponential relationship. In the right-hand column, I've looked up the natural logarithms of \(N/N_0\)

The graph shown in * Panel 3* is a plot of these values vs \(t\). Notice that this graph is on normal graph paper, not semi-log paper. We'll use semi-log paper in a moment. As you see, the graph is a straight line and its slope, and thus the constant \(a\), can be found. Pause for a moment and check the calculation of \(a\).

Now let's see how the semi-log paper simplifies all this as shown in * Panel 4*. The same data as in the table above is used here and, since our \(N/N_0\) data is all between 1 and 10, we can use the numbers on the left-hand edge of the graph paper just as they stand. All we have to do is plot the numbers as given. We don't have to find logarithms, the paper does it for us. That's the beauty of semi-log paper. You have to watch out how the paper is sub-divided, though. In this example, it's sub-divided in 0.1, from 1 to 3, but in divisions of 0.2, from 3 to 5 and 0.5 from 5 to 10. Pause here and see how this graph is plotted.

Now let's find \(a\). Again, we must find the slope and this will involve finding logarithms but only at two points on whatever triangle we use to determine the slope. Pause again and check the calculation of the slope in * Panel 4*.

Notice, in fact, we had to look up only one logarithm in the slope calculation when we remembered that the difference of two logs is the log of the quotient. Of course, we got the same value as before, \(a = 0.23 s^{-1}\) but with a lot less work.

\(N/N_1\) | \(t(s)\) |
---|---|

20.2 | 0.8 |

27.8 | 2.2 |

35.8 | 3.3 |

50.5 | 4.8 |

63.5 | 5.8 |

Suppose, however, our data had been as shown in the table above. Now the values of \(t\) are the same but the values of \(N/N_0\) are 10 times larger. What do we do now? The answer is that the decade over which the vertical axis runs is quite arbitrary. It can be 1 to 10 as previously, or it can be 10 to 100 which is what we need now, or 100 to 1000, or 0.1 to 1, and so on. Pause and see that you understand how this graph in * Panel 5* was plotted.

\(N/N_0\) | \(t(hr)\) |
---|---|

5.6 | 0.8 |

14.0 | 1.7 |

27.5 | 2.4 |

61 | 3.2 |

100 | 3.7 |

205 | 4.4 |

370 | 5.0 |

Now let's suppose that you have the data given in the table above. None of the semi-log paper you have seen up to this point will work. You could plot the first number, or the 2nd to 5th, or the 5th to 7th, but you couldn't plot them all. Your one-cycle paper will go only from 1 to 10, or 10 to 100, or 100 to 1000, in other words, one decade. But now N/N0 goes over parts of 3 decades, that is 1 to 1000. For this you need three-cycle semi-log paper which has been used here to plot this data. Pause and check over the plot and calculation on * Panel 6*.

As you can see from this, you choose the number of cycles in the graph paper you use to match the span of data which you have; semi-log paper comes in one, two, three, seven cycles etc.

\(x(m) \) | \(y(m)\) |
---|---|

1.5 | 3.01 |

2.0 | 3.45 |

3.0 | 4.15 |

4.5 | 5.00 |

6.0 | 5.70 |

8.0 | 6.50 |

Let's now turn to a new problem. Suppose you were presented with the set of data shown above. A graph of \(y\) vs \(x\) is also shown in * Panel 7*, and you can see it's a smooth curve. But other than that, it's not very informative. Suppose, however, in addition, there were theoretical grounds for believing that this data obeyed a power-law, \(y = ax^b\). How could we find if this were true and, if it were, evaluate the constants \(a\) and \(b\)?

\(y = ax^b\)

\(\log y = \log a + b \log x\)

( compare with \(y = b + mx\) )

Let's take logarithms of both sides of the equation as above. You can see that, if \(y = ax^b\), then a graph of log \(y\) vs log \(x\) yields a straight line of slope \(b\) and \(y\) intercept log \(a\). Conversely, if a graph of log \(y\) vs log \(x\) for a set of data is a straight line, then the data does indeed follow the relation \(y = ax^b\). Now we could look up a table of values of log \(x\) and log \(y\) and plot it but I won't bother to do it because, just as with the exponential law, there's a simpler way.

\(b = slope = \frac{\log5.25 - \log 3.2}{\log5 - \log1.5}\)

\(y\;intercept = \log a \)

\(\qquad\qquad = \log2.4\)

\(a = 2.5\)

\(y = 2.5\times^{0.41}\)

Since we must plot log \(y\) vs log \(x\), we need graph paper divided logarithmically along both axes. It's called "log-log paper" and a \(1 \times 1\) cycle sample is shown in * Panel 8* where our data of

*is plotted. Pause and see that you understand how the points were plotted.*

**Panel 7**The graph is a straight line so the data does obey \(y = ax^b\). Now let's find a and b. The constant b is given by the slope. Study * Panel 8* and see that you understand how the value was obtained. In calculating the slope, you may use either logs to the base 10 or logs to the base e as long as you are consistent. Notice that since logs have no units, then the slope has no units.

The value of \(\log a\) is the same as the value of the y intercept. To obtain this, we look on the graph for the point where the horizontal variable is 0. Remember that since the horizontal axis is logarithmic, the horizontal variable is actually \(\log x\), not just \(x\), so we want the point where \(\log x = 0\). In order for \(\log x\) to be 0, \(x\) must be 1. The \(y\) intercept can be read off the graph along the vertical line where \(x = 1\).

In this case, the \(y\) intercept is \(\log 2.5\). Remember that it is not just 2.5 since the vertical axis is logarithmic, so we now have \(\log a = \log 2.5\), so a must be 2.5. Therefore, we can write that this data fits the equation \(y = 2.5\times ^{0.41}\). You should really include the proper units with the value of a. To find them, simply rearrange the equation \(y = a \times ^{0.41}\) to solve for \(a\), in other words, \(a = y/x^{0.41}\) and note that the units for both \(y\) and \(x\) were given as metres. So the units for a must be metres 0.53. One final point about this graph. Suppose the horizontal axis didn't start at 1, and there's no need that it should. After all, your values of \(x\) might have been between 10 and 100, so you would have started your horizontal axis at 10. In that case, you couldn't read the \(y\) intercept right off the graph. It must be read where \(\log x = 0\), in other words, where \(x = 1\). To find the value of \(a\), in this case, you just use the equation \(y = ax^b\), substitute values for \(x\), \(y\) and \(b\), and solve for \(a\).

If values of \(x\) and \(y\) extend over more than one decade, then more cycles must be used. Log-log paper comes in many combinations, such as \(2 \times 1\), \(2 \times 3\) and \(5 \times 3\).