ArticleslgStudy

mathematics

Log–log plot

Log–log plot is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Log–log plot rather than just read about it. In short: In science and engineering, a log–log graph or log–log plot is a two-dimensional graph of numerical data that uses logarithmic scales on both the horizontal and vertical axes. Power functions – relationships of the form y=axk – appear as straight lines in a log–log graph, with the exponent corresponding to the slope, and the coefficient corresponding to the intercept.

Log–log plot — main illustration
Log–log plot — illustration

Key takeaways

  • Log–log plot belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Log–log plot to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Log–log plot from memory before moving on to harder problems.

Reference excerpt

In science and engineering, a log–log graph or log–log plot is a two-dimensional graph of numerical data that uses logarithmic scales on both the horizontal and vertical axes. Power functions – relationships of the form y=axk – appear as straight lines in a log–log graph, with the exponent corresponding to the slope, and the coefficient corresponding to the intercept. Thus these graphs are very useful for recognizing these relationships and estimating parameters. Any base can be used for the logarithm, though most commonly base 10 (common logs) are used.

Relation with monomials Given a monomial equation y=axk, taking the logarithm of the equation (with any base) yields: log⁡y=klog⁡x+log⁡a. Setting X=log⁡x and Y=log⁡y, which corresponds to using a log–log graph, yields the equation Y=mX+b where m = k is the slope of the line (gradient) and b = log a is the intercept on the (log y)-axis, meaning where log x = 0, so, reversing the logs, a is the y value corresponding to x = 1.

Equations The equation for a line on a log–log scale would be: log10F(x)=mlog10x+b, F(x)=xm⋅10b, where m is the slope and b is the intercept point on the log plot.

Slope of a log–log plot

To find the slope of the plot, two points are selected on the x-axis, say x1 and x2. Using the below equation: log⁡[F(x1)]=mlog⁡(x1)+b, and log⁡[F(x2)]=mlog⁡(x2)+b. The slope m is found taking the difference: m=log⁡(F2)−log⁡(F1)log⁡(x2)−log⁡(x1)=log⁡(F2/F1)log⁡(x2/x1), where F1 is shorthand for F(x1) and F2 is shorthand for F(x2). The figure at right illustrates the formula. Notice that the slope in the example of the figure is negative. The formula also provides a negative slope, as can be seen from the following property of the logarithm: log⁡(x1/x2)=−log⁡(x2/x1).

Finding the function from the log–log plot The above procedure now is reversed to find the form of the function F(x) using its (assumed) known log–log plot. To find the function F, pick some fixed point (x0, F0), where F0 is shorthand for F(x0), somewhere on the straight line in the above graph, and further some other arbitrary point (x1, F1) on the same graph. Then from the slope formula above: m=log⁡(F1/F0)log⁡(x1/x0) which leads to log⁡(F1/F0)=mlog⁡(x1/x0)=log⁡[(x1/x0)m]. Notice that 10log10(F1) = F1. Therefore, the logs can be inverted to find: F1F0=(x1x0)m or F1=F0x0mxm, which means that F(x)=constant⋅xm. In other words, F is proportional to x to the power of the slope of the straight line of its log–log graph. Specifically, a straight line on a log–log plot containing points (x0, F0) and (x1, F1) will have the function: F(x)=F0(xx0)log⁡(F1/F0)log⁡(x1/x0), Of course, the inverse is true too: any function of the form F(x)=constant⋅xm will have a straight line as its log–log graph representation, where the slope of the line is m.

Finding the area under a straight-line segment of log–log plot To calculate the area under a continuous, straight-line segment of a log–log plot (or estimating an area of an almost-straight line), take the function defined previously F(x)=constant⋅xm. and integrate it. Since it is only operating on a definite integral (two defined endpoints), the area A under the plot takes the form A(x)=∫x0x1F(x)dx=constantm+1⋅xm+1|x0x1 Rearranging the original equation and plugging in the fixed point values, it is found that constant=F0x0m Substituting back into the integral, you find that for A over x0 to x1 A=F0/x0mm+1⋅(x1m+1−x0m+1)log⁡A=log⁡[F0/x0mm+1⋅(x1m+1−x0m+1)]=log⁡F0m+1−log⁡1x0m+log⁡(x1m+1−x0m+1)=log⁡F0m+1+log⁡(x1m+1−x0m+1x0m)=log⁡F0m+1+log⁡(x1mx0m⋅x1−x0m+1x0m) Therefore, A=F0m+1⋅[x1⋅(x1x0)m−x0] For m = −1, the integral becomes A(m=−1)=∫x0x1F(x)dx=∫x0x1constantxdx=F0x0−1∫x0x1dxx=F0⋅x0⋅ln⁡x|x0x1A(m=−1)=F0⋅x0⋅ln⁡x1x0

