I've been trying to do the following question for a while and have tried following the hint. I have done everything apart from showing that the forward orbit of $z$ is equal to the orbit of $z$. Would it be possible to get another hint for this last step?
In the question $O$ stands for the orbit of a element and $Ω$ stands for the $\omega$-limit set of a point.
Let $f : E → R^N$ be a locally Lipschitz function on an open set $E ⊂ R^N$ . We consider the autonomous ODE $x' = f(x)$. Show that if $a ∈ E$ has a compact orbit, then it is periodic.
Hint: The standard properties of limit sets implies $O(a) = Ω(a) = \overline{O^+(a)} = O(z)$ for any $z ∈ Ω(a)$, which yields $O^+(z) = O(z)$. Conclude.