Let $f(x)= (x+1) (x+2) (x+3) (x+4) + 5$ where $x \in [-6,6]$. If the range of this function is $[a,b]$ ,where $a,b \in \mathbb N$ ,find $f(a+b)$.
ATTEMPT:
Sketching the graph the we know that minima of this function is between $-1$ and $-2$, and since the function is strictly increasing in the interval $[-1,6]$, maxima will be at $6$.
But how to get the minima?
Indeed Cameron, thanks. I was not using pen and paper. Doing it in my head, but I still think the derivative will factor out by grouping terms as below (hopefully right this time :)).
f'(x) = (x+1)(x+2)(x+3)+(x+2)(x+3)(x+4)+(x+1)(x+3)(x+4)+(x+1)(x+2)(x+4) = (x+2)(x+3)(2x+5)+(x+1)(2x+5)(x+4) = (2x+5)[(x+3)(x+2)+(x+1)(x+4)]
The derivative nicely factors out. So it should be easy to find all the zeros in [-6,6] and test the sub-intervals
The absolute min for a continuous function can only be at one of the local mins or at end-points. You've already ruled out the right end-point. So just test the local mins and the value of the function at x=-6 for absolute min