Can one hear the depth of the water?
Abstract
We discuss discrete-time dynamical systems depending on a parameter μ. Assuming that the system matrix is given, but the parameter μ is unknown, we infer the most-likely parameter
from an observed trajectory x of the dynamical system. We use parametric eigenpairs
of the system matrix
computed with Newton's method based on a Chebyshev expansion. We then represent x in the eigenvector basis defined by the
and compare the decay of the components with predictions based on the
. The resulting estimates for μ are combined using a kernel density estimator to find the most likely value for
and a corresponding uncertainty quantification.
1 INTRODUCTION









The paper focuses on the following example.
Example 1.1.Imagine we have a chain anchored below the water and on a pole above water. Submerged chain links are damped more than chain links in the air. The chain can be discretized by masses and springs like in Figure 1. We know the masses , the characteristics
of the springs, and the damping when the masses are in the air as well as when they are in the water. However, we do not know the depth of the water μ or, if you like, how many of the masses are below water. The system is excited by external forces. We record the ensuing motion, that is we record the position of the masses at equidistant discrete time points, and try to infer the depth of water from said recording. Since the motion can be associated with the sound emitted one can arguably say that we are attempting to hear the depth of the water and hence the title of the paper.
Discretization leads to a matrix to describe this setup, where the parameter μ describes the depth of the water. We assume for simplicity that all masses are 1, that all spring characteristics are 1, and that the damping in water is 10, while the damping in air is 5. The mechanical system can be described with the second-order differential equation









In this paper, we pursue the following idea: A discretized trajectory of the noisy dynamical system (1) is recorded. This is combined with approximations of the functions describing the eigenvalues
and eigenvectors
of
to estimate the most likely μ using a kernel density estimator. We choose a
and use the
's for a coordinate transform to the eigenvector basis. We obtain new vectors
describing the trajectory in the eigenbasis. If we have chosen the correct
, then the components of
decrease like
with time
. Obviously, as soon as the components become too small, the influence of the noise η becomes dominant. Thus even with the correct
, the relation between
and
is not perfect. Nevertheless, each eigenpair i, each time step j, and each choice of
provide an estimate for μ. We combine all these estimates by employing a kernel density estimator, which will provide us with the most likely guess of μ based on the individual guesses and a corresponding probability density, that is an uncertainty extimate. This is demonstrated by the numerical example in Section 4. Before we discuss the experiments, we provide a brief review in Section 2 regarding the computation of parametric eigenpairs of
described in Mach and Freitag [5]. In Section 3, we discuss how μ is found.
2 TAYLOR SERIES AND CHEBYSHEV EXPANSIONS OF
AND 





















Despite the increased costs, the Chebyshev expansion is preferable, due to the advantage of achieving a high approximation quality relatively homogeneously over the expansion interval. However, we observe a slight increase of the approximation error near the endpoints of the interval. The Taylor series approximation, by contrast, is mainly accurate near the expansion point μ0 and looses accuracy with increased distance from μ0. Thus, the numerical experiments in this paper solely use the Chebyshev expansion.
3 FINDING THE UNKNOWN PARAMETER μ
In this section, we discuss how μ can be found with the help of a trajectory and the eigenpairs
of
.





































Alternatively, one can use the density function to draw a new set of guesses based on the new distribution. This process can be iterated, see Section 5.
4 NUMERICAL EXPERIMENTS
This section is devoted to numerical experiments based on Example 1.1. For our numerical experiments, we use Matlab (R2020b) with IEEE 754 double precision arithmetic and a computer with Ubuntu 18.04.6 LTS, an Intel Core i7-10710U CPU (six physical cores), and 16 GB of RAM.
We first demonstrate the accuracy of the Chebyshev expansion approach by repeating some experiments from Mach and Freitag [5] with the matrix from Example 1.1. In Figure 2, we observe that a fourth-degree Chebyshev expansion with three Newton steps (solid blue line —) is sufficient to approximate the sampled eigenvalues (red crosses +) visually very well on the interval [2,4] and reasonably well outside the interval of interest. The visual impression of a small error is confirmed by the absolute error plot, see Figure 3.



Our penultimate experiment is a demonstration that we can find a good approximation to a hidden μ. Figure 4 depicts the results. We use one trajectory with 50 time steps of size 1/10 each. The chosen starting point x0 is randomly computed by 10*randn(20,1) and the added noise is computed by 1e-5*randn(20,1). We use a Chebyshev expansion up to degree 9 for the eigenvalues of Example 1.1 with 10 masses, that is . The interval of interest is [2,4] in which we use 15 equidistant-spaced
to compute guesses for μ, see Figure 5 for the contribution of each
to the density. The kernel density estimator indicates that the most likely μ is
, while the actual μ used for the simulation of the trajectory was 3.2. This demonstrates that the described procedure is capable of inferring a good approximation of μ based on the parametric eigenpairs of
.


5 CONCLUSIONS AND FUTURE WORK
We have successfully demonstrated that we can estimate the depth μ based on a recorded trajectory, that is recording the sound emitted by the mass-spring system is sufficient to hear the depth of the water. The necessary computations were aided by initially computing a parametric eigendecomposition of .
The guess of depends on the initial guess of μ. In the last section, we used 15 equidistant-spaced points in [2,4]. Using more points improves the accuracy and so does using points closer to the sought μ. Preliminary experiments reported in Figure 6 indicate that it is promising to draw new guesses for μ based on the estimated density and repeat the process with those. Beginning with the second iteration, we use 60 guesses for μ, which are shown as red crosses. We observe that the red crosses cluster closer and closer to the hidden
. Figure 6 indicates the density function that seem to converge toward a delta-pulse at
, see also Table 1. In the case of Table 1 the mode, the most likely μ, is a superior guess compared with the mean. These experiments are preliminary, since we observed different behavior for other examples. Once these differences are fully understood, we will report these experiments elsewhere. Other future work may involve investigations into the dependency on the noise level and extensions to 2 or more parameters.
it. | Mode | Mean | Variance |
---|---|---|---|
1 | 3.2315 | 3.1682 | 0.1626 |
2 | 3.2095 | 3.1905 | 0.1089 |
3 | 3.2022 | 3.2090 | 0.0714 |
4 | 3.2006 | 3.2047 | 0.0372 |
5 | 3.2003 | 3.2013 | 0.0293 |
6 | 3.1999 | 3.1954 | 0.0199 |

ACKNOWLEDGMENTS
The title of this paper has been inspired by “Can you hear the shape of a drum?” by Marc Kac [16]. The research has been partially funded by the Deutsche Forschungsgemeinschaft (DFG)—Project-ID 318763901—SFB1294. In particular, we would like to acknowledge that this research started with a discussion at the annual SFB1294 Spring School 2023.
Open access funding enabled and organized by Projekt DEAL.
Open Research
DATA AVAILABILITY STATEMENT
The code used for the numerical experiments is available from GitHub, https://github.com/thomasmach/PEVP_with_Taylor_and_Chebyshev.
REFERENCES
- 1 An alternative would be to turn Equation (3) into a least squares problem. For the sake of brevity, we are not going to follow this idea here.