(i) Sketch the curve \(y=f(x)\), where \[
f(x)=\frac1{(x-a)^2-1}
\qquad(x\neq a\pm1),
\] and \(a\) is a constant.
(ii) The function \(g(x)\) is defined by \[
g(x)=
\frac1{\bigl((x-a)^2-1\bigr)\bigl((x-b)^2-1\bigr)}
\qquad(x\neq a\pm1,\ x\neq b\pm1),
\] where \(a\) and \(b\) are constants, and \(b>a\). Sketch the curves \(y=g(x)\) in the two cases \(b>a+2\) and \(b=a+2\), finding the values of \(x\) at the stationary points.