The function has an absolute maximum of 8 at x = 2 and absolute minimum of -8 at x = - 2. The function has no relative extrema.