2.1. OPTIMIZATION WITH PARTIAL DERIVATIVES 41
x
9
256x D 0
x.x
8
256/ D 0
x D 0; ˙
8
p
256
x D 0; ˙2
Since the equation system is symmetric in x and y we may deduce that y D 0; ˙2 as well.
Referring back to the original equations, it is not hard to see that, when x D 0, y D 0; when
x D 2 so must y; when x D 2 so must y. is gives us three critical points: .2; 2/; .0; 0/;
and .2; 2/. Next, we check the discriminant at the critical points.
D.2; 2/ D 2304 256 D 2048 > 0
Since f
xx
.2; 2/ > 0, this point is a minimum.
D.2; 2/ D 2048 > 0
Another minimum, and
D.0; 0/ D 256;
so this point is a saddle point.
˙
One application of multivariate optimization is to minimize distances. For that we should state,
or re-state, the definition of distance.
Knowledge Box 2.4
e definition of distance
If p D .x
0
; y
0
/ and q D .x
1
; y
1
/ are points in the plane, then the distance be-
tween p and q is
d.p; q/ D
p
.x
0
x
1
/
2
C .y
0
y
1
/
2
:
If r D .x
0
; y
0
; z
0
/ and s D .x
1
; y
1
; z
1
/ are points in space, then the distance
between r and s is
d.r; s/ D
p
.x
0
x
1
/
2
C .y
0
y
1
/
2
C .z
0
z
1
/
2
: