Maxima/Minima Problems

One of the most useful applications for derivatives of a function of one variable is the determination of maximum and/or minimum values. This application is also important for functions of two or more variables, but as we have seen in earlier sections of this chapter, the introduction of more independent variables leads to more possible outcomes for the calculations. The main ideas of finding critical points and using derivative tests are still valid, but new wrinkles appear when assessing the results.

Critical Points

For functions of a single variable, we defined critical points as the values of the function when the derivative equals zero or does not exist. For functions of two or more variables, the concept is essentially the same, except for the fact that we are now working with partial derivatives.

Definition

Let z=f(x,y)

be a function of two variables that is defined on an open set containing the point (x0,y0).

The point (x0,y0)

is called a critical point of a function of two variables f

if one of the two following conditions holds:

  1. fx(x0,y0)=fy(x0,y0)=0
  2. Either fx(x0,y0)orfy(x0,y0)

    does not exist.

Finding Critical Points

Find the critical points of each of the following functions:

  1. f(x,y)=4y29x2+24y+36x+36
  2. g(x,y)=x2+2xy4y2+4x6y+4
  1. First, we calculate fx(x,y)andfy(x,y):
    fx(x,y)=12(−18x+36)(4y29x2+24y+36x+36)−1/2=−9x+184y29x2+24y+36x+36fy(x,y)=12(8y+24)(4y29x2+24y+36x+36)−1/2=4y+124y29x2+24y+36x+36.

    Next, we set each of these expressions equal to zero:


    −9x+184y29x2+24y+36x+36=04y+124y29x2+24y+36x+36=0.

    Then, multiply each equation by its common denominator:


    9x+18=04y+12=0.

    Therefore,

    x=2

    and

    y=−3,

    so

    (2,−3)

    is a critical point of

    f.

    We must also check for the possibility that the denominator of each partial derivative can equal zero, thus causing the partial derivative not to exist. Since the denominator is the same in each partial derivative, we need only do this once:


    4y29x2+24y+36x+36=0.

    This equation represents a hyperbola. We should also note that the domain of

    f

    consists of points satisfying the inequality


    4y29x2+24y+36x+360.

    Therefore, any points on the hyperbola are not only critical points, they are also on the boundary of the domain. To put the hyperbola in standard form, we use the method of completing the square:


    4y29x2+24y+36x+36=04y29x2+24y+36x=−364y2+24y9x2+36x=−364(y2+6y)9(x24x)=−364(y2+6y+9)9(x24x+4)=−36+36364(y+3)29(x2)2=−36.

    Dividing both sides by

    −36

    puts the equation in standard form:


    4(y+3)2−369(x2)2−36=1(x2)24(y+3)29=1.

    Notice that point

    (2,−3)

    is the center of the hyperbola.

  2. First, we calculate gx(x,y)andgy(x,y):
    gx(x,y)=2x+2y+4gy(x,y)=2x8y6.

    Next, we set each of these expressions equal to zero, which gives a system of equations in

    xandy:
    2x+2y+4=02x8y6=0.

    Subtracting the second equation from the first gives

    10y+10=0,soy=−1.

    Substituting this into the first equation gives

    2x+2(−1)+4=0,

    so

    x=−1.

    Therefore

    (−1,−1)

    is a critical point of

    g

    ([link]). There are no points in

    2

    that make either partial derivative not exist.


    The function g(x, y) = x2 + 2xy – 4y2 + 4x – 7y + 4 is shown with critical point (–1, –1, 6). The critical point is located where the derivative in the x and y directions are both zero.

Find the critical point of the function f(x,y)=x3+2xy2x4y.

(2,−5)
Hint

Calculate fx(x,y)

and fy(x,y),

then set them equal to zero.

The main purpose for determining critical points is to locate relative maxima and minima, as in single-variable calculus. When working with a function of one variable, the definition of a local extremum involves finding an interval around the critical point such that the function value is either greater than or less than all the other function values in that interval. When working with a function of two or more variables, we work with an open disk around the point.

Definition

Let z=f(x,y)

be a function of two variables that is defined and continuous on an open set containing the point (x0,y0).

