Prove that between two roots of $f(x)$ there is a root of $g(x)$ Let $f(x),g(x)$ be differential functions, and $f'(x)g(x)\neq f(x)g'(x)$ for all $x\in\mathbb R$. Prove that between two roots of $f(x)$ there is a root of $g(x)$.
I guess this has to do with Rolle's theorem. I saw that when $f'(x)=0$, $g(x)\neq0$ and when $f(x)=0$, $g'(x)\neq0$, but I didn't manage to prove the conjecture. Thanks for any help! 
 A: Suppose that $a,b$ are roots of $f$ with $a<b$ and $g(x)\neq0$ for $x\in (a,b)$. Consider the function $h(x)=\dfrac{f(x)}{g(x)}$ in $[a,b]$ to derive a contradiction(is well defined, differentiable on [a,b] with $h(a)=h(b)$...).
A: Suppose $f$ has two consecutive roots $a$ and $b$, and for a contradiction, suppose $g$ has no roots on $[a,b]$. Divide both sides of the inequality by $f(x)$ and $g(x)$ to get
$$F(x) := \frac{f'(x)}{f(x)} \neq \frac{g'(x)}{g(x)} =: G(x). \qquad x \in (a,b)$$
Then $F(x)$ is continuous on $(a, b)$ and 
$$\lim_{x \to a^+} F(x) = +\infty \\ \lim_{x \to b^-} F(x) = -\infty$$
Since $G$ does not diverge near $a$ or $b$, this implies that 
$$\lim_{x \to a^+} [F(x) - G(x)] = +\infty \\ \lim_{x \to b^-} [F(x) - G(x)] = -\infty$$
So the function $F - G$ is continuous on $(a,b)$, and goes from $+\infty$ to $-\infty$. By the mean value theorem, $F - G$ has a root on $(a,b)$, say $c$. But this implies that $F(c) = G(c)$, which contradicts our inequality. So $g$ must have a root on $[a,b]$.
A: If $g(x) \neq 0$ for all $x \in (a,b)$ then $h(x)=\frac{f(x)}{g(x)}$ is well definied and differentiable. Also $h’(x)=\frac{fg’-f’g}{g^2}=0$ by hypothesis and $h(x)=c$ with $c \in \mathbb{R}\setminus\{0\}$ and $f(a)=cg(a)=0=cg(b)$ then $g(a)=0= g(b)$ contradiction 
Sorry, my english is too bad. 
Must be $fg’-f’g=0$ and $a,b$ consecutive roots of $f$ and $g(a)$ and $g(b)$ not both zero
