To demonstrate the use of the theorems, we now present some examples.
Example 1
Find the distance from \(\mathbf {u}_{0} =(5,-2,4,-6,-3,-7,2,4,-2,7)^{\mathrm {T}}\) to the Hopf quadric.
Solution One has
$$\begin{aligned} \Phi _{1}(\mu ,z)= & {} 8192\mu ^{4}\omega ^{2}z+(12288\omega ^{2}+4096\omega )\mu ^{3}\nonumber \\&+(640\omega ^{2}-192z+1408)\mu ^{2}-288\mu -15,\nonumber \\ \end{aligned}$$
(31)
and expression (27) for the polynomial \(\mathcal {F}(z)\) is
$$\begin{aligned}&\frac{\mathcal {F}(z)}{-3\cdot 2^{36}\omega ^{2}}=12960\,z^{5}+3456(50\omega ^{2}-137)z^{4}\nonumber \\&\quad +1152(750\omega ^{4}-4340\omega ^{2}+1980\omega +5442)z^{3} \nonumber \\&\quad +3072(625\omega ^{6}-6050\omega ^{4}-2475\omega ^{3}\nonumber \\&\quad -5608\omega ^{2} -16245\omega -11884)z^{2}\nonumber \\&\quad +512(3125\omega ^{8}-53500\omega ^{6}-103500\omega ^{5}\nonumber \\&\quad +725610\omega ^{4}+212040\omega ^{3}\nonumber \\&\quad +1655540\omega ^{2}+528084\omega +163097)z\nonumber \\&\quad -2048(625\omega ^{6}-6675\omega ^{4}-16200\omega ^{3}\nonumber \\&\quad +111081\omega ^{2} +33372\omega +13189)(3\omega +1)^{2}. \end{aligned}$$
(32)
For different values of \(\omega \), the distance equation possesses 1, 3 or 5 real zeros; in any case, all of them are positive. For \(\omega =2\), the distance equation possesses the single real zero \(z^{*}\approx 6.1994\). Therefore, the distance from \(\mathbf {u}_{0}\) to the Hopf quadric equals \(\sqrt{z^{*} }\approx 2.4898\). To find the nearest point on the quadric, we first evaluate the multiple zero for the polynomial \(\Phi _{1}(\mu ,z_{*})\) (defined by (26)) via formula (21) to get \(\mu ^{*}\approx -0.1508\). Then, we apply formula (24):
$$\begin{aligned} \mathbf {u}^{*}\approx (4.3258,-2.4145,3.1624,-6.4152,-4.2435,\nonumber \\ -7.2112,1.5855,4.1837,-3.1646,5.7565)^{\mathrm {T}}.\nonumber \\ \end{aligned}$$
(33)
Check \(\Vert \mathbf {u}_{0}-\mathbf {u}^{*}\Vert =\sqrt{z^{*}}\), \(L_{1}(\mathbf {u}^{*})=0\) and \(\mathbf {u}_{0}-\mathbf {u}^{*}\) is normal to the Hopf quadric at \(\mathbf {u}=\mathbf {u}^{*}\), i.e., it is parallel to the gradient to this quadric at \(\mathbf {u}^{*}\):
$$\begin{aligned}&\det \left( [\mathbf {u}_{0}-\mathbf {u}^{*},\mathbf {A}\mathbf {u}^{*}+\mathbf {b}]^{\mathrm {T}}[\mathbf {u}_{0}-\mathbf {u}^{*},\mathbf {A} \mathbf {u}^{*}+\mathbf {b}]\right) \nonumber \\&\quad \approx \left| \begin{array} [c]{cc} z^{*} &{} 0.9347\\ 0.9348 &{} 0.1409 \end{array} \right| \approx 0. \end{aligned}$$
(34)
Therefore, \(\mathbf {u}^{_{*}}\) is indeed a stationary point for the distance function from point \(\mathbf {u}_{0}\) to the points in the quadric.
For \(\omega =1/2\), the distance equation has three real zeros, namely
$$\begin{aligned} z^{*}\approx 2.0166,14.0618,14.2527. \end{aligned}$$
(35)
In this case, the distance to the Hopf quadric equals \(\sqrt{z^{*}} \approx 1.4201\). The multiple zero for the polynomial \(\Phi _{1}(\mu ,z^{*})\) is \(\mu ^{*}\approx -0.6831\). The nearest point on the quadric is
$$\begin{aligned} \mathbf {u}^{*}\approx (4.4582,-2.0914,3.3131,-6.2738,-3.2745,\nonumber \\ -7.2066, 1.9085,4.1061,-2.9772,6.7255)^{\mathrm {T}}.\nonumber \\ \end{aligned}$$
(36)
As mentioned in Sect. 3, the case of existence of a multiple zero for the distance equation (22) may cause a problem in evaluating the distance for a general quadric (15). This indeed happens for the Hopf quadric.
Theorem 4
If \(\mathbf {u}_{0}\) belongs to any of the eigenspaces of matrix (6), then polynomial \(\mathcal {F}(z)\) given by Eq. (27) possesses a multiple zero.
Proof
Let us take \(\mathbf {u}_{0}\) in the eigenspace associated with the eigenvalue \(\mu _{1}=-\frac{1}{8\omega }\sqrt{\frac{3}{2}}\). This point can be represented as
$$\begin{aligned} \mathbf {u}_{0}=\tau _{1}\mathbf {S}_{[1]}+\tau _{2}\mathbf {S}_{[2]} \end{aligned}$$
(37)
for some real scalars \(\tau _{1},\tau _{2},\) where \(\mathbf {S}_{[j]}\) stands for the jth column of matrix (11). Substitution of such \(\mathbf {u}_{0}\) into the polynomial \(\mathcal {F}(z)\) results in
$$\begin{aligned} \mathcal {F}(z)=-(6\,z-3\tau +20\,\omega ^{2})^{2}\mathcal {F}_{1}(z) \end{aligned}$$
(38)
where \(\tau :=\tau _{1}^{2}+\tau _{2}^{2}\) and
$$\begin{aligned} \mathcal {F}_{1}(z):= & {} 18\,z^{3}+(-54\tau +120\,\omega ^{2})z^{2}\nonumber \\&+(300\,\tau \omega ^{2}+54\tau ^{2}+200\,\nonumber \\&\omega ^{4})z-3\tau ^{2}(6\tau +5\omega ^{2}). \end{aligned}$$
(39)
Thus, \(\mathcal {F}(z)\) indeed has a multiple zero
$$\begin{aligned} z_{1}=\frac{1}{2}\tau -\frac{10}{3}\omega ^{2}. \end{aligned}$$
(40)
If \(z_{1}>0\), then it is the minimal positive zero for this polynomial. Indeed,
$$\begin{aligned} \mathcal {F}_{1}(0)<0,\text { }\mathcal {F}_{1}(z_{1})= & {} -\frac{1}{4}\tau (3\tau -80\omega ^{2})^{2}\le 0,\nonumber \\&\mathcal {F}_{1}(+\infty )>0 \end{aligned}$$
(41)
and
$$\begin{aligned} \mathcal {F}_{1}^{\prime }(z)=54(z-\tau )^{2}+240\omega ^{2}z+300\omega ^{2} \tau +200\,\omega ^{4}>0 \end{aligned}$$
(42)
for \(z>0\). Therefore, \(\mathcal {F}_{1}(z)\) increases as \(z\rightarrow +\infty \) and therefore possesses a unique positive zero greater than \(z_{1}\).
For \(z=z_{1}\), polynomial (26) considered as a polynomial in \(\mu \) possesses a multiple zero:
$$\begin{aligned} \Phi _{1}(\mu ,z_{1})&=\frac{1}{6}(16\omega \mu -\sqrt{6})^{2}(96\mu ^{2} \tau \nonumber \\&\quad -640\omega ^{2}\mu ^{2}-80\sqrt{6}\omega \mu -15). \end{aligned}$$
(43)
This zero coincides with the eigenvalue \(\mu _{3}\) of matrix (6). However, substitution of this value into polynomial (25) results in its identical vanishing.
Similar arguments are valid for the eigenspaces associated with other eigenvalues (9).
The scenario with the identical vanishing of polynomial (25) which occurs in the proof of the previous theorem might signal the existence of infinite number of points in the Hopf quadric that are “nearest” to \(\mathbf {u}_{0}\).
Example 2
Find the distance from
$$\begin{aligned} \mathbf {u}_{0}&= \left( \frac{7}{\sqrt{6}},0,\frac{7}{2}+\frac{5}{\sqrt{6} },\frac{7}{2}-\frac{5}{\sqrt{6}},0,\frac{5}{\sqrt{6}},0, \right. \nonumber \\&\quad \left. -\frac{7}{6}\sqrt{6}-\frac{5}{2},\frac{7}{\sqrt{6}}-\frac{5}{2},0\right) ^{\mathrm {T}} \end{aligned}$$
(44)
to the Hopf quadric specified for \(\omega =3\).
Solution Point \(\mathbf {u}_{0}\) lies in manifold (37) (\(\tau _{1}=7,\tau _{2}=5\)). The minimal positive zero of (38) is evaluated via Eq. (40) and equals 7. It is a double zero, and the problem is to discover whether it is generated by the real points of the Hopf quadric or the imaginary ones. To determine this, we slightly disturb the coordinates of point \(\mathbf {u}_{0}\) pushing it out from the eigenspace. Since the multiple zero of a polynomial is unstable under perturbations, one may expect its splitting into simple ones. For the disturbance \(10^{-10}\) in \(a_{20}\), this is indeed what happens and both zeros become imaginary: \(z_{1,2}\approx 7.00000005\pm 0.00000008i\). For these values of z, polynomial (26) possesses a multiple imaginary zero \(\widetilde{\mu }_{3}\) which is very close to the value \(\mu _{3}\) defined by (9), i.e., in our example, to \(\approx 0.0510\). Substitution \(\widetilde{\mu }_{3}\) into (24) yields the point
$$\begin{aligned}&\mathbf {u}^{*}\approx (1.4287-2.0371i,1.2247,2.7706\nonumber \\&\quad +4.1583i,0.7294+0.8317i,\nonumber \\&3.6742,1.0206+1.6633i,1.2247,-2.6789\nonumber \\&\quad +4.0743i,0.1789,3.6742)^{\mathrm {T}}. \end{aligned}$$
(45)
This point satisfies Eq. (5) and the condition \((\mathbf {u}_{0}-\mathbf {u}^{*})^{\mathrm {T}}(\mathbf {u}_{0}-\mathbf {u} ^{*})\approx z_{1,2}\). The imaginary parts of several entries of \(\mathbf {u}^{*}\) are far away from zero. 50 random perturbations of the same magnitude \(10^{-10}\) in all the components of the column \(\mathbf {u}_{0}\) result in approximations \(\mathbf {u}^{*}\) with the same real parts but distinct imaginary ones. This allows one to conclude that the double zero \(z_{1}=7\) of polynomial (38) is generated by the infinite number of imaginary, complex conjugate pairs of points \(\{\mathbf {u}^{*} ,\overline{\mathbf {u}^{*}}\}\). The true distance is given by the unique real zero of polynomial (39), i.e., it equals \(\approx \sqrt{17.2072}\approx 4.1481\).
\(\square \)
Example 3
The essential advantage of an analytical solution over numerical one is that they provide an opportunity to trace the dynamics of the result under variation in parameters. We will illuminate this statement with the reference to the delayed Liénard equation
$$\begin{aligned} \ddot{x}(t)+f(x(t))\dot{x}+g(x(t-\tau ))=0. \end{aligned}$$
(46)
Expanding (46) in the neighborhood of the null solution up to third order yields
$$\begin{aligned} \left\{ \begin{aligned} \dot{x}(t)&=y(t)-kx(t)+ax^{2}(t)+bx^{3}(t),\\ \dot{y}(t)&=-x(t-\tau )+cx^{2}(t-\tau )+dx^{3}(t-\tau ). \end{aligned} \right. \end{aligned}$$
(47)
It was shown in [24] that the parametric curve \(\left\{ \tau \left( \omega \right) ,k\left( \omega \right) \right\} \), \(\omega \in (0,1)\), where
$$\begin{aligned} k\left( \omega \right) =\frac{\sqrt{1-\omega ^{4})}}{\omega },\ \tau \left( \omega \right) =\frac{1}{\omega }\arctan \frac{k}{\omega }, \end{aligned}$$
(48)
separates the linearly stable and unstable regions in the \((\tau ,k)\)-parameter plane. Zhao and Kalmár-Nagy performed center manifold reduction of the delay equation (47) on the stability boundary (48), and they derived the Poincaré–Lyapunov constant as [24]
$$\begin{aligned} L_{1}(\tau ,k, \omega )=l_{1}d_{12}+l_{2}d_{22} \, , \end{aligned}$$
(49)
where
$$\begin{aligned} \left\{ \begin{aligned} l_{1}&=\frac{3}{8}d\omega ^{2}+\frac{a^{2}}{4}\omega \zeta (1+4\omega ^{2}-2\omega ^{4})\\&\quad -\frac{ac}{2}k\omega \zeta (1+\omega ^{2}+\omega ^{4})\\&~~~+\frac{c^{2}}{4}\omega \zeta (\frac{11}{2}+k^{2}+2\omega ^{2}+12\omega ^{4}-12\omega ^{6}),\\ l_{2}&=\frac{3}{8}b\omega -\frac{3}{8}dk\omega +\frac{a^{2}}{2}k\omega ^{2}\zeta (1-\omega ^{2})\\&\quad +\frac{ac}{4}\zeta (\frac{7}{2}+\omega ^{2}+10\omega ^{4}-10\omega ^{6})\\&~~~+\frac{c^{2}}{4}k\zeta (-\frac{11}{2}+\omega ^{2}-12\omega ^{4} +12\omega ^{6}),\\ d_{12}&=\frac{2\left( k-\omega ^{2}\tau \right) }{(k-\tau \omega ^{2} )^{2}+(2\omega +k\tau \omega )^{2}},\\ d_{22}&=\frac{2\left( 2\omega +k\tau \omega \right) }{(k-\tau \omega ^{2} )^{2}+(2\omega +k\tau \omega )^{2}},\\ \zeta&=\frac{2\omega }{5+12\omega ^{4}-8\omega ^{6}}. \end{aligned} \right. \end{aligned}$$
(50)
We consider the case where the dependency of distance from \(\mathbf {u}_{0}\) depends on three parameters, namely \(\tau ,k\) and \(\omega \in (0,1)\). Here, the coefficients of (2) contain the parameters in a complicated manner, like, for instance:
$$\begin{aligned} a_{20}= \frac{4a\omega ^2(4+2k\tau )+2c\omega ^4(k-\tau \omega ^2)}{(k-\tau \omega ^2)^2+(2\omega +k\tau \omega )^2} \, . \end{aligned}$$
Fortunately, this dependence involves only rational functions, and this permits one to reduce the distance-to-bifurcation problem to solving an algebraic equation. For instance, if \( a=1,b=-2,c=5,d=-2,\tau =3/2,k=8/10 \), this distance equals \( \approx 0.0015 \) for \( \omega = 68/100 \) and \( \approx 4.3515 \) for \( \omega =99/100 \).
This example gives rise to an alternative version of the problem. Instead of its treatment in the \( \mathbb R^{10} \) space of vectors (4), it is of practical interest to deal with the space of actual parameters, namely \( \tau , k \) and \(\omega \).
For any choice of \( \omega \), the bifurcation curve \( L_1=0 \) can be represented as an algebraic one. For example, for \( a=1,b=-2,c=5,d=-2,\omega =1/2 \), one has:
$$\begin{aligned} \widetilde{L}_1(k,\tau )&:=400\,k^3-2284\,k^2\tau -210 k^2+255k\tau \nonumber \\&\quad -1848\, k-630\tau +405 =0 \, . \end{aligned}$$
(51)
To find the distance to this algebraic surface from the point \((\tau _0,k_0)\), one can extend the ideology of distance equation suggested in Sect. 3 for a quadric. This time the curve is of the order 3, but it is linear in \( \tau \):
$$\begin{aligned} \widetilde{L}_1(k,\tau )\equiv A_0(k)\tau + A_1(k) \quad \text{ with } \ \{ A_0(k),A_1(k)\} \subset \mathbb R[k] \, . \end{aligned}$$
For the point \((\tau ,k)= (0,0) \), the distance equation can then be constructed as
$$\begin{aligned} \mathcal F(z):= \mathcal D_{k} ([A_0(k)]^2(z-k^2)- [A_1(k)]^2)=0 \end{aligned}$$
with \( \mathcal D \) standing for discriminant (17). Polynomial \( \mathcal F(z) \) is of the degree 7 with coefficients of the orders up to \(10^{146} \) and with real zeros \( z_{*} \approx 0.0415, \approx 1.0609, \approx 1.1426 \). Distance from (0, 0) to curve (51) equals \( \sqrt{z_{*}} \approx 0.2037 \). \(\square \)