Then f has a local maximum at (x0,y0)

if

f(x0,y0)f(x,y)

for all points (x,y)

within some disk centered at (x0,y0).

The number f(x0,y0)

is called a local maximum value. If the preceding inequality holds for every point (x,y)

in the domain of f,

then f

has a global maximum (also called an absolute maximum) at (x0,y0).

The function f

has a local minimum at (x0,y0)

if

f(x0,y0)f(x,y)

for all points (x,y)

within some disk centered at (x0,y0).

The number f(x0,y0)

is called a local minimum value. If the preceding inequality holds for every point (x,y)

in the domain of f,

then f

has a global minimum (also called an absolute minimum) at (x0,y0).

If f(x0,y0)

is either a local maximum or local minimum value, then it is called a local extremum (see the following figure).

The function z = the square root of (16 – x2 – y2) is shown, which is the upper hemisphere of radius 4 with center at the origin. In the xy plane, the circle with radius 4 and center at the origin is highlighted; it has equation x2 + y2 = 16.

In Maxima and Minima, we showed that extrema of functions of one variable occur at critical points. The same is true for functions of more than one variable, as stated in the following theorem.

Fermat’s Theorem for Functions of Two Variables

Let z=f(x,y)

be a function of two variables that is defined and continuous on an open set containing the point (x0,y0).

Suppose fx

and fy

each exists at (x0,y0).

If f

has a local extremum at (x0,y0),

then (x0,y0)

is a critical point of f.

Second Derivative Test

Consider the function f(x)=x3.

This function has a critical point at x=0,

since f(0)=3(0)2=0.

However, f

does not have an extreme value at x=0.

Therefore, the existence of a critical value at x=x0

does not guarantee a local extremum at x=x0.

The same is true for a function of two or more variables. One way this can happen is at a saddle point. An example of a saddle point appears in the following figure.

The function z = x2 – y2 is shown, which is roughly saddle looking, with the function achieving maxima along the x and y axes.

In this graph, the origin is a saddle point. This is because the first partial derivatives of f(x,y)=x2y2

are both equal to zero at this point, but it is neither a maximum nor a minimum for the function. Furthermore the vertical trace corresponding to y=0

is z=x2

(a parabola opening upward), but the vertical trace corresponding to x=0

is z=y2

(a parabola opening downward). Therefore, it is both a global maximum for one trace and a global minimum for another.

Definition

Given the function z=f(x,y),

the point (x0,y0,f(x0,y0))

is a saddle point if both f0(x0,y0)=0

and fy(x0,y0)=0,

but f

does not have a local extremum at (x0,y0).

The second derivative test for a function of one variable provides a method for determining whether an extremum occurs at a critical point of a function. When extending this result to a function of two variables, an issue arises related to the fact that there are, in fact, four different second-order partial derivatives, although equality of mixed partials reduces this to three. The second derivative test for a function of two variables, stated in the following theorem, uses a discriminant D

that replaces f(x0)

in the second derivative test for a function of one variable.

Second Derivative Test

Let z=f(x,y)

be a function of two variables for which the first- and second-order partial derivatives are continuous on some disk containing the point (x0,y0).

Suppose fx(x0,y0)=0

and fy(x0,y0)=0.

Define the quantity

D=fxx(x0,y0)fyy(x0,y0)(fxy(x0,y0))2.
  1. If D>0

    and

    fxx(x0,y0)>0,

    then

    f

    has a local minimum at

    (x0,y0).
  2. If D>0

    and

    fxx(x0,y0)<0,

    then

    f

    has a local maximum at

    (x0,y0).
  3. If D<0,,

    then

    f

    has a saddle point at

    (x0,y0).
  4. If D=0,

    then the test is inconclusive.

See [link].

This figure consists of three figures labeled a, b, and c. Figure a has two bulbous mounds pointing down, and the two extrema are listed as the local minima. Figure b has two bulbous mounds pointed up, and the two extrema are listed as the local maxima. Figure c is shaped like a saddle, and in the middle of the saddle, a point is marked as the saddle point.

