The virial theorem can be derived based on mathematical assumptions. This model is suitable for the design of material structures.
3.1. Mathematical Model of the Virial Theorem
The mathematical model is based only on mathematical assumptions. The starting point is mathematical statistics represented by the binomial distribution of random events. The binomial distribution can describe random physical phenomena, such as the random motion of gas molecules, but it is inherently a concept, independent of the physical world. The mathematical approximation of the binomial distribution to a continuous function is the well-known normal probability distribution. The normal probability distribution for the general parameters of standard deviation
and mean
is defined by a probability density of the form
where
is the parameter of the random event. Random phenomena can be of a different spatial nature. The simplest manifestation of randomness is a sequence of independent values describing some phenomenon. It could also be a random signal. In a random signal, time is not understood as a continuous physical quantity but as a sequence of normally distributed random events that change the value of the signal. In this way, physical time can be discretized and perceived as a mathematical object without physical meaning. This means that a time unit, for example a second, is given by the order of values. The randomness principle causes the probability distribution of values around the mean value of the signal to be naturally normal (
Figure 1).
A random signal has certain specific properties that partly express the relationship to physical models. It is about the power and energy signal.
The power signal is officially defined in the form
where
is an arbitrary signal without specifying a physical dimension,
is the rms value of the signal, and
is the period of the signal. The rms value of the signal has a normal distribution for white noise, and it is equal to the standard deviation of the distribution.
The energy signal is defined as follows:
In a steady, stationary signal, the average signal power does not change over a sufficiently long period of time. The above results are presented in signal processing theory [
19,
20].
In general, signal energy increases continuously over time. Therefore, to characterize the process, the probability of the signal occurring depending on the deviation is used. This probability is proportional to the average power of the signal.
Both the power and signal energy parameters depend on the square of the deviation. Analogously, it can be considered in relation to the normal distribution that there is a power or energy distribution of a random phenomenon in the form of a quadratic function.
The exponentiation of the normal distribution slims down the resulting distribution by a constant ratio
.
We get a new normal distribution with standard deviation . The expression before the exponent only changes the height of the division but does not change the shape.
Let the distance of a point from the mean value of a random signal express the potential energy of the signal. Then the shape of the probability distribution of the potential energy as a function of the deflection
can be obtained by exponentiating the normal distribution. This exponentiating is similar in nature to determining the efficiency of a mechanical system. The total efficiency is given by the product of the efficiencies of the individual components. In this case, it is the probability of reaching a given deviation and the probability of the energy value at a given deviation. Both probabilities have the same distribution. To highlight the probabilistic property of the normal distribution, in the following text we will work with the standard normal distribution
. With the standard normal distribution, the displayed curve clearly expresses the probability of the phenomenon. Two identical standard normal distributions are multiplied together. The probability distribution of potential energy is then of the form
where
is the area proportional to the total potential energy of the signal or the average power from the potential energy,
is the probability of the power of the potential energy of the signal depending on the deviation,
is the standard normal distribution of the signal deviation, and
is the conversion coefficient that ensures a unit area under the curve
(
Figure 2). This probability corresponds in the time domain to the power of the potential energy signal.
In mechanical systems such as a mechanical oscillator, kinetic energy is the derivative of the change in potential energy. In such a simple case, when it comes to the harmonic function of the oscillator’s deflection, the sum of two squared harmonic functions gives a constant. This result of the sum of the potential and kinetic energy corresponds to the total energy, which does not change based on the conservation law of energy. Analogously, it can be established in relation to the normal distribution that the kinetic energy of the signal will have a random distribution obtained by the derivative of the normal distribution (
Figure 3), which we will subsequently square.
The procedure for deriving the kinetic energy of a signal is designed based on the analogy with a mechanical oscillator.
By exponentiating the derivative of the normal distribution, the distribution of the average kinetic energy output is obtained (
Figure 4). Using Equation (12), the area corresponding to the kinetic energy can be determined:
where
is the area proportional to the total kinetic energy of the signal or the average power from the kinetic energy,
is the conversion coefficient, and
is the probability of the power of the kinetic energy of the signal depending on the deflection. That is to say, it is the kinetic power signal. This probability corresponds in the time domain to the power of the kinetic signal energy. In this case, the same conversion coefficient as for potential energy must be used.
Remark 1. The value of the conversion coefficient does not matter. If any coefficient is used, the ratio of areas under the curves does not change.
The virial proportion is the ratio of the potential and kinetic energy of the entire random signal equal to two. The virial theorem, from a mathematical point of view, arises by comparing the areas of probability distributions that correspond to the total potential and total kinetic energy of a signal.
This result is a specific property of the normal distribution, which is a mathematical concept. The result supports the validity of the shape of kinetic energy but is not direct evidence of it. An area ratio equal to two can theoretically exhibit different curve shapes. On the other hand, the derivative of the normal distribution is the natural shape of the curve. In the following text, it is shown that this shape of the curve is consistent with the Maxwell–Boltzmann distribution of the velocity of molecules of an ideal gas, which supports the correctness of the assumption.
Remark 2. The area calculation process can be verified numerically. It is therefore appropriate to show numerically that with an increasing accuracy of curve integration, the result of the virial proportion converges to the number two (Table 1). 3.3. Comparison of the Maxwell–Boltzmann Distribution with the Kinetic Power Signal
A closed system with material objects is subject to gravitational potential energy. The role of potential energy is to hold material objects in a given space. Mass particles must also have kinetic energy. Otherwise, all objects would immediately fall into a common center of gravity, and the motion would cease.
In the case of a gas observed on Earth, only kinetic energy is dominant, which is directly dependent on the square of the molecular velocity. To prevent molecules from escaping, a closed space is necessary. The material walls of an enclosed space represent potential energy. The manifestation of potential energy is then expressed by the gas pressure.
Maxwell was the first to formulate the probability distribution of the velocity of a complex mechanical system [
25,
26]. The random movement of molecules creates pressure when they collide with a wall. At any moment, some molecules increase the force exerted, while others decrease the force and leave the wall. There are also differences in the speed of impact and the magnitude of the force impulse. We assume that the principle of the central limit theorem applies, and, based on many partial influences, none of which is dominant, a normal distribution of the contribution of individual molecules to the total pressure is realized. Based on this, the potential energy of molecules has a normal distribution.
For the molecules’ speed, two opposing conditions can be defined, determining the final state of the system:
- 1.
The distribution of molecular speeds follow the normal distribution , where zero speed is the most probable. At zero speed, the potential energy of the molecule is at its maximum. This phenomenon occurs at the moment of collision of two molecules, when maximum pressure is created.
- 2.
The distribution of molecular velocity is subject to a quadratic function , whose minimum is at zero velocity, which is a characteristic of kinetic energy as a function of velocity’s growth. At the moment of collision of two molecules, the kinetic energy of the molecule under consideration is naturally zero.
The resulting state of the probability distribution of the velocity of molecules in one orientation is given by the product of the above contradictory conditions. The result corresponds to the Maxwell–Boltzmann distribution of molecular velocity.
The parametric expression of the probability density of the Maxwell–Boltzmann distribution is given in the form
where
is the partition parameter depending on the temperature of the ideal gas. After substituting physical units, we have
where
is the velocity of the molecules,
is the Boltzmann constant,
is the temperature of the gas, and
is the mass of the molecules.
The kinetic energy performance probability curve
is very close in shape to the Maxwell–Boltzmann distribution
(
Figure 5). A numerical comparison can be made by slimming down the Maxwell–Boltzmann distribution
using the standard deviation
. The obtained distribution is adjusted in height by multiplying it with a correction coefficient
, thus obtaining a good overlap with the kinetic energy power probability curve. The value of the correction coefficient allows one to achieve the best overlap of the two curves, but at the same time it does not affect the shape of the curves. During the analysis, the emphasis is placed on achieving a good shape matching of the curves.
The resulting correlation of the curve shape is quite high. For 82 numerical values that correspond to the 3 sigma interval, the correlation coefficient is . The good shape match supports the theory that the kinetic component of the signal energy can also well describe the probability distribution of the molecular velocity.
3.4. Virial Stability of a Random System
Any mechanical system with cyclic or chaotic motion can theoretically have any ratio of kinetic and potential energy. For a random system, the virial theorem was derived, according to which although the components may have different ratios of kinetic and potential energy, the average ratio of all components of the system in the long term will be 2:1. This is a law that speaks about a property of the whole, but it says nothing about the statistical distribution of kinetic energy of this property in space. From the analysis it is clear that in the chaotic motion of gas molecules all states lie between two extreme states. At the zero value of the distribution, there is an extreme probability in which the molecules are not moving and have a maximum potential energy. At the other extreme of the distribution, molecules move at maximum speed, have maximum kinetic energy, and minimum potential energy. Statistically, only a minimal number of molecules are found at both extremes. Most molecules are in a state between these two extremes.
Definition 1. The virial stability of a random system is the point at which the mode of the kinetic energy distribution of the system has exactly the equality of the probabilities of the potential and kinetic energy outputs.
Every uncontrolled mechanical system tries to assume the most stable position of its components. The virial theorem expresses this thesis in mathematical language. The most probable state is given by virial stability. The disruption of virial stability can be imagined as the moment when a warm volume of gas mixes with a cold one. Both gas volumes were in virial stability before mixing. A new virial stability occurs only after the temperatures of the mixed gases equalize.
3.6. Design of Random Material Structures for 3D Printing
Homogeneous structures essentially have two variable parameters.
The first parameter is the arrangement of the components by size. This arrangement corresponds to a geometric series of component sizes. The series can be modified by changing the quotient of the series or by omitting some components.
The second parameter is the rate of components. From an energetic point of view, the most likely relationship is an inverse relationship between the size of a component and its rate in the structure.
Nature always creates the most efficient structures. These structures have the form of a fractal. This is a natural law that is connected to the second law of thermodynamics. The essence is that the distribution of energy to create a structure is influenced by the size of the component and its rate. The analysis shows that the distribution of dynamic elements is ideally in the form of the kinetic power of the signal. This is essentially the derivative of the square of the normal distribution. If the horizontal axis is the size of the components, then the vertical axis will present the ideal rate of elements in the structure. The highest rate is at the point of virial stability.
It can be assumed that deviation from these ideal parameters will create structures with worse properties under load. At a constant volume of mass, which is the structure, this will be reflected in a reduced stiffness compared to a structure with ideal parameters.
The inspiration for this claim is an analysis of a cross-section of sourdough bread (
Figure 8).
Such a random structure can be both analyzed and designed for 3D printing objects.