Given $\dot{x} = y, \dot{y} = -f(x)$ where $f\in C^{1}$. A point $(x_0, y_0)$ is an equilibrium iff $f(x_0) = y_0 = 0$.
(a) Find the necessary and sufficient conditions on $f'(x_0)$ for the equilibrium $(x_0 , 0)$ to be hyperbolic?
(b) Assume $f$ has only simple zeros, and there exists an equilibrium $(x_1 , 0)$ with $f'(x_1) < 0$. Also, assume that for $x_2 > x_1$, $\int_{x_1}^{x_2} f(x)dx = 0$, and $\int_{x_1}^{y} f(x)dx\neq 0$ for any $y\in (x_1, x_2)$.
Prove that there is either a homoclinic or a heteroclinic orbit which has $x_1$ as one of its endpoints. Find an additional assumption to guarantee a heteroclinic orbit?
(c) Find an example for eac of the two possibilities in part (b).
My attempt: I'm currently only able to make some minor progresses on part (a). Namely, the sufficient condition is that if none of the eigenvalues of $f'(x_0)$ lie on the imaginary axis. For the necessary condition, I think it is $f'(x_0)$ has all eigenvalues of positive real parts, but I'm not quite certain. For the latter parts, I'm completely stuck on them so far. Any help on either of these 3 parts, especially (b) and (c), would greatly be appreciated. Hope somebody can help me with this problem.