Multivariable-Calculus · Unit 9 · Video 3 · Interactive Practice

Global Min and Max: x + y + 1/(xy) — Critical Points, Boundary and Infinity

IKey Formulas

FormulaNameWhat it tells you
fx=1−1x2yf_x = 1 - \dfrac{1}{x^2 y},  fy=1−1xy2\ f_y = 1 - \dfrac{1}{x y^2}First partialsx2y=1x^2 y = 1 and xy2=1x y^2 = 1 force x=y=1x = y = 1: the only critical point is (1,1)(1, 1)
fxx=2x3yf_{xx} = \dfrac{2}{x^3 y},  fxy=1x2y2\ f_{xy} = \dfrac{1}{x^2 y^2},  fyy=2xy3\ f_{yy} = \dfrac{2}{x y^3}Second partialsAt (1,1)(1, 1): A=2A = 2, B=1B = 1, C=2C = 2
AC−B2=2⋅2−12=3>0AC - B^2 = 2 \cdot 2 - 1^2 = 3 > 0,  A>0\ A > 0Second derivative test(1,1)(1, 1) is a local minimum with f(1,1)=3f(1, 1) = 3
f>xf > x,  f>y\ f > y,  f>1xy\ f > \dfrac{1}{xy}Boundary and infinityf→∞f \to \infty as xx or y→0y \to 0 and as xx or y→∞y \to \infty: no maximum, and the global minimum is 33

Key Insight: A global minimum or maximum can sit at a critical point, on the boundary, or out at infinity; the critical points alone cannot decide which.

IIVisualization 1 — Where Both Partials Vanish

The curve fx=0f_x = 0 and the curve fy=0f_y = 0 cross at exactly one point of the quadrant.

IIIVisualization 2 — Toward the Axes and Out to Infinity

Along every path toward an axis or outward, one of the three positive terms of ff grows without bound.

IVVisualization 3 — The Patch Where f≤cf \le c

For c≥3c \ge 3, the set f≤cf \le c is a closed, bounded patch around (1,1)(1, 1); below 33 it is empty.

💡 A continuous function on a closed, bounded patch reaches a smallest value; here that point lies inside the quadrant, so fx=fy=0f_x = f_y = 0 there, and it must be (1,1)(1, 1).

VQuiz Questions

Problem 1 · Find the Critical Point

Given: g(x,y)=x+y+8xyg(x, y) = x + y + \dfrac{8}{xy} for x>0x > 0, y>0y > 0 — find its only critical point and the value of gg there.

Where is the critical point?

What is gg at the critical point?

✅ Correct! x=yx = y and y3=8y^3 = 8 give (2,2)(2, 2), where each of the three terms equals 22.
❌ Not quite. (1,1)(1, 1) is the critical point for 1xy\frac{1}{xy}; with 8xy\frac{8}{xy} the equations become x2y=8x^2 y = 8 and xy2=8x y^2 = 8.
❌ Close, but… after x=yx = y the equation is x2⋅x=x3=8x^2 \cdot x = x^3 = 8, not x2=8x^2 = 8.
❌ Not quite. Set gx=1−8x2y=0g_x = 1 - \frac{8}{x^2 y} = 0 and gy=1−8xy2=0g_y = 1 - \frac{8}{x y^2} = 0, then divide the two equations.
❌ Close, but… x+y=4x + y = 4 is only two of the three terms; 8xy=84=2\frac{8}{xy} = \frac{8}{4} = 2 must be added.
❌ Not quite. Substitute (2,2)(2, 2) into all three terms: 2+2+82⋅22 + 2 + \frac{8}{2 \cdot 2}.
Show solution

The partial derivatives are

gx=1−8x2y,gy=1−8xy2.g_x = 1 - \frac{8}{x^2 y}, \qquad g_y = 1 - \frac{8}{x y^2}.

Setting both to zero gives x2y=8x^2 y = 8 and xy2=8x y^2 = 8. Dividing the first by the second:

x2yxy2=xy=1⇒x=y.\frac{x^2 y}{x y^2} = \frac{x}{y} = 1 \quad\Rightarrow\quad x = y.

Then x3=8x^3 = 8, so x=y=2x = y = 2. The only critical point is (2,2)(2, 2), and

g(2,2)=2+2+84=6.g(2, 2) = 2 + 2 + \frac{8}{4} = 6.

Problem 2 · Near the Axis, but 1/(xy)1/(xy) Stays Small

Given: f(x,y)=x+y+1xyf(x, y) = x + y + \dfrac{1}{xy}, followed along the curve xy=1xy = 1 (so y=1xy = \frac{1}{x}) as x→0x \to 0 — find f(0.1,10)f(0.1, 10) and the behaviour of ff along this curve.

What is f(0.1,10)f(0.1, 10)?

As x→0x \to 0 along xy=1xy = 1, what does ff do?

✅ Correct! Along xy=1xy = 1 the last term is stuck at 11, but the yy term carries ff to infinity.
❌ Not quite. At (0.1,10)(0.1, 10) the product is xy=1xy = 1, so 1xy=1\frac{1}{xy} = 1, not 1010.
❌ Not quite. Add all three terms: x=0.1x = 0.1, y=10y = 10 and 1xy=1\frac{1}{xy} = 1.
❌ That is the trap. The last term stays at 11, but ff is larger than yy, and y=1xy = \frac{1}{x} grows without bound.
❌ Not quite. Write ff along the curve as a function of xx alone: f=x+1x+1f = x + \frac{1}{x} + 1.
Show solution

At (0.1,10)(0.1, 10) the product is xy=1xy = 1, so

f(0.1,10)=0.1+10+1=11.1.f(0.1, 10) = 0.1 + 10 + 1 = 11.1.

