Optimization Math Example 1

Follow the full solution, then compare it with the other examples linked below.

Example 1

easy
Find the local maximum and minimum values of f(x)=x3โˆ’3x+2f(x) = x^3 - 3x + 2.

Solution

  1. 1
    Find fโ€ฒ(x)=3x2โˆ’3=3(x2โˆ’1)=3(xโˆ’1)(x+1)f'(x) = 3x^2 - 3 = 3(x^2 - 1) = 3(x-1)(x+1).
  2. 2
    Set fโ€ฒ(x)=0f'(x) = 0: critical points at x=1x = 1 and x=โˆ’1x = -1.
  3. 3
    Find fโ€ฒโ€ฒ(x)=6xf''(x) = 6x. At x=โˆ’1x = -1: fโ€ฒโ€ฒ(โˆ’1)=โˆ’6<0f''(-1) = -6 < 0, so local maximum.
  4. 4
    At x=1x = 1: fโ€ฒโ€ฒ(1)=6>0f''(1) = 6 > 0, so local minimum.
  5. 5
    Evaluate: f(โˆ’1)=โˆ’1+3+2=4f(-1) = -1 + 3 + 2 = 4 (local max); f(1)=1โˆ’3+2=0f(1) = 1 - 3 + 2 = 0 (local min).

Answer

Local maximum: f(โˆ’1)=4f(-1) = 4; local minimum: f(1)=0f(1) = 0
The second derivative test classifies critical points: negative second derivative means concave down (local max), positive means concave up (local min). Always evaluate the function at the critical point to get the actual max/min value.

About Optimization

The process of using derivatives to systematically find maximum or minimum values of a function over a domain.

Learn more about Optimization โ†’

More Optimization Examples