Extreme value theorem · Exercise-EXTREME-VALUE-THEOREM-012

Step-by-step solved exercise: Continuity

What is the maximum of \(\displaystyle f(x)=x^2-4x\) on \(\displaystyle [0,5]\)?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. We compute the critical point using the derivative.

    \[\displaystyle 2x-4=0\Rightarrow x=2\]
  2. We evaluate \(\displaystyle f\) at the vertex; that value is a minimum, not a maximum.

    \[\displaystyle f(2)=-4\]
  3. We evaluate \(\displaystyle f\) at the endpoints of the interval.

    \[\displaystyle f(0)=0,\ f(5)=5\]
  4. The largest value is 5, so the absolute maximum is 5.

    \[\displaystyle \max_{[0,5]}f=5\]

Answer

\(\displaystyle 5\)

🎯 Build my path to this exercise