To maximize $f(x)=\frac{g(x)}{h(x)}$ on all of $R$, I think I have found a method.
First, find the point at which $g(x)$ is maximized. Call it $a$.
Second, find the point at which $h(x)$ is minimized. Call it $b$.
Finally, compute $f(a)$ and $f(b)$. Whichever one is larger is the maximum of $f(x)$.
Can anyone find a proof or disproof of my approach? I've tested it for several functions and it seems to work.