Putting It Together: Differentiation of Functions of Several Variables

Profitable Golf Balls

A basket full of golf balls.

Figure 1.

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

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

where zz is measured in thousands of dollars. The maximum number of golf balls that can be produced and sold is 50,00050,000, and the maximum number of hours of advertising that can be purchased is 2525. Find the values of xx and yy that maximize profit, and find the maximum profit.

Solution

Using the problem-solving strategy, step 1 involves finding the critical points of ff on its domain. Therefore, we first calculate fx(x,y)fx(x,y) and fy(x,y)fy(x,y), then set them each equal to zero:

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

Setting them equal to zero yields the system of equations

482x2y=0962x18y=0482x2y=0962x18y=0

The solution to this system is x=21x=21 and y=3y=3. Therefore (21,3)(21,3) is a critical point of ff. Calculating f(21,3)f(21,3) gives f(21,3)=48(21)+96(3)2122(21)(3)9(3)2=648f(21,3)=48(21)+96(3)2122(21)(3)9(3)2=648.

The domain of this function is 0x500x50 and 0y250y25 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.

Figure 2. Graph of the domain of the functionz=f(x,y)=48x+96yx22xy9y2z=f(x,y)=48x+96yx22xy9y2.

L1L1 is the line segment connecting (0,0)(0,0) and (50,0)(50,0), and it can be parameterized by the equations x(t)=tx(t)=t, y(t)=0y(t)=0 for 0t500t50. We then define g(t)=f(x(t),y(t))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=48tt2g(t)=f(x(t),y(t))=f(t,0)=48t+96(0)y22(t)(0)9(0)2=48tt2

Setting g(t)=0g(t)=0 yields the critical point t=24t=24, which corresponds to the point (24,0)(24,0) in the domain of ff. Calculating f(24,0)f(24,0) gives 576576.

L2L2 is the line segment connecting (50,0)(50,0) and (50,25)(50,25), and it can be parameterized by the equations x(t)=50x(t)=50, y(t)=ty(t)=t for 0t250t25. Once again we define g(t)=f(x(t),y(t))g(t)=f(x(t),y(t)):

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

This function has a critical point t=29t=29, which corresponds to the point (50,29)(50,29). This point is not in the domain of ff.

L3L3 is the line segment connecting (0,25)(0,25) and (50,25)(50,25), and it can be parameterized by the equations x(t)=tx(t)=t, y(t)=25y(t)=25 for 0t500t50. We define g(t)=f(x(t),y(t))g(t)=f(x(t),y(t)):

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

This function has a critical point t=1t=1, which corresponds to the point (1,25)(1,25), which is not in the domain.

L4L4 is the line segment connecting (0)(0) and (0,25)(0,25), and it can be parameterized by the equations x(t)=0x(t)=0, y(t)=ty(t)=t for 0t250t25. We define g(t)=f(x(t),y(t))g(t)=f(x(t),y(t)):

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

This function has a critical point 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)(500)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 33 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).

Figure 3. The profit function f(x,y) has a maximum at (21,3,648).