# Buckingham π theorem

In engineering, applied mathematics, and physics, the Buckingham π theorem is a key theorem in dimensional analysis. It is a formalisation of Rayleigh's method of dimensional analysis. Loosely, the theorem states that if there is a physically meaningful equation involving a certain number n physical variables, then the original equation can be rewritten in terms of a set of p = n − k dimensionless parameters π$_1$, π$_2$, ..., π$_p$ constructed from the original variables, where k is the number of physical dimensions involved; it is obtained as the rank of a particular matrix.
The theorem provides a method for computing sets of dimensionless parameters from the given variables, or nondimensionalization, even if the form of the equation is still unknown.
The Buckingham π theorem indicates that validity of the laws of physics does not depend on a specific unit system. A statement of this theorem is that any physical law can be expressed as an identity involving only dimensionless combinations (ratios or products) of the variables linked by the law (for example, pressure and volume are linked by Boyle's law – they are inversely proportional). If the dimensionless combinations' values changed with the systems of units, then the equation would not be an identity, and the theorem would not hold.

## History

Although named for Edgar Buckingham, the π theorem was first proved by the French mathematician Joseph Bertrand in 1878. Bertrand considered only special cases of problems from electrodynamics and heat conduction, but his article contains, in distinct terms, all the basic ideas of the modern proof of the theorem and clearly indicates the theorem's utility for modelling physical phenomena. The technique of using the theorem ("the method of dimensions") became widely known due to the works of Rayleigh. The first application of the π theorem in the general case to the dependence of pressure drop in a pipe upon governing parameters probably dates back to 1892, a heuristic proof with the use of series expansions, to 1894.
Formal generalization of the π theorem for the case of arbitrarily many quantities was given first by A. Vaschy [fr] in 1892, then in 1911—apparently independently—by both A. Federman and D. Riabouchinsky, and again in 1914 by Buckingham. It was Buckingham's article that introduced the use of the symbol "$\pi _{i}$" for the dimensionless variables (or parameters), and this is the source of the theorem's name.

## Statement

More formally, the number $p$ of dimensionless terms that can be formed is equal to the nullity of the dimensional matrix, and $k$ is the rank. For experimental purposes, different systems that share the same description in terms of these dimensionless numbers are equivalent.
In mathematical terms, if we have a physically meaningful equation such as $f(q_{1},q_{2},\ldots ,q_{n})=0,$ where $q_{1},\ldots ,q_{n}$ are any $n$ physical variables, and there is a maximal dimensionally independent subset of size $k$, then the above equation can be restated as $F(\pi _{1},\pi _{2},\ldots ,\pi _{p})=0,$ where $\pi _{1},\ldots ,\pi _{p}$ are dimensionless parameters constructed from the $q_{i}$ by $p=n-k$ dimensionless equations — the so-called Pi groups — of the form $\pi _{i}=q_{1}^{a_{1}}\,q_{2}^{a_{2}}\cdots q_{n}^{a_{n}},$ where the exponents $a_{i}$ are rational numbers. (They can always be taken to be integers by redefining $\pi _{i}$ as being raised to a power that clears all denominators.) If there are $\ell$ fundamental units in play, then $p\geq n-\ell$.

## Significance

The Buckingham π theorem provides a method for computing sets of dimensionless parameters from given variables, even if the form of the equation remains unknown. However, the choice of dimensionless parameters is not unique; Buckingham's theorem only provides a way of generating sets of dimensionless parameters and does not indicate the most "physically meaningful".
Two systems for which these parameters coincide are called similar (as with similar triangles, they differ only in scale); they are equivalent for the purposes of the equation, and the experimentalist who wants to determine the form of the equation can choose the most convenient one. Most importantly, Buckingham's theorem describes the relation between the number of variables and fundamental dimensions.

## Proof

For simplicity, it will be assumed that the space of fundamental and derived physical units forms a vector space over the real numbers, with the fundamental units as basis vectors, and with multiplication of physical units as the "vector addition" operation, and raising to powers as the "scalar multiplication" operation: represent a dimensional variable as the set of exponents needed for the fundamental units (with a power of zero if the particular fundamental unit is not present). For instance, the standard gravity $g$ has units of ${\mathsf {L}}/{\mathsf {T}}^{2}={\mathsf {L}}^{1}{\mathsf {T}}^{-2}$ (length over time squared), so it is represented as the vector $(1,-2)$ with respect to the basis of fundamental units (length, time). We could also require that exponents of the fundamental units be rational numbers and modify the proof accordingly, in which case the exponents in the pi groups can always be taken as rational numbers or even integers.

### Rescaling units

Suppose we have quantities $q_{1},q_{2},\dots ,q_{n}$, where the units of $q_{i}$ contain length raised to the power $c_{i}$. If we originally measure length in meters but later switch to centimeters, then the numerical value of $q_{i}$ would be rescaled by a factor of $100^{c_{i}}$. Any physically meaningful law should be invariant under an arbitrary rescaling of every fundamental unit; this is the fact that the pi theorem hinges on.

### Formal proof

Given a system of $n$ dimensional variables $q_{1},\ldots ,q_{n}$ in $\ell$ fundamental (basis) dimensions, the dimensional matrix is the $\ell \times n$ matrix $M$ whose $\ell$ rows correspond to the fundamental dimensions and whose $n$ columns are the dimensions of the variables: the $(i,j)$th entry (where $1\leq i\leq \ell$ and $1\leq j\leq n$) is the power of the $i$th fundamental dimension in the $j$th variable. The matrix can be interpreted as taking in a combination of the variable quantities and giving out the dimensions of the combination in terms of the fundamental dimensions. So the $\ell \times 1$ (column) vector that results from the multiplication $M{\begin{bmatrix}a_{1}\\\vdots \\a_{n}\end{bmatrix}}$ consists of the units of $q_{1}^{a_{1}}\,q_{2}^{a_{2}}\cdots q_{n}^{a_{n}}$ in terms of the $\ell$ fundamental independent (basis) units.
If we rescale the $i$th fundamental unit by a factor of $\alpha _{i}$, then $q_{j}$ gets rescaled by $\alpha _{1}^{-m_{1j}}\,\alpha _{2}^{-m_{2j}}\cdots \alpha _{\ell }^{-m_{\ell j}}$, where $m_{ij}$ is the $(i,j)$th entry of the dimensional matrix. In order to convert this into a linear algebra problem, we take logarithms (the base is irrelevant), yielding ${\begin{bmatrix}\log {q_{1}}\\\vdots \\\log {q_{n}}\end{bmatrix}}\mapsto {\begin{bmatrix}\log {q_{1}}\\\vdots \\\log {q_{n}}\end{bmatrix}}-M^{\operatorname {T} }{\begin{bmatrix}\log {\alpha _{1}}\\\vdots \\\log {\alpha _{\ell }}\end{bmatrix}},$ which is an action of $\mathbb {R} ^{\ell }$ on $\mathbb {R} ^{n}$. We define a physical law to be an arbitrary function $f\colon (\mathbb {R} ^{+})^{n}\to \mathbb {R}$ such that $(q_{1},q_{2},\dots ,q_{n})$ is a permissible set of values for the physical system when $f(q_{1},q_{2},\dots ,q_{n})=0$. We further require $f$ to be invariant under this action. Hence it descends to a function $F\colon \mathbb {R} ^{n}/\operatorname {im} {M^{\operatorname {T} }}\to \mathbb {R}$. All that remains is to exhibit an isomorphism between $\mathbb {R} ^{n}/\operatorname {im} {M^{\operatorname {T} }}$ and $\mathbb {R} ^{p}$, the (log) space of pi groups $(\log {\pi _{1}},\log {\pi _{2}},\dots ,\log {\pi _{p}})$.
We construct an $n\times p$ matrix $K$ whose columns are a basis for $\ker {M}$. It tells us how to embed $\mathbb {R} ^{p}$ into $\mathbb {R} ^{n}$ as the kernel of $M$. That is, we have an exact sequence
    $0\to \mathbb {R} ^{p}\xrightarrow {\ K\ } \mathbb {R} ^{n}\xrightarrow {\ M\ } \mathbb {R} ^{\ell }.$
Taking tranposes yields another exact sequence
    $\mathbb {R} ^{\ell }\xrightarrow {\ M^{\operatorname {T} }\ } \mathbb {R} ^{n}\xrightarrow {\ K^{\operatorname {T} }\ } \mathbb {R} ^{p}\to 0.$
The first isomorphism theorem produces the desired isomorphism, which sends the coset $v+M^{\operatorname {T} }\mathbb {R} ^{\ell }$ to $K^{\operatorname {T} }v$. This corresponds to rewriting the tuple $(\log q_{1},\log q_{2},\dots ,\log q_{n})$ into the pi groups $(\log \pi _{1},\log \pi _{2},\dots ,\log \pi _{p})$ coming from the columns of $K$.
The International System of Units defines seven base units, which are the ampere, kelvin, second, metre, kilogram, candela and mole. It is sometimes advantageous to introduce additional base units and techniques to refine the technique of dimensional analysis. (See orientational analysis and reference.)

## Examples
### Speed

This example is elementary but serves to demonstrate the procedure.
Suppose a car is driving at 100 km/h; how long does it take to go 200 km?
This question considers $n=3$ dimensioned variables: distance $d,$ time $t,$ and speed $v,$ and we are seeking some law of the form $t=\operatorname {Duration} (v,d).$ Any two of these variables are dimensionally independent, but the three taken together are not. Thus there is $p=n-k=3-2=1$ dimensionless quantity.
The dimensional matrix is $M={\begin{bmatrix}1&0&\;\;\;1\\0&1&-1\end{bmatrix}}$ in which the rows correspond to the basis dimensions $L$ and $T,$ and the columns to the considered dimensions $L,T,{\text{ and }}V,$ where the latter stands for the speed dimension. The elements of the matrix correspond to the powers to which the respective dimensions are to be raised. For instance, the third column $(1,-1),$ states that $V=L^{0}T^{0}V^{1},$ represented by the column vector $\mathbf {v} =[0,0,1],$ is expressible in terms of the basis dimensions as $V=L^{1}T^{-1}=L/T,$ since $M\mathbf {v} =[1,-1].$
For a dimensionless constant $\pi =L^{a_{1}}T^{a_{2}}V^{a_{3}},$ we are looking for vectors $\mathbf {a} =[a_{1},a_{2},a_{3}]$ such that the matrix-vector product $M\mathbf {a}$ equals the zero vector $[0,0].$ In linear algebra, the set of vectors with this property is known as the kernel (or nullspace) of the dimensional matrix. In this particular case its kernel is one-dimensional. The dimensional matrix as written above is in reduced row echelon form, so one can read off a non-zero kernel vector to within a multiplicative constant: $\mathbf {a} ={\begin{bmatrix}-1\\\;\;\;1\\\;\;\;1\\\end{bmatrix}}.$
If the dimensional matrix were not already reduced, one could perform Gauss–Jordan elimination on the dimensional matrix to more easily determine the kernel. It follows that the dimensionless constant, replacing the dimensions by the corresponding dimensioned variables, may be written: $\pi =d^{-1}t^{1}v^{1}=tv/d.$
Since the kernel is only defined to within a multiplicative constant, the above dimensionless constant raised to any arbitrary power yields another (equivalent) dimensionless constant.
Dimensional analysis has thus provided a general equation relating the three physical variables: $F(\pi )=0,$ or, letting $C$ denote a zero of function $F,$ $\pi =C,$ which can be written in the desired form (which recall was $t=\operatorname {Duration} (v,d)$) as $t=C{\frac {d}{v}}.$
The actual relationship between the three variables is simply $d=vt.$ In other words, in this case $F$ has one physically relevant root, and it is unity. The fact that only a single value of $C$ will do and that it is equal to 1 is not revealed by the technique of dimensional analysis.

### The simple pendulum

We wish to determine the period $T$ of small oscillations in a simple pendulum. It will be assumed that it is a function of the length $L,$ the mass $M,$ and the acceleration due to gravity on the surface of the Earth $g,$ which has dimensions of length divided by time squared. The model is of the form $f(T,M,L,g)=0.$
(Note that it is written as a relation, not as a function: $T$ is not written here as a function of $M,L,{\text{ and }}g.$)
Period, mass, and length are dimensionally independent, but acceleration can be expressed in terms of time and length, which means the four variables taken together are not dimensionally independent. Thus we need only $p=n-k=4-3=1$ dimensionless parameter, denoted by $\pi ,$ and the model can be re-expressed as $F(\pi )=0,$ where $\pi$ is given by $\pi =T^{a_{1}}M^{a_{2}}L^{a_{3}}g^{a_{4}}$ for some values of $a_{1},a_{2},a_{3},a_{4}.$
The dimensions of the dimensional quantities are: $T=t,M=m,L=\ell ,g=\ell /t^{2}.$
The dimensional matrix is: $\mathbf {M} ={\begin{bmatrix}1&0&0&-2\\0&1&0&0\\0&0&1&1\end{bmatrix}}.$
(The rows correspond to the dimensions $t,m,$ and $\ell ,$ and the columns to the dimensional variables $T,M,L,{\text{ and }}g.$ For instance, the 4th column, $(-2,0,1),$ states that the $g$ variable has dimensions of $t^{-2}m^{0}\ell ^{1}.$)
We are looking for a kernel vector $a=\left[a_{1},a_{2},a_{3},a_{4}\right]$ such that the matrix product of $\mathbf {M}$ on $a$ yields the zero vector $[0,0,0].$ The dimensional matrix as written above is in reduced row echelon form, so one can read off a kernel vector within a multiplicative constant: $a={\begin{bmatrix}2\\0\\-1\\1\end{bmatrix}}.$
Were it not already reduced, one could perform Gauss–Jordan elimination on the dimensional matrix to more easily determine the kernel. It follows that the dimensionless constant may be written: ${\begin{aligned}\pi &=T^{2}M^{0}L^{-1}g^{1}\\&=gT^{2}/L\end{aligned}}.$ In fundamental terms: $\pi =(t)^{2}(m)^{0}(\ell )^{-1}\left(\ell /t^{2}\right)^{1}=1,$ which is dimensionless. Since the kernel is only defined to within a multiplicative constant, if the above dimensionless constant is raised to any arbitrary power, it will yield another equivalent dimensionless constant.
In this example, three of the four dimensional quantities are fundamental units, so the last (which is $g$) must be a combination of the previous. Note that if $a_{2}$ (the coefficient of $M$) had been non-zero then there would be no way to cancel the $M$ value; therefore $a_{2}$ must be zero. Dimensional analysis has allowed us to conclude that the period of the pendulum is not a function of its mass $M.$ (In the 3D space of powers of mass, time, and distance, we can say that the vector for mass is linearly independent from the vectors for the three other variables. Up to a scaling factor, ${\vec {g}}+2{\vec {T}}-{\vec {L}}$ is the only nontrivial way to construct a vector of a dimensionless parameter.)
The model can now be expressed as: $F\left(gT^{2}/L\right)=0.$
Then this implies that $gT^{2}/L=C_{i}$ for some zero $C_{i}$ of the function $F.$ If there is only one zero, call it $C,$ then $gT^{2}/L=C.$ It requires more physical insight or an experiment to show that there is indeed only one zero and that the constant is in fact given by $C=4\pi ^{2}.$
For large oscillations of a pendulum, the analysis is complicated by an additional dimensionless parameter, the maximum swing angle. The above analysis is a good approximation as the angle approaches zero.

### Electric power

To demonstrate the application of the π theorem, consider the power consumption of a stirrer with a given shape. The power, P, in dimensions [M · L$^2$/T$^3$], is a function of the density, ρ [M/L$^3$], and the viscosity of the fluid to be stirred, μ [M/(L · T)], as well as the size of the stirrer given by its diameter, D [L], and the angular speed of the stirrer, n [1/T]. Therefore, we have a total of n = 5 variables representing our example. Those n = 5 variables are built up from k = 3 independent dimensions, e.g., length: L (SI units: m), time: T (s), and mass: M (kg).
According to the π-theorem, the n = 5 variables can be reduced by the k = 3 dimensions to form p = n − k = 5 − 3 = 2 independent dimensionless numbers. Usually, these quantities are chosen as Re=ρnD$^2$/μ {\textstyle \mathrm {Re} ={\frac {\rho nD^{2}}{\mu }}}, commonly named the Reynolds number which describes the fluid flow regime, and N$_p$=P/ρn$^3$D$^5$ {\textstyle N_{\mathrm {p} }={\frac {P}{\rho n^{3}D^{5}}}}, the power number, which is the dimensionless description of the stirrer.
Note that the two dimensionless quantities are not unique and depend on which of the n = 5 variables are chosen as the k = 3 dimensionally independent basis variables, which, in this example, appear in both dimensionless quantities. The Reynolds number and power number fall from the above analysis if ρ{\textstyle \rho }, n, and D are chosen to be the basis variables. If, instead, μ{\textstyle \mu }, n, and D are selected, the Reynolds number is recovered while the second dimensionless quantity becomes N$_{Rep}$=P/μD$^3$n$^2$ {\textstyle N_{\mathrm {Rep} }={\frac {P}{\mu D^{3}n^{2}}}}. We note that N$_{Rep}${\textstyle N_{\mathrm {Rep} }} is the product of the Reynolds number and the power number.

### Other examples

An example of dimensional analysis can be found for the case of the mechanics of a thin, solid and parallel-sided rotating disc. There are five variables involved which reduce to two non-dimensional groups. The relationship between these can be determined by numerical experiment using, for example, the finite element method.
The theorem has also been used in fields other than physics, for instance in sports science.