Along y=1xy = \frac{1}{x} the function is f=x+1x+1f = x + \frac{1}{x} + 1. As x→0x \to 0 the term 1x\frac{1}{x} (which is yy) goes to infinity, so f→∞f \to \infty. Approaching the yy-axis does not require the last term to blow up: the bound f>yf > y does the work instead, exactly as at the video's point (0.2,5)(0.2, 5), where f=6.2f = 6.2.

Problem 3 · Classify with the Second Derivative Test

Given: h(x,y)=2x+y+4xyh(x, y) = 2x + y + \dfrac{4}{xy} for x>0x > 0, y>0y > 0 — find its critical point and classify it.

Where is the critical point?

What does the test give there?

✅ Correct! A=4A = 4, B=1B = 1, C=1C = 1 give AC−B2=3>0AC - B^2 = 3 > 0 with A>0A > 0: a local minimum, h(1,2)=6h(1, 2) = 6.
❌ Close, but… check hxh_x at (2,1)(2, 1): 2−44⋅1=1≠02 - \frac{4}{4 \cdot 1} = 1 \ne 0. The coefficient 22 sits on xx, which makes xx the smaller coordinate.
❌ Not quite. Solve x2y=2x^2 y = 2 and xy2=4x y^2 = 4; dividing gives xy=12\frac{x}{y} = \frac{1}{2}.
❌ Close, but… with AC−B2>0AC - B^2 > 0 the sign of AA decides, and A=4>0A = 4 > 0 means a minimum.
❌ Close, but… the test subtracts the square of the mixed partial: 4⋅1−12=34 \cdot 1 - 1^2 = 3, not 4+14 + 1.
❌ Not quite. Evaluate hxx=8x3yh_{xx} = \frac{8}{x^3 y}, hxy=4x2y2h_{xy} = \frac{4}{x^2 y^2}, hyy=8xy3h_{yy} = \frac{8}{x y^3} at (1,2)(1, 2).
Show solution

Critical point.

hx=2−4x2y=0  ⇒  x2y=2,hy=1−4xy2=0  ⇒  xy2=4.h_x = 2 - \frac{4}{x^2 y} = 0 \;\Rightarrow\; x^2 y = 2, \qquad h_y = 1 - \frac{4}{x y^2} = 0 \;\Rightarrow\; x y^2 = 4.

Dividing, xy=12\frac{x}{y} = \frac{1}{2}, so y=2xy = 2x. Then x2(2x)=2x^2 (2x) = 2 gives x3=1x^3 = 1, so x=1x = 1 and y=2y = 2.

Second derivative test.

A=hxx=8x3y=82=4,B=hxy=4x2y2=44=1,C=hyy=8xy3=88=1.A = h_{xx} = \frac{8}{x^3 y} = \frac{8}{2} = 4, \qquad B = h_{xy} = \frac{4}{x^2 y^2} = \frac{4}{4} = 1, \qquad C = h_{yy} = \frac{8}{x y^3} = \frac{8}{8} = 1. AC−B2=4⋅1−12=3>0,A=4>0,AC - B^2 = 4 \cdot 1 - 1^2 = 3 > 0, \qquad A = 4 > 0,

so (1,2)(1, 2) is a local minimum, with h(1,2)=2+2+2=6h(1, 2) = 2 + 2 + 2 = 6. Since h>2xh > 2x, h>yh > y and h>4xyh > \frac{4}{xy}, the same boundary-and-infinity argument as in the video makes it the global minimum.

Problem 4 · A Closed Square Changes the Answer

Given: f(x,y)=x+y+1xyf(x, y) = x + y + \dfrac{1}{xy}, now only on the closed square 12≤x≤2\tfrac{1}{2} \le x \le 2, 12≤y≤2\tfrac{1}{2} \le y \le 2 (edges included) — find the maximum of ff on the square.

✅ Correct! The square is closed and bounded, so a maximum exists; it is on the boundary, at the corner nearest the origin, where 1xy=4\frac{1}{xy} = 4.
❌ Close, but… at (2,2)(2, 2) the sum x+yx + y is largest, but 1xy\frac{1}{xy} is only 14\frac{1}{4}; near the origin the reciprocal term wins.
❌ Not quite. (1,1)(1, 1) is still the critical point, but it is the minimum; the maximum must be on the boundary of the square.
❌ Not quite. On the open quadrant ff is unbounded, but this square is closed and bounded and stays away from the axes, so ff reaches a largest value.
Show solution

The only critical point, (1,1)(1, 1), is the minimum f=3f = 3. The maximum is on the boundary. Check the edges.

Edge x=12x = \tfrac{1}{2}: f=12+y+2yf = \tfrac{1}{2} + y + \tfrac{2}{y}, which decreases to y=2y = \sqrt{2} and then increases, so its largest values are at the ends: f(12,12)=5f(\tfrac{1}{2}, \tfrac{1}{2}) = 5 and f(12,2)=72f(\tfrac{1}{2}, 2) = \tfrac{7}{2}.

Edge x=2x = 2: f=2+y+12yf = 2 + y + \tfrac{1}{2y}, with ends f(2,12)=72f(2, \tfrac{1}{2}) = \tfrac{7}{2} and f(2,2)=174f(2, 2) = \tfrac{17}{4}.

The edges y=12y = \tfrac{1}{2} and y=2y = 2 give the same values by the symmetry f(x,y)=f(y,x)f(x, y) = f(y, x). Comparing the candidates:

max⁡(5, 72, 174)=5=f(12,12).\max\left(5,\ \tfrac{7}{2},\ \tfrac{17}{4}\right) = 5 = f\left(\tfrac{1}{2}, \tfrac{1}{2}\right).

Including the boundary is what makes the maximum exist; on the open quadrant the same function has none.

Solved: 0 / 4