To apply the second derivative test, it is necessary that we first find the critical points of the function. There are several steps involved in the entire procedure, which are outlined in a problem-solving strategy.

Problem-Solving Strategy: Using the Second Derivative Test for Functions of Two Variables

Let z=f(x,y)

be a function of two variables for which the first- and second-order partial derivatives are continuous on some disk containing the point (x0,y0).

To apply the second derivative test to find local extrema, use the following steps:

  1. Determine the critical points (x0,y0)

    of the function

    f

    where

    fx(x0,y0)=fy(x0,y0)=0.

    Discard any points where at least one of the partial derivatives does not exist.

  2. Calculate the discriminant D=fxx(x0,y0)fyy(x0,y0)(fxy(x0,y0))2

    for each critical point of

    f.
  3. Apply [link] to determine whether each critical point is a local maximum, local minimum, or saddle point, or whether the theorem is inconclusive.
Using the Second Derivative Test

Find the critical points for each of the following functions, and use the second derivative test to find the local extrema:

  1. f(x,y)=4x2+9y2+8x36y+24
  2. g(x,y)=13x3+y2+2xy6x3y+4
  1. Step 1

    of the problem-solving strategy involves finding the critical points of

    f.

    To do this, we first calculate

    fx(x,y)

    and

    fy(x,y),

    then set each of them equal to zero:


    fx(x,y)=8x+8fy(x,y)=18y36.

    Setting them equal to zero yields the system of equations


    8x+8=018y36=0.

    The solution to this system is

    x=−1

    and

    y=2.

    Therefore

    (−1,2)

    is a critical point of

    f.

    Step 2 of the problem-solving strategy involves calculating

    D.

    To do this, we first calculate the second partial derivatives of

    f:
    fxx(x,y)=8fxy(x,y)=0fyy(x,y)=18.

    Therefore,

    D=fxx(−1,2)fyy(−1,2)(fxy(−1,2))2=(8)(18)(0)2=144.

    Step 3 states to check [link]. Since

    D>0

    and

    fxx(−1,2)>0,

    this corresponds to case 1. Therefore,

    f

    has a local minimum at

    (−1,2)

    as shown in the following figure.


    The function f(x, y) = 4x2 + 9y2 + 8x – 36y + 24 is shown with local minimum at (–1, 2, –16). The shape is a plane curving up on both ends parallel to the y axis.

  2. For step 1, we first calculate gx(x,y)

    and

    gy(x,y),

    then set each of them equal to zero:


    gx(x,y)=x2+2y6gy(x,y)=2y+2x3.

    Setting them equal to zero yields the system of equations


    x2+2y6=02y+2x3=0.

    To solve this system, first solve the second equation for y. This gives

    y=32x2.

    Substituting this into the first equation gives


    x2+32x6=0x22x3=0(x3)(x+1)=0.

    Therefore, x=−1

    or x=3.

    Substituting these values into the equation y=32x2

    yields the critical points (−1,52)

    and (3,32).

    Step 2 involves calculating the second partial derivatives of g:

    gxx(x,y)=2xgxy(x,y)=2gyy(x,y)=2.

    Then, we find a general formula for

    D:
    D=gxx(x0,y0)gyy(x0,y0)(gxy(x0,y0))2=(2x0)(2)22=4x04.

    Next, we substitute each critical point into this formula:


    D(−1,52)=(2(−1))(2)(2)2=−44=−8D(3,32)=(2(3))(2)(2)2=124=8.

    In step 3, we note that, applying [link] to point

    (−1,52)

    leads to case

    3,

    which means that

    (−1,52)

    is a saddle point. Applying the theorem to point

    (3,32)

    leads to case 1, which means that

    (3,32)

    corresponds to a local minimum as shown in the following figure.


    The function f(x, y) = (1/3)x3 + y2 + + 2xy – 6x – 3y + 4 is shown with local minimum at (3, –3/2, –29/4) and saddle point at (−1, 5/2, 41/12). The shape is a plane curving up on the corners near (4, 3) and (−2, −2).

Use the second derivative to find the local extrema of the function

