How Does Boltzmann’s Transformation Reduce the Heat Equation?
At a glance
- 1. Choose the similarity variable
For diffusion, use a variable proportional to position divided by the square root of time.
- 2. Apply the chain rule
Write the temperature as a function of the new variable and differentiate with respect to position and time.
- 3. Derive the ODE
Substitute those derivatives into the heat equation to obtain an ordinary differential equation.
- 4. Use the conditions
Solve the ODE and determine its constants from the initial and boundary conditions.
Boltzmann’s transformation is a similarity change of variables used to reduce certain diffusion equations from partial differential equations (PDEs) to ordinary differential equations (ODEs). In the common heat-conduction setting, it combines position and time into a single variable proportional to .
Here is the chain-rule derivation for the one-dimensional heat equation, followed by a worked example. The term “Boltzmann transformation” here refers to a diffusion similarity variable, not to the Boltzmann factor from statistical mechanics.
The similarity variable
Consider heat flow in a uniform material with constant thermal diffusivity :
The diffusivity has units of length squared per time. Consequently, a natural length scale for diffusion over time is proportional to . Define the dimensionless similarity variable
and assume the temperature profile can be written as . The factor of 2 is a convenient convention; choosing instead is also valid, but changes the coefficients in the resulting ODE.
This assumption is appropriate when the boundary and initial conditions allow a self-similar profile. It does not mean every solution of the heat equation depends only on this one variable.
Apply the chain rule
When differentiating with respect to time, hold fixed. When differentiating with respect to position, hold fixed. From the definition of ,
Therefore,
and
The second spatial derivative includes no extra term from differentiating its prefactor, because that prefactor depends on , not .
Substitute into the heat equation
Putting the derivatives into gives
Multiplying by yields the ODE
To solve it, set . Then , so . Integrating once more gives
where and are constants and
is the error function. The transformation reduces the differential equation; the physical conditions are still needed to fix the constants.
Worked example: a suddenly heated half-space
Suppose a solid occupies . Initially its temperature is , and from time onward its surface at is held at temperature . Far from the surface, the temperature remains :
Since and as , applying these two conditions to gives and . Thus
At the surface, the argument is zero and the solution gives . For fixed , as tends to infinity the error function tends to one, so the solution approaches . For fixed , as tends to zero the argument tends to infinity, recovering the initial temperature away from the surface. The idealized surface temperature changes abruptly at , so the point is a discontinuity in the prescribed conditions.
More general diffusion equations
For a concentration or temperature-dependent diffusivity, a common model is
Using and gives
This is still an ODE, although it may be nonlinear. The exact similarity variable and any constant scale factors depend on the equation and its conditions. In diffusion experiments, this same position-over-square-root-of-time scaling is used in Boltzmann–Matano analysis to infer a concentration-dependent diffusivity.
Common mistakes
- Differentiating as if were independent of . It is a function of both and ; use the chain rule for each partial derivative.
- Forgetting what is held fixed. In , hold fixed; in , hold fixed.
- Mixing conventions for . With , the ODE is . With the convention used above, , it is . Re-derive the coefficients whenever you change the definition.
- Treating the similarity form as universal. It is an ansatz justified by the equation and conditions, not a replacement for all possible solutions.
- Using the wrong physical conditions. The ODE has two constants; specify two independent conditions to select the desired profile.
References
- Conduction of Heat in Solids, H. S. Carslaw and J. C. Jaeger
- The Mathematics of Diffusion, J. Crank
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.