M44. A density in time on a shape¶
Package: A4, its ninth part: in time on a region of the plane, a coefficient that varies in space may stand in front of the derivative in time, \(\rho(\mathbf{x})\,u_{tt} = \nabla\cdot(\varepsilon\nabla u) + \dots\), or in front of the second derivatives in space. The operator is symmetric once the points are weighted with the density, so it is propagated exactly in its modes: a membrane whose density varies, heat in a body whose capacity varies.
What was built¶
A density in the modes.
Symmetrichas a weight beside its medium and its potential. Every point weighs its area times the density: in the square roots that make the matrix symmetric, in what a mix of value and slope leaves on the diagonal, and in what the boundary contributes to the rate of change.Two ways of writing it. A coefficient that varies in space in front of the only derivative in time is divided out of the equation when it is read: the derivative in time is left plain, and one over the density stands in front of every other summand. From there it is the second way: a coefficient in front of the second derivatives.
One coefficient in front, seen at the points. Second derivatives with a coefficient in front that varies are kept apart by their front and their inside. At the points of the elements the fronts must be one coefficient up to a number, which goes into the medium. Fronts that differ are refused, and so is a front beside a second derivative that has none.
The planner counts the density among what must be resolved, and names it in the first note of the plan.
What it reaches¶
Against exact solutions, at degree 8 on the unit disk, for two units of time: a membrane with the density \(1 + x/2\), written in either way, also with a medium and a potential beside it, and heat with that capacity and the slope given on the rim, are right to \(2\cdot10^{-11}\), which is the error of the sampling on the grid. In the tests the error of the membrane falls by more than 20 from degree 3 to 5 to 7.
Decisions¶
D44.1. The density weighs the points¶
Developer, 2026-11-19.
\(\rho\,u_t = \nabla\cdot(\varepsilon\nabla u)\) is, at the points of the elements, \(\rho M \dot u = -K u\) with the diagonal matrix \(M\) of the areas. Its modes are those of the symmetric matrix \((\rho M)^{-1/2} K (\rho M)^{-1/2}\), so the density takes the place of nothing: it multiplies the area of every point. The modes are orthogonal in the sum that is weighted with the density, as the modes of a string with a density are. The source and the potential are divided by the density where the equation is read, not in the modes.
D44.2. The density is divided out when the equation is read¶
Developer, 2026-11-19.
A density in front of the derivative in time and one over it in front of the Laplacian are the same equation, and both are written. The reader turns the first into the second, summand by summand, so that everything after it knows one form. The fronts of the second derivatives then agree only up to numbers and up to how they are written, so whether they are one coefficient is decided from their values at the points of the elements, to \(10^{-10}\), as decision D43.2 decides the phase.
D44.3. A density beside a damping is refused¶
Developer, 2026-11-19.
\(\rho\,u_{tt} + \gamma\,u_t = \dots\) divided by the density has the damping \(\gamma/\rho\), which varies in space. The modes still exist, but the damping then couples them, and the closed form of the propagation holds for a damping that is one number. It is refused with its reason, and recorded as left in A4.
What is left¶
A density beside a damping.
A medium that differs by direction, and A4 besides: drift that is propagated, systems, arrays as data, corners in time.