f(x,y)=x3+2xy6x4y2.
(43,13)

is a saddle point, (32,38)

is a local maximum.

Hint

Follow the problem-solving strategy for applying the second derivative test.

Absolute Maxima and Minima

When finding global extrema of functions of one variable on a closed interval, we start by checking the critical values over that interval and then evaluate the function at the endpoints of the interval. When working with a function of two variables, the closed interval is replaced by a closed, bounded set. A set is bounded if all the points in that set can be contained within a ball (or disk) of finite radius. First, we need to find the critical points inside the set and calculate the corresponding critical values. Then, it is necessary to find the maximum and minimum value of the function on the boundary of the set. When we have all these values, the largest function value corresponds to the global maximum and the smallest function value corresponds to the absolute minimum. First, however, we need to be assured that such values exist. The following theorem does this.

Extreme Value Theorem

A continuous function f(x,y)

on a closed and bounded set D

in the plane attains an absolute maximum value at some point of D

and an absolute minimum value at some point of D.

Now that we know any continuous function f

defined on a closed, bounded set attains its extreme values, we need to know how to find them.

Finding Extreme Values of a Function of Two Variables

Assume z=f(x,y)

is a differentiable function of two variables defined on a closed, bounded set D.

Then f

will attain the absolute maximum value and the absolute minimum value, which are, respectively, the largest and smallest values found among the following:

  1. The values of f

    at the critical points of

    f

    in

    D.
  2. The values of f

    on the boundary of

    D.

The proof of this theorem is a direct consequence of the extreme value theorem and Fermat’s theorem. In particular, if either extremum is not located on the boundary of D,

then it is located at an interior point of D.

But an interior point (x0,y0)

of D

that’s an absolute extremum is also a local extremum; hence, (x0,y0)

is a critical point of f

by Fermat’s theorem. Therefore the only possible values for the global extrema of f

on D

are the extreme values of f

on the interior or boundary of D.

Problem-Solving Strategy: Finding Absolute Maximum and Minimum Values

Let z=f(x,y)

be a continuous function of two variables defined on a closed, bounded set D,

and assume f

is differentiable on D.

To find the absolute maximum and minimum values of f

on D,

do the following:

  1. Determine the critical points of f

    in

    D.
  2. Calculate f

    at each of these critical points.

  3. Determine the maximum and minimum values of f

    on the boundary of its domain.

  4. The maximum and minimum values of f

    will occur at one of the values obtained in steps

    2and3.

Finding the maximum and minimum values of f

on the boundary of D

can be challenging. If the boundary is a rectangle or set of straight lines, then it is possible to parameterize the line segments and determine the maxima on each of these segments, as seen in [link]. The same approach can be used for other shapes such as circles and ellipses.

If the boundary of the set D

is a more complicated curve defined by a function g(x,y)=c

for some constant c,

and the first-order partial derivatives of g

exist, then the method of Lagrange multipliers can prove useful for determining the extrema of f

on the boundary. The method of Lagrange multipliers is introduced in Lagrange Multipliers.

Finding Absolute Extrema

