Find range of function $f(x)=x^2+6x-1$ for domain $x \in \mathbb{R}$.
The solution is:
Let $y=x^2+6x-1$ then $0=x^2+6x-1-y$ comparing with $0=ax^2+bx+c$ gives $a=1,b=6,c=-(1+y)$ For real $x$, $b^2-4ac \geq 0$ i.e $6^2 -(4)(1)[-(1+y)] \geq 0$ giving $y \geq -10$
Thus for real $x$ the function $f(x)=x^2+6x-1$ has range $\{ y \in \mathbb{R}: y \ge1 -10 \}$
I don't understand the technique of using discriminant to find range of function. I need assistance.
The problem is to determine which the numbers $y$ such that the equation $x^2+6x-1=y$, which is equivalent to $x^2+6x-1-y=0$. But this quadratic equation has solutions if and only if $6^2+4(1+y)\ge0$, and $$ 6^2+4(1+y)\ge0\iff1+y\ge-9\iff y\ge-10. $$