Original question: let $f:\mathbb{R}\to\mathbb{R},f(x)=\frac {x^2+ax+5}{\sqrt{x^{2}+1}}.$ Find $a$ such that f has 3 distinct local extreme points.
So I differentiated the function and got:$$f'(x)=\frac {x^3-3x+a}{(x^2+1)\sqrt{x^2+1}}$$
So then question is reduced to: find $a$ such that $x^3-3x+a=0$ has all $3$ roots real and distinct.
To find the proper range for $a$, you may look at it as follows: