Professional Documents
Culture Documents
∂F ∂F ∂F
(x0 , y0 , z0 )(x −x0 )+ (x0 , y0 , z0 )(y −y0 )+ (x0 , y0 , z0 )(z −z0 ) = 0
∂x ∂y ∂z
−2(x − 1) + 2(y − 1) + π(z − 1) = 0
−2x + 2y + πz − π = 0
2
x2
Exercise 2. Show that the tangent plane to the Ellipsoid a2
+ yb2 +
z2
c2
= 1 at the point (x0 , y0 , z0 ) is given by
x0 x y0 y z0 z
2
+ 2 + 2 =1
a b c
x2 y2 z2
Proof. Let F (x, y , z) = 2 + 2 + 2 − 1 = 0. We have
a b c
∂F 2x0 , ∂F 2y0 ∂F 2z0
(x0 , y0 , z0 ) = 2 , (x0 , y0 , z0 ) = 2 , (x0 , y0 , z0 ) = 2
∂x a ∂y b ∂z c
1 1
− sin y cos y + sin y = 0
2 4
1 1
− sin y cos y − =0
2 2
1
=⇒ sin y = 0 or cos y =
2
We have
1
H1 = 2 > 0, H2 = (−1)k − 1 < 0, ∀k ∈ Z
2
Thus Hf (ak ) is neither positive nor negative definite, so
ak = (0, kπ), k ∈ Z are saddle points of f .
√
3 π
For bk = ∓ 4 ,±3 + 2kπ , k ∈ Z, we have
√ √ ! !
1 3 3 1 3 1 1
−x sin y + cos y = − ∓ ± + =− − + =
4 4 2 8 8 8 4
1
2 2
Hf (bk ) = 1 1
2 4
Then
1 1 1
H1 = 2 > 0, H2 = − = >0
2 4 4
Thus
Hf (b
√k
) is positivedefinite, so
3
bk = ∓ 4 , ± π3 + 2kπ , k ∈ Z, are local minimum points of f .
(h) f (x, y , z) = x 4 + x 2 y + y 2 + z 2 + xz + 1. We have
∂f
3
∂x (x, y , z) = 4x + 2xy + z = 0 (1)
∂f
∇f (x, y ) = 0 ⇐⇒ ∂y (x, y , z) = x 2 + 2y = 0 (2)
∂f
∂z (x, y , z) = 2z + x = 0 (3)
1 1
y = − x2 and z = − x
2 2
Substitute into equation (1), produces
1 1
4x 3 − x 3 − x = 0 ⇐⇒ x(3x 2 − ) = 0
2 2
1
=⇒ x =0 or x = ±√
6
If x = 0, then y = z = 0.
If x = √16 ⇒ y = − 121 1
, z = − 2√ 6
If x = − √16 ⇒ y = − 121 1
, z = 2√ 6
Thus the critical points of f are
1 1 1 1 1 1
a1 = (0, 0, 0), a2 = √ ,− ,− √ , a3 = − √ , − , √
6 12 2 6 6 12 2 6
The Hessian matrix is
12x 2 + 2y
2x 1
Hf (x, y , z) = 2x 2 0
1 0 2
I For a1 = (0, 0, 0), we have
0 0 1
Hf (a1 ) = Hf (0, 0, 0) = 0 2 0
1 0 2
=⇒ H1 = 0, H2 = 0, H3 = −2 6= 0
Thus Hf (a1 ) is neither positive nor negative definite, so
a1 = (0, 0, 0) is a saddle point of f .
I For a2 = √1 , − 12 1
, − 1
√ , we have
6 2 6
11 √2
6 6
1
Hf (a2 ) = √2 2 0
6
1 0 2
11
=⇒ H1 = , H2 = 3, H3 = 4
6
Thus Hf (a2 ) is positive definite, so a2 is a local minimum
point of f .
I For a3 = − √1 , − 12
1
, 1
√ , we have
6 2 6
11
− √26
6 1
Hf (a3 ) = − √26 2 0
1 0 2
11
=⇒ H1 = , H2 = 3, H3 = 4
6
Thus Hf (a3 ) is positive definite, so a3 is a local minimum
point of f .
Exercise 5. Show that (0, 0) is the critical point of the function f
defined by
Z y2 q
2
f (x, y ) = 10x cos y + ln 2 + x 4 + cos(ty )dt
x2
∂f
=⇒ (0, 0) = 0
∂x
y2
1 −t sin(ty )
Z
∂f
(x, y ) = −10x 2 sin y + 4
dt
∂y 2 x 2 2 + x + cos(ty )
+ y ln 2 + x 4 + cos(y 3 )
∂f
=⇒ (0, 0) = 0
∂y
We see that
f (π, π) < f (0, 0) < f (1, 0)
Thererfore, (0, 0) is a saddle point of f .
Exercise 6. Let z = f (x, y ) defined implicitly by the equation
x + 2x 2 + y 2 − xe y − ye x + 2 sin(yz) − (y + 1)z + 1 = 0
∂2z ∂2z
4 − ∂x 2 (0,
0) = 0 =⇒ ∂x 2
(0, 0) = 4
∂2z ∂2z
=⇒ −1 − ∂y ∂x (0, 0) = 0 =⇒ ∂y ∂x (0, 0) = −1
∂2z ∂2z
2 − ∂y 2 (0, 0) = 0 =⇒ (0, 0) = 2
∂y 2
F (x, y ) = 2x 2 + 3xy − y 2 + 3 = 0
Find y 0 = dy
dx
Proof. By differentiate implicit function, we have
∂F
dy ∂x 4x + 3y
= − ∂F =−
dx ∂y
3x − 2y
We have
∂L
2 2
∂λ (λ, x, y ) = −x − 2y + 1 = 0 (1)
∂L
∇L(λ, x, y ) = 0 ⇐⇒ ∂x (λ, x, y ) = 2x − 2λx = 0 (2)
∂L
∂y (λ, x, y ) = 1 − 4λy = 0 (3)
2x(1 − λ) = 0 =⇒ x = 0 or λ = 1
If x = 0, then substitute into equation (1), then equation (3)
√
1 2
y = ±√ , λ = ±
2 4
− √42
0 0
√
HL (a1 ) = 2
0 2− 0
2 √
− √42 0 − 2
√4
0 0 2
√
HL (a2 ) = 0 2
2+ √0
2
√4 0 2
2
√4
0 0
√ 2
−d3 = − 0 2 + 22 0 > 0
4 √
√
2
0 2
We have
∂L
∂λ (λ, x, y , z) = −x − 3y − z + 6 = 0 (1)
∂L (λ, x, y , z) = yz − λ = 0
(2)
∇L(λ, x, y , z) = 0 ⇐⇒ ∂x
∂L
∂y (λ, x, y , z) = xz − 3λ = 0 (3)
∂L (λ, x, y , z) = xy − λ = 0
(4)
∂z
xyz = λx = 3λy = λz
I If λ 6= 0, we have
x = 3y = z
Substitute into equation (1), we have
2
−3y − 3y − 3y + 6 = 0 =⇒ y =
3
4
=⇒ x = 2, z = 2, λ =
3
I If λ = 0, we have (x, y , z) = (6, 0, 0), (0, 2, 0), (0, 0, 6).
Thus the critical points of L are
4 2
a1 = ( , 2, , 2), a2 = (0, 6, 0, 0), a3 = (0, 0, 2, 0), a4 = (0, 0, 0, 6)
3 3
The Hessian of L is
0 −1 −3 −1
−1 0 z y
HL (λ, x, y , z) =
−3 z
0 x
−1 y x 0
The sequence
(S) : (−1)k d2k+1 , (−1)k d2k+2 , . . . , (−1)k dn+k
We have n = 3 and k = 1,so (S) : −d3, , −d4
We have
0 −1 −3 0 −1 −3
−d3 = − −1 0 2 = − −1 0 2 = −12 < 0
−3 2 0 −3 0 −6
0 −1 −3 −1
2
−1 0 2 3 = 12 > 0
−d4 = −
−3 2 0 2
2
−1 3 2 0
y (6 − 2x − 3y ) = 0 =⇒ y = 0 or 6 − 2x − 3y = 0
I If y = 0,the equation (2) implies x = 0 or x = 6. So, the
critical points of h is
6x − x 2 − 2x(6 − 2x) = 0
3x 2 − 6x = 0
=⇒ x = 0,2
Note that
2
x = 0 =⇒ y = 2 and x = 2 =⇒ y =
3
Thus the critical points of h are
2
a3 = (0, 2), a4 = (2, )
3
The Hessian matrix of h is
−2y 6 − 2x − 3y
Hh (x, y ) =
6 − 2x − 3y −6x
− 43
0
Hh (a4 ) =
0 −12
4
=⇒ H1 = − < 0,H2 = 16 > 0
3
Thus a4 = (2, 23 ) is a local maximum of h. Therefore, the
point (2, 32 , 2) is a maximum point of f subject to the given
constrain.
We can easily check that a1 , a2 , a3 are saddle points of h. So,
(6, 0, 0), (0, 2, 0), (0, 0, 6) are saddle points of f subject to the given
constrain.
Exercise 7. (e) f (x, y , z) = x + y + z, constrains: y 2 − x 2 = 1
and x + 2z = 1.
Proof. The Lagrange function is
We have
∂L 2 2
∂λ1 = −y + x + 1 = 0 (1)
∂L
∂λ2 = −x + 2z + 1 = 0 (2)
∂L
∇L(λ1 , λ2 , x, y , z) = 0 ⇐⇒ ∂x = 1 + 2λ1 x − λ2 = 0 (3)
∂L
∂y = 1 − 2λ1 y = 0 (4)
∂L
∂z = 1 − 2λ2 = 0 (5)
Equation (5) implies
1 1
λ2 = =⇒ (3) : λ1 = −
2 4x
and equation (4) implies
1
λ1 =
2y
Compare these two results,we get
y = −2x.
1
−3x 2 + 1 = 0 =⇒ x = ± √
3
2 √
=⇒ y = ∓ √ =⇒ λ1 = ∓ 3
3
and substitute the values of x into equation (2), we have
1 1 1 1
z = x− =± √ −
2 2 2 3 2
Thus the critical points of L are
√ 1
1 2 1 1
a1 = 3, , − √ , √ ,− √ − ,
2 3 3 2 3 2
√ 1 1
2 1 1
a2 = − 3, , √ , − √ , √ −
2 3 3 2 3 2
The Hessian of L is
0 0 2x −2y 0
0 0 −1 0 2
HL (λ1 , λ2 , x, y , z) =
2x −1 2λ1 0 0
2y 0 0 −2λ1 0
0 2 0 0 0
f (x, y , z) = xyz
with costraint:
g (x, y , z) = x + 4y + 8z = 24.
x 2 + 3y 2 + 4z 2 = 12
Proof. Let r the radius of the sphere. Let (x, y , z) be the point
that the sphere tangents to the ellipse.
The objective function is the volume of the sphere. That is,
4
V (r ) = πr 3
3
4 3
V (x, y , z) = π x 2 + y 2 + z 2 2
3
with the constraint: g (x, y , z) = x 2 + 3y 2 + 4z 2 = 12.
Note the to study the extrema point of V subjects to constraint g
is equivalent to the extema point of
f (x, y , z) = x 2 + y 2 + z 2
f (x, y , z) = (x − x0 )2 + (y − y0 )2 + (z − z0 )2
2x 2 + 4xy + 5y 2 = 5
Proof. The center of the ellipse (E ) is the root of the systerm
(
∂F
∂x (x, y ) = 4x + 4y = 0
∂F
=⇒ (x, y ) = (0, 0)
∂y (x, y ) = 4x + 10y = 0
1
⇐⇒ 6λ2 − 7λ + 1 = 0 =⇒ λ = 1, λ =
6
For λ = 1, equation (2) and (3) become
−x − 2y = 0 =⇒ x = −2y
Subsitute into equation (1), we get
4y 2 − 8y 2 + 5y 2 = 5 =⇒ y = ±1 =⇒ x = ∓2
Thus the critical point of L are
a1 = (1, 2, −1), a2 = (1, −2, 1)
For λ = 16 , equation (2) and (3) become
2 1
x − y = 0 =⇒ y = 2x
3 3
Subsitute into equation (1), we get
1 2
2x 2 + 8x 2 + 20x 2 = 5 =⇒ x = ± √ =⇒ y = ± √
6 6
Thus the critical point of L are
1 1 2 1 1 2
a3 = ,√ ,√ , a4 = , −√ , −√
6 6 6 6 6 6
We have
q √
D(±2, ∓1) = (±2)2 + (∓1)2 = 5
s
1 2 2 2
r
1 2 5
D ±√ , ±√ = ±√ + √ =
6 6 6 6 6
(E ) : 2x 2 + y 2 + 2z 2 − 8 = 0 and (P) : x + y + z − 10 = 0
Proof. Let (x, y , z) be a point on the ellipsoide (E ). The distance
between (E ) and (P) is equal to the shortest distance from
(x, y , z) ∈ (E ) to the plane (P).
Therefore, the objective function is
|x + y + z − 10|
D(x, y , z) = √
3
f (x, y , z) = x + y + z − 10
|x + 2y + z − 6|
D(x, y , z) = √
6
λxi2 = λxj2 , ∀i 6= j
and
n
1 Y 1
f (x) ≤ n
⇐⇒ xk2 ≤ n
n n
k=1
n
1 n kxk n
Y
⇐⇒ xk ≤ √ = √
n n
k=1