Use the problem-solving strategy for finding absolute extrema of a function to determine the absolute extrema of each of the following functions:

  1. f(x,y)=x22xy+4y24x2y+24

    on the domain defined by

    0x4

    and

    0y2
  2. g(x,y)=x2+y2+4x6y

    on the domain defined by

    x2+y216
  1. Using the problem-solving strategy, step 1

    involves finding the critical points of

    f

    on its domain. Therefore, we first calculate

    fx(x,y)

    and

    fy(x,y),

    then set them each equal to zero:


    fx(x,y)=2x2y4fy(x,y)=−2x+8y2.

    Setting them equal to zero yields the system of equations


    2x2y4=02x+8y2=0.

    The solution to this system is

    x=3

    and

    y=1.

    Therefore

    (3,1)

    is a critical point of

    f.

    Calculating

    f(3,1)

    gives

    f(3,1)=17.

    The next step involves finding the extrema of

    f

    on the boundary of its domain. The boundary of its domain consists of four line segments as shown in the following graph:


    A rectangle is drawn in the first quadrant with one corner at the origin, horizontal length 4, and height 2. This rectangle is marked D, and the sides are marked in counterclockwise order from the side overlapping the x axis L1, L2, L3, and L4.


    L1

    is the line segment connecting

    (0,0)

    and

    (4,0),

    and it can be parameterized by the equations

    x(t)=t,y(t)=0

    for

    0t4.

    Define

    g(t)=f(x(t),y(t)).

    This gives

    g(t)=t24t+24.

    Differentiating g leads to

    g(t)=2t4.

    Therefore,

    g

    has a critical value at

    t=2,

    which corresponds to the point

    (2,0).

    Calculating

    f(2,0)

    gives the z-value

    20.
    L2

    is the line segment connecting

    (4,0)

    and

    (4,2),

    and it can be parameterized by the equations

    x(t)=4,y(t)=t

    for

    0t2.

    Again, define

    g(t)=f(x(t),y(t)).

    This gives

    g(t)=4t210t+24.

    Then,

    g(t)=8t10. g

    has a critical value at

    t=54,

    which corresponds to the point

    (0,54).

    Calculating

    f(0,54)

    gives the z-value

    27.75.
    L3

    is the line segment connecting

    (0,2)

    and

    (4,2),

    and it can be parameterized by the equations

    x(t)=t,y(t)=2

    for

    0t4.

    Again, define

    g(t)=f(x(t),y(t)).

    This gives

    g(t)=t28t+36.

    The critical value

    corresponds to the point

    (4,2).

    So, calculating

    f(4,2)

    gives the z-value

    20.
    L4

    is the line segment connecting

    (0,0)

    and

    (0,2),

    and it can be parameterized by the equations

    x(t)=0,y(t)=t

    for

    0t2.

    This time,

    g(t)=4t22t+24

    and the critical value

    t=14

    correspond to the point

    (0,14).

    Calculating

    f(0,14)

    gives the z-value

    23.75.

    We also need to find the values of

    f(x,y)

    at the corners of its domain. These corners are located at

    (0,0),(4,0),(4,2)and(0,2):
    f(0,0)=(0)22(0)(0)+4(0)24(0)2(0)+24=24f(4,0)=(4)22(4)(0)+4(0)24(4)2(0)+24=24f(4,2)=(4)22(4)(2)+4(2)24(4)2(2)+24=20f(0,2)=(0)22(0)(2)+4(2)24(0)2(2)+24=36.

    The absolute maximum value is

    36,

    which occurs at

    (0,2),

    and the global minimum value is

    20,

    which occurs at both

    (4,2)

    and

    (2,0)

    as shown in the following figure.


    The function f(x, y) = x2 − 2xy – 4x + 4y2 – 2y + 24 is shown with local minima at (4, 2, 20) and (2, 0, 20) and local maximum at (0, 2, 36). The shape is a plane curving up on the corners significantly near (0, 2) and slightly less near (4, 0).

  2. Using the problem-solving strategy, step 1

    involves finding the critical points of

    g

    on its domain. Therefore, we first calculate

    gx(x,y)

    and

    gy(x,y),

    then set them each equal to zero:


    gx(x,y)=2x+4gy(x,y)=2y6.

    Setting them equal to zero yields the system of equations


    2x+4=02y6=0.

    The solution to this system is

    x=−2

    and

    y=3.

    Therefore,

    (−2,3)

    is a critical point of

    g.

    Calculating

    g(−2,3),

    we get


    g(−2,3)=(−2)2+32+4(−2)6(3)=4+9818=−13.

    The next step involves finding the extrema of g on the boundary of its domain. The boundary of its domain consists of a circle of radius

    4

    centered at the origin as shown in the following graph.


    A filled-in circle marked D of radius four with center at the origin.


    The boundary of the domain of

    g

    can be parameterized using the functions

    x(t)=4cost,y(t)=4sint

    for

    0t2π.

    Define

    h(t)=g(x(t),y(t)):
    h(t)=g(x(t),y(t))=(4cost)2+(4sint)2+4(4cost)6(4sint)=16cos2t+16sin2t+16cost24sint=16+16cost24sint.

    Setting

    h(t)=0

    leads to



    16sint24cost=016sint=24cost−16sint−16cost=24cost−16costtant=32.

    This equation has two solutions over the interval

    0t2π.

    One is

    t=πarctan(32)

    and the other is

    t=2πarctan(32).

    For the first angle,


    sint=sin(πarctan(32))=sin(arctan(32))=31313cost=cos(πarctan(32))=cos(arctan(32))=21313.

    Therefore,

    x(t)=4cost=81313

    and

    y(t)=4sint=121313,

    so

    (81313,121313)

    is a critical point on the boundary and


    g(81313,121313)=(81313)2+(121313)2+4(81313)6(121313)=14413+6413321313721313=2081041313−12.844.

    For the second angle,


    sint=sin(2πarctan(32))=sin(arctan(32))=31313cost=cos(2πarctan(32))=cos(arctan(32))=21313.

    Therefore,

    x(t)=4cost=81313

    and

    y(t)=4sint=121313,

    so

    (81313,121313)

    is a critical point on the boundary and


    g(81313,121313)=(81313)2+(121313)2+4(81313)6(121313)=14413+6413+321313+721313=208+104131344.844.

    The absolute minimum of g is

    −13,

    which is attained at the point

    (−2,3),

    which is an interior point of D. The absolute maximum of g is approximately equal to 44.844, which is attained at the boundary point

    (81313,121313).

    These are the absolute extrema of g on D as shown in the following figure.


    The function f(x, y) = x2 + 4x + y2 – 6y is shown with local minimum at (–12/5, 16/5, –64/5) and local maximum at (12/5, −16/5, 224/5). The shape is a plane curving up from near (−4, 4) to (4, −4).

