Let $f$ be a continuously differentiable function on $(-1,4)$, $f(3)=5$ and $f'(x)\geq-1$ for all $x$. Find maximum of $f(0)$.
I have plotted the graph of $f$ and found the maximum is $8$. But I didn't find the solution exactly.
Let $f$ be a continuously differentiable function on $(-1,4)$, $f(3)=5$ and $f'(x)\geq-1$ for all $x$. Find maximum of $f(0)$.
I have plotted the graph of $f$ and found the maximum is $8$. But I didn't find the solution exactly.
Since $f$ is continuously differentiable the followng quantiy is well defined : $$\int_0^3f'(x)dx$$ Firstly knowing that $f(3)=5$ we get : $$\int_0^3f'(x)dx=f(3)-f(0)=5-f(0)$$ And since $f'(x)\geq-1$ : $$\int_0^3f'(x)dx\geq-3$$ Finally : $$5-f(0)\geq-3 \iff f(0)\leq8$$