Let

*S* be the set of all points inside of the triangle whose vertices are

Find the minimum and maximum values of the function

The equations for the sides of this triangle are:

From what I comprehended in class and in my notes, I substitute

into the original function and then take the derivative of the result. I then set the derivative equal to 0 to find the critical points?

From there I am not too sure what to do...I assume I do it for all three equations and then plug it back into the original function to find the min/max?