2

Suppose $u_1, u_2: \mathbb{R}^2 \rightarrow \mathbb{R}$ are two solutions to the wave equation
\begin{equation}
\partial_t^2u_i = \partial_x^2u_i
\end{equation}
obeying the restriction
$\partial_x \left(u_1^2 + u_2^2\right) = 0$.
Is it so that $u_1$ and $u_2$ must be of the form
\begin{equation}
...