Finding critical points of a multivariable function

From Applied Science
Revision as of 02:55, 23 May 2022 by Wikiadmin (talk | contribs)

In the same way we have to rely on derivatives to find critical points of a single variable functions, we have to rely on partial derivatives to find critical points of a multivariable function. The idea of looking for points were we have horizontal tangent lines or zeroes of a function remains the same for multivariable functions. Except that for two variables we have a plane, not just a single line.

Criteria do find critical points

Let [math]\displaystyle{ f }[/math] be a function with a domain [math]\displaystyle{ D }[/math]. [math]\displaystyle{ P_0 \in D }[/math] is a point of maximum or minimum. If [math]\displaystyle{ f }[/math] is differentiable at [math]\displaystyle{ P_0 }[/math], then its first order partial derivatives are equal to zero at that point.

With this theorem we can reduce our search for local maximums or minimums to points where we have partial derivatives equal to zero. Other points from the function's domain, not including the boundary, with partial derivatives different from zero, are automatically discarded from our search.

Suppose that [math]\displaystyle{ (x_0,y_0) }[/math] is a local maximum of [math]\displaystyle{ f }[/math]. With [math]\displaystyle{ (x_0,y_0) }[/math] being inside [math]\displaystyle{ D }[/math], excluding the boundary, there exists an open ball [math]\displaystyle{ B \subset D }[/math], centered at [math]\displaystyle{ (x_0,y_0) }[/math], such that, for all [math]\displaystyle{ (x,y) }[/math] in [math]\displaystyle{ B }[/math]:

[math]\displaystyle{ f(x,y) \leq f(x_0,y_0) }[/math]

On the other hand, there exists an open interval [math]\displaystyle{ I }[/math], with [math]\displaystyle{ x_0 \in I }[/math], such that for all [math]\displaystyle{ x \in I }[/math], [math]\displaystyle{ (x_0,y_0) \in B }[/math]. Let's consider the function [math]\displaystyle{ g }[/math] given by

[math]\displaystyle{ g(x) = f(x,y_0), \ x \in I }[/math]

If you didn't understand the single variable function [math]\displaystyle{ g }[/math], remember that we are keeping the other variable fixed, constant, like when we calculate partial derivatives.

We have:

  • [math]\displaystyle{ g }[/math] is differentiable at [math]\displaystyle{ x_0 }[/math]
  • [math]\displaystyle{ x_0 }[/math] is a point inside [math]\displaystyle{ I }[/math]
  • [math]\displaystyle{ x_0 }[/math] is a point of local maximum of [math]\displaystyle{ g }[/math]

[math]\displaystyle{ g'(x_0) = \frac{\partial f}{\partial x}(x_0,y_0) = 0 }[/math]

We can repeat the same reasoning to prove that [math]\displaystyle{ \frac{\partial f}{\partial y}(x_0,y_0) = 0 }[/math]. We can also change the inequality sign to repeat the same proof, but for minimum points.

The geometrical interpretation of the proof is that we have an horizontal tangent plane at points where the function has a local maximum or minimum. It's a critical point and it can also be called a stationary point. We can resort to physics to explain the meaning of a stationary point. When we study trajectories, any object that is thrown upwards is going to be pulled back down by gravity, unless its velocity is above a certain value called the escape velocity. The exact moment when the vertical velocity vector changes its sign corresponds to a stationary point.

Note: I followed Hamilton Guidorizzi's proof.

The second derivative test