Use the problem-solving strategy for finding absolute extrema of a function to find the absolute extrema of the function

f(x,y)=4x22xy+6y28x+2y+3

on the domain defined by 0x2

and −1y3.

The absolute minimum occurs at (1,0):

f(1,0)=−1.

The absolute maximum occurs at (0,3):

f(0,3)=63.
Hint

Calculate fx(x,y)

and fy(x,y),

and set them equal to zero. Then, calculate f

for each critical point and find the extrema of f

on the boundary of D.

Chapter Opener: Profitable Golf Balls

A basket full of golf balls.

Pro-T

company has developed a profit model that depends on the number x of golf balls sold per month (measured in thousands), and the number of hours per month of advertising y, according to the function

z=f(x,y)=48x+96yx22xy9y2,

where z

is measured in thousands of dollars. The maximum number of golf balls that can be produced and sold is 50,000,

and the maximum number of hours of advertising that can be purchased is 25.

Find the values of x

and y

that maximize profit, and find the maximum profit.

Using the problem-solving strategy, step 1

involves finding the critical points of f

on its domain. Therefore, we first calculate fx(x,y)

and fy(x,y),

then set them each equal to zero:

fx(x,y)=482x2yfy(x,y)=962x18y.

Setting them equal to zero yields the system of equations

482x2y=0962x18y=0.

The solution to this system is x=21

and y=3.

Therefore (21,3)

is a critical point of f.

Calculating f(21,3)

gives f(21,3)=48(21)+96(3)2122(21)(3)9(3)2=648.

The domain of this function is 0x50

and 0y25

as shown in the following graph.

A rectangle is drawn in the first quadrant with one corner at the origin, horizontal length 50, and height 25. This rectangle is marked D, and the sides are marked in counterclockwise order from the side overlapping the x axis L1, L2, L3, and L4.

L1

is the line segment connecting (0,0)

and (50,0),

and it can be parameterized by the equations x(t)=t,y(t)=0

for 0t50.

We then define g(t)=f(x(t),y(t)):

g(t)=f(x(t),y(t))=f(t,0)=48t+96(0)y22(t)(0)9(0)2=48tt2.

Setting g(t)=0

yields the critical point t=24,

which corresponds to the point (24,0)

in the domain of f.

Calculating f(24,0)

gives 576.

L2

is the line segment connecting

and (50,25),