Log-log linear regression models Log–log plots are often used for visualizing log-log linear regression models with (roughly) log-normal, or log-logistic, errors. In such models, after log-transforming the dependent and independent variables, a simple linear regression model can be fitted, with the errors becoming homoscedastic. This model is useful when dealing with data that exhibits exponential growth or decay, while the errors continue to grow as the independent value grows (i.e., heteroscedastic error). As above, in a log-log linear model the relationship between the variables is expressed as a power law. Every unit change in the independent variable will result in a constant percentage change in the dependent variable. The model is expressed as:

y=a⋅xb⋅eϵ Taking the logarithm of both sides, we get:

log⁡(y)=log⁡(a)+b⋅log⁡(x)+ϵ This is a linear equation in the logarithms of x and y, with log⁡(a) as the intercept and b as the slope. In which ϵ∼Normal(μ,σ2), and eϵ∼Log-Normal(μ,σ2).

Figure 1 illustrates how this looks. It presents two plots generated using 10,000 simulated points. The left plot, titled 'Concave Line with Log-Normal Noise', displays a scatter plot of the observed data (y) against the independent variable (x). The red line represents the 'Median line', while the blue line is the 'Mean line'. This plot illustrates a dataset with a power-law relationship between the variables, represented by a concave line. When both variables are log-transformed, as shown in the right plot of Figure 1, titled 'Log-Log Linear Line with Normal Noise', the relationship becomes linear. This plot also displays a scatter plot of the observed data against the independent variable, but after both axes are on a logarithmic scale. Here, both the mean and median lines are the same (red) line. This transformation allows us to fit a Simple linear regression model (which can then be transformed back to the original scale - as the median line).

… excerpt ends here. Continue reading the full article.

Illustrations

Log–log plot: A log–log plot of y = x (blue), y = x2 (green), and y = x3 (red).Note the logarithmic scale markings on each of the axes, and that the log x and log y axes (where the logarithms are 0) are where x and y themselves are 1.
A log–log plot of y = x (blue), y = x2 (green), and y = x3 (red).Note the logarithmic scale markings on each of the axes, and that the log x and log y axes (where the logarithms are 0) are where x and y themselves are 1.
Log–log plot: Comparison of linear, concave, and convex functions when plotted using a linear scale (left) or a log scale (right).
Comparison of linear, concave, and convex functions when plotted using a linear scale (left) or a log scale (right).
Log–log plot: Finding the slope of a log–log plot using ratios
Finding the slope of a log–log plot using ratios
Log–log plot: Figure 1: Visualizing Log-log Normal Data
Figure 1: Visualizing Log-log Normal Data
Log–log plot: Figure 2: Sliding Window Error Metrics Loglog Normal Data
Figure 2: Sliding Window Error Metrics Loglog Normal Data

Worked examples

Example 1 — a first encounter with Log–log plot

Start with the simplest possible case. Write down what Log–log plot claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Log–log plot before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Log–log plot ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Log–log plot

In research
Log–log plot appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Log–log plot in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Log–log plot is common in secondary-school and first-year university syllabi. It links to neighbouring topics Logarithmic scales of measurement, Statistical charts and diagrams, so understanding it makes those chapters shorter.
In everyday life
Look for Log–log plot outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Log–log plot” →

How to study Log–log plot in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Log–log plot means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Log–log plot out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Log–log plot in simple terms?

In science and engineering, a log–log graph or log–log plot is a two-dimensional graph of numerical data that uses logarithmic scales on both the horizontal and vertical axes. Power functions – relationships of the form y=axk – appear as straight lines in a log–log graph, with the exponent correspo…

Why does Log–log plot matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Log–log plot?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Log–log plot.

Tags

  • Logarithmic scales of measurement
  • Statistical charts and diagrams

Keep exploring