Let $f(x)=ax^3+bx^2+cx+5$. If $|f(x)|\le|e^x-e^2|$ for all $x\ge0$ and if the maximum value of $|12a+4b+c|$ is $m$, then find $[m]$ (where $[.]$ represents the greatest integer function.)
I first thought $|f(x)|\le|e^x-e^2|$ represents the boundedness of $f(x)$ but then realized a cubic function is unbounded. Also, the RHS of the inequality is not constant.
On observing $|12a+4b+c|$, I figured it is $f'(2)$. I don't think we can find its maximum value by finding the critical points of $f''(x)=0$ because that would give the extremum of $f'(x)$, not $f'(2)$.
If $|f(x)|\le|e^x-e^2|$, can we say anything about $f'(x)$?
We know that $|{f(x)}| \leqq |{e^x-e^2}|$, putting $x=2$ we get $f(2)=0$
Hence $|{f(x)-f(2)}| \leqq |{e^x-e^2}|$. Now, we replace $x$ by $2+h$ where $h$ is a positive quantity. Dividing both sides by $h$ and imposing limit gives us
$$ \lim_{h \to 0} |\frac{f(2+h)-f(2)}{h}| \leqq \lim_{h \to 0} |\frac{e^{(2+h)}-e^2}{h}| $$.
After evaluating the limit, we get |$f'(2)$| $\leqq$ $e^2$.
Hence, the maximum value of $f'(2)=e^2$.
If a function $f(x)$ whose value of $a$ is positive and whose $c=5$ can be shown to satisfy $|f(x)| \leqq |e^x-e^2|$, the maximum value of $f'(2)$ will be $e^2$ and will be attained.
This is because in that case, $f'(x)$ will be an upward facing parabola attaining all the values from a certain minimum to infinity.
One such function would be $$f(x)=\frac{x^3}{8}-x^2-x+5$$.
Now, we show that this function satisfies $|f(x)| \leqq |e^x-e^2|$.
For positive $x$, we get only 2 roots of $f(x)$ which are $2$ and $3+√29$.
Firstly, we consider $x$ in the interval $[0,2]$.
In this interval, $f(x)$ is negative and $e^x-e^2$ is also negative.
We consider $g(x)=e^x-e^2-f(x)$.
We can see that $g"(x)=e^x-3x/4+2$ is always positive in this interval.
Hence $g'(x)$ is increasing. Also, as $g'(0)$ is positive, $g(x)$ is increasing. And $g(2)=0$ tells us that $g(x)$ is always negative in [0,2]. Hence for interval $[0,2]$ we are done.
Now, we consider the interval $[2, 3+√29]$.
In this interval, both $f(x)$ and $e^x-e^2$ both are positive.
Considering $h(x)=e^x-e^2-f(x)$, we see that $h'''(x)$ is positive.
This means that $h"(x)$ is increasing. Also, as $h"(2)$ is positive, $h"(x)$ is always positive. This means that $h'(x)$ is increasing.
It is evident that $h(x)$ is always positive. Hence for this interval also, we are done.
Now it's only left to prove for the interval $[3+√29, \infty]$.
One can proceed in similar fashion to show that.