The following code
\documentclass[12pt]{memoir}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{accents}
\begin{document}
\begin{align*}
1- \frac{x}{x^2-1} - \frac{x-2}{x-x^2} &= 1 - \frac{x}{\left ( x-1 \right ) \left ( x+1 \right )} + \frac{x-2}{x \left ( x-1 \right )} \\
&=\accentset{x(x-1)(x+1)}{\accentset{\smile}{1}} - \accentset{x}{\accentset{\smile}{\frac{x}{(x-1)(x+1)}}} + \accentset{(x+1)}{\accentset{\smile}{\frac{x-2}{x(x-1)}}} \\
&= \frac{x(x-1)(x+1)}{x(x-1)(x+1)} - \frac{x^2}{x(x-1)(x+1)} + \frac{(x-2)(x+1)}{x(x-1)(x+1)} \\
&= \frac{x\left ( x^2-1 \right ) -x^2 + x^2 +x-2x-2}{x(x-1)(x+1)}\\
&= \frac{x^3 - 2x - 2}{x \left ( x-1 \right )\left ( x+1 \right )}
\end{align*}
\end{document}
produces
As you can see the accent over the fraction is quite ugly. Is there a workaround to stretch it? The accents package may be found here.