Solving the Nonlinear Second-Order ODE $u'' - u^2 + 9 = 0$ This is the one question from my prelim that still stumps me.

Consider the nonlinear ordinary differential equation
  $$ u'' - u^2 + 9 = 0. $$
  
  
*
  
*Convert the equation to a system of first order equations and sketch some representative solutions of this first order system. Identify all constant solutions in your sketch.
  
*Find a vector field which is orthogonal to the trajectories of your first order system.
  
*Find a scalar function on the plane whose gradient is the vector field you found in (2).
  

I don't have much experience with nonlinear ODE's, so I went in circles on my exam. The constant solutions are $u = \pm 3$.
I'd like to know the general process to solve these sorts of equations, but interesting tricks and "sleights of mind" would also be great to see.
 A: There's a general "trick" that one can use to solve differential equations of the form $u'' = f(u)$. Namely you can multiply through by $u'$ and get $u'u'' = f(u)u'$. Note the left hand side is the derivative of ${1 \over 2}(u')^2$, and the righthand side is the derivative of $g(u)$, where $g$ is an antiderivative of $f$. So you have
$$[{1 \over 2}(u')^2]' = [g(u(t))]'$$
Integrating both sides you get 
$${1 \over 2} (u')^2 = g(u(t)) + C$$
This is now a first order equation which you solve by separation of variables. In your case $f(u) = u^2 - 9$, so $g(u)$ can be taken to be $\displaystyle \frac{u^3}{ 3} - 9u$. So you need to solve
$${1 \over 2} (u')^2 = {u^3 \over 3} - 9u + C$$
Equivalently
$${du \over dt} = \pm \sqrt{{2 \over 3}u^3 - 18u + C'}$$
This looks like it's going to be nasty to solve directly, but you should be able to sketch curves. 
If you are just looking for constant solutions you can't use the above since we multiplied by $u'$ at some point. But you can solve $u^3 - 9u = 0$ in the original equation for constant solutions, and you'll get $u(t) = 0,3,-3$.
A: I can tell you what the first part of the prelim question is about: you come up with a name for $u'$, say, $u'=v$, and then your second order equation is equivalent to the system $u'=v,v'=u^2-9$ of first order equations. 
Now to each point in the $uv$-plane you can associate the vector $(u',v')$, e.g., at the point $(1,1)$ you can draw a little arrow in the direction $(1,-8)$. Draw enough of these little arrows, and you can see how to link them up with smooth curves. These curves are the representative solutions you are asked to sketch. 
