To classify a critical point, first study a quadratic function w = ax² + bxy + cy²: completing the square writes it as a sum or difference of two squares, and the sign of 4ac − b² decides: positive gives a minimum (a > 0) or maximum (a < 0), negative a saddle, zero a degenerate point. For a general function, the quadratic approximation brings in the second derivatives A = f_xx, B = f_xy, C = f_yy at the point, and the test uses AC − B² the same way. Global extremes may also lie on the boundary or at infinity.
On a contour plot, a maximum or minimum shows as level curves shrinking to a point (only the values tell which), and a saddle as a level curve crossing itself in a figure eight (transcript, p. 1). Two further questions (p. 1; notes, p. 2):
To find the global maximum, compare the values at all the local maxima.
Start with a function that is just quadratic, w=ax2+bxy+cy2, at its critical point, the origin (p. 1; notes, p. 2). Last time x2−2xy+3y2=(x−y)2+2y2, a sum of squares, showed a minimum (p. 1). In general, if a=0, complete the square (pp. 1–2; notes, p. 2):
w equals a the quantity x plus b over the quantity 2 a, times y, all squared plus the quantity c minus b squared over the quantity 4 a, y squared equals 1 over the quantity 4 a, times the quantity 4 a squared the quantity x plus b over the quantity 2 a, times y, all squared plus the quantity 4 a c minus b squared, y squared
Inside the brackets, the first term is never negative. Three cases (p. 2; notes, p. 2):
4ac−b2<0: a square minus a square, so w takes both signs: a saddle.
4ac−b2>0: a sum of two squares, never negative, so w has the sign of a: a minimum if a>0, a maximum if a<0.
4ac−b2=0: one square only, w=a(x+2aby)2. There is a direction in which nothing happens, like the flat-bottomed valley w=x2, with critical points all along a line: a degeneratecritical point (p. 2).
The quantity 4ac−b2 is the discriminant of the quadratic formula with its sign changed, and there is a second way to see the cases, for y=0 (p. 3; notes, p. 2):
Through the discriminant
w=y2(a(yx)2+byx+c)
In words
w equals y squared the quantity a ( x over y ) squared plus b x over y plus c
If b2−4ac>0, the quadratic at2+bt+c has two roots and takes both signs, so w does too: a saddle. If b2−4ac<0, it has no roots and keeps the sign of a, and so does w: a minimum or maximum (p. 3; notes, p. 2).
A function of two variables has second derivativesfxx=∂2f/∂x2, fxy (first x, then y), fyx and fyy. The mixed ones are always equal, fxy=fyx, a fact the lecture admits without proof (p. 3; notes, p. 2). At a critical point(x0,y0) let (p. 3; notes, p. 2):
The three numbers
A=fxx(x0,y0),B=fxy(x0,y0),C=fyy(x0,y0)
In words
capital A equals f sub x x ( x nought, y nought ), capital B equals f sub x y ( x nought, y nought ), capital C equals f sub y y ( x nought, y nought )
Check on the quadratic case. For w=ax2+bxy+cy2: wx=2ax+by, wxx=2a, wxy=b; wy=bx+2cy, wyx=b (equal, as promised) and wyy=2c. So A=2a, B=b, C=2c, and AC−B2=4ac−b2: the same cases (p. 3; notes, p. 3).
capital delta f is approximately f sub x the quantity x minus x nought, all plus f sub y the quantity y minus y nought, all plus one half f sub x x the quantity x minus x nought, all squared plus f sub x y the quantity x minus x nought, the quantity y minus y nought, all plus one half f sub y y the quantity y minus y nought, all squared
(No 21 on the middle term: it collects the equal xy and yx terms, p. 4.) At a critical point the linear terms vanish, leaving a quadratic function with a=A/2, b=B, c=C/2, and the type of the critical point is the same as for that quadratic (p. 4; notes, p. 3). In the degenerate case the approximation is not good enough: the ignored cubic and higher terms, however small, can bend the flat direction up or down and turn the point into a minimum or a saddle, so higher derivatives would be needed (p. 4; notes, p. 3). (In one variable, x5 at 0 has f′′=0 too.) If it happens, the lecture suggests inspecting the function or plotting it (p. 4).
The lecture's example is f(x,y)=x+y+xy1 for x>0, y>0 (p. 4; notes, p. 3). Critical points: fx=1−x2y1=0 and fy=1−xy21=0, so x2y=1 and xy2=1. Dividing gives x=y, then y3=1: the only critical point is (1,1) (p. 4). Second derivatives (p. 4; notes, p. 3):
f sub x x equals 2 over the quantity x cubed y, f sub x y equals 1 over the quantity x squared y squared, f sub y y equals 2 over the quantity x y cubed; capital A equals 2, capital B equals 1, capital C equals 2, capital A capital C minus capital B squared equals 3 greater than 0
With A>0, it is a local minimum, in fact the global one, f(1,1)=3. The maximum is not at a critical point: f→∞ as x or y goes to infinity, and also as x or y goes to 0, so there is no maximum (p. 4; notes, p. 3).
fx=3x2−3=0 gives x=±1, and fy=2y=0 gives y=0: the critical points are (1,0) and (−1,0).
The test
fxx=6x, fxy=0, fyy=2. At (1,0): A=6, B=0, C=2, AC−B2=12>0 with A>0: a local minimum, f(1,0)=1−3=−2. At (−1,0): A=−6, so AC−B2=−12<0: a saddle, with f(−1,0)=−1+3=2.
Global behaviour
Along the x-axis, f(x,0)=x3−3x→−∞ as x→−∞, so there is no global minimum: the local minimum at (1,0) is only local. The lowest values are "at infinity".
Replacing a function near a point by the best-matching expression with squares and products of the small changes, using first and second derivatives. Explained in Linear and quadratic approximations.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add. Explained in Solving and rearranging formulas.
Energy stored in the arrangement of a system, such as a raised weight or a stretched spring, that a conservative force can give back. Explained in Gravitational potential energy.
Something that has a value at every point of space, such as the temperature, the wind velocity or the electric field at each place. Explained in Newton's law of gravitation.
In quantum physics: to pass through an energy barrier that classical physics says cannot be crossed, with a small probability. Explained in The cosmological constant and vacuum energy.
The improved inflation model of 1982 (Linde; Albrecht and Steinhardt), in which the field rolls slowly off a broad, flat plateau. Explained in The false vacuum and the mechanism of inflation.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).