Minima and Maxima of a multivariable function....

Click For Summary

Discussion Overview

The discussion revolves around methods for finding the maxima and minima of multivariable functions, specifically those with five independent variables. Participants explore various approaches, including the use of partial derivatives and the Hessian matrix, while also considering numerical methods and the implications of differentiability.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests finding the partial derivatives of the function with respect to each variable and setting them to zero to obtain critical points.
  • Another participant proposes using the total derivative instead of just the partial derivatives, although they express uncertainty about this approach.
  • Several participants agree on the necessity of calculating the Hessian matrix to classify critical points as local minima, maxima, or saddle points based on the eigenvalues.
  • One participant raises a caution about the assumption that functions are differentiable, noting that absolute maxima may not occur at points where the differential is zero, especially if the function is not differentiable.
  • This participant also mentions that if the function is differentiable in a region, maxima could occur at points where the differential is zero or at the boundary of the region.

Areas of Agreement / Disagreement

There is a general agreement on the method of using partial derivatives and the Hessian matrix, but there is disagreement regarding the assumptions about differentiability and the conditions under which maxima and minima can be found.

Contextual Notes

Participants highlight limitations regarding the differentiability of functions and the potential for maxima to occur at boundaries rather than critical points, indicating that the discussion is nuanced and context-dependent.

fog37
Messages
1,566
Reaction score
108
Hello Forum,

I think I am clear on how to find the maxima and minima of function of one or two independent variables like f(x) or f(x,y). What if the function had 5 independent variables, i.e. f(x,y,z,a,b)? What is the best method, even numerically? Should we find the partial derivatives of f w.r.t. to each variables and set them to zero? We would get a set of 5 equations. Then what?

Thanks in advance,
fog37
 
Physics news on Phys.org
fog37 said:
Hello Forum,

I think I am clear on how to find the maxima and minima of function of one or two independent variables like f(x) or f(x,y). What if the function had 5 independent variables, i.e. f(x,y,z,a,b)? What is the best method, even numerically? Should we find the partial derivatives of f w.r.t. to each variables and set them to zero? We would get a set of 5 equations. Then what?

Thanks in advance,
fog37
Yes, you set each of the partial derivatives equal to zero and solve for sets of ##(x,y,z,a,b)## that solve the set of 5 equations. These locations are the critical points; in order to determine whether each critical point is a maxima, minima or saddle point one would use the second derivative test. For this multivariable case the second derivative test requires you to compute the Hessian matrix (which just contains all of the second derivatives) and examine whether it is positive definite, negative definite, or neither. See the beginning and section 7 of the wikipedia page:
https://en.wikipedia.org/wiki/Hessian_matrix

jason
 
Set the partial derivatives equal to 0 then solve to find the critical points. Now calculate the Hessian of f. If the Hessian, evaluated at a critical point, has all positive eigenvalues, then the critical point is a local minimum. If it has all negative eigenvalues, then the critical point is a local maximum. If it has eigenvalues of mixed signs, the critical point is a saddle point.
 
fog37 said:
Hello Forum,

I think I am clear on how to find the maxima and minima of function of one or two independent variables like f(x) or f(x,y). What if the function had 5 independent variables, i.e. f(x,y,z,a,b)? What is the best method, even numerically? Should we find the partial derivatives of f w.r.t. to each variables and set them to zero? We would get a set of 5 equations. Then what?
You (and several others) always assume that the functions are differentiable. Even when they are, their absolute maxima may not necessarily be at the points where some differential is 0.
  1. If the function is not differentiable, finding the maximum is not trivial. If the function is bounded, there may be a maximum, but not necessarily at one or several points.
  2. If the function is differentiable in a region Ω, the maxima will be found either at places where the "Differential" is 0 or at the border of Ω. In complex analysis, the maxima for an analytic function lies on the border (otherwise the function reduces to a constant).
 
  • Like
Likes   Reactions: jasonRF

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K