# Scale analysis (mathematics)

Scale analysis (or order-of-magnitude analysis) is a powerful tool used in the mathematical sciences for the simplification of equations with many terms. First the approximate magnitude of individual terms in the equations is determined. Then some negligibly small terms may be ignored.

## Example: vertical momentum in synoptic-scale meteorology

Consider for example the momentum equation of the Navier–Stokes equations in the vertical coordinate direction of the atmosphere
| ${\frac {\partial w}{\partial t}}+u{\frac {\partial w}{\partial x}}+v{\frac {\partial w}{\partial y}}+w{\frac {\partial w}{\partial z}}-{\frac {u^{2}+v^{2}}{R}}=-{{\frac {1}{\varrho }}{\frac {\partial p}{\partial z}}}-g+2{\Omega u\cos \varphi }+\nu \left({\frac {\partial ^{2}w}{\partial x^{2}}}+{\frac {\partial ^{2}w}{\partial y^{2}}}+{\frac {\partial ^{2}w}{\partial z^{2}}}\right),$ | (A1) |
where R is Earth radius, Ω is frequency of rotation of the Earth, g is gravitational acceleration, φ is latitude, ρ is density of air and ν is kinematic viscosity of air (we can neglect turbulence in free atmosphere).
In synoptic scale we can expect horizontal velocities about U = 10$^1$ m.s$^{−1}$ and vertical about W = 10$^{−2}$ m.s$^{−1}$. Horizontal scale is L = 10$^6$ m and vertical scale is H = 10$^4$ m. Typical time scale is T = L/U = 10$^5$ s. Pressure differences in troposphere are ΔP = 10$^4$ Pa and density of air ρ = 10$^0$ kg⋅m$^{−3}$. Other physical properties are approximately:
    R = 6.378 × 10$^6$ m;
    Ω = 7.292 × 10$^{−5}$ rad⋅s$^{−1;}$
    ν = 1.46 × 10$^{−5}$ m$^2$⋅s$^{−1;}$
    g = 9.81 m⋅s$^{−2.}$
Estimates of the different terms in equation (A1) can be made using their scales:
    ${\begin{aligned}{\frac {\partial w}{\partial t}}&\sim {\frac {W}{T}}\\[1.2ex]u{\frac {\partial w}{\partial x}}&\sim U{\frac {W}{L}}&\qquad v{\frac {\partial w}{\partial y}}&\sim U{\frac {W}{L}}&\qquad w{\frac {\partial w}{\partial z}}&\sim W{\frac {W}{H}}\\[1.2ex]{\frac {u^{2}}{R}}&\sim {\frac {U^{2}}{R}}&\qquad {\frac {v^{2}}{R}}&\sim {\frac {U^{2}}{R}}\\[1.2ex]{\frac {1}{\varrho }}{\frac {\partial p}{\partial z}}&\sim {\frac {1}{\varrho }}{\frac {\Delta P}{H}}&\qquad \Omega u\cos \varphi &\sim \Omega U\\[1.2ex]\nu {\frac {\partial ^{2}w}{\partial x^{2}}}&\sim \nu {\frac {W}{L^{2}}}&\qquad \nu {\frac {\partial ^{2}w}{\partial y^{2}}}&\sim \nu {\frac {W}{L^{2}}}&\qquad \nu {\frac {\partial ^{2}w}{\partial z^{2}}}&\sim \nu {\frac {W}{H^{2}}}\end{aligned}}$
Now we can introduce these scales and their values into equation (A1):
| ${\begin{aligned}&{\frac {10^{-2}}{10^{5}}}+10{\frac {10^{-2}}{10^{6}}}+10{\frac {10^{-2}}{10^{6}}}+10^{-2}{\frac {10^{-2}}{10^{4}}}-{\frac {10^{2}+10^{2}}{10^{6}}}\\[12pt]&=-{{\frac {1}{1}}{\frac {10^{4}}{10^{4}}}}-10+2\times 10^{-4}\times 10+10^{-5}\left({\frac {10^{-2}}{10^{12}}}+{\frac {10^{-2}}{10^{12}}}+{\frac {10^{-2}}{10^{8}}}\right).\end{aligned}}$ | (A2) |
We can see that all terms — except the first and second on the right-hand side — are negligibly small. Thus we can simplify the vertical momentum equation to the hydrostatic equilibrium equation:
| ${\frac {1}{\varrho }}{\frac {\partial p}{\partial z}}=-g.$ | (A3) |

## Rules of scale analysis

