1

I got answer with Wolfram Alpha. But I do not know how the answer was obtained?

enter image description here

what's method should I use?

amWhy
  • 209,954

2 Answers2

2

Hint: suppose $\;a\in\Bbb R\;$ is sucht that

$$\frac{x^2+x+1}{x-4}=a\iff x^2+(1-a)x+(4a+1)=0$$

Thus, $\;a\;$ is in in te range of the function iff the above quadratic has at least one solution, ie.e iff its discriminat is non-negative:

$$\Delta=(1-a)^2-4(4a+1)\ge0\iff a^2-18a-3\ge0$$

In order to factor the last quadraitc in $\;a\;$ we use the roots formula:

$$a_{1,2}=\frac{18\pm\sqrt{336}}2=9\pm 2\sqrt{21}$$

and we get

$$a^2-18a-3=\left(a-(9-2\sqrt{21}\right)\left(a-(9+2\sqrt{21})\right)\ge0\iff$$

$$\iff\begin{cases}a\le9-2\sqrt{21}\\{}\\a\ge9+2\sqrt 21\end{cases}$$

DonAntonio
  • 211,718
  • 17
  • 136
  • 287
  • 1
    Nice work! (+1 - oops, there it is now.) But a bit more than a hint! ;-) – amWhy Nov 22 '13 at 13:53
  • Yes, I know: I got carried away, yet at this level the mere justification of the quadratics via their discriminants...hmmm. Thanks. – DonAntonio Nov 22 '13 at 13:57
  • I've done the same thing! Intention: A hint. Once I get going...sometimes...I get carried away! – amWhy Nov 22 '13 at 13:58
2

Note that $$y=\frac{x^2+x+1}{x-4}=\frac{(x-4)^2+9(x-4)+21}{x-4}=(x-4)+\frac{21}{x-4}+9$$

  • If $x>4$, then $y\geq2\sqrt{21}+9$.
  • If $x<4$, then $y\leq-2\sqrt{21}+9$.
Shuchang
  • 9,800