Linear Algebra : Matrix Calculus

Study concepts, example questions & explanations for Linear Algebra

varsity tutors app store varsity tutors android store

Example Questions

Example Question #31 : Matrix Calculus

Give the Hessian matrix of the function 

Possible Answers:

Correct answer:

Explanation:

The Hessian matrix of a function  is the matrix of partial second derivatives 

First, rewrite 

as

Find each partial second derivative separately:

 

 

 

 

 

 

The Hessian of  is 

,

which can be rewritten as

.

 

Example Question #11 : The Hessian

Give the Hessian matrix of the function 

.

Possible Answers:

Correct answer:

Explanation:

The Hessian matrix of a function  is the matrix of partial second derivatives 

Find each partial second derivative separately:

 

 

 

 

The Hessian of  is 

which can be rewritten as

 

 

 

Example Question #33 : Matrix Calculus

Give the Hessian matrix for the function .

Possible Answers:

Correct answer:

Explanation:

The Hessian matrix of a function  is the matrix of partial second derivatives 

 

Find each of these derivatives as follows:

 

 

 

 

 

The Hessian matrix is 

 

 

 

Example Question #34 : Matrix Calculus

Give the Hessian matrix for the function .

Possible Answers:

Correct answer:

Explanation:

The Hessian matrix of a function  is the matrix of partial second derivatives 

 

Find each of these derivatives as follows:

 

 

 

 

 

The Hessian matrix is 

,

which can be rewritten, after a little algebra, as

.

 

Example Question #11 : The Hessian

Give the Hessian matrix of the function .

Possible Answers:

Correct answer:

Explanation:

The Hessian matrix of a function  is the matrix of partial second derivatives:

.

To get the entries, find these derivatives as follows:

 

 

 

The Hessian matrix is .

 

 

Example Question #36 : Matrix Calculus

Give the Hessian matrix of the function .

Possible Answers:

None of the other choices gives the correct response.

Correct answer:

Explanation:

The Hessian matrix of a function  is the matrix of partial second derivatives:

.

Find the partial derivatives as follows:

 

 

 

The Hessian matrix is 

,

or

.

 

Example Question #21 : The Hessian

Give the Hessian matrix of the function .

Possible Answers:

Correct answer:

Explanation:

The Hessian matrix of a function  is the matrix of partial second derivatives:

.

 

To get the entries in the Hessian matrix, find these derivatives as follows:

By symmetry,

 

 

The Hessian matrix is

.

Example Question #22 : The Hessian

 is a continuous function such that .

The Hessian matrix for , evaluated at , is 

From the set , which value(s) can be assigned to  so that the graph of  has a saddle point at ?

Possible Answers:

Correct answer:

Explanation:

The graph of  has a saddle point at  if and only

when evaluated at this point. 

Calculate the determinant of the Hessian at this point in terms of by subtracting the upper-right to lower-left product by from the upper-left to lower-right product; set this less than 0 and solve for .

Therefore, the graph of  has a saddle point at  if . The correct choice is therefore .

Example Question #31 : Matrix Calculus

Define .

Use the Hessian matrix , if applicable, to answer this question:

Does the graph of  have a local maximum, a local minimum, or a saddle point at ?

Possible Answers:

The graph of  has a critical point at , but the Hessian matrix test is inconclusive. 

The graph of  has a local maximum at .

The graph of  does not have a critical point at 

The graph of  has a local minimum at .

The graph of  has a saddle point at .

Correct answer:

The graph of  does not have a critical point at 

Explanation:

First, it must be established that the graph of  has a critical point at ; this holds if , so the first partial derivatives of  must be evaluated at :

Since , the graph of  does not have a critical point at 

Example Question #21 : The Hessian

Define .

Use the Hessian matrix , if applicable, to answer this question:

Does the graph of  have a local maximum, a local minimum, or a saddle point at ?

Possible Answers:

The graph of  has a critical point at , but the Hessian matrix test is inconclusive. 

The graph of  has a local minimum at .

The graph of  has a local minimum at .

The graph of  has a saddle point at .

The graph of  does not have a critical point at 

Correct answer:

The graph of  has a saddle point at .

Explanation:

First, it must be established that the graph of  has a critical point at ; this holds if , so the first partial derivatives of  must be evaluated at :

The graph of  has a critical point at , so the Hessian matrix test applies.

The Hessian matrix  is the matrix of partial second derivatives

,

the determinant of which can be used to determine whether a critical point of  is a local maximum, a local minimum, or a saddle point. Find the partial second derivatives of :

 

 

 all are constant functions. 

,

so

The Hessian matrix, evaluated at , is

.

Its determinant is the upper-left to lower-right product minus the upper-right to lower-left product;

The determinant of the Hessian is negative, so the graph of  has a saddle point at .

Learning Tools by Varsity Tutors