Traveling-Standing Water Waves

We propose a new two-parameter family of hybrid traveling-standing (TS) water waves in infinite depth that evolve to a spatial translation of their initial condition at a later time. We use the square root of the energy as an amplitude parameter and introduce a traveling parameter that naturally interpolates between pure traveling waves moving in either direction and pure standing waves in one of four natural phase configurations. The problem is formulated as a two-point boundary value problem and a quasi-periodic torus representation is presented that exhibits TS-waves as nonlinear superpositions of counter-propagating traveling waves. We use an overdetermined shooting method to compute nearly 50,000 TS-wave solutions and explore their properties. Examples of waves that periodically form sharp crests with high curvature or dimpled crests with negative curvature are presented. We find that pure traveling waves maximize the magnitude of the horizontal momentum among TS-waves of a given energy. Numerical evidence suggests that the two-parameter family of TS-waves contains many gaps and disconnections where solutions with the given parameters do not exist. Some of these gaps are shown to persist to zero-amplitude in a fourth-order perturbation expansion of the solutions in powers of the amplitude parameter. Analytic formulas for the coefficients of this perturbation expansion are identified using Chebyshev interpolation of solutions computed in quadruple-precision.


Introduction
Traveling and standing water waves have been studied extensively since the pioneering work of Stokes [1] and Rayleigh [2] (see e.g., [3][4][5][6][7][8][9][10][11][12][13][14][15][16] and the references therein). The goal of the present work is to study hybrid traveling-standing water waves that evolve to an exact replica of their initial condition, but shifted in space. Pure traveling and standing waves will be included in the family as special cases. Unifying these classes of solutions of the water wave equations leads to new dynamic behavior and reveals a bifurcation structure similar to that observed in integrable model equations such as the Benjamin-Ono equation [17][18][19]. Water wave solutions also exhibit major differences, which we will highlight, from those of integrable model equations.
One of the main challenges that arises immediately when considering travelingstanding waves is determining how best to parameterize the solutions in the family. For the amplitude parameter, we use the square root of a dimensionless energy, ε = √ E, which is a natural choice on physical grounds. However, defining a "traveling" parameter is difficult. We propose a parameter β that measures the relative amplitude of the right-moving and left-moving components of the fundamental spatial mode of the TS-wave. Solutions related by spatial translation, time reversal, or temporal translation turn out to correspond to shifting β by π or reflecting it about 0 or π/2, which makes it easier to work with than momentum to identify different waves in the family with the same energy. Intuitively, we may conjecture that pure traveling waves should maximize or minimize the momentum among traveling-standing waves of a given energy. We confirm this numerically for low to moderate amplitude, though there are small-divisor issues that call into question the tacit assumption in this conjecture that traveling-standing waves occur in smooth families. We present numerical evidence that resonances lead to disconnections running through the family of solutions. It is possible that with infinite precision, solutions would only exist for values of ε and β in Cantor-like sets. Rigorous proofs of existence suggest that this is the case for pure standing waves [20][21][22] and various classes of quasi-periodic water waves [23][24][25][26][27].
Rayleigh's third order perturbation expansion for "stationary" standing waves [2] was carried out in sufficient generality to also recover Stokes' progressive waves, but he did not consider hybrid waves possessing features of both stationary and progressive waves. Pierce and Knobloch [28] note that weakly nonlinear standing waves can be thought of as nonlinear superpositions of equal amplitude left-and right-traveling (LTW and RTW) wave trains. They work within a Davey-Stewartson model for finite-depth water waves with surface tension and propose a wider family of quasi-periodic solutions containing arbitrary superpositions of LTW and RTW waves. They then study the stability of these waves with respect to long wavelength longitudinal and transverse perturbations. Bridges and Laine-Pearson [29] also regard standing waves as synchronized counter-propagating periodic traveling waves and show that within a weakly nonlinear Schrödinger equation model, standing waves are modulationally unstable only if the component traveling waves are modulationally unstable. They embed standing waves in a four-parameter family of counter-propagating waves, construct a variational principle for this larger family in a multi-symplectic Hamiltonian framework (which puts space and time on an equal footing), and then take the limit to the original two-parameter family of standing waves to determine their stability properties. In Section 3.3, we will show how to represent traveling-standing water waves on a torus as a special case of the counter-propagating wave representation of Bridges and Laine-Pearson. This aligns our results with other recent studies of temporally quasi-periodic water waves [23][24][25][26][27].
In the present work, for simplicity, we consider only irrotational gravity waves without surface tension in infinite depth. The numerical method is a generalization (from pure standing waves to TS-waves) of the overdetermined shooting algorithm of Wilkening [12] and Wilkening and Yu [13]. The shooting method is formulated as an overdetermined nonlinear least squares problem using the leading Fourier modes of the initial condition as the unknowns. This improves efficiency and robustness since we only solve for Fourier modes that are well-resolved on the grid. Higher-frequency modes are set to zero in the initial condition but still penalized if they grow in amplitude when evolved through a cycle of the dynamics.
A finite-depth variant of the methods of this paper is given in [30] to study relativeperiodic elastic collisions of co-propagating soliton-like solutions of the fully nonlinear water wave equations on a spatially periodic domain. Unlike the present work, amplitude and traveling parameters ε and β are not used in [30] to explore families of solutions via numerical continuation. Instead, a few large-amplitude solutions are found using initial guesses obtained from linear superpositions of traveling Stokes waves that are wellseparated in space to limit their initial nonlinear interaction. These water wave solutions are compared quantitatively and qualitatively with cnoidal solutions of the Korteweg-deVries (KdV) equation in [30]. A major contribution of the present work is to systematically study the entire two-parameter family of traveling-standing waves in infinite depth rather than focusing attention on just a few solutions.
The idea for the present study of traveling-standing water waves originated in a study of the harmonic stability of pure standing waves in infinite depth [31]. In a Floquet analysis, the monodromy operator of a pure standing wave was always found to possess two independent Jordan chains [32] associated with the eigenvalue λ = 1. In general, degenerate eigenvalues in which the algebraic multiplicity exceeds the geometric multiplicity give rise to secular growth when the monodromy operator is applied repeatedly. For standing water waves, one of the Jordan chains at λ = 1 corresponds to perturbing the amplitude parameter. A slight change in period causes the perturbed standing wave to drift away from the unperturbed standing wave with a deviation that grows linearly in time. However, the second Jordan chain observed in [31] was a surprise. It points to a perturbation that drifts away from the base standing wave through small translations in space that grow linearly with successive cycles. The only reference to such waves we have seen in the literature is a parenthetical comment by Iooss, Plotnikov, and Toland [21]: "It is possible to imagine more general solutions, for example, 'travelling-standing-wave' solutions, of the free boundary problem." As mentioned already, Pierce and Knobloch [28] and Bridges and Laine-Pearson [29] encounter the same types of waves by independently varying the amplitude of counter-propagating wave trains within weakly nonlinear theory. However, our formulation as a two-point boundary value problem, in which the solution returns to a spatial translation of the initial condition, appears to be new. This paper is organized as follows. In Section 2, we recall the graph-based formulation of the water wave equations and describe our time-stepping algorithm as well as the boundary integral method we use to compute the Dirichlet-Neumann operator. In Section 3.1, we define traveling-standing water waves, introduce the amplitude and traveling parameters ε and β, and demonstrate how the TS-solutions fit together. In Section 3.2 and Appendix A, we present the overdetermined shooting method we use to compute fully nonlinear TS-waves and show how to compute the Jacobian matrix efficiently in parallel. In Section 3.3, we present a quasi-periodic torus representation for TS-waves and make connections with the work of Bridges and Laine-Pearson [29], Berti et al. [25,26], and Feola and Giuliani [27]. In Section 4, we present numerical results showing how the period, spatial phase shift, horizontal momentum, and curvature at the origin of the initial wave profile depend on the amplitude and traveling parameters. In Sections 4.1 and 4.2, we compute additional solutions to explore the gaps and disconnections that arise in the two-parameter family where solutions could not be found numerically. We contrast these results with the global paths of time-periodic solutions that connect pairs of traveling waves of the Benjamin-Ono equation and also study various types of "extreme" TS-waves. In Section 5, we use Chebyshev interpolation in quadruple-precision to identify analytic formulas for a fourth order asymptotic expansion of both the initial conditions and the quasi-periodic torus representation of the solution in powers of the amplitude parameter. We find that the most prominent disconnections in the two-parameter family of TS-waves persist to zero-amplitude, where they manifest as coefficients in the asymptotic expansion that diverge as β approaches {± π 12 , ± 5π 12 , ± 7π 12 , ± 11π 12 }. Alternative amplitude and traveling parameters are discussed in Section 5.3. Concluding remarks are given in Section 6.

