Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Semi-log plot

From Wikipedia, the free encyclopedia
Type of graph
The log–linear type of a semi-log graph, defined by alogarithmic scale on they-axis (vertical), and alinear scale on thex-axis (horizontal). Plotted lines are:y = 10x (red),y = x (green),y = log(x) (blue).
The linear–log type of a semi-log graph, defined by alogarithmic scale on the x axis, and alinear scale on the y axis. Plotted lines are:y = 10x (red),y = x (green),y = log(x) (blue).

Inscience andengineering, asemi-log plot/graph orsemi-logarithmicplot/graph has one axis on alogarithmic scale, the other on alinear scale. It is useful for data withexponential relationships, where onevariable covers a large range of values.[1]

All equations of the formy=λaγx{\displaystyle y=\lambda a^{\gamma x}} form straight lines when plotted semi-logarithmically, since taking logs of both sides gives

logay=γx+logaλ.{\displaystyle \log _{a}y=\gamma x+\log _{a}\lambda .}

This is a line with slopeγ{\displaystyle \gamma } andlogaλ{\displaystyle \log _{a}\lambda } vertical intercept. The logarithmic scale is usually labeled in base 10; occasionally in base 2:

log(y)=(γlog(a))x+log(λ).{\displaystyle \log(y)=(\gamma \log(a))x+\log(\lambda ).}

Alog–linear (sometimes log–lin) plot has the logarithmic scale on they-axis, and alinear scale on thex-axis; alinear–log (sometimes lin–log) is the opposite. The naming isoutput–input (yx), the opposite order from (x,y).

On a semi-log plot the spacing of the scale on they-axis (orx-axis) is proportional to the logarithm of the number, not the number itself. It is equivalent to converting they values (orx values) to their log, and plotting the data on linear scales. Alog–log plot uses the logarithmic scale for both axes, and hence is not a semi-log plot.

Equations

[edit]

The equation of a line on a linear–log plot, where theabscissa axis is scaled logarithmically (with a logarithmic base ofn), would be

F(x)=mlogn(x)+b.{\displaystyle F(x)=m\log _{n}(x)+b.\,}

The equation for a line on a log–linear plot, with anordinate axis logarithmically scaled (with a logarithmic base ofn), would be:

logn(F(x))=mx+b{\displaystyle \log _{n}(F(x))=mx+b}
F(x)=nmx+b=(nmx)(nb).{\displaystyle F(x)=n^{mx+b}=(n^{mx})(n^{b}).}

Finding the function from the semi–log plot

[edit]

Linear–log plot

[edit]

On a linear–log plot, pick somefixed point (x0,F0), whereF0 is shorthand forF(x0), somewhere on the straight line in the above graph, and further some otherarbitrary point (x1,F1) on the same graph. The slope formula of the plot is:

m=F1F0logn(x1/x0){\displaystyle m={\frac {F_{1}-F_{0}}{\log _{n}(x_{1}/x_{0})}}}

which leads to

F1F0=mlogn(x1/x0){\displaystyle F_{1}-F_{0}=m\log _{n}(x_{1}/x_{0})}

or

F1=mlogn(x1/x0)+F0=mlogn(x1)mlogn(x0)+F0{\displaystyle F_{1}=m\log _{n}(x_{1}/x_{0})+F_{0}=m\log _{n}(x_{1})-m\log _{n}(x_{0})+F_{0}}

which means thatF(x)=mlogn(x)+constant{\displaystyle F(x)=m\log _{n}(x)+\mathrm {constant} }

In other words,F is proportional to the logarithm ofx times the slope of the straight line of its lin–log graph, plus a constant. Specifically, a straight line on a lin–log plot containing points (F0x0) and (F1x1) will have the function:

F(x)=(F1F0)[logn(x/x0)logn(x1/x0)]+F0=(F1F0)logx1x0(xx0)+F0{\displaystyle F(x)=(F_{1}-F_{0}){\left[{\frac {\log _{n}(x/x_{0})}{\log _{n}(x_{1}/x_{0})}}\right]}+F_{0}=(F_{1}-F_{0})\log _{\frac {x_{1}}{x_{0}}}{\left({\frac {x}{x_{0}}}\right)}+F_{0}}

log–linear plot

[edit]

On a log–linear plot (logarithmic scale on the y-axis), pick somefixed point (x0,F0), whereF0 is shorthand forF(x0), somewhere on the straight line in the above graph, and further some otherarbitrary point (x1,F1) on the same graph. The slope formula of the plot is:

m=logn(F1/F0)x1x0{\displaystyle m={\frac {\log _{n}(F_{1}/F_{0})}{x_{1}-x_{0}}}}

which leads to

logn(F1/F0)=m(x1x0){\displaystyle \log _{n}(F_{1}/F_{0})=m(x_{1}-x_{0})}

Notice thatnlogn(F1) =F1. Therefore, the logs can be inverted to find:

F1F0=nm(x1x0){\displaystyle {\frac {F_{1}}{F_{0}}}=n^{m(x_{1}-x_{0})}}

or

F1=F0nm(x1x0){\displaystyle F_{1}=F_{0}n^{m(x_{1}-x_{0})}}

This can be generalized for any point, instead of justF1:

F(x)=F0n(xx0x1x0)logn(F1/F0){\displaystyle F(x)={F_{0}}n^{\left({\frac {x-x_{0}}{x_{1}-x_{0}}}\right)\log _{n}(F_{1}/F_{0})}}

Real-world examples

[edit]

Phase diagram of water

[edit]

Inphysics andchemistry, a plot of logarithm of pressure against temperature can be used to illustrate the variousphases of a substance, as in the following forwater:

log–linear pressure–temperaturephase diagram of water. TheRoman numerals indicate variousice phases.

2009 "swine flu" progression

[edit]

While ten is the most commonbase, there are times when other bases are more appropriate, as in this example:[further explanation needed]

A semi-logarithmic plot of cases and deaths in the2009 outbreak of influenza A (H1N1).

Notice that while the horizontal (time) axis is linear, with the dates evenly spaced, the vertical (cases) axis is logarithmic, with the evenly spaced divisions being labelled with successive powers of two. The semi-log plot makes it easier to see when the infection has stopped spreading at its maximum rate, i.e. the straight line on this exponential plot, and starts to curve to indicate a slower rate. This might indicate that some form of mitigation action is working, e.g. social distancing.

Microbial growth

[edit]

Inbiology andbiological engineering, the change in numbers ofmicrobes due toasexual reproduction and nutrient exhaustion is commonly illustrated by a semi-log plot. Time is usually the independent axis, with the logarithm of the number or mass ofbacteria or other microbe as the dependent variable. This forms a plot with four distinct phases, as shown below.

Bacterial growth curve

See also

[edit]

References

[edit]
  1. ^(1)Bourne, M."Graphs on Logarithmic and Semi-Logarithmic Paper".Interactive Mathematics. www.intmath.com.Archived from the original on August 6, 2021. RetrievedOctober 26, 2021.
    (2)Bourne, Murray (January 25, 2007)."Interesting semi-logarithmic graph – YouTube Traffic Rank".SquareCirclez: The IntMath blog. www.intmath.com.Archived from the original on February 26, 2021. RetrievedOctober 26, 2021.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Semi-log_plot&oldid=1336629392"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp