Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
21 views

How To Graph On Log Paper

The document describes how to use logarithmic graph paper to determine if a set of data fits a power law relationship and evaluate the constants. It explains that taking the log of both sides of a power law relationship converts it into a linear relationship that can be plotted as a straight line on log-log graph paper. The slope of the line gives the exponent and the intercepts can be used to determine the constant. An example is worked through step-by-step to illustrate the process. Additional examples and guidance for properly using and interpreting log-log graph paper are also provided.

Uploaded by

Mostafa Mohamed
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

How To Graph On Log Paper

The document describes how to use logarithmic graph paper to determine if a set of data fits a power law relationship and evaluate the constants. It explains that taking the log of both sides of a power law relationship converts it into a linear relationship that can be plotted as a straight line on log-log graph paper. The slope of the line gives the exponent and the intercepts can be used to determine the constant. An example is worked through step-by-step to illustrate the process. Additional examples and guidance for properly using and interpreting log-log graph paper are also provided.

Uploaded by

Mostafa Mohamed
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Physics 195

Mesa College

Crivello

Graphing on log-log Paper


Suppose you were presented with the set of data shown below. A graph of x vs. t is also shown, and you can see it's a smooth curve. But other than that, it's not very informative. Suppose, however, in addition, there were reasons to believe that this data obeyed a power-law, x = ktn. How could you find if this were true and, if it were, evaluate the constants k and n? Perhaps this function is x = t2, or x = 5t4. Actually, it is probably impossible to determine the exponent n and constant k by looking at this graph.
t (s) 1 2 3 4 5 6 7 8 9 10 20 50 80 100 x ( m) 3 12 27 48 75 108 147 192 243 300 1200 7500 19200 30000

x vs. t
35000 30000 25000 20000 15000 10000 5000 0 0 20 40 60 t 80 100 120

Your data Data table (1)

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

+ log k eq. (2)


+ b , a straight line!

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 .

The easy way


Taking the log of all the data and re-plotting it is tedious and time consuming. Fortunately there is an easier way! Instead of using your calculator to take the log of each data point, we can use special graph paper called logarithmic graph paper. Since the log of both variables x and t are needed, we can use loglog paper it is just graph paper in which both axes are ruled logarithmically.
log-log paper

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.

x vs. t on log-log paper


100000 10000 A x(m) 1000 100 10 C 1 1 10 t(s) 100 B

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.

Calculation of the slope n :


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 : (xc2 , tc2) and (xc1 , tc1). Remember that your data points may not all be on the line. Even so, you must pick two points on your line!

x c2 log x log(x c2 ) log(x c1 ) c1 the slope : n = = log(t c2 ) log(t c1 ) t c2 log t c1


For this example, I will use points A and B to calculate the slope. ( * Remember that your data points may not all be on the line. Even so, you must pick two points on your line!) log (1200) log (27) log (1200/27) Slope n = log (20) log (3) = log (20/3) = 2

Calculation of the constant k:


x vs. t on log-log paper
100000 10000 A x(m) 1000 100 10 C 1 1 10 t(s) 100 B

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

Step-by-Step Tutorial to Assist You When Graphing of Log Paper


I hope you agree that the method of graphing your data on log-log paper greatly simplifies the process of determining the functional dependence between two variables. The techniques of graphing on logarithmic paper are valuable tools that you will need in your career as a scientist or engineer. You will be expected to make these types of graphs several times throughout this semester.

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.

Step 1: Choosing a scale for the x and t axes:

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.

For example: the horizontal axis could be labeled as

10

100

1000

Where we used: 100, 101, 102, 103

or,

Where we used: 10-1, 100, 101, 102


0.1 1 10 100

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

Try this for yourself:

0.01

0.1

10

0.02

_?___

_?___

__?___

You should have filled in: 0.05, 0.3, and 7.

Lets go back to our original example:


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

Labeling the Log axes:


The x-values range from 4.1cm to 95.5cm, so the vertical scale on the log paper needs to cover the #s from 1 to 100. Thus we can label the vertical scale using 100, 101, 102, or { 1 10 100 }. The t-values range from 0.1s to 1.1s, so the horizontal scale on the log paper needs to cover the #s from 0.1 to more than 1. Thus we can label the horizontal scale using 10-1, 100, 101, or { 0.1 1.0 10 }
Position vs. Time for a glider on an air-track

Remember to include the units for each axis.

100

x (cm)

10

0.1 8

1 t (s)

10

Step 2: Plotting the Data on the Log-Log Paper:


Remember that the log paper takes the mathematical log of the data for you you do not have to take the log of your data with your calculator, the paper does it for you! Plot your data values on the log paper and draw a best fit straight line. (*Note: not all of your data points may touch your line. You may even find that NONE of your data points are on your line.)

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

Position vs. Time for a glider on an air-track 100

10

1 0.1 1 time (s) 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

which has the familiar form

which is now a straight line on the log paper.

And what can you do with a straight line? You can easily find the slope m and intercept b!

Step 3: Finding the exponent n in the log paper.

x = k tn

- Its just the slope of your line on

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!

x2 log x log(x 2 ) log(x 1 ) 1 = the slope : n = log(t 2 ) log(t 1 ) t2 log t 1


For this example, I will use points Q ( 48, 0.7) and P (9.1, 0.2) to calculate the slope. ( * These just happen to fall on my line. Remember 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 .

Now find the intercept k.

10

Step 4: Determine the intercept k in


Recall that you had it now looks like which has the familiar form: log x = log x

x = k t 1.3 .
but since n = 1.3, log k , +

n log t + log k , = 1.3 log t

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 .

So setting 1.3 log t = 0 leaves log x =

0 + log k or

log x = log k Recall 1.3 log t = 0 when t = 1 !

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

This is the t = 1 axis.

1 0.1 1 time (s) 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

Step 5: Putting it all together.


We were trying to fit the data to the form

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

x = k t n to solve for k, in other words,


x tn

k=

Since x has units of centimeters and t has units of seconds, the units for k must be

cm . sn

In this exercise where n = 1.3, k has units of

cm . s 1.3

So to fully express the function, we have:

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 vs. Time for a glider on an airtrack

position (cm)

70 60 50 40 30 20 10 0 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6

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) = ________________

Please hand this page in to me when I ask for it during class. 14

Calculations:

n=

k =

You might also like