I am interested in solving the following quadratic equation: $$x^{\top} A x = \sqrt{x^{\top} B x}$$
Here, $x \in \mathbb{R^q}$ is an unknown vector, and A and B are two q$\times$q-dimensional symmetric positive definite real matrices.
I am also interested, in particular, in the specific case where $A=f(B)$, with $f$ a linear function. Many thanks!