Let $b=\sqrt{a^2+5a+8}-\sqrt{a^2-3a+4}$
Find number of integral values of b.
My $long$ way using Calculus :
Find domain of function : $R$
Note that function is continuous
Prove the function is always increasing
Find limit as $x -> \infty$ and $x->-\infty$
Get it as $-4$ and $4$
Conclude that only possible integral values are ${-3,-2,-1,0,1,2,3}$.
But I am not happy as that is too long for a 3 marker question (in my exam)
I want nice way perhaps using theory of quadratic expressions?
EDIT Well you guys gave a short proof using calculus but I wanted to see a proof without using calculus as it was not in the syllabus of the test. And I have definitely not studied about asymptotes in detail (only in hyperbola briefly)
Both of the answers are excellent.
The asymptotics can be seen by completing the square:
$$a^2+5a+8=\left(a+\frac 52\right)^2+\frac 74$$
$$a^2-3a+4=\left(a-\frac 32\right)^2+\frac 74$$
So for large positive $a$ the expression is close to $\left(a+\frac 52\right)-\left(a-\frac 32\right)=4$, and for large negative $a$ it is close to $-\left(a+\frac 52\right)+\left(a-\frac 32\right)=-4$
Then you are done if you can show the function is continuous and increasing.