and it can be parameterized by the equations x(t)=50,y(t)=t

for 0t25.

Once again, we define g(t)=f(x(t),y(t)):

g(t)=f(x(t),y(t))=f(50,t)=48(50)+96t5022(50)t9t2=−9t24t100.

This function has a critical point at t=29,

which corresponds to the point (50,29).

This point is not in the domain of f.

L3

is the line segment connecting (0,25)and(50,25),

and it can be parameterized by the equations x(t)=t,y(t)=25

for 0t50.

We define g(t)=f(x(t),y(t)):

g(t)=f(x(t),y(t))=f(t,25)=48t+96(25)t22t(25)9(252)=t22t3225.

This function has a critical point at t=−1,

which corresponds to the point (−1,25),

which is not in the domain.

L4

is the line segment connecting (0,0)to(0,25),

and it can be parameterized by the equations x(t)=0,y(t)=t

for 0t25.

We define g(t)=f(x(t),y(t)):

g(t)=f(x(t),y(t))=f(0,t)=48(0)+96t(0)22(0)t9t2=96tt2.

This function has a critical point at t=163,

which corresponds to the point (0,163),

which is on the boundary of the domain. Calculating f(0,163)

gives 256.

We also need to find the values of f(x,y)

at the corners of its domain. These corners are located at (0,0),(50,0),(50,25)and(0,25):

f(0,0)=48(0)+96(0)(0)22(0)(0)9(0)2=0f(50,0)=48(50)+96(0)(50)22(50)(0)9(0)2=−100f(50,25)=48(50)+96(25)(50)22(50)(25)9(25)2=−5825f(0,25)=48(0)+96(25)(0)22(0)(25)9(25)2=−3225.

The maximum critical value is 648,

which occurs at (21,3).

Therefore, a maximum profit of $648,000

is realized when 21,000

golf balls are sold and 3

hours of advertising are purchased per month as shown in the following figure.

The function f(x, y) = 48x + 96y – x2 – 2xy – 9y2 is shown with maximum point at (21, 3, 648). The shape is a plane curving from near the origin down to (50, 25).

Key Concepts

Key Equations

For the following exercises, find all critical points.

f(x,y)=1+x2+y2
f(x,y)=(3x2)2+(y4)2
(23,4)
f(x,y)=x4+y416xy
f(x,y)=15x33xy+15y3
(0,0) (115,115)

For the following exercises, find the critical points of the function by using algebraic techniques (completing the square) or by examining the form of the equation. Verify your results using the partial derivatives test.

f(x,y)=x2+y2+1
f(x,y)=x25y2+8x10y13

Maximum at (4,−1,8)

f(x,y)=x2+y2+2x6y+6
f(x,y)=x2+y2+1

Relative minimum at (0,0,1)

For the following exercises, use the second derivative test to identify any critical points and determine whether each critical point is a maximum, minimum, saddle point, or none of these.

f(x,y)=x3+4xy2y2+1
f(x,y)=x2y2

The second derivative test fails. Since x2y2>0

for all x and y different from zero, and x2y2=0

when either x or y equals zero (or both), then the absolute minimum occurs at (0,0).

f(x,y)=x26x+y2+4y8
f(x,y)=2xy+3x+4y
f(−2,32)=−6

is a saddle point.

f(x,y)=8xy(x+y)+7
f(x,y)=x2+4xy+y2
f(0,0)=0; (0,0,0)

is a saddle point.

f(x,y)=x3+y3300x75y3
f(x,y)=9x4y4
f(0,0)=9

is a local maximum.

f(x,y)=7x2y+9xy2
f(x,y)=3x22xy+y28y

Relative minimum located at (2,6).

f(x,y)=3x2+2xy+y2
f(x,y)=y2+xy+3y+2x+3
(1,−2)

is a saddle point.

f(x,y)=x2+xy+y23x
f(x,y)=x2+2y2x2y
(2,1)

and (−2,1)

are saddle points; (0,0)

is a relative minimum.

f(x,y)=x2+yey
f(x,y)=e(x2+y2+2x)
(−1,0)

is a relative maximum.