Scale analysis is very useful and widely used tool for solving problems in the area of heat transfer and fluid mechanics, pressure-driven wall jet, separating flows behind backward-facing steps, jet diffusion flames, study of linear and non-linear dynamics. Scale analysis is an effective shortcut for obtaining approximate solutions to equations often too complicated to solve exactly. The object of scale analysis is to use the basic principles of convective heat transfer to produce order-of-magnitude estimates for the quantities of interest. Scale analysis anticipates within a factor of order one when done properly, the expensive results produced by exact analyses. Scale analysis rules as follows:
Rule1- First step in scale analysis is to define the domain of extent in which we apply scale analysis. Any scale analysis of a flow region that is not uniquely defined is not valid.
Rule2- One equation constitutes an equivalence between the scales of two dominant terms appearing in the equation. For example,
    $\rho c_{P}{{\partial T} \over {\partial t}}=k{\frac {\partial ^{2}T}{\partial x^{2}}}.$
In the above example, the left-hand side could be of equal order of magnitude as the right-hand side.
Rule3- If in the sum of two terms given by
    $c=a+b$
the order of magnitude of one term is greater than order of magnitude of the other term
    $O(a)>O(b)$
then the order of magnitude of the sum is dictated by the dominant term
    $O(c)=O(a)$
The same conclusion holds if we have the difference of two terms
    $c=a-b$
Rule4- In the sum of two terms, if two terms are same order of magnitude,
    $c=a+b$
    $O(a)=O(b)$
then the sum is also of same order of magnitude:
    $O(a)\thicksim O(b)\thicksim O(c)$
Rule5- In case of product of two terms
    $p=ab$
the order of magnitude of the product is equal to the product of the orders of magnitude of the two factors
    $O(p)=O(a)O(b)$
for ratios
    $r={\frac {a}{b}}$
then
    $O(r)={\frac {O(a)}{O(b)}}$
here O(a) represents the order of magnitude of a.
~ represents two terms are of same order of magnitude.
> represents greater than, in the sense of order-of-magnitude.

## Scale analysis of fully developed flow

Consider the steady laminar flow of a viscous fluid inside a circular tube. Let the fluid enter with a uniform velocity over the flow across section. As the fluid moves down the tube a boundary layer of low-velocity fluid forms and grows on the surface because the fluid immediately adjacent to the surface have zero velocity. A particular and simplifying feature of viscous flow inside cylindrical tubes is the fact that the boundary layer must meet itself at the tube centerline, and the velocity distribution then establishes a fixed pattern that is invariant. Hydrodynamic entrance length is that part of the tube in which the momentum boundary layer grows and the velocity distribution changes with length. The fixed velocity distribution in the fully developed region is called fully developed velocity profile. The steady-state continuity and conservation of momentum equations in two-dimensional are
| ${\frac {\partial u}{\partial x}}+{\frac {\partial v}{\partial y}}=0,$ | (1) |
| $u{{\partial u} \over {\partial x}}+v{\frac {\partial u}{\partial y}}=-{{\frac {1}{\varrho }}{\frac {\partial P}{\partial x}}}+\nu \left({\frac {\partial ^{2}u}{\partial x^{2}}}+{\frac {\partial ^{2}u}{\partial y^{2}}}\right),$ | (2) |
| $u{{\partial v} \over {\partial x}}+v{\frac {\partial v}{\partial y}}=-{{\frac {1}{\varrho }}{\frac {\partial P}{\partial y}}}+\nu \left({\frac {\partial ^{2}v}{\partial x^{2}}}+{\frac {\partial ^{2}v}{\partial y^{2}}}\right),$ | (3) |
These equations can be simplified by using scale analysis. At any point $x\sim L$ in the fully developed zone, we have $y\sim \delta$ and $u\sim U_{\infty }$. Now, from equation (1), the transverse velocity component in the fully developed region is simplified using scaling as
| $v\sim {\frac {U_{\infty }\delta }{L}}$ | (4) |
In the fully developed region $L\gg \delta$, so that the scale of the transverse velocity is negligible from equation (4). Therefore in fully developed flow, the continuity equation requires that
| $v=0,{\frac {\partial u}{\partial x}}=0$ | (5) |
Based on equation (5), the y momentum equation (3) reduces to
| ${\frac {\partial P}{\partial y}}=0$ | (6) |
this means that P is function of x only. From this, the x momentum equation becomes
| ${\frac {dP}{dx}}=\mu {\frac {d^{2}u}{dy^{2}}}={\text{constant}}$ | (7) |
Each term should be constant, because left side is function of x only and right is function of y. Solving equation (7) subject to the boundary condition
| $u=0,y=\pm {\frac {D}{2}}$ | (8) |
this results in the well-known Hagen–Poiseuille solution for fully developed flow between parallel plates.
| $u={\frac {3}{2}}U\left[1-{\left({\frac {y}{D/2}}\right)}^{2}\right]$ | (9) |
| $U={\frac {D^{2}}{12\mu }}\left(-{\frac {dP}{dx}}\right)$ | (10) |
where y is measured away from the center of the channel. The velocity is to be parabolic and is proportional to the pressure per unit duct length in the direction of the flow.