Lec 11.2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 25

The Hessian matrix and local extrema for f (x, y )

Sarang S. Sane
Recall : the second derivative test

Let f : D → R be a function of one variable on the domain D.


Recall : the second derivative test

Let f : D → R be a function of one variable on the domain D.

A point a ∈ D is a critical point if either f is not differentiable at a


or f 0 (a) = 0.
Recall : the second derivative test

Let f : D → R be a function of one variable on the domain D.

A point a ∈ D is a critical point if either f is not differentiable at a


or f 0 (a) = 0.

Suppose f is twice differentiable at a. Then the second derivative


test can be applied to check the nature of the critical points.
Recall : the second derivative test

Let f : D → R be a function of one variable on the domain D.

A point a ∈ D is a critical point if either f is not differentiable at a


or f 0 (a) = 0.

Suppose f is twice differentiable at a. Then the second derivative


test can be applied to check the nature of the critical points.

1. If a is a critical point and f 00 (a) > 0, then a is a local


minimum.
Recall : the second derivative test

Let f : D → R be a function of one variable on the domain D.

A point a ∈ D is a critical point if either f is not differentiable at a


or f 0 (a) = 0.

Suppose f is twice differentiable at a. Then the second derivative


test can be applied to check the nature of the critical points.

1. If a is a critical point and f 00 (a) > 0, then a is a local


minimum.
2. If a is a critical point and f 00 (a) < 0, then a is a local
maximum.
Recall : the second derivative test

Let f : D → R be a function of one variable on the domain D.

A point a ∈ D is a critical point if either f is not differentiable at a


or f 0 (a) = 0.

Suppose f is twice differentiable at a. Then the second derivative


test can be applied to check the nature of the critical points.

1. If a is a critical point and f 00 (a) > 0, then a is a local


minimum.
2. If a is a critical point and f 00 (a) < 0, then a is a local
maximum.
3. If a is a critical point and f 00 (a) = 0, then the test is
inconclusive.
Recall : critical points for multivariable functions
Recall : critical points for multivariable functions

Let f (x1 , x2 , . . . , xn ) be a scalar-valued multivariable function


defined on a domain D in Rn .
Recall : critical points for multivariable functions

Let f (x1 , x2 , . . . , xn ) be a scalar-valued multivariable function


defined on a domain D in Rn .

A point a ∈ D is called a critical point of a function f (x ) if either


∼ ∼
∇f (a ) does not exist or ∇f (a ) exists and ∇f (a ) = 0.
∼ ∼ ∼
Recall : critical points for multivariable functions

Let f (x1 , x2 , . . . , xn ) be a scalar-valued multivariable function


defined on a domain D in Rn .

A point a ∈ D is called a critical point of a function f (x ) if either


∼ ∼
∇f (a ) does not exist or ∇f (a ) exists and ∇f (a ) = 0.
∼ ∼ ∼

Every local extremum is a critical point.


Recall : critical points for multivariable functions

Let f (x1 , x2 , . . . , xn ) be a scalar-valued multivariable function


defined on a domain D in Rn .

A point a ∈ D is called a critical point of a function f (x ) if either


∼ ∼
∇f (a ) does not exist or ∇f (a ) exists and ∇f (a ) = 0.
∼ ∼ ∼

Every local extremum is a critical point.

Unfortunately, not all critical points are local extrema.


Recall : critical points for multivariable functions

Let f (x1 , x2 , . . . , xn ) be a scalar-valued multivariable function


defined on a domain D in Rn .

A point a ∈ D is called a critical point of a function f (x ) if either


∼ ∼
∇f (a ) does not exist or ∇f (a ) exists and ∇f (a ) = 0.
∼ ∼ ∼

Every local extremum is a critical point.

Unfortunately, not all critical points are local extrema.

A saddle point is a critical point a such that ∇f (a ) exists and


∼ ∼
∇f (a ) = 0 but a is not a local extremum.
∼ ∼
The Hessian test : Classifying critical points of f (x, y )
The Hessian test : Classifying critical points of f (x, y )

Let f (x, y ) be a function defined on a domain D in R2 .


The Hessian test : Classifying critical points of f (x, y )

Let f (x, y ) be a function defined on a domain D in R2 .

Let a be a critical point of f such that the first and second order

partial derivatives are continuous in an open ball around a .

The Hessian test : Classifying critical points of f (x, y )

Let f (x, y ) be a function defined on a domain D in R2 .

Let a be a critical point of f such that the first and second order

partial derivatives are continuous in an open ball around a .

Then the Hessian test can be applied to check the nature of the
critical point a .

The Hessian test : Classifying critical points of f (x, y )

Let f (x, y ) be a function defined on a domain D in R2 .

Let a be a critical point of f such that the first and second order

partial derivatives are continuous in an open ball around a .

Then the Hessian test can be applied to check the nature of the
critical point a .

1. If det(Hf (a )) > 0 and fxx (a ) > 0 then a is a local minimum.


∼ ∼ ∼
The Hessian test : Classifying critical points of f (x, y )

Let f (x, y ) be a function defined on a domain D in R2 .

Let a be a critical point of f such that the first and second order

partial derivatives are continuous in an open ball around a .

Then the Hessian test can be applied to check the nature of the
critical point a .

1. If det(Hf (a )) > 0 and fxx (a ) > 0 then a is a local minimum.


∼ ∼ ∼
2. If det(Hf (a )) > 0 and fxx (a ) < 0 then a is a local maximum.
∼ ∼ ∼
The Hessian test : Classifying critical points of f (x, y )

Let f (x, y ) be a function defined on a domain D in R2 .

Let a be a critical point of f such that the first and second order

partial derivatives are continuous in an open ball around a .

Then the Hessian test can be applied to check the nature of the
critical point a .

1. If det(Hf (a )) > 0 and fxx (a ) > 0 then a is a local minimum.


∼ ∼ ∼
2. If det(Hf (a )) > 0 and fxx (a ) < 0 then a is a local maximum.
∼ ∼ ∼
3. If det(Hf (a )) < 0 then a is a saddle point.
∼ ∼
The Hessian test : Classifying critical points of f (x, y )

Let f (x, y ) be a function defined on a domain D in R2 .

Let a be a critical point of f such that the first and second order

partial derivatives are continuous in an open ball around a .

Then the Hessian test can be applied to check the nature of the
critical point a .

1. If det(Hf (a )) > 0 and fxx (a ) > 0 then a is a local minimum.


∼ ∼ ∼
2. If det(Hf (a )) > 0 and fxx (a ) < 0 then a is a local maximum.
∼ ∼ ∼
3. If det(Hf (a )) < 0 then a is a saddle point.
∼ ∼
4. If det(Hf (a )) = 0 then the test is inconclusive.

Examples
f (x, y ) = x 2 + y 2 f (x, y ) = −x 2 − y 2

f (x, y ) = x 2 − y 2 f (x, y ) = x 4 + y 4
Examples (contd.)
f (x, y ) = x 2 + 6xy + 4y 2 + 2x − 4y

f (x, y ) = xy − x 3 − y 2
Examples (contd.)
f (x, y ) = sin(xy )
Thank you

You might also like