Week 6: Preparation#

Reading Material#

  • Review: We recommend that you re-read Section 2.2 in Chapter 2

  • Reading: Chapter 5

  • Python: Demo 6

Key Concepts#

Long Day will cover:

  • The image set of continuous functions

  • Global and local extrema (maxima and minima)

  • Stationary points

  • Extremum investigation of multi-variable scalar functions

Short Day will cover:

  • Characterization of stationary points (maximum, minimum, or saddle)

  • The second-order test and the “Hessian-eigenvalue” test

  • Positive (semi-)definite matrices


Preparatory Exercises#

I: Maximum and Minimum of Functions#

Read the proposition in the first theorem of this week’s chapter.

Question a#

Find the minimum and maximum values as well as the image set of the function \(f : [-2,1] \to \mathbb{R}\) given by:

\[\begin{equation*} f(x) = x^2. \end{equation*}\]

Question b#

We now consider some functions that do not fulfill the assumptions in the theorem:

\[\begin{align*} g_1 : \mathbb{R} \to \mathbb{R}, \quad g_1(x) &= x^3 \\ g_2 : \,\,]-\pi/2,\pi/2[\,\, \to \mathbb{R}, \quad g_2(x) &= \tan(x) \\ g_3 : [-1,1] \to \mathbb{R}, \quad g_3(x) &= \begin{cases} x+1 & ,\,x \in [-1,0] \\ 3/2-x & ,\,x \in \,]0,1] \end{cases} \end{align*}\]

Determine the minimum and maximum values (if they exist) as well as the image set of each of the functions \(g_i\,,\,i=1,2,3\).

II: Second-Order Test at Stationary Points#

Consider a function \(f: \mathbb{R} \to \mathbb{R}\) given by

\[\begin{equation*} f(x) = x^3 - 3x^2 + 4. \end{equation*}\]

Question a#

Find the stationary points by following this procedure:

  • Calculate the first derivative \(f'(x)\).

  • Let \(f'(x) = 0\), and solve for \(x\) in order to find the stationary points.

Question b#

Classify each stationary point by following this procedure:

  • Calculate the second derivative \(f''(x)\).

  • Evaluate \(f''(x)\) at each stationary point:

    • If \(f''(x) > 0\), the point is a local minimum.

    • If \(f''(x) < 0\), the point is a local maximum.

    • If \(f''(x) = 0\), the test is inconclusive.

Question c#

Consider the theoretical propositions in the previous question. Sketch the graph of \(f(x)\) in Python to visually confirm your results.

Question d#

Is the local minimum you found also a global minimum? Is the local maximum you found also a global maximum?