I have the nonlinear PDE $$p^2 - q^2 = 3u$$ with the initial condition $u(x, 0) = \cfrac{-x^2}{4}.$
Here's what I have done so far:
I defined the function $F$ to be equal $$F(x, y, p, q, u) = p^2 - q^2 - 3u,$$
and got
$$(F_x, F_y, F_p, F_q, F_u) = (0, 0, 2p, -2q, -3).$$
Therefore I managed to write down the characteristic
$$\frac{dx}{-F_p} = \frac{dy}{-F_q} = \frac{dp}{F_x + pF_u} = \frac{dq}{F_y + qF_u} = \frac{du}{-pF_p - qF_q},$$
or
$$\frac{dx}{-2p} = \frac{dy}{2q} = \frac{dp}{-3p} = \frac{dq}{-3q} = \frac{du}{-2p^2 + 2q^2}.$$
Since
$$\frac{dx}{-2p} = \frac{dp}{-3p}$$
and
$$\frac{dy}{2q} = \frac{dq}{-3q},$$
I got
$$p = \frac{3x}{2} + a$$
and
$$q = \frac{-3y}{2} + b$$
for some constants $a, b$. Also, $du = pdx + qdy$. Thus I got
$$du = \left(\frac{3x}{2} + a\right)dx + \left(\frac{-3y}{2} + b\right)dy.$$
Integrating both sides yields
$$u = \frac{3x^2}{4} + ax - \frac{3y^2}{4} + by + c,$$
where $c$ is a constant.
If this is a solution, then it must satisfy the initial condition. Putting $y = 0$ and $u = \cfrac{-x^2}{4}$ in the solution above gives us
$$\frac{-x^2}{4} = \frac{3x^2}{4} + ax + c.$$
However, there are no constants $a, b$ such that the equation above holds for all $x$. Then I concluded that there is no solution to the given PDE satisfying the given initial condition.
But, the function
$$u = \frac{-1}{4}(x - 2y)^2$$
is a solution to the given PDE, and it also satisfies the given initial condition.
I can't even guess what my mistake was. Any help would be highly appreciated.