f(x,y)=x2+xy+y2xy+1
f(x,y)=x2+10xy+y2
(0,0)

is a saddle point.

f(x,y)=x25y2+10x30y62
f(x,y)=120x+120yxyx2y2

The relative maximum is at (40,40).

f(x,y)=2x2+2xy+y2+2x3
f(x,y)=x2+x3xy+y35
(14,12)

is a saddle point and (1,1)

is the relative minimum.

f(x,y)=2xyex2y2

For the following exercises, determine the extreme values and the saddle points. Use a CAS to graph the function.

[T] f(x,y)=yexey

A saddle point is located at (0,0).


A complicated graph that starts near (1, 1, 1), and decreases significantly along the x and y axes, so much so along the y axis that it is cut off. The rest of the graph stays near 0.

[T] f(x,y)=xsin(y)

[T] f(x,y)=sin(x)sin(y),x(0,2π),y(0,2π)

There is a saddle point at (π,π),

local maxima at (π2,π2)and(3π2,3π2),

and local minima at (π2,3π2)and(3π2,π2).


A series of hills and holes alternating through a space with amplitude 1.

Find the absolute extrema of the given function on the indicated closed and bounded set R.

f(x,y)=xyx3y; R

is the triangular region with vertices (0,0),(0,4),and(5,0).

Find the absolute maximum and minimum values of f(x,y)=x2+y22y+1

on the region R={(x,y)\|x2+y24}.

(0,1,0)

is the absolute minimum and (0,−2,9)

is the absolute maximum.

f(x,y)=x33xyy3

on R={(x,y):−2x2,−2y2}

f(x,y)=−2yx2+y2+1

on R={(x,y):x2+y24}

There is an absolute minimum at (0,1,−1)

and an absolute maximum at (0,−1,1).

Find three positive numbers the sum of which is 27,

such that the sum of their squares is as small as possible.

Find the points on the surface x2yz=5

that are closest to the origin.

(5,0,0),(5,0,0)

Find the maximum volume of a rectangular box with three faces in the coordinate planes and a vertex in the first octant on the plane x+y+z=1.

The sum of the length and the girth (perimeter of a cross-section) of a package carried by a delivery service cannot exceed 108

in. Find the dimensions of the rectangular package of largest volume that can be sent.

18 by 36 by 18 in.

A cardboard box without a lid is to be made with a volume of 4

ft3. Find the dimensions of the box that requires the least amount of cardboard.

Find the point on the surface f(x,y)=x2+y2+10

nearest the plane x+2yz=0.

Identify the point on the plane.

(4724,4712,23524)

Find the point in the plane 2xy+2z=16

that is closest to the origin.

A company manufactures two types of athletic shoes: jogging shoes and cross-trainers. The total revenue from x

units of jogging shoes and y

units of cross-trainers is given by R(x,y)=−5x28y22xy+42x+102y,

where x

and y

are in thousands of units. Find the values of x and y to maximize the total revenue.

x=3

and y=6

A shipping company handles rectangular boxes provided the sum of the length, width, and height of the box does not exceed 96

in. Find the dimensions of the box that meets this condition and has the largest volume.

Find the maximum volume of a cylindrical soda can such that the sum of its height and circumference is 120

cm.

V=64,000π20,372

cm3

Glossary

critical point of a function of two variables
the point (x0,y0)

is called a critical point of

f(x,y)

if one of the two following conditions holds:


  1. fx(x0,y0)=fy(x0,y0)=0
  2. At least one of fx(x0,y0)

    and

    fy(x0,y0)

    do not exist

discriminant
the discriminant of the function f(x,y)

is given by the formula

D=fxx(x0,y0)fyy(x0,y0)(fxy(x0,y0))2
saddle point
given the function z=f(x,y),

the point

(x0,y0,f(x0,y0))

is a saddle point if both

fx(x0,y0)=0

and

fy(x0,y0)=0,

but

f

does not have a local extremum at

(x0,y0)

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

You can also download for free at http://cnx.org/contents/9a1df55a-b167-4736-b5ad-15d996704270@5.1

Attribution: