The curve
$$
y=\left(\frac{x-a}{x-b}\right)\mathrm{e}^x,
$$
where $a$ and $b$ are constants, has two stationary points. Show that
$$
a-b<0\qquad\text{or}\qquad a-b>4.
$$
(i) Show that, in the case $a=0$ and $b=\tfrac12$, there is one stationary point on either side of the curve's vertical asymptote, and sketch the curve.
(ii) Sketch the curve in the case $a=\tfrac92$ and $b=0$.