# What is the difference between 'relative maximum(or minimum)' and 'absolute maximum(or minimum)' in functions?

A relative maximum or minimum occurs at turning points on the curve where as the absolute minimum and maximum are the appropriate values over the entire domain of the function.

In other words the absolute minimum and maximum are bounded by the domain of the function.

**esempio:**

Consider the Function:

# y=x^4-8x^3+22x^2-24x #

We can find the relative minima and maxima (turning points) by looking for coordinates where the first derivative vanishes:

# dy/dx = 4x^3 -24x^2+44x-24 #

The derivative vanishes when #dy/dx=0#, ie when

# 4x^3 -24x^2+44x-24 = 0 #

# => x^3 - 6x^2 + 11x - 6 = 0 #

# => (x-1)(x-2)(x-3) = 0 #

# => x=1,2,3 #

And to determine the nature of the turning points we consider the second derivative:

# (d^2y)/(dx^2) = 12x^2 -48x+44 #

# (1,-9) => (d^2y)/(dx^2) gt 0 => min#

# (2,-8) => (d^2y)/(dx^2) lt 0 => max#

# (3,-9) => (d^2y)/(dx^2) gt 0 => min#

And we can plot the graph to verify our findings

graph{y=x^4-8x^3+22x^2-24x [-3, 6, -11, 5]}

Quindi abbiamo:

- Relative minimum of #-9# occuring at #x=1,3#
- Relative maximum of #-8# occuring at #x=2#

Over the entire domain as we approach #x=+-oo# the function increases without bound. Subsequently:

- Absolute minimum is also the local minimum, ie #-9#
- Absolute maximum is unbounded, ie #oo#