Equations of Motion and Time-Stepping
To compute traveling-standing water waves, we employ a shooting method, which requires an accurate timestepper. For simplicity, we consider only the case of pure gravity waves (with zero surface tension) evolving over a two-dimensional ideal fluid of infinite depth. The waves are assumed to be spatially periodic in x, and after nondimensionalization [31], the period may be assumed to be 2π. The free surface is denoted by η(x, t) and the velocity potential in the fluid is denoted by Φ(x, y, t). The surface velocity potential, ϕ, is the restriction of Φ to the free surface, The equations of motion governing η and ϕ may be written [33][34][35]: where subscripts denote partial derivatives; g is the acceleration of gravity, which may be set to 1 after non-dimensionalization [31]; G(η) is the Dirichlet-Neumann operator [13,34,35]; and P is the L 2 projection to zero mean that annihilates constant functions, Including this projection in the ϕ t equation yields a convenient convention for selecting the arbitrary additive constant in the potential. In infinite depth, the projection has no effect for the continuous problem if the mean surface height is zero. However we still include it in the numerical algorithm since a drift in the mean value of ϕ due to floating-point errors affects the objective function in the shooting method for computing traveling-standing waves. The Dirichlet-Neumann operator is defined via: where Φ(x, y) is the solution of the Laplace equation with periodic boundary conditions in x, Dirichlet boundary conditions (Φ = ϕ) on the upper boundary, and Neumann boundary conditions at y = −∞, i.e., lim y→−∞ Φ y (x, y) = 0. We have suppressed t in the notation since time is frozen in the Laplace equation. We note that ϕ x in (2) and Φ x in (4) are different quantities. The former is the x-derivative of ϕ(x, t), which is how it is computed, while the latter is the restriction to the free surface of Φ x (x, y, t), which is defined throughout the fluid.
To compute the Dirichlet-Neumann operator in (4), we use the boundary integral method described in [13], which builds on previous boundary integral methods for irrotational flow problems [7,[36][37][38][39][40][41]. Given the wave profile η(x) and Dirichlet data ϕ(x), the method amounts to solving the integral equation: for the dipole density µ(x), and then computing: Here a prime denotes differentiation and H is the Hilbert transform, which may be written dβ. The Hilbert transform is diagonal in Fourier space with symbol: This makes it easy to compute using the FFT. The formulas for the kernels K and G are: Here ζ(α) = α + iη(α) parameterizes the free surface in the complex plane, which we have identified with R 2 . Equations (5) and (6) are derived in [13] by assuming the complex velocity potential W(z) at a point z = x + iy in the fluid has the form: One then takes limits of Φ(z) = Re{W(z)} and Φ x (z) − iΦ y (z) = W (z) as z approaches the point (α + iη(α)) on the free surface using the Plemelj formula [42]. We have regularized the principal value integrals from the Plemelj formula by including the term 1 2 cot α−β 2 in K(α, β) and G(α, β), which makes them continuous, periodic, and real analytic (assuming η(x) has these properties) if we define: Dropping the regularizing term from the formula for K has no effect since its imaginary part is zero; including this term in the definition of G is accounted for by the Hilbert transform in (6). We solve the integral Equation (5) using a Nyström collocation method based on the trapezoidal rule on a uniformly spaced M-point grid, where α j = 2πj/M for 0 ≤ j ≤ M − 1. We also evaluate G(η)ϕ in (6) via the trapezoidal rule. This method of evaluating G(η)ϕ is spectrally accurate due to the real analyticity and periodicity of K(α, β) and G(α, β). See [13] for details. For time-stepping (2), we use an 8th order Runge-Kutta scheme [43] in doubleprecision (DOPRI8), and a 15th order spectral deferred correction method [44][45][46] in quadruple-precision (SDC15). We also make use of the 36th order filter popularized by Hou, Lowengrub, and Shelley [38] and Hou and Li [47]. This filter consists of multiplying the kth Fourier mode by: which strikes a balance between suppressing aliasing errors and resolving high-frequency modes.
As mentioned already, we assume the waves are spatially periodic and choose units of length and time so that the wavelength is 2π and the acceleration of gravity is g = 1. We also choose units of mass so the fluid density is ρ = 1, which will be relevant when computing the energy and momentum of these solutions below. An explicit non-dimensionalization procedure is given in [31].

Traveling-Standing Water Waves
In this section we define traveling-standing waves, focusing on solutions of the water wave equations with certain symmetry properties. We then define amplitude and traveling parameters and describe a trust-region shooting method for computing traveling-standing waves with given values of these parameters via numerical continuation. This method will be used in Sections 4 and 5 below to study a two-parameter family of solutions bifurcating from the flat rest state.

Formulation as a Two-Point Boundary Value Problem
We define a traveling-standing water wave as a solution of (2) for which there is a T > 0 and θ ∈ R such that the solution exists for t ∈ [0, T] and: i.e., the solution returns to a spatial translation of the initial condition at a later time, t = T. Since the water wave equations are translation invariant and time-reversible, (13) implies that the solution exists for all positive and negative times and satisfies: If θ = 0, the wave is time-periodic and T is its period. Actually, the condition (13) is unchanged if we add an integer multiple of the wavelength (=2π) to θ, and we will see below that the most natural choice of θ for pure standing waves as a special case of traveling-standing waves is θ = 2π. Pure standing waves are symmetric [7,13,14] time-periodic solutions with phases often chosen so that η(x, 0) is an even, 2π-periodic function and ϕ(x, 0) ≡ 0. For pure standing waves, at time T/2, the wave comes to rest again, shifted in space by π (so η(x, T/2) = η(x − π, 0) and ϕ(x, T/2) ≡ 0). It returns to its starting configuration at t = T. If one shifts time by a quarter period, one may instead assume that η(x, 0) and ϕ(x, 0) are even, 2π-periodic functions satisfying: In this case, the solution will return to its initial state at time T if it comes to rest at time T/4, This symmetry was exploited in [7,13] to save a factor of 4 in computational time over a "brute-force" time-periodic calculation, similar to that of [18], over 0 ≤ t ≤ T. For traveling-standing waves, it is too restrictive to require that ϕ(·, t) ≡ 0 at some time t. However, we have found alternative symmetry conditions that lead to computational savings similar to those of conditions (15) and (16) but include richer families of solutions. The first requirement is that the initial conditions satisfy: Pure standing waves have this form in the first convention described above, where t = 0 corresponds to ϕ ≡ 0. Within the second convention of (15) and (16), we can obtain the form (17) if we shift time by T/4 to get back the first convention, or, alternatively, if we shift the spatial phase of the initial conditions by π/2. Here we note that if η(x, 0) and ϕ(x, 0) are even and satisfy (15), then x → η(x − π/2, 0) and x → ϕ(x − π/2, 0) are even and odd functions, respectively. In general, when (17) is satisfied, the functions η 1 (x, t) = η(−x, −t), ϕ 1 (x, t) = −ϕ(−x, −t) are solutions of the Euler equations with the same initial conditions as η and ϕ; thus, η 1 = η and ϕ 1 = ϕ. Now suppose there are numbers T and θ such that: Then, and since both sides agree at time t = −T/4. Thus, the wave returns to a spatial translation of its initial condition at a later time, as required. Pure standing waves are a special case (with θ = 2π). Note that η(x, t + T) = η(x, t) in that case, which is why we call T the period rather than T/2. The computational savings remains a factor of 4 over a naive time-periodic calculation since η and ϕ only have to be evolved over a quarter period to confirm that (18) holds. Pure traveling waves satisfy (14) for any T and θ satisfying θ = cT, where c is the wave speed. We define the period as the value of T where the bifurcation to this family of traveling-standing waves occurs.
To classify traveling-standing waves, we need two parameters, one governing the amplitude and one specifying the extent to which the wave is traveling. A natural choice for the former is the average energy per unit length, We instead use ε = as the amplitude parameter since E depends quadratically on η and ϕ at small amplitude (where G(η) ≈ G(0) = H∂ x .) For the "traveling parameter," we propose: whereη 1 (t) is the first spatial Fourier mode of η(x, t) and atan2(b, a) = arg(a + ib) is the angle from the positive x-axis to the point (a, b) ∈ R 2 . Since η(x, 0) is even and (18) holds, both arguments of the function atan2(b, a) in (23) are real. We next motivate the definition (23) and show that shifting β by π or reflecting it about 0 or π/2 leads to an identical solution up to a spatial or temporal phase shift or reflection.
In the linearized regime where (2) is approximated by (24) and G in (21) is approximated by H∂ x , the general solution of (2) with wave number k = 1 that satisfies (17)- (20) and (21)-(23) has the form: where T = θ = 2π in (18) and (23). These functions may also be written: which expresses the solution as a superposition of counter-propagating traveling waves and serves as a starting point for defining the torus representation of Section 3.3 below. Note that β governs the relative amplitude of the right-and left-moving component traveling waves. From (25), we see that the first Fourier mode of η(x, t) evolves in time via: Thus, as illustrated in the left panel of Figure 1, the trajectories ofη 1 (t) in this linearized setting are ellipses oriented along the real or imaginary axis. These ellipses cross the coordinate axes at x = ± cos β, y = ± sin β. Thus, β may be regarded as a measure of the eccentricity e = 1 − min(tan 2 β, cot 2 β) 1/2 of the orbit ofη 1 (t), but with additional phase information specifying which of the two points where the ellipse crosses the x-axis corresponds to t = 0 and whether the ellipse is traversed clockwise or counter-clockwise as t increases. Setting T = θ = 2π in this linearized setting, we have: which motivates the definition (23). At larger amplitudes, the orbit ofη 1 (t) will no longer be elliptical, but the maxima and minima of |η 1 (t)| still occur when t is an integer multiple of T/4. We are only able to prove that |η 1 (t)| has critical points at such t values. However, we observe numerically that these critical points correspond to extrema for all the solutions we have computed. Using (20) together with η(x, −t) = η(−x, t), which follows from (17) as explained above, one finds that q(t) = e iθt/Tη 1 (t) satisfies: It follows that |η 1 (t)| has even symmetry with respect to reflection about t = nT/4 for any integer n. Such reflection points are always critical points. Let a = q(0) =η 1 (0) and b = q(T/4) = e iθ/4η 1 (T/4), which are both real. Periodicity of q implies that: At intermediate times,η 1 (t) sweeps out hypotrochoid-like curves resembling flower petals as it passes through the apsides (30) at times t = nT/4. This is illustrated in the right panel of Figure 1 for a traveling-standing wave with β = π/6, ε = 0.26, and θ = 6.8825 = 2π + 0.1908π. The orbits ofη 1 (t) for t ∈ [nT, (n + 1)T] will be identical to the n = 0 case shown in the figure, but rotated clockwise by n(θ − 2π) radians. Several traveling-standing wave solutions with amplitude ε = 0.25 are shown in Figure 2. Our method of computing these waves will be explained in Section 3.2 below. The aim of Figure 2 is to provide a better understanding of the traveling parameter β and the symmetries associated with changes in β. Solution A is a pure standing wave that begins at rest with η(x, 0) an even function of x with a peak at the origin. At t = T/2, the solution comes to rest again with the peak translated to x = π, consistent with (20). This standing wave corresponds to β = 0. Solution D is a pure right-moving traveling wave. It corresponds to β = π/4. Solutions B and C are intermediate traveling-standing waves that have features of both A and D. Solutions B and C correspond to β = π/12 and β = π/6, respectively. Solutions A, B, and C are closely related to solutions G, F, and E through the transformation rules of Table 1. This will be discussed further below.
The bottom center panal of Figure 2 confirms that |η 1 (t)| passes through its maximum and minimum values when t is an integer multiple of T/4. Each curve |η 1 (t)| in this plot is shown from 0 ≤ t ≤ T/2 relative to its own period T, where T varies slightly for each solution in the plot (aside from T A = T G , T B = T F , and T C = T E ). Note that |η 1 (t)| is constant in time at the traveling wave solution D and reaches zero only for the standing waves A and G. The same results would hold for the traveling waves D', d, and d' as well as the standing waves g and a, which are labeled on the "β circle" in the center panel of Figure 2 but not plotted.

Change in β, θ Effect
Translation in space and time by θ/4, T/4.
Once solutions are known in the range 0 ≤ β ≤ π/4, they are known for all β up to changes in spatial and temporal phase or direction of travel. Table 1 gives the required transformation rules. A brief justification is as follows: For example, in the center panel of Figure 2, upper-case letters are related to lowercase letters via the first type of transformation in Table 1, and adding or removing primes corresponds to the second type of transformation. Solutions A, B, and C on the right in Figure 2 are related to those on the left (G, F, and E) by the third type of transformation, where β is reflected across the 45 • line passing through points D and d on the circle in the center panel of Figure 2. As a result, the curves labeled t = T/4 in the left panels are spatial phase shifts of those labeled t = T/2 in the right panels. In particular, a pure standing wave satisfying the symmetry conditions (15) and (16) takes the form of solution A if time is shifted by T/4, or takes the form of solution G if space is shifted by π/2. One of these two phase shifts (or their negative counterparts) is required to satisfy condition (17), and varying β from 0 to π/2 connects the phase shifted versions of the original standing wave together by traveling-standing waves of the same energy.

Trust-Region Shooting Method
To compute traveling-standing waves, we pose the problem as an overdetermined nonlinear system of equations. We solve this system using a variant of the Levenberg-Marquardt method in which the Jacobian updates are delayed over several accepted steps. See [13] for further details about this algorithm, including how to vary the trust-region radius when the Jacobian computation is lagged in this way.
From (17) and (18), we seek solutions in which η(x, 0) and η(x + θ/4, T/4) are even functions of x while ϕ(x, 0) and ϕ(x + θ/4, T/4) are odd. Letη j (t) andφ j (t) denote the Fourier modes of the solution. As explained in more detail below, we choose an even integer N ≤ 2M/3, where M is the number of spatial gridpoints used in the timestepping algorithm, and consider initial conditions of the form: where j ∈ {±1, ±2, . . . , ± N 2 }. The numbers c 1 , . . . , c N are assumed to be real and all other Fourier modes are set to zero. In the formula forφ j , sgn(j) = −1 if j < 0 so thatφ −j =φ j . We also set: where T is the period and θ is the spatial phase shift in (18). We choose an objective function that is zero if and only if η(x + θ/4, T/4) and ϕ(x + θ/4, T/4) are even and odd functions of x, respectively, and E in (21) and β in (23) are equal to the given target values E 0 , β 0 . Specifically, we define: with where β = atan2 Re{e iθ/4η 1 (T/4)} ,η 1 (0) . Taking the real part of the first argument is necessary since η(x + θ/4, T/4) is not generally an even function until f has been driven to zero. Assumingη j (T/4) andφ j (T/4) are zero for |j| ≥ M/2, we then have: We have assumed here thatφ 0 (T/4) = 0. This is true sinceφ 0 (0) = 0 by construction and the projection P in (2) keepsφ 0 (t) constant. The number of spatial gridpoints, M, should be chosen large enough that for all times t ∈ [0, T/4], the Fourier modesη j (t) andφ j (t) decay to machine precision for |j| ≥ M/p, where p = 2 is required and p = 3 is recommended to avoid aliasing errors when evaluating the nonlinearities of (2) and approximating the integrals (5) and (6) via the trapezoidal rule (11). By contrast, N only needs to be large enough that the Fourier modeŝ η j andφ j in (31) of the initial condition decay to machine precision by the time |j| reaches N/2. For smaller-amplitude waves, we find that N ≈ 2M/3 typically works well. The remaining Fourier modes of the initial condition are taken to be zero. This "zero padding" causes the number of equations, M + 2, to be larger than the number of unknowns, N + 2.
In some cases N can be substantially smaller than M, which makes the method more efficient as only lower-frequency Fourier modes of the initial condition have to be computed. This also improves the robustness of the shooting method since these lowerfrequency modes are well-resolved on the M-point grid. Moreover, following the approach of Appendix A, all the columns of the Jacobian are obtained by computing well-resolved solutions of the linearized water wave equations corresponding to perturbations of the initial conditions in the direction of these lower-frequency modes. This allows the Jacobian to be computed accurately by discretizing the linearized water wave equations rather than having to linearize the discretized solution of the nonlinear problem. A common scenario where N can be much smaller than M is when t = 0 corresponds to a relatively flat state while t = T/4 corresponds to a crested state with high curvature near the wave peak. In this scenario, there are often many more active Fourier modes (with mode amplitude larger than machine precision) in the final state than in the initial state. Thus, it is better to compute solutions E, F, and G than C, B, and A in Figure 2 as the former reach crested states at T/4 while the latter begin with crested states.
This idea of recasting shooting methods as overdetermined nonlinear systems was introduced in [13] to compute extreme standing waves. In that work, adaptive mesh refinement in both time and space was also used to better resolve the wave peak that emerges at t = T/4. For both pure standing waves and the generalization considered here to traveling-standing waves, because the solution returns to a spatial phase shift of the initial condition at t = T/2 (and again at t = T), if modesη j (t) andφ j (t) with |j| > N/2 have become active at t = T/4, they decay back down to machine precision if time is further evolved from t = T/4 to t = T/2. At time T/2, each mode will differ from its initial state by only a phase factor, i.e., its amplitude will return to its initial value. This time-periodic transfer of energy between low-and high-frequency modes under the fully nonlinear water wave equations might be interesting to study through the lens of dynamic energy cascades [48,49].

A Quasi-Periodic Torus Representation of Traveling-Standing Water Waves
In Section 3.1, we formulated the traveling-standing water wave problem as a twopoint boundary value problem with initial conditions of the form (17) that evolve from t = 0 to T/4 to a state of the form (18). Amplitude and traveling parameters ε and β are also specified to further constrain the solution through (22) and (23). All of these conditions involve properties of the solution at t = 0 and T/4, with behavior at intermediate times determined only by the requirement that the equations of motion (2) hold. This is the most convenient formulation for computing such waves in a shooting framework.
Rigorous proofs of existence of time-periodic [20][21][22] and temporally quasi-periodic [23,24] standing water waves take a different approach, modeled on KAM theory, where periodicity or quasi-periodicity in time is built into the function space in which a Nash-Moser iteration is performed to enforce the equations of motion in the limit. In other words, in a shooting framework, successive approximations satisfy the evolution equations but not the temporal boundary conditions while in a KAM approach, each iteration satisfies the boundary conditions but not the evolution equations. In this section we consider torus representations of traveling-standing water waves that could potentially be used in a Nash-Moser iteration to prove their existence.
One idea is to define a function Z 1 (ξ 1 , ξ 2 ) that is periodic on the torus T 2 = R 2 2πZ 2 such that: where θ is the spatial shift of (13), which we recall is taken to be 2π for pure standing waves. Periodicity of Z 1 (ξ 1 , ξ 2 ) on T 2 ensures that Z(x, T) = Z(x − θ, 0), which is (13). A more general torus representation, namely: was introduced by Bridges and Laine-Pearson [29] to study the stability of weakly nonlinear standing waves. This torus representation allows us to more clearly interpret travelingstanding water waves as nonlinear superpositions of counter-propagating periodic wave trains. The parameters k i and ω i will be shown below to correspond to a rotation of the above torus function by 45 • , i.e., Pierce and Knobloch [28] studied weakly nonlinear interactions of such wave trains using a Davey-Stewartson model for finite-depth water waves with surface tension without employing torus representations of the solutions. Bridges and Laine-Pearson [29] expanded on these results using a completely different approach. Solutions of the form (37) can describe a wide variety of wave phenomena. The spatially quasi-periodic traveling water waves considered by Bridges and Dias [50] within weakly nonlinear theory and by Wilkening and Zhao [51] in a fully nonlinear setting have the form (37) if one takes ω 1 = −k 1 c and ω 2 = −k 2 c, where c is the wave speed. One recovers periodic traveling waves if Z is independent of θ 1 or θ 2 . Bridges and Laine-Pearson [29] note that pure standing waves have the form (37) if: Indeed, after non-dimensionalization, if η(x, 0) and ϕ(x, 0) are even, 2π-periodic functions satisfying (15) and (16), we can define: where k = 1 and ω = 2π/T. It then follows that Z(x, t) = Z(ωt + kx, ωt − kx), as claimed.
It is also symmetric with respect to interchanging θ 1 and θ 2 since Z(x, t) is an even function of x for fixed t. Shifting time by T/4 does not change these symmetry properties, so solution A of Figure 2 also leads to a function Z(θ 1 , θ 2 ) that is symmetric with respect to interchanging θ 1 and θ 2 when defined via (40). General traveling-standing waves, including pure standing waves in the configuration of solution G in Figure 2, do not have torus functions satisfying (39) and (40). Instead, we claim that solutions of (2) satisfying (17) and (18) have the form: Solving θ 1 = ω 1 t + kx and θ 2 = ω 2 t − kx for x and t yields: This function is periodic on the torus T 2 if we set: which follows from Z(x + θ/2, t + T/2) = Z(x, t) and Z(x − 2π, t) = Z(x, t). Substitution of (43) into (42) gives the formulas for x and t reported in Figure 3. This confirms the 45 • rotation (38). Next we define an operator R that acts on Z or Z by reversing the sign of the velocity potential, Using Z(−x, −t) = RZ(x, t), which follows from (17) using the same argument we used to derive (19), we obtain: Together with periodicity of Z(θ 1 , θ 2 ) on T 2 , (45) implies that: This rotational symmetry (with a sign change in the velocity potential) about lattice points in πZ 2 can be used to construct Z(θ 1 , Figure 3. Next we note the effect of the transformation rules of Table 1 on Z(θ 1 , θ 2 ). If β new = β old + π, then θ remains unchanged and: where x and t depend on θ 1 and θ 2 through the formulas in Figure 3. Similarly, if β new = −β old , then θ new = 4π − θ old and: In addition, if β new = (π/2) − β old , then θ remains unchanged and: So all three transformations lead to simple shifts or reflections of the torus functions, together with a replacement of θ by 4π − θ in the second case.
} Figure 3. Correspondence between the physical variables x, t and the torus variables θ 1 , θ 2 in the representation (41). The rotated rectangle with a thick red border corresponds to 0 ≤ t ≤ T/4, which is the time range computed by our shooting algorithm. The values of Z(θ 1 , θ 2 ) in this rectangle can be extended to fill the torus T 2 using the rotational symmetries (46) about the three lattice points shown with black markers.
In the case of pure standing waves with β ∈ {0, π}, this construction yields the same torus representation (39) and (40) proposed by Bridges and Laine-Pearson. In this case, if n is an even integer, the second component of Z (the velocity potential) is identically zero along the lines θ 1 + θ 2 = nπ, and Z(θ 1 , θ 2 ) has even symmetry upon reflection about the lines θ 2 = nπ + θ 1 , i.e., Z(θ 1 , nπ + θ 2 ) = Z(θ 2 , nπ + θ 1 ) for θ 1 , θ 2 ∈ R, and n even. It follows from (49) that pure standing waves with β = ±π/2 have torus functions related to the corresponding cases with β ∈ {0, π} by a shift in θ 1 by π. Thus, the second component of Z is identically zero along the lines θ 1 + θ 2 = nπ for odd integers n and Z(θ 1 , θ 2 ) has even symmetry upon reflection about the line θ 2 = nπ + θ 1 when n is odd. In x, t space, this means the solution has even symmetry about x = π/2 and x = 3π/2 for all time rather than about x = 0 and x = π, as illustrated in panel G of Figure 2 above. In the alternative convention of (15) and (16), which has to be shifted in space or time to fit in the travelingstanding framework of (17) and (18), there is still a torus function satisfying (39) and (40), and it is related to one of the β ∈ {0, π} cases via Z alt (θ 1 , θ 2 ) = Z(θ 1 + π/2, θ 2 + π/2). As a result, the second component of Z alt is zero along the lines θ 1 + θ 2 = nπ with n odd but has even symmetry when reflected about the lines θ 2 = nπ + θ 1 with n even.
Temporally quasi-periodic water waves of the form (37) but generalized to have d quasi-periods have been proved to exist by Berti et al. [25,26] in the case of constant vorticity and by Feola and Giuliani [27] for irrotational water waves of infinite depth. The setup of Feola and Giuliani is closest to that considered here, except that they require k 1 , . . . , k d to be integers such that |k i | = |k j | if i = j. By contrast, we consider d = 2 and k 1 = k 2 . In other words, at the linearized level, we treat the case of an arbitrary superposition of two counter-propagating traveling waves of the same wavelength, which by (26) may be written: while Feola and Giuliani require each component wave to have a different wavelength and to be traveling either left or right rather than being in a superposition of both states. As with previous work on standing waves [20][21][22][23][24], the results in [25][26][27] employ a Nash-Moser iteration and only establish existence in Cantor-like sets of parameters such as amplitude, vorticity, and surface tension.

Numerical Results
We saw in (25) that wave amplitude is proportional to ε = √ E in the linearized regime. Thus, as an initial sweep through parameter space, we use the overdetermined shooting method described in Section 3.2 to compute 131 × 361 = 47291 traveling-standing wave solutions with: When ν = 0 we set η ≡ 0, ϕ ≡ 0, T = θ = 2π without computing anything. It is only necessary to carry out the minimization procedure for 45 ≤ l ≤ 90; the other solutions are obtained using the symmetries of Table 1 in Section 3.1 above. As explained already, there are advantages in efficiency and robustness to computing solutions that reach crested states at t = T/4 rather than at t = 0. This is why we carry out the minimization for 45 ≤ l ≤ 90, which include solutions E, F, and G in Figure 2, rather than for 0 ≤ l ≤ 45, which include solutions A, B, and C in the figure.
The traveling case l = 45 requires special treatment since two families of travelingstanding waves meet there (one being the "trivial" branch of pure traveling waves). This causes the Jacobian of Appendix A to develop a nontrivial kernel at the solution we are looking for. Our solution is to cut the period roughly in half (to get away from the branch of genuine traveling-standing waves) and compute the pure traveling wave with the correct energy using the traveling-standing wave code with T fixed instead of β fixed. In the Levenberg-Marquardt method, c N+1 = T is removed from the list of unknowns and the second equation (driving r 2 = β − β 0 to zero) is dropped. This gives η(x, 0), ϕ(x, 0), and c = θ/T, but with θ and T scaled incorrectly by the same factor. To find the correct T, we use a 10-point Chebyshev polynomial interpolation from the periods of the traveling-standing waves with: where the x m are the zeros of the 10th Chebyshev polynomial, T 10 (x). Since 10 is even, β 45,m = π/4. These auxiliary problems were solved in quadruple-precision to avoid loss of digits due to the nearby bifurcation to pure traveling waves. Figure 4 shows the dependence of T, θ, and P x on the amplitude √ E and traveling parameter β, where: is the average horizontal component of momentum, which is a conserved quantity [52]. We see in these contour plots that T is an even function of β for fixed E while (θ − 2π) and P x are odd. Moreover, T is periodic in β with period π/2 while θ and P x have period π. These properties can be deduced from the transformation rules in Table 1 for shifting or reflecting β. We also find that for fixed energy, the period T has relative maxima at the pure standing wave solutions (β ∈ π 2 Z) and relative minima at the pure traveling waves (β ∈ π 4 + π 2 Z). When β is fixed, T generally increases with energy. Naturally, the spatial phase shift θ is zero (modulo 2π) for pure standing wave solutions, and achieves its extrema (for fixed energy) at the pure traveling waves. The magnitude of this phase shift, |θ − 2π|, also generally grows with energy. Similarly, P x is zero for pure standing waves and achieves its maximum and minimum values for fixed energy at the right-and left-traveling water waves, which occur at β ∈ {π/4, −3π/4} and β ∈ {−π/4, 3π/4}, respectively. For fixed β ∈ π 2 Z, |P x | generally grows with amplitude ε = √ E.

Gaps and Disconnections in the Two-Parameter Family
The period, T, spatial phase shift, θ, and momentum, P x , appear to depend smoothly on E and β in the contour plots of Figure 4. However, the regular pattern of white grid cells (bordering a gridpoint where a solution could not be found) suggest the presence of discontinuities running through the two-parameter family of traveling-standing waves. A useful variable for studying these discontinuities and visualizing the shape of the waves is the signed curvature at the origin at t = 0, where we used (17). A contour plot of κ versus energy and traveling parameter is shown in Figure 5. The spacing of contour lines is highly non-uniform to avoid having large regions of the graph with no contour lines and other regions where the contour lines are so dense that they become indistinguishable (the plot actually shows arcsinh(5κ), but the labels on the colorbar correspond to κ). The curvature is much larger when E is large and β is close to zero than elsewhere in the plot. This is expected as values of β far from 0 (modulo 2π) correspond to solutions in which the largest wave crest over the time interval 0 ≤ t ≤ T/4 forms at (x, t) = (θ/4, T/4) or (π, 0) instead of at (0, 0). For example, plots A-G in Figure 2 Table 1, this plot can be used to determine the curvature of η at x = 0 and x = π when t = 0 as well as at x = θ/4 and x = π + θ/4 when t = T/4. Unlike T, θ, and P x , the contour lines of κ in Figure 5 veer apart as they approach the white regions from opposite sides. These discontinuities are more easily visualized with graphs than with contour plots. In Figure 6, we show the dependence of κ on β for 14 fixed values of the amplitude, ε = √ E = 0.02ν, 0 ≤ ν ≤ 13. For small ε, the curvature depends on β as κ ≈ 2ε cos β, consistent with (25). However as ε increases, κ grows rapidly near β = 0, and several disconnections can be seen in the curves. The white regions in Figure 5 occur when a grid point (ε ν , β l ) from (51) falls in a gap between disconnections, where no solution exists. These gaps are often narrow enough to cross through the middle of a grid cell without causing the algorithm to fail at the four corner nodes. In this case, the cell will not be white, but contour lines passing through the cell may exhibit sharp kinks. The small but abrupt jumps in some of the contour lines of Figure 5 indicate this type of behavior. Thus, even though most of the white grid cells in Figure 5 border nodes with ε ≥ 0.09, the eight major disconnections appear to persist all the way down to ε = 0, where β ∈ {±π/12, ±5π/12, ±7π/12, ±11π/12}. We will investigate this in more detail below.  Figure 6. Slices through the contour plot of Figure 5 with ε = √ E = 0.02ν, 0 ≤ ν ≤ 13. The curvature jumps discontinuously as β crosses certain critical values, leaving gaps in the β-ε parameterization where no solutions exist. When ε is large, the wave crest sharpens rapidly soon after β leaves zero in either direction due to a nearby discontinuity on each side.

Larger-Amplitude Traveling-Standing Water Waves
While the grid spacing in (51) is sufficient to make informative contour plots, the curves in the right panel of Figure 6 are not well-resolved near the disconnections. In Figure 7, we use an adaptive numerical continuation algorithm [12,13] to track solutions with two larger values of energy, E = (0.2683903779) 2 and E = (0.274) 2 . The former is the energy of the standing wave labeled Y in Figure 10 of [13], which we happened to be studying when we realized that one of the two Jordan chains of the monodromy operator of the linearization about a standing wave should point to standing waves that travel. Surprisingly, the paths bifurcating from standing waves (β = 0) at these two energy levels (green and red in the figure) loop back and meet another standing wave, rather than connecting with a traveling wave. This is very different behavior than what occurs for the Benjamin-Ono equation [18,19], where varying the amplitude of the waves on a path does not affect which stationary or traveling waves it meets at its endpoints, nor the smoothness of the path. However for the free-surface Euler equations, the bifurcation curves become less regular as the amplitude increases. Increasing the energy causes many disconnections to nucleate, leaving gaps in β where no solution exists and other regions where multiple solutions exist. Such nucleation events are explored in the context of pure standing waves in [13].
The reason it is possible to loop back and connect with a different standing wave is that energy is not a monotonic function as one moves along the family of pure standing waves. The same is true of pure traveling waves, as shown in Figure 8. For standing waves, we plot ε = √ E as a function of crest acceleration [7], defined as the acceleration of a fluid particle at the wave crest at the moment it reaches maximum height. For traveling waves, we plot ε as a function of relative crest velocity [53], defined as the velocity of a fluid particle at the wave crest in the frame moving alongside the wave. We note that A c is close to zero for small-amplitude standing waves and increases toward 1 as the wave crest sharpens, while q is close to 1 for small-amplitude traveling waves and decreases to zero as the wave crest sharpens. Longuett-Higgins and Fox showed that as q → 0, the crest of the traveling wave approaches 120 • in a self-similar fashion [53,54]. Penney and Price [3] conjectured a 90 • crest angle for the limiting standing wave of the greatest height [3,[55][56][57]. Early numerical studies suggested that a sharper corner [7] or a cusp [9] may form as A c → 1. Recent high-resolution computations show that resonance causes self-similarity at the crest to break down, which prevents a limiting standing wave from materializing at all [12].  Of interest here, in Figure 8, is that the energy levels ε = 0.2684 (green) and ε = 0.274 (red) cross the standing-wave curve twice, and these two pure standing waves are connected by (fragmented) closed loops of traveling-standing waves in Figure 7. The ε = 0.2684 energy level meets the traveling family only once, and indeed the green curve behaves similarly to the grey curves at lower energies near β = π/4 in Figure 7. The ε = 0.274 energy level does not intersect the traveling wave curve at all in Figure 8, and we see that the red curve in Figure 7 veers upward before reaching β = π/4 from either side, suggesting a sharpening of the wave crest. The intermediate energy level ε = 0.2705 shown in orange in Figure 8 meets the traveling wave curve in two locations. One wonders whether these are also connected by a path of traveling-standing waves. However, in Figure 7, the orange curves bifurcating from traveling waves at β = π/4 veer away from each other rather than forming a closed loop as in the standing-wave case (aside from small disconnections). The upper orange branch (ε = 0.2705) veers upward on the κ axis, indicating that the crest sharpens as |β − π/4| increases.
In Figure 9, we show snapshots of the "extreme" waves labeled A, B, and C in Figure 7. Solution A is a pure standing wave with crest acceleration A c = 0.98 and curvature κ = 51.893. Solution B (β = 0.2804π) is the sharpest traveling-standing wave we computed on the red branch (ε = 0.274), which has κ = 5.068 at t = 0 and κ = 15.04 at t = T/4. While the crests of many of these traveling-standing waves become quite sharp, analogy with the pure standing-wave case suggests that resonance will prevent a perfect corner from forming when true dynamics are involved, i.e., other than the 120 • corner of the highest pure traveling wave [53,54], which can be formulated as a steady-state problem. Solution C in Figure 9 shows a traveling-standing wave with negative curvature due to the formation of a dimple at the wave crest. Referring back to Figure 6, there is a strong discontinuity running through the family of traveling-standing waves to the right of β = 0 in which curvature sharpens when the discontinuity is approached from the left and flattens when approached from the right. At the energy level of the red curve (ε = 0.274) in Figure 7, the sharpening branch loops back to join another standing wave while the flattening branch acquires negative curvature.  Figure 7 behave similarly in the large, differing by a higher-frequency secondary wave responsible for the imperfect pitchfork bifurcation in Figure 7. This secondary wave takes the form of a frequencyand amplitude-modulated traveling wave that either sharpens the wave crest (D) or flattens it (E), depending on the relative phase of the primary and secondary waves.
In standing-wave studies [13,39], disconnections in the bifurcation diagrams can often be associated with harmonic resonance between Fourier modes. More generally, disconnections occur when a large-scale carrier wave excites a higher-frequency secondary wave that can be superimposed nonlinearly with one of two amplitudes to make a globally time-periodic solution [12,13]. Figure 10 shows solutions D and E on two branches that meet at an imperfect pitchfork bifurcation at energy level ε = 0.24 (blue) in Figure 7. The two waves evolve similarly in the large, although a secondary wave on the surface sharpens the crest at D and flattens it at E. In the right panel of Figure 10, we plot the difference between solutions D and E at corresponding times kT/48, 0 ≤ k ≤ 48. These times are slightly different for the two solutions since T = 6.473269 for solution D and T = 6.473250 for solution E. Instead of resembling another standing wave (as happens in the pure standing case), the secondary wave takes the form of a frequency-and amplitudemodulated traveling wave evolving over the surface of a bulk traveling-standing wave.

Asymptotic Expansions and Alternative Parameterizations of TS-Waves
We now return to the question of persistence of disconnections to zero-amplitude. We saw above in Figures 5 and 6 that eight major disconnections exist in the β-ε plane that lead to jumps in curvature when they are crossed and leave gaps where no solution could be found. We have not attempted to derive a formal asymptotic expansion along the lines of Rayleigh [2], Penney and Price [3], Tadjbakhsh and Keller [58], Concus [59], Schwartz and Whitney [5], or Amick and Toland [60]. This is quite challenging even for pure standing waves due to resonant modes of the form e im 2 x e imt and m ∈ Z, whose amplitudes are determined by compatibility conditions at higher order rather than by remainders from lower-order terms that must be eliminated at the current order. In the pure standing wave case, these asymptotic expansions involve trigonometric polynomials with rational or integer coefficients [5,60]. Assuming the same is true for traveling-standing waves allows us to obtain the formulas through fourth order by fitting numerical data. We first study the asymptotic behavior of the initial conditions, which is natural in a shooting context and involves fewer expansion variables. We then compute the asymptotic expansion of the torus function Z(θ 1 , θ 2 ) from Section 3.3 in powers of the amplitude parameter ε, which describes both the spatial and temporal behavior of traveling-standing water waves. Finally, we discuss alternative amplitude and traveling parameters and the relative merits of each choice.

Asymptotic Expansion of the Initial Condition
The numerical data we use to study small-amplitude solutions is plotted in Figure 11. It consists of the first four Fourier modesη j (0; ε ν , β l ),φ j (0; ε ν , β l ) of the initial conditions of the first 21 energy levels ε ν in (51), indexed 0 ≤ ν ≤ 20. For β, we use β l = πl/180, l = 45, 46, . . . , 90, and then extend by symmetry to −180 ≤ l ≤ 180. Since we expect a discontinuity at l = 75, we drop this index from the list and replace it with l = 74.5 and l = 75.5. This is also done at all the symmetric images of l = 75 under the transformation rules of Table 1, leaving 8 gaps in the plots. At each β l , we approximate each variable of interest by the 10th degree polynomial p l (ε) that most nearly agrees with it (in the least-squares sense) at the ε ν , ν = 0, . . . , 20. We then evaluate p (r) l (0), 0 ≤ r ≤ 4, to obtain the first five Taylor coefficients of the variable. We also do this for the period, T(ε ν , β l ), and spatial shift, θ(ε ν , β l ). Studying plots of the Taylor coefficients as functions of β, we are able to guess analytic formulas that agree with the numerical data to as many digits as we can compute in double-precision, which varies from 5 to 15 depending on how many derivatives have been taken. The resulting formulas are reported in Table 2.
Since fourth derivatives lead to a significant cancellation of digits, we verify the results by re-computing the solutions in quadruple-precision on a 33-point Chebyshev-Lobatto grid in the amplitude parameter over the interval −0.032 ≤ ε ≤ 0.032, The traveling-standing wave calculations are only performed for 1 ≤ ν ≤ 16, i.e., for ε ν > 0. Further details on these quadruple-precision calculations will be given in Section 5.2 below. We use the ε = 0 values of the formulas in Table 2 at ν = 0 and use even or odd symmetry of these formulas with respect to ε for ν < 0: As shown in the left panel of Figure 12, the Chebyshev modes of the interpolated functions decay exponentially rather than algebraically, which is strong evidence that the analytic continuation to ε < 0 for each of these functions is correct. The choice of a 33-point Chebyshev-Lobatto grid and the parameter 0.032 in (55) were chosen by trial and error to ensure that the Chebyshev modes of these functions decay to quadruple-precision accuracy using polynomials of a degree ≤32. −π/6 0 π/6 π/3 π/2 2π/3 Figure 11. Leading Fourier modes of the initial wave profile, {η j (0; ε, β)} 4 j=1 , (left), and initial surface velocity potential, {φ j (0; ε, β)} 4 j=1 , (right), versus β for small-amplitude traveling-standing waves of amplitude ε ν = 0.002ν, 0 ≤ ν ≤ 20. These numerical results were used to guess analytic formulas for the asymptotic expansions, see Table 2. Bothη 4 (0; ε, β) and ϕ 4 (0; ε, β) have disconnections at β = {± π 12 , ± 5π 12 , ± 7π 12 , ± 11π 12 }, where the corresponding analytic formulas are singular.
We introduce additional notation to enumerate the functions listed in Table 2 to facilitate the discussion of the numerical results reported in Figure 12: The Fourier modes of the velocity potential at t = 0 are purely imaginary due to (17), so f 2j+2 extracts the imaginary part ofφ j (0; ε, β). Each function f m (ε, β l ) is sampled on the Chebyshev grid (55), where β l = πl/180 with l ranging over the integers between 0 and 90, excluding 15, 45, and 75. We omit l = 45 to avoid the special treatment required for traveling waves discussed at the beginning of Section 4. The interpolating polynomial: c lmn T n (ε/0.032) (58) is then constructed using the Fast Fourier Transform to compute the Chebyshev coefficients c lmn from the sampled values, f m (ε ν , β l ). The |c lmn | are plotted versus n in the left panel of Figure 12. The plot contains 880 curves corresponding to the different choices of l and m, all of which decay below 10 −27 by the time the Chebyshev mode index reaches 32. Every other Chebyshev mode on each curve is zero, with parity depending on whether we use even or odd symmetry to extend the sampled values f m (ε ν , β l ) to ε ν < 0 in (56). In the plot, we omit the Chebyshev modes |c lmn | that are zero by symmetry. The curves with the slowest decay rate, plotted in blue in the figure, correspond to β l with l ∈ {14, 16, 74, 76}. This occurs because the asymptotic expansion breaks down as β approaches 15 • and 75 • due to the presence of (cos 2 2β − 3/4) in the denominators ofη 4 (0; ε, β) andφ 4 (0; ε, β) in Table 2. Thus, the functions f m (ε, β) vary more rapidly with ε as β approaches these values. One would need to use a smaller prefactor than 0.032 in (55) or increase the number of Chebyshev modes to maintain quadruple-precision accuracy for β closer to 15 • or 75 • than reported here. Table 2. Fourth order asymptotic expansion of the initial conditions, period, and phase shift of traveling-standing waves on deep water. Higher-frequency modes are zero through fourth order in We enumerate these functions in the order listed here to define f m (ε, β) in (57) for 1 ≤ m ≤ 10.
We compare these analytic formulas to the coefficients in the expansion of the interpolating polynomial: lm + ε 4 a (4) When computing a (r) lm , the first nonzero entry in the sum is n = r, and the sum is over integers n in the range r ≤ n ≤ 32 such that (n − r) is even.   Table 2 to the expansion obtained numerically from f interp lm (ε). These curves correspond to the variables listed in Table 3 at each order r ∈ {0, 1, 2, 3, 4}.
The results of this comparison are shown in the right panel of Figure 12. We plot the deviation e lm . In particular, an error of order 10 −30 in c lmn with n = 32 is amplified by a factor of (32 2 − 4)(32 2 )(0.032) −4 /24 = 4.2 × 10 10 . In these plots, l ranges from 0 to 90 omitting 15, 45, and 75 and m and r range over the marked entries of Table 3. Solid markers in the table correspond to nonzero formulas for α (r) m (β) in Table 2. For example, from (60), the m = 4 column has solid markers in rows r = 1 and r = 3, thus, the curves e (1) l4 and e (3) l4 are among those plotted in the right panel of Figure 12 and labeled 'first order' and 'third order,' respectively. Open markers in Table 3 correspond to coefficients a (r) lm for which there are nonzero coefficients c lmn in the right-hand side of (62) that must cancel to yield zero, which is the value of α (r) m (β l ) in these cases. For example, the open marker at r = 1, m = 7 corresponds to one of the four curves labeled 'first order' in Figure 12, which is a plot of e (1) l7 . Blank entries in Table 3 correspond to entries a (r) lm that are zero due to symmetry, i.e., the sums in the right-hand side of (62) involve only c lmn entries that are zero due to the even or odd extension that was used to compute f m (ε ν , β l ) for ε ν < 0. These entries are not plotted in Figure 12 since the error is exactly zero.
Since the errors e (r) lm computed in quadruple-precision and plotted in Figure 12 are 12-16 orders of magnitude smaller than those of the double-precision calculations that were used to discern the analytic formulas of Table 2, we are confident that these formulas are correct. We find that the disconnections in the plots ofη 4 (0; ε, β) andφ 4 (0; ε, β) in Figure 11 are cleanly represented at fourth order by the terms with (cos 2 2β − 3/4) in the denominator in Table 2. This shows that the disconnections do indeed persist all the way to zero-amplitude, where they manifest as terms in the asymptotic expansion of the Fourier coefficients that diverge as β approaches {± π 12 , ± 5π 12 , ± 7π 12 , ± 11π 12 }. The fact that the formulas forη j (0; ε, β) andφ j (0; ε, β) can be expanded in integer powers of ε with coefficients that involve only trigonometric polynomials of β confirms that defining ε = √ E and β via (23) were good choices for the amplitude and traveling parameters. Table 3. Indices m and r of the error curves a (r) lm − α (r) m (β l ) plotted in the right panel of Figure 12. Solid markers denote indices for which the proposed exact formulas α (r) m (β) in Table 2 are nonzero while open markers denote entries where nonzero terms c lmn have to cancel in the sums (62) to achieve a

Asymptotic Expansion of the Solution on the Rotated Torus
Using the numerical solutions computed in quadruple-precision to verify the ansatz of Table 2 for the asymptotic expansion of the initial conditions, we are able to identify exact formulas for the leading terms in the asymptotic expansion of the 2D Fourier coefficients of the torus function Z(θ 1 , θ 2 ) described in Section 3.3. For each amplitude ε ν in (55) in the range 1 ≤ ν ≤ 16 and β l = πl/180 with l ranging over the integers between 0 and 90, omitting 15, 45, and 75, we compute a traveling-standing wave with M = 128 gridpoints in space and 32 timesteps taken from 0 to T/4 using a 15th order spectral deferred correction method [44][45][46] based on the Gauss-Lobatto quadrature. For each ε ν , we use the following cutoff beyond which the Fourier modes of the initial condition are set to zero in the Levenberg-Marquardt algorithm ν 1 2 3 4 5 6 7 8 9 10 11-16 N/2 18 19 20 21 22 23 24 25 26 27 28 .
These cutoffs are large enough that the Fourier modesη j (0; ε, β) and ϕ j (0; ε, β) of the initial condition decay below 10 −30 by the time j reaches N/2. The solver also computes T and θ as explained in Section 3.2 above. These numerical results fill the rotated rectangle corresponding to 0 ≤ t ≤ T/4 in Figure 3 with values of Z on a uniform grid rotated clockwise by 45 • . We extend these values to the region: using the rotational symmetry of (46) (with a sign change in velocity potential) about the three lattice points shown with black markers in Figure 3. Extracting the values of Z(θ 1 , θ 2 ) in a checkerboard pattern from the points of the rotated grid that satisfy (63) gives values for Z(θ 1 , θ 2 ) on a uniform non-rotated 64 × 64 grid over T 2 .
Making use of periodicity of Z(θ 1 , θ 2 ) in Figure 3, the change of variables θ 1 = ω 1 t + x and θ 2 = ω 2 t − x with ω 1 and ω 2 as in (43) then gives: with an identical formula yieldingφ j 1 ,j 1 = 0, as claimed. We analytically continueη j 1 ,j 2 (ε, β l ) andφ j 1 ,j 2 (ε, β l ) to ε < 0 as even or odd functions of ε, depending on whether j 1 + j 2 is even or odd. We expect the leading term of the asymptotic expansions ofη j 1 ,j 2 (ε, β l ) andφ j 1 ,j 2 (ε, β l ) to be at most O(ε |j 1 |+|j 2 | ), which we confirm for |j 1 | + |j 2 | ≤ 5. To this end, we enumerate these modes by: Note that 2 m/2 rounds odd integers up to even integers and leaves even integers unchanged. Thus, if m is odd, the corresponding (j 1 , j 2 ) are the same as for m + 1 listed in (69). In our numbering, the lattice points corresponding to m ≤ 36 have odd parity (j 1 + j 2 odd). These are denoted by red circles in Figure 13a. Those with 37 ≤ m ≤ 62 have even parity and are denoted by blue squares in the figure. Filled markers denote Fourier lattice points where nonzero terms are present in the fourth order asymptotic expansion of η j 1 ,j 2 orφ j 1 ,j 2 while open markers denote lattice points where we compute the asymptotic expansion numerically to confirm that the leading terms through fourth order are zero. Grey markers denote lattice points where (65) can be used to determineη j 1 ,j 2 andφ j 1 ,j 2 from those with blue or red markers.
Each of the functions f m (ε, β) in (68) is evaluated at the points (ε ν , β l ) described above and extended by even or odd symmetry to obtain values at ε −ν . We compute the Chebyshev representation (58) of the interpolating polynomial f interp lm (ε) as before, but m now runs from 1 to 62 instead of 1 to 10 due to the change in meaning of f m (ε, β) from (57) to (68). Figure 13b shows the exponential decay of these Chebyshev expansion coefficients for a subset of the functions f m (ε, β l ) that were sampled. As in Figure 12, we omit the Chebyshev modes |c lmn | that are zero due to the even or odd symmetry of the analytic continuation; this avoids NaN values at every other point due to the log scale of the y-axis. The blue curves in Figure 13b correspond to 1 ≤ m ≤ 62 and l ∈ {14, 16, 74, 76}. These are the closest β l values to the singularities at β = 15 • and 75 • . The black curves correspond to 1 ≤ m ≤ 62 and l ∈ {13, 17, 73, 77}, which are the next closest points β l to the singularities. The green curves show the remaining l values (0 ≤ l ≤ 12, 18 ≤ l ≤ 44, 46 ≤ l ≤ 72, 78 ≤ l ≤ 90), but only for m = 1, which corresponds to f 1 (ε, β) =η 01 (ε, β). The other choices of m in the range 2 ≤ m ≤ 62 for these remaining l values are similar to the m = 1 case shown, with Chebyshev amplitudes that lie well below most of the black curves. This is strong evidence that all solutions have been resolved by the interpolating polynomial with 27-32 digits of accuracy, with the least accurate approximations corresponding to the four values of β l closest to the singularities.
Next we compute the expansion coefficients a (r) lm of the interpolating polynomial, defined by (61), using (62). We also compute the fifth-order term: for the cases m = 1 and m = 3, which correspond toη 01 andη 10 , respectively. (These fifth order terms are needed in Section 5.3 below). We then look for analytic formulas for the coefficients α (r) m (β) of (59) that agree closely with the a (r) lm . The results are reported in Table 4 for the Fourier modes with odd parity and in Table 5 for those with even parity. The formulas are simpler when expressed in terms of γ = β − π/4 and δ = ε/ √ 2, so we present them this way. We only report formulas for the Fourier modes with filled red or blue markers in Figure 13 since the others are either zero or can be determined from these via (65). In particular, as noted in (67) above,η j 1 ,j 2 and ϕ j 1 ,j 2 are zero if j 1 = j 2 due to conservation of mass and conservation of the mean value of ϕ under (2).
As a final check, we compute e (r) m (β l ) in quadruple precision using the rational coefficients from Tables 4 and 5 and plot them versus l in panels (c) and (d) of Figure 13. Panel (c) shows e (r) lm versus l for 1 ≤ m ≤ 36 and r ∈ {1, 3}. These are the modeŝ η j 1 ,j 2 andφ j 1 ,j 2 for which odd symmetry is used in the analytic continuation to ε < 0, which guarantees that a (r) lm = 0 for r even. The exponential decay of the Chebyshev modes in panel (b) justifies the use of odd symmetry to extend f m (ε, β) to ε < 0. Panel (d) shows e (r) lm for 37 ≤ m ≤ 62 and r ∈ {0, 2, 4}. These are the modes that are extended to ε < 0 using even symmetry, so it is not necessary to check r ∈ {1, 3}. We also plot the case of r = 5 and m ∈ {1, 3} in panel (c), which is needed in Section 5.3 below. These curves quantify the loss of precision that occurs for larger values of r due to the powers of (0.032) −r and the O(n r ) growth of the coefficients in (62) and (70). By performing the calculations in quadruple-precision, we are still able to verify the analytic formulas of Tables 4 and 5 to at least 19 digits of accuracy. Since only simple fractions appear in the formulas, this is strong evidence that the formulas are correct. Table 5. Fourth order asymptotic expansion of the 2D Fourier modes of Z(θ 1 , θ 2 ) with even parity. Here δ = ε/ √ 2 is the expansion parameter and γ = β − π/4. The O(δ 4 ) coefficients ofη j 1 ,j 2 andφ j 1 ,j 2 are singular for γ ∈ {±π/6, ±5π/6} when (j 1 , j 2 ) = (3, −1) and at γ = {±π/3, ±4π/3} when (j 1 , j 2 ) = (1, −3). + O(δ 6 ).

Alternative Amplitude and Traveling Parameters
One of the main challenges of studying traveling-standing water waves has been to identify suitable amplitude and traveling parameters to describe the two-parameter family. We selected ε = √ E and β = atan2 e iθ/4η 1 (T/4) ,η 1 (0) , which leads to nice formulas such as (25) and (27) in the linear regime, and such as given in Tables 2, 4, and 5 when the solutions are expanded in powers of ε. These parameters are convenient in a shooting framework as they only depend on the solution at the initial and final times of the required time evolution (t = 0 and t = T/4). At these times, the solution satisfies the symmetry properties (17) and (18), which lead to several transformation rules relating each solution to various phase-shifted or time-reversed versions when β is shifted by π or reflected about 0 or π/4. Another option that may fit better with current methods of proving existence of standing and quasi-periodic water waves [20][21][22][23][24][25][26][27] would be to define new amplitude and traveling parameters, sayδ andγ, such that the two leading Fourier modes of the η component of the torus function Z(θ 1 , θ 2 ) satisfy: precisely, without higher-order corrections affecting these two Fourier modes. Substitution ofη 01 andη 10 from Table 4 into: δ = δ (η 01 /δ) 2 + (η 10 /δ) 2 ,γ = γ + Im log e −iγ (η 01 /δ) − i(η 10 /δ) , we obtain: where we used δ = ε/ √ 2 and γ = β − π/4. It was necessary to computeη 01 andη 10 to fifth order in δ in Table 4 to obtain the fourth-order term forγ in (74).
We believe thatδ andγ would lead to a qualitatively similar parameterization of the family of traveling-standing waves as our choice of ε and β. In particular, one can invert (74) to express ε, β and δ, γ in terms ofδ,γ in Tables 2, 4, and 5. The coefficients of the new expansions in powers ofδ will still be singular at the fourth order wheñ γ ∈ {± π 6 , ± π 3 , ± 4π 3 , ± 5π 6 }, i.e., the disconnections in the two-parameter family of travelingstanding waves do not disappear with different choices of amplitude and traveling parameters. Two additional options would be to focus on ϕ instead of η and defineδ andγ by the requirement thatφ 01 = iδ cosγ andφ 10 = −iδ sinγ precisely, without higher-order corrections, or to stay within the ε = √ E framework and define β = atan2 iφ 1 (0), e iθ/4 iφ 1 (T/4) . In each of the four options, the first Fourier modes of η and ϕ enter at linear order with respect to the amplitude parameter ε orδ, with β orγ controlling the relative amplitude of the right-and left-traveling waves at linear order, as in (26). At larger amplitudes, each of these parameterizations will describe the same set of traveling-standing waves, just labeled slightly differently. Our choice of ε, β has the advantage that ε = √ E has a natural physical interpretation in terms of energy and fits well in the shooting framework. The choice (72) fits well in the quasi-periodic torus formulation. Additionally, the two formulations focusing on ϕ also seem reasonable aside from η being more "observable" for water waves in the real world.

Summary and Recommendations for Future Research
We have computed a new two-parameter family of hybrid traveling-standing water waves in infinite depth and studied their properties. At larger amplitudes, we used numerical continuation to explore interesting regimes in which the wave crests form sharp peaks with high curvature or dimpled peaks with negative curvature each time the wave passes through its highest state. We explored disconnections in the two-parameter family and found examples where the bifurcation curve emanating from a pure standing wave solution loops back and reconnects to a different standing wave rather than meeting up with a pure traveling wave, as happens at lower amplitudes. These bifurcation curves are often fragmented at small scales, which is presumably a numerical manifestation of the small divisor problems that have been addressed rigorously using Nash-Moser theory [20][21][22][23][24][25][26][27] to establish the existence of time-periodic or quasi-periodic water waves on Cantor-like sets of the parameters describing the solutions. By contrast, for integrable model equations such as the Benjamin-Ono equation, pairs of traveling waves are found to be connected by smooth paths of time-periodic solutions that can be exhibited analytically [17][18][19] and do not change character at higher amplitudes.
At small amplitudes, we used Chebyshev polynomial interpolation from quadrupleprecision calculations in the fully nonlinear setting to obtain analytic formulas for the leading order terms of an asymptotic expansion of the solution in powers of the amplitude parameter. Some of the fourth-order terms blow up when the traveling parameter β approaches any of the values {± π 12 , ± 5π 12 , ± 7π 12 , ± 11π 12 }. These values line up with the eight major disconnections seen in the large-amplitude contour plots of Figures 4 and 5, where the shooting method failed to find a solution with the desired values of ε and β. This shows that these disconnections persist to zero amplitude.
We proposed a two-point boundary value formulation of the traveling-standing water wave problem as well as a quasi-periodic torus formulation. Each method has its advantages, which are evident in Tables 2, 4, and 5. By focusing only on the state of the system at t = 0 and t = T/4, the dimension of the solution space is reduced by one. This has the advantage that there are fewer unknowns to solve for in the nonlinear least squares problem, and also leads to a more concise description of the asymptotic behavior of solutions since only 1D Fourier modes of the initial condition have to be listed. While this shooting method framework is more efficient in computations, the torus formulation is better suited to current methods of proving existence of time-periodic and quasi-periodic water waves using Nash-Moser theory [20][21][22][23][24][25][26][27]. The ε-β parameterization used throughout the paper is tailored to the shooting approach, and we also proposed aδ-γ parameterization that is tailored to the torus formulation. The two parameterizations describe the same set of traveling-standing waves and are expected to have qualitatively similar gap structures where solutions do not exist. In particular, asymptotic expansions in powers ofδ have fourth-order coefficients that are singular at eight critical values ofγ, as discussed in Section 5.3.
The torus formulation has an advantage over the shooting approach in that it contains complete information on the time-evolution of the system without having to re-compute the solution from the initial condition. The asymptotic expansions of Tables 4 and 5 also provide a pathway to understand the resonances responsible for the disconnections that persist to zero amplitude, where they emerge as expansion coefficients that diverge at critical values of β orγ. The coefficients of Table 2 can be determined from those of Tables 4 and 5 by summing along diagonals (e.g.,η j (0; ε, β) = ∑ l∈Zηj+l,l (ε, β)), but one cannot determine thatη 3,−1 areη 1,−3 each contribute half of the singularities in the formula forη 4 (0; ε, β) in Table 2 by looking only at the asymptotic expansion of the initial conditions. An interesting future research direction would be to derive the expansions in Tables 4 and 5 from first principles, similar to what has been done for pure standing waves [2,3,5,[58][59][60], rather than by fitting numerical data. This would reveal the source of the resonances that lead to zeros in the denominators ofη 3,−1 ,η 1,−3 ,φ 3,−1 andφ 1,−3 at critical values of β orγ. Resonances of pure standing waves at critical fluid depths are investigated in [13,39].
Another idea to study these resonances is to view the results of Tables 4 and 5 as time-periodic solutions of a four-wave weakly nonlinear Hamiltonian water wave model [33,48,49,61] and investigate why time-periodic solutions corresponding to the critical values of β orγ do not exist. This would be similar in spirit to studying the connection between time-periodic solutions of the Benjamin-Ono equation and time-periodic pole dynamics under the inverse scattering transform [18,19]. The only work along these lines for water waves that we have seen is a study by Bryant and Stiassnie [62] of the long-time dynamics of subharmonic perturbations of standing water waves using the Zakharov equations.
In the future, we plan to study the spectral stability of traveling-standing water waves to subharmonic perturbations by computing Floquet exponents in a Fourier-Bloch framework. We hope to develop a unified approach that improves on existing methods for the special cases of pure traveling waves [63][64][65][66][67] and pure standing waves. The only approach that has been used previously for standing waves [7,62] involves studying harmonic stability on a larger domain, which is expensive and limited to perturbations with wavelengths that are an integer multiple of that of the standing wave. We also hope to study the long time dynamics of unstable subharmonic perturbations using the recent algorithm of Wilkening and Zhao [68] for solving the spatially quasi-periodic initial value problem for water waves. Finally, we hope to generalize the current shooting algorithm for computing traveling-standing waves to one for computing various types of quasi-periodic water waves [23][24][25][26][27] with more than two quasi-periods to explore their properties.

Conflicts of Interest:
The author declares no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.