There are several ways of finding optimum solutions including:

- graphing the function accurately and search for the maximum or minimum from the drawings
- using $\displaystyle x=-\dfrac{b}{2a}$ for finding its vertex, in case that the situation is relevant to a parabola
- applying differential calculus to locate the turning points

**Note: Not all of turning points is either maximum or minimum!**

The maximum or minimum value highly depends on the domain. It is essential to examine the values of the function at the endpoints of the domain under consideration for global maxima and minima. Take a look at the following graph for your consideration.

However the local maximum value occurs at $x=b$ and the local minimum value occurs at $x=c$, they are neither a maximum nor a minimum in the given domain $a \le x \le d$. As you can see from the graph, $x=a$ gives the minimum value and $x=d$ gives the minimum value.

## Second Derivative Test

Local maximum: $\cap$ shape, $f'(x) = 0$ and $f''(x) \lt 0$Local minimum: $\cup$ shape, $f'(x) = 0$ and $f''(x) \gt 0$

## Optimisation Processes

### Step 1

Draw a precise and clear diagram of the situation.### Step 2

Construct an expression with the variable to be optimised as the problem. It should be written in terms of one convenient variable, say $x$. It should be written down what domain restrictions there are on $x$.### Step 3

Find the first derivative to find out the turning points which could be either maximum or minimum value.### Step 4

For a restricted domain, check whether the maximum value or minimum value is in the given domain. Check whether there are any other $x$-values could produce either global maximum or minimum value.### Step 5

Write your answer in a sentence, making sure the answer is appropriate to the question.### Example 1

Find the maximum and minimum values of $y=x^2$, for $1 \le x \le 2$.### Example 2

Find the maximum and minimum values of $y=x^2$, for $-2 \le x \le -1$.### Example 3

Find the maximum and minimum values of $y=x^2$, for $-1 \le x \le 2$.### Example 4

Find the maximum and minimum values of $y=x^2$, for $-2 \le x \le 1$.### Example 5

Consider the function $3x^4+4x^3-12x^2-3$ for $-3 \le x \le 2$.(a) Find the x values of the stationary points.

(b) Find the values of $y$ of the stationary points and endpoints.

(c) Find the maximum value.

(d) Find the minimum value.

Related YouTube video lesson: Optimisation