Prove that the formula for the secant method can be written in the form $$x_{n+1}=\dfrac{f(x_n)x_{n-1}-x_nf(x_{n-1})}{f(x_n)-f(x_{n-1})}$$ Explain why this formula is inferior to $$x_{n+1}=x_n-f(x_n)\left[\dfrac{x_n-x_{n-1}}{f(x_n)-f(x_{n-1})}\right] \hspace{0.5cm} (n\geq 1)$$ in practice.
Proof: We would like to rewrite the secant method as $$x_{n+1}=\dfrac{f(x_n)x_{n-1}-x_nf(x_{n-1})}{f(x_n)-f(x_{n-1})}.$$ For $n\geq 1$, \begin{equation*} \begin{aligned} x_{n+1}& =x_n-f(x_n)\left[\frac{x_n-x_{n-1}}{f(x_n)-f(x_{n-1})}\right] \\[8pt] & =x_n-\dfrac{x_nf(x_n)-x_{n-1}f(x_n)}{f(x_n)-f(x_{n-1})} \\[8pt] & =\frac{x_nf(x_n)-x_nf(x_{n-1})-x_nf(x_n)+x_{n-1}f(x_n)}{f(x_n)-f(x_{n-1})} \\[8pt] & =\frac{x_{n-1}f(x_n)-x_nf(x_{n-1})}{f(x_n)-f(x_{n-1})} \end{aligned} \end{equation*}
The question states that the first equation is inferior to the second equation but I don't know why this is. Can anyone help me understand why?