Dimensional Analysis and Nondimensionalization


Dimensional Analysis and Nondimensionalization

Maria
Let’s introduce a tool that can help both with solving differential equations and with understanding their solutions: non-dimensionalization. The basic idea is to replace quantities like time and distance with dimensionless variables. Along the way, we can identify the important time and length scales built into a problem.

Anna
Before we do that, let’s separate two ideas that are easy to mix up: dimensions and units. Length is a dimension; centimeters and leagues are different units used to measure it. A physical quantity has a magnitude and a dimension, such as length, mass, or force.

Maria
And quantities with the same dimension can be added, even if they’re written in different units, once you convert them consistently. Multiplication works differently: you can multiply quantities with dimensions, but the result carries the combined dimensions. For example, multiplying two lengths gives something with dimensions of length squared.

Anna
There’s also a useful rule about functions. Some functions, including the exponential, need dimensionless inputs. You can see why from the exponential’s power series: it adds the input, its square, its cube, and so on. If the input had dimensions of length, those terms would have dimensions of length, length squared, length cubed, and couldn’t be added together.

Maria
Now let’s put the idea to work with a ball thrown straight upward at speed v. We’ll take its starting height to be zero, and let gravity have magnitude g. Newton’s second law gives m times the second derivative of y equals minus mg, so after canceling the mass, y double-prime equals minus g.

Anna
The trajectory y as a function of time involves both a length and a time, so we want a reference length and a reference time. The constants available to build them are just v and g. Combining them with the right dimensions gives a reference length of v squared over g, and a reference time of v over g.

Maria
So we define dimensionless variables: chi equals y divided by v squared over g, and tau equals t divided by v over g. In other words, y is v squared over g times chi, and t is v over g times tau. We’re now describing the trajectory in scaled, dimensionless length and time.

Anna
The derivatives need to be taken with respect to the new time variable, tau. Substituting those scaled variables into y double-prime gives g times chi double-prime. The original equation therefore becomes g chi double-prime equals minus g, and canceling g leaves the very simple dimensionless equation chi double-prime equals minus one.

Maria
The ball starts at height zero, so chi at tau equals zero is zero. And its initial velocity is v. Since the scaled velocity is v times chi-prime, that means chi-prime at zero is one. Integrating with those initial conditions gives chi of tau equals tau minus one-half tau squared.

Anna
That solution shows why the reference scales are useful even before we solve the equation. The ball reaches its maximum when chi-prime is zero, which happens at tau equals one. Its height is then half the reference length: v squared over two g. So v squared over g predicted the right scale, off only by a factor of two.

Maria
Likewise, the ball returns to height zero at tau equals two. Its time in the air is therefore two v over g, while our reference time was v over g. Again, the reference quantity gives us the right scale, even if it isn’t the exact answer.

Anna
So that’s one payoff: non-dimensionalization helps reveal important length and time scales. But there’s another payoff. A systematic dimensional analysis can tell us how many independent dimensionless parameters a problem has, and therefore how the form of its solution can vary.

Maria
Let’s look at a mass sliding down a frictionless ramp at angle theta to the horizontal. A force of magnitude F external pulls it down the ramp, and a spring with spring constant k attaches it to the top. Let u measure how far the mass has traveled down the ramp, and take the spring’s equilibrium length to be zero.

Anna
Along the ramp, Newton’s second law gives u double-prime equals F external over m, plus g sine theta, minus k over m times u. The first two terms pull the mass down the ramp; the spring term points back toward the top. We’ll imagine the mass starts at u equals zero and at rest.

Maria
We could guess reference scales, but we can also do the dimensional analysis systematically. First list the relevant constants. The rule is to treat constants that always appear together as a product or quotient as one combined constant. Here the dimensionful combinations are F external over m, g, and k over m.

Anna
Sine theta is dimensionless, so it doesn’t contribute to the dimensions in that list. But it still matters to the equation and can still act as a dimensionless parameter. That distinction will be important when we count how many ways the solution can vary.

