Semi Log And Log Log Graphs
Ever tried to graph data that skyrockets off the page? Semi-log and log-log graphs are special tools that tame wild curves, turning them into straight lines. They help us visualize and understand relationships involving rapid growth or vast ranges of numbers, from population booms to planetary orbits.

What Are Semi-Log and Log-Log Graphs?
A semi-log or log-log graph is a way of plotting data using a logarithmic scale on one or both axes to reveal relationships that would be hidden on a standard linear graph. On a normal graph, the distance between grid lines is constant—the space between 1 and 2 is the same as between 9 and 10. This is called a linear scale. However, when you have data that grows incredibly fast, like an exponential function, a linear scale can't keep up. The initial values get squished near the bottom, while the later values shoot off the top of the chart.
This is where logarithmic scales save the day. A logarithmic scale is based on powers of 10. The distance between 1 and 10 is the same as the distance between 10 and 100, and the same as between 100 and 1000. It expands the small values and compresses the large ones, allowing us to see the full range of data clearly.
- A Semi-Log Graph uses a logarithmic scale on only one axis (usually the y-axis) and a linear scale on the other. This type of graph is perfect for visualizing exponential relationships.
- A Log-Log Graph uses a logarithmic scale on both the x-axis and the y-axis. This is the go-to tool for analyzing power law relationships.
The main goal of using these graphs is to take a relationship that produces a curve on a standard plot and transform it into a straight line. Straight lines are much, much easier for us to analyze and understand.
Why Do We Even Need Logarithmic Scales?
Imagine you're tracking the number of bacteria in a petri dish. Let's say it starts with 100 and doubles every hour. After 1 hour, you have 200. After 5 hours, you have 3,200. After 10 hours, you have over 100,000! If you try to plot this on a standard graph with a y-axis from 0 to 100,000, the first few hours of data will be an indistinguishable smudge near the zero line. You lose all the detail of the early growth.
A logarithmic scale solves this problem. On a log scale, the jump from 100 to 1,000 takes up the same amount of space as the jump from 1,000 to 10,000, and from 10,000 to 100,000. This allows you to see both the small and large values clearly on the same graph. The exponential growth that looked like a sharp curve now looks like a perfectly straight line, revealing the constant rate of change in a new way.
Many real-world phenomena span huge ranges of values and are best understood with log scales:
- The Richter Scale: For measuring earthquake intensity. A magnitude 6 earthquake has 10 times the shaking amplitude of a magnitude 5.
- The Decibel Scale: For measuring sound loudness. A 20 dB sound has 10 times the intensity of a 10 dB sound.
- The pH Scale: For measuring acidity. A solution with pH 4 is 10 times more acidic than one with pH 5.
In science and engineering, these graphs are essential for finding the mathematical model that best describes a set of experimental data.
How Does a Semi-Log Graph Work?
A semi-log graph is the perfect tool for dealing with exponential functions. An exponential function has the general form:
Here,
However, if you plot it on a semi-log graph with a logarithmic y-axis, something magical happens: it becomes a straight line. Why? Let's look at the math. If we take the common logarithm (log base 10) of both sides of the equation:
Using the rules of logarithms, we can split the right side:
And another logarithm rule lets us bring the exponent down:
Let's rearrange this slightly to look more familiar:
This looks just like the equation of a line,
- The slope
- The variable
- The y-intercept
By plotting
Let's plot the exponential function
| x (Linear Axis) | y (Log Axis) |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 |
On a semi-log plot, the x-axis is linear (0, 1, 2, 3...). The y-axis is logarithmic, marked in cycles like 1, 10, 100, 1000. To plot the point (3, 32), you would find 3 on the linear x-axis. On the y-axis, you'd go into the cycle between 10 and 100. The grid lines would be for 20, 30, 40, etc. You'd find 32 and mark the point. When you plot all these points, they will form a perfect straight line. The slope of this line is
What's the Deal with Log-Log Graphs?
While semi-log graphs are for exponential functions, log-log graphs are designed for power functions. A power function has the general form:
Here,
To straighten this curve out, we need a log-log graph, with logarithmic scales on both axes. Let's see why this works by taking the logarithm of both sides of the power function equation:
Using our logarithm rules again:
Rearranging this into a familiar form:
This is again the equation of a line,
- The slope
(This is incredibly useful!) - The variable
- The y-intercept
The most important takeaway is that the slope of the straight line on a log-log graph is equal to the exponent
Let's plot the power function
| x (Log Axis) | y (Log Axis) |
|---|---|
| 1 | |
| 2 | |
| 5 | |
| 10 | |
| 20 |
When you plot these
The slope is exactly 2, which is the exponent
How Do You Read and Create These Graphs?
Reading and creating these graphs takes a little practice because the scales are not intuitive at first.
Reading the Graph
- Identify the Scale Type: First, check each axis. Is it linear or logarithmic? A log scale will have unevenly spaced grid lines, typically marked with powers of 10 (e.g., 0.1, 1, 10, 100).
- Find Your Point: Locate the point you want to read.
- Read the Linear Axis: Reading the value on a linear axis is straightforward, just as you've always done.
- Read the Logarithmic Axis: This is the tricky part. The lines between 10 and 100 do not represent 20, 30, 40... in even spaces. The line for 20 is closer to 10, while the line for 90 is very close to 100. You have to estimate based on these compressed markings. The halfway mark in distance between 10 and 100 is not 55, it's actually around 31.6 (
)!
Creating the Graph
- Choose the Right Graph: Look at your data. Does it seem to be growing by a constant factor (e.g., doubling)? Use a semi-log plot. Does it seem to follow a polynomial relationship? Try a log-log plot. The goal is to find the plot that makes your data points form a straight line.
- Determine the Range: Find the minimum and maximum values for both your x and y data.
- Set Up the Axes: For any log axis, you need to determine how many 'cycles' you need. If your y-data ranges from 5 to 850, you'll need cycles for 1-10, 10-100, and 100-1000. Mark these major divisions. Then, fill in the intermediate lines (2, 3, 4... and 20, 30, 40...).
- Plot the Points: Take each
data pair and plot it directly onto the graph paper. You do not need to calculate any logarithms yourself. The special grid lines on the graph paper do that work for you.
Kepler's Third Law relates a planet's orbital period (
| Planet | Distance R (AU) | Period T (Years) |
|---|---|---|
| Mercury | 0.39 | 0.24 |
| Venus | 0.72 | 0.62 |
| Earth | 1.0 | 1.0 |
| Mars | 1.52 | 1.88 |
| Jupiter | 5.20 | 11.86 |
If we plot this data on a log-log graph, the points will form a nearly perfect straight line. If we then measured the slope of that line, we would find it to be very close to 1.5, confirming the exponent in Kepler's Law!

How Can Graphs Help Identify Function Types?
One of the most powerful uses of these graphs is to identify the type of function that best models a set of data. If you have a table of experimental data, you can plot it on all three types of graphs (linear, semi-log, and log-log) and see which one produces a straight line. This tells you the underlying relationship between your variables.
Here is a summary table to help you:
| If a plot of your data produces a straight line on a... | ...then the relationship is... | ...with the general equation: |
|---|---|---|
| Standard Linear Graph | Linear | |
| Semi-Log Graph (log y-axis) | Exponential | |
| Log-Log Graph | Power Law |
This method is a fundamental tool in data analysis. By transforming data so it appears linear, we can easily find the constants of the model (like the slope and intercept) and create a predictive equation for the phenomenon we are studying.
What Are Some Common Mistakes to Avoid?
Working with logarithmic scales can be tricky at first. Here are some common pitfalls to watch out for:
- Reading the Log Scale Incorrectly: The most common error is treating a logarithmic scale like a linear one. Remember, the grid lines are not evenly spaced. The space between 1 and 2 is much larger than the space between 8 and 9. Always check the labels for the major cycles (1, 10, 100...) to orient yourself.
- Plotting the Logarithm of the Data: When using logarithmic graph paper, you plot the raw data value directly. For example, to plot a y-value of 300, you find the line labeled '300' (or the 3rd line in the 100-1000 cycle). You should not calculate
and plot that value on a linear scale. The special paper does the transformation for you. - Forgetting About Zero and Negatives: The logarithm of zero or a negative number is undefined. Therefore, a logarithmic axis can never start at or include 0. It must start at a positive value, like 0.01, 0.1, or 1. If your data includes zero or negative values, you cannot use a log scale for that axis.
- Choosing the Wrong Graph Type: If you plot exponential data on a log-log graph, it won't be a straight line. If you plot power law data on a semi-log graph, it also won't be a straight line. Part of the skill is learning to recognize which graph type is appropriate for your data to achieve that desired linear relationship.
Quick Summary: Which Graph Should I Use?
Feeling a little overwhelmed? Here's a quick reference guide. The goal is always to make your data form a straight line. Choose the graph type based on the underlying mathematical relationship you suspect (or discover) in your data.
- For Linear Relationships (
):
Use a standard Linear Graph. Both axes have evenly spaced grid lines. - For Exponential Relationships (
):
Use a Semi-Log Graph. The y-axis should have a logarithmic scale, and the x-axis should have a linear scale. This is perfect for things that grow by a constant percentage, like compound interest or population growth. - For Power Law Relationships (
):
Use a Log-Log Graph. Both the x-axis and y-axis should have logarithmic scales. This is ideal for many relationships in science, like those between size and strength, or period and distance in astronomy.
Frequently Asked Questions
What's the main difference between a semi-log and a log-log graph?
The main difference is the number of logarithmic axes. A semi-log graph has one logarithmic axis and one linear axis. A log-log graph has two logarithmic axes.
Can a logarithmic scale ever show the value zero?
No, a logarithmic scale cannot show zero or any negative numbers. This is because the logarithm of zero (or a negative number) is undefined. The scale can get infinitely close to zero (e.g., 0.1, 0.01, 0.001) but will never reach it.
Why is the spacing on a log scale so uneven?
The spacing represents multiplicative factors, not additive ones. The distance from 1 to 10 (a 10x increase) is the same as the distance from 10 to 100 (another 10x increase). This compresses large values and expands small ones.
What kind of real-world data is plotted on these graphs?
Semi-log graphs are often used for things like population growth, radioactive decay, or the cooling of an object. Log-log graphs are very common in science and engineering, used for things like planetary orbits (Kepler's Laws), the relationship between an animal's size and its metabolic rate, and frequency analysis in electronics.
Does it matter which axis is logarithmic on a semi-log graph?
Yes, it matters greatly. For an exponential function like
What does the slope of the line on these graphs tell me?
On a semi-log plot for
Is the Richter scale for earthquakes a log scale?
Yes, the Richter scale is a classic real-world example of a logarithmic scale. An increase of 1 on the scale (e.g., from a 5.0 to a 6.0) corresponds to a tenfold increase in the measured amplitude of the seismic waves.
Can I make these graphs in a spreadsheet program?
Absolutely. Spreadsheet programs like Microsoft Excel and Google Sheets make it very easy. After creating a standard scatter plot, you can go into the chart's axis options and change the scale from 'Linear' to 'Logarithmic' with a single click.