I assumed you were familiar with the definition of first integral. A first integral for the system [tex]y' = g(y), g : D \subseteq \mathbb{R}^n \rightarrow \mathbb{R}^n[/tex] is a [tex]C^1[/tex] scalar function [tex]E : D \rightarrow \mathbb{R}[/tex] constant on every solution of the system. In other words, if [tex]\phi : I \rightarrow D[/tex] is a solution of the system, [tex]E(\phi(t)) = \mathrm{const.} \quad \forall t \in I[/tex].
It follows from the definition that the gradient of E is everywhere normal to the field g:
[tex]\nabla E(y) \cdot g(y) = 0 \quad \forall y \in D[/tex].
In your equation, [tex]g = (v,ku-v^2)[/tex]. A field normal to that is [tex]f = (-ku+v^2,v)[/tex]. The problem is, the equation I wrote yesterday is wrong because it is not so obvious to find a primitive of a conservative field parallel to this field f. I was too much in a hurry to check, sorry ;)