Maria
Here’s the general setup. Suppose a constant a has dimensions of length to the r-one times time to the s-one, and b has dimensions of length to the r-two times time to the s-two. A combination a to the m times b to the n has length exponent m r-one plus n r-two, and time exponent m s-one plus n s-two.

Anna
To make that combination a reference length, we require its length exponent to equal one and its time exponent to equal zero. For a reference time, we instead require length exponent zero and time exponent one. Each target gives a system of linear equations for the powers m and n.

Maria
That’s what the dimension matrix records. Its rows correspond to dimensions—in this example, length and time—and its columns correspond to the dimensionful constants. The column for F external over m is length to the one times time to the minus two, because it’s an acceleration. The column for g has the same dimensions, and k over m has time to the minus two.

Anna
In matrix form, the rows are length and time, and the columns are F external over m, g, and k over m. We can augment that matrix with target columns for the reference length and reference time: length has exponents one and zero; time has exponents zero and one. Row reduction then tells us which combinations of constants can produce those targets.

Maria
For the ramp, one valid reference time is the square root of m over k. The reference length is not unique: examples include g times m over k, or F external over k, and combinations of valid choices also work. For instance, we can choose the particularly convenient length scale m g over k.

Anna
Why might the answer not be unique? The force over mass and gravity are both accelerations, so they contribute the same dimensional pattern. There’s more than one way to use the available constants to construct a length. That means some constants are left over after we choose our reference scales—and those leftovers can form dimensionless parameters.

Maria
The matrix ranks organize the possibilities. If the rank of the dimension matrix is less than the rank of its augmented matrix, the target dimensions are inconsistent: there’s no way to build the desired reference quantity from the constants. That case is called dimensionally underdetermined in this discussion.

Anna
If the ranks match and the dimension matrix has as many independent columns as columns, the powers are uniquely determined. That’s the dimensionally well-determined case. The ball problem is an example: v and g give unique reference length and time scales.

Maria
The third possibility is that the ranks match, but the dimension matrix has fewer independent columns than it has columns. Then there are spare constants, so there are multiple valid choices for reference quantities. That’s dimensionally over-determined. The number of independent spare constants is the number of columns minus the rank.

Anna
In the ramp problem, there are three dimensionful constant columns but only two independent dimensions, length and time. So there’s one spare dimensionful constant. Once we choose the scales, that spare information can be expressed as a dimensionless parameter. The already dimensionless sine of theta gives another one.

Maria
Let’s choose the reference length m g over k and reference time square root of m over k. Define xi as u divided by that reference length, and tau as time divided by that reference time. In these variables, the solution, with the mass starting from rest at zero, is xi of tau equals the quantity F external over m g plus sine theta, multiplied by one minus cosine tau.

Anna
The combination F external over m g is dimensionless: both the numerator and denominator are forces. We can call it alpha. The solution therefore depends on alpha and sine theta. These are the two dimensionless parameters that can change its shape or amplitude in dimensionless variables.

Maria
This illustrates the deeper insight from dimensional analysis. In the ball problem, once we scaled the solution, its form was fixed: the same downward-facing parabola every time. The ramp problem can look different as alpha or sine theta changes, but once those parameters are specified, its dimensionless form is determined.

Anna
This also matters in numerical work. If you’re choosing a time step for a numerical method such as the Verlet algorithm, non-dimensionalize first. Then choose a step much smaller than one in dimensionless time—in other words, much smaller than the problem’s reference time.

Maria
The same reasoning helps with approximations involving length: compare against the reference length. And it clarifies limiting cases. Saying that a quantity is ‘small’ or ‘large’ doesn’t mean much by itself; it depends on what you compare it with. Reference quantities give that comparison.

Anna
So when you’re solving a differential equation, consider both its dimensional and dimensionless versions. The reference scales can estimate important times and distances, while the dimensionless parameters reveal which features of the solution can actually vary. And the dimension matrix and its row reduction offer a systematic way to find that structure.

Ask anything
We've read this whole study set, so questions about it get the best answers.