How To Graph On Log Paper
How To Graph On Log Paper
Mesa College
Crivello
x vs. t
35000 30000 25000 20000 15000 10000 5000 0 0 20 40 60 t 80 100 120
Here is a slick technique to solve this dilemma. Lets take the log of both sides of our function: Eq. (1) log( x ) = log ( k tn ) Recall: log AB = log A + log B and log An = n log A
So equation (1) becomes: log x = n log t But this has the form: y = m x
This means that we can just take the log of each data point and plot it on regular graph paper:
log of the data
log x vs. log t on regular paper
5 4 log x 3 2 1 0 0 0.5 1 log t 1.5 2 2.5
*** Note that the axes are log x and log t !!***
log x 0 0.477121 0.30103 1.079181 0.477121 1.431364 0.60206 1.681241 0.69897 1.875061 0.778151 2.033424 0.845098 2.167317 0.90309 2.283301 0.954243 2.385606 1 2.477121 1.30103 3.079181 1.69897 3.875061 1.90309 4.283301 2 4.477121
log t
Data table (2) Now we have a straight line whose slope is the exponent n and whose x-intercept is log k. You can use this data table to show that the slope is 2. Thus n = 2. Notice that since logs have no units, then the slope has no units. The constant k is a little bit trickier. Just as you would find the y-intercept in y = mx + b by setting x = 0, you would find k by setting n log t = 0 in equation (2). 1
So equation (2) becomes log x = n log 1 + log k , or log x = 0 + log k , thus log x = log k. So look on the second graph to see where the line crosses log x axis. This occurs when log x = 0.477121. (* Remember, that value is not x, its log x .) So log x = log k, and we have 0.477121 = log k . Solving for k yields k = 3. So you have now found the constants k and n for the function x = ktn . You can now state that the data of 2 x vs. t can be described by the function x = 3t .
Notice that the log axes runs in exponential cycles. Each cycle runs linearly in 10's but the increase from one cycle to another is an increase by a factor of 10. So within a cycle you would have a series of: 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 (this could also be 1-10, or 0.1-1, etc.). The next cycle actually begins with 100 and progresses as 200, 300, 400, 500, 600, 700, 800, 900, 1000. The cycle after that would be 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000 and so on. So you see, the graph paper actually takes the log for you!
Now we will plot our original data from table (1) on log-log paper to see if has the form : log x = n log t + log k.
Since this produces a straight line, we know that the data must describe a function of the form x = ktn with slope n and vertical intercept log k. Care must be taken when calculating the slope. Any number taken from the graph comes off the graph paper as the log of that number.
Just do the same as you would when solving for b in y = mx + b, namely, set x = 0 to get y = b. We have log x = nlog t + log k. So setting n log t = 0 leaves log x = log k. Recall log t = 0 when t = 1 ! So look to see where your line intercepts the x-axis when t = 1 ( not when t = 0, since log 0 is undefined there!) In the graph above, the line intercepts the x-axis at point C. Thus the x-intercept is log 3. Remember that it is not just 3 since the vertical axis is logarithmic, so log x = log k becomes log 3 = log k, and thus k = 3. Therefore, we can write that this data fits the equation x = 3t2. You must include the proper units with the value of k. To find them, simply rearrange the equation x = ktn to solve for k, in other words, k = x/tn. Since x has units of meters and t has units of seconds, the units for k must be m/sn. In this exercise where n = 2, k has units of m/s2. So to fully express the function, we have:
x = 3 m/s2 t2.
4
More Examples: Here is a students data for a trial run of a glider moving down a tilted airtrack.
Time t (s) Position x (cm)
Position vs. Time for a glider on an air-track 100 position x (cm) 80 60 40 20 0 0 0.2 0.4 0.6 time (s) 0.8 1 1.2
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1
4.1 9.1 15.1 21.9 29.7 38.35 48 58.45 69.7 82.1 95.5
It appears that the data obeys a power law of the form x = k tn , where k is a constant to be determined. We will now use the techniques outlined in the lab session to determine the constants k and n in a step-by-step manner.
Remember that the log paper is ruled in powers (or decades) of 10 as indicated by the arrows. This means that the axes must be labeled in successive powers or 10.
10
100
1000
or,
or,
0.01
0.1
10
Where we used: 10-2, 10-1, 100, 101. All of which are successive powers of 10.
Answer this question: Where is the zero located on the log paper? Your answer: _________________________________________________ Notice that the lines in between the powers of 10 are not evenly spaced! Why is this??!! Its because the scale on the log paper represents a function, the logarithmic function. Recall y = log x looks like
The function is NOT LINEAR, so that is why the in-between lines on the log paper are not evenly spaced. 6
Lets look at how you would read some of these lines. For example:
10
100
1000
30
700
Or,
0.1
10
100
0.2
0.5
70
0.01
0.1
10
0.02
_?___
_?___
__?___
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1
4.1 9.1 15.1 21.9 29.7 38.35 48 58.45 69.7 82.1 95.5
100
x (cm)
10
0.1 8
1 t (s)
10
Heres an example of when none of the data points fall on the best fit line.
Time t (s)
Position x (cm)
position x (cm)
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1
4.1 9.1 15.1 21.9 29.7 38.35 48 58.45 69.7 82.1 95.5
10
Remember what the log paper has done for you; it took a function having the form x = ktn ,
and stripped the exponent n off the t by taking the log of both sides to yield
log x
y
=
=
n log t
m x
+ log k
+ b
And what can you do with a straight line? You can easily find the slope m and intercept b!
x = k tn
Care must be taken when calculating the slope on log paper. Remember that you did not take the log of your data using your calculator, rather the logarithmic graph paper took the log for you! Thus, any number taken off the graph comes off the graph paper as the log of that number. Method: Pick two points on your line : (x2 , t2) and (x1 , t1). The previous example illustrates that your data points may not all be on the line. Even so, you must pick two points on your line!
48 log log(48) log(9.1) 9.1 = 1.3 the slope : n = = log(0.7) log(0.2) 0.7 log 0.2
So your exponent n is 1.3. So the data has the form
x = k t 1.3 .
10
x = k t 1.3 .
but since n = 1.3, log k , +
Just do the same as you would when solving for b in y = mx + b, namely, set x = 0 to get y = b. y = 1.3x + b y = 1.3 * 0 + b
y (0, b) x
which gives y = b.
But we have
log x =
1.3 log t
+ log k .
0 + log k or
11
Now look to see where your line intercepts the vertical x-axis when t = 1 ( not when t = 0, since log 0 is undefined there!)
Position vs. Time for a glider on an air-track 100
C
Q
position x (cm)
The point where your line intercepts the vertical t = 1 axis is your value of k!
10
In the graph above, the line intercepts the vertical x-axis at point C, where the vertical x-value is 82.1. Thus the x-intercept is log 82.1. Remember that it is not just 82.1 since the vertical axis is logarithmic, its actually log 82.1 when you take it off the paper.
so log x = log k becomes log 82.1 = log k, and thus k = 82.1. Its that easy. You didnt even need a calculator to find k.
12
x = k tn.
We have found that n = 1.3 and k = 82.1. Therefore, we can write that this data fits the equation
x = 82.1t 1.3 .
But wait!
You must include the proper units with the value of k. To find them, simply rearrange the equation
k=
Since x has units of centimeters and t has units of seconds, the units for k must be
cm . sn
cm . s 1.3
x = 82.1
cm 1.3 t . 1.3 s
Graphing on log paper is a powerful tool to have in your engineering toolbox. To refine your skills, we will be doing several of these graphs throughout the semester. All of them will be used to find the n constant k and exponent n for non-linear data that we suspect follows a x = k t trend. Now you will get another chance to practice the skill of graphing on log paper.
13
Name: Here is a students data for a trial run of a glider moving down a tilted airtrack. Time t (s)
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Position x(cm)
0.104 0.590 1.626 3.339 5.833 9.202 13.528 18.890 25.358 33.000 41.878 52.0555 63.587 76.530 90.937
100 90 80
position (cm)
time (s)
It appears that the data obeys a power law of the form x = k t , where n and k are constants to be determined. You will use the techniques outlined in this tutorial to determine the constants k and n. Please show all of your work on a separate piece of paper.
n
On the 2-cycle log-log paper provided, construct a complete and detailed graph of position verses time for the glider. Please make sure your graph is titled and labeled correctly. Please use the step-by-step tutorial in the previous sections to assist in the construction of the graph. If you ask me how do I make a log-log graph?, I will refer you to this entire tutorial. After drawing a best-fit line on your graph, determine the value of the exponent n by finding the slope of your line. Please show all of your work in the box provided on the graph paper. Now use your graph to determine the constant k. Again, use the step-by-step tutorial to do this. If you ask me how do I find n and k?, I will refer you to this entire tutorial.
Using appropriate units, express the position of the glider as a function of time using your values of k and n.
x (t) = ________________
Calculations:
n=
k =