]> Stationary points

Math Animated™
Mathematical Introduction for Physics and Engineering
by Samuel Dagan (Copyright © 2007-2020)

Chapter 3: Many Variables; Section 1: Differentiation; page 5

Home | Table of Contents | A-Z Index | Help

Previous topic: page 4 Change of Variables

Next topic: page 6 Constraints


Stationary Points

Overview

In the case of functions with a single variable, we classified the stationary points as maximum, minimum and inflection. Actually an inflection point does not have to be stationary, and is an independent class. In the case of a function of two variables, we already saw examples of stationary points, that are a minimum, a maximum or a saddle. A function of a single variable does not have saddle points, and a saddle point has to be stationary. With an increase in the number of variables, there are also more classes of stationary points. Notice that inflection and saddle points are not related, and it is a mistake to consider them as the manifestation of the same class, as often students do.

On this page we are going to focus on functions with two variables, which are simple to understand and to visualize. We'll need first to deepen our understanding of derivatives, in order to use them for the classification of the stationary points.

The differentiation of a function of two variables,

z=z( x,y ) (3.1.5.1)

with respect to one or the other of the variables, yields in principle two different values (the same value is coincidental). The reason is that the function is incremented in two different directions: x and y. Generally speaking, if we want to study the characteristics of a function at a given point, we have to increment the function in all possible directions, not only in x and y. As we saw previously, the translation of coordinates (3.1.4.10), does not affect the derivatives. On the other hand, the rotation (3.1.4.13) does.

We already defined a stationary point, as a location where all the first derivatives with respect to the variables vanish (with an additional requirement for continuity, which we'll assume as satisfied). We can prove now this statement, by the use of (3.1.4.13), which is reproduced here:

f x' =cosΔφ f x +sinΔφ f y f y' =sinΔφ f x +cosΔφ f y } (3.1.5.2)

where x' and y' are the coordinates of the rotated system by an angle of Δφ. According to (3.1.5.2)

f x = f y =0yields f x' = f y' =0 (3.1.5.3)

for any possible angle of rotation of the coordinates Δφ.

Sufficient conditions

We already know, that for a function of one variable, a sufficient condition for a stationary point to be at minimum(maximum), is a positive(negative) second derivative. We can translate this condition to the requirement of the sign of the second derivative 2 f ( x' ) 2 for any possible direction of the coordinate x'.

The rotation of the coordinate system from (x,y) to (x',y') by an angle Δφ according to (3.1.4.11) yields

x x' =cosΔφ y x' =sinΔφ x y' =sinΔφ y y' =cosΔφ } (3.1.5.4)

From (3.1.5.2) and (3.1.5.4) it follows, that

2 f ( x' ) 2 = x' ( cosΔφ f x +sinΔφ f y )= ={ cos 2 Δφ 2 f x 2 +cosΔφsinΔφ 2 f yx + +sinΔφcosΔφ 2 f xy + sin 2 Δφ 2 f y 2 }= = cos 2 Δφ 2 f x 2 +2sinΔφcosΔφ 2 f xy + sin 2 Δφ 2 f y 2 } (3.1.5.5)

This expression of 2 f ( x' ) 2 becomes equal to 2 f x 2 in the case of Δφ=0   or   π , and to 2 f y 2 in the case of Δφ= ± π 2 , as one could expect. If the expression (3.1.5.5) of 2 f ( x' ) 2 remains positive(negative) for any possible value of Δφ, then this is a sufficient condition for the stationary point to be at minimum(maximum). The sign of   2 f x 2 and of   2 f y 2 should also be positive(negative), but this is just a partial requirement.

The requirement for a minimum (3.1.5.5) can be rewritten as

2 f ( x' ) 2 = cos 2 Δφ( 2 f x 2 +2t 2 f xy + t 2 2 f y 2 )>0 t=tanΔφ } (3.1.5.6)

The condition (3.1.5.6) becomes

F( t )= t 2 2 f y 2 +2t 2 f xy + 2 f x 2 >0 (3.1.5.7)

where F is a quadratic (parabolic) function of the parameter t. The function  F(t)  remains positive for any value of  t , and therefore does not have any roots. What are the conditions for such a behaviour? We know that the roots  t  of  F(t) = 0 , if they were existing, are calculable by

t= 2 f xy ± ( 2 f xy ) 2 2 f y 2 2 f x 2 2 f y 2 (3.1.5.8)

There are no roots, if the expression under the square root of (3.1.5.8) (the discriminant) is negative, or if

D= 2 f x 2 2 f y 2 ( 2 f xy ) 2 >0 (3.1.5.9)

This condition holds, only if both   2 f x 2 and   2 f y 2 have the same sign (and do not vanish). Therefore we should require also, that 2 f x 2 or   2 f y 2 is positive.

By the same reasoning, the sufficient condition for a maximum is (3.1.5.9), with the addition, that   2 f x 2 or   2 f y 2 is negative.

In the case of

D= 2 f x 2 2 f y 2 ( 2 f xy ) 2 <0 (3.1.5.10)

there are two roots, and (3.1.5.7) has opposite signs between and outside of the roots. This means that the stationary points behave as a minimum and as a maximum, depending on the direction of the differentiation. This is exactly the case of a saddle point, and makes (3.1.5.10) a sufficient condition for a saddle point . However if one or both of the derivatives 2 f x 2 and   2 f y 2 vanish,  F(t) (3.1.5.7) does not have to be a parabolic function, and the proof that (3.1.5.10) is also a sufficient condition in this case, is presented below as exercise 1.

The following table summarizes the sufficient conditions, for specifying the classes of a stationary point. If  D = 0 , the class of the point cannot be specified without doing further investigations

D= 2 f x 2 2 f y 2 ( 2 f xy ) 2 2 f x 2 or 2 f y 2 Class
+ Maximum
+ + Minimum
any Saddle
0 any Undetermined

A graphical study of these sufficient conditions, by use of the shorthand notation for the partial derivatives, is presented in Fig. Sufficient conditions.

Applications

The saddle point of the function

z= xy 2 (3.1.5.11)

was already studied graphically in Fig. Level lines (3) and in Fig. Saddle point . We are going to use this example for testing the condition (3.1.5.10). The stationary point of the function is at the coordinate's origin:

z x = x ( xy 2 )= y 2 and z y = x 2 yieldingx=y=0for z x = z y =0 } (3.1.5.12)

From (3.1.5.12), we obtain

2 z x 2 = 2 z y 2 =0and 2 z xy = 1 2 (3.1.5.13)

and the condition (3.1.5.10) is satisfied. Notice, that (3.1.5.13) is exact for any point (x, y) of the function, and the inequality (3.1.5.10) is met everywhere, but only at the stationary point there is a saddle point.

The rotation of the (x, y) coordinates by an angle Δφ= π 4 , transforms the function (3.1.5.11) in the form of   z= x 2 y 2 4 , as can be obtained from (3.1.4.11). The stationary point remains at the origin, and the derivatives are

z x = x 2 z y = y 2 2 z x 2 = 1 2 2 z y 2 = 1 2 2 z xy =0 } (3.1.5.14)

again satisfying (3.1.5.10).

As an example for minimum we'll use a physical problem. There are  n  physical points with masses  mi  located at a plane with fixed coordinated  (x, y)i = (ai, bi) , where  i = 1,2,....,n . What is the point (x, y), such that the quantity  W  is minimal, where

W= i=1 n m i [ ( x a i ) 2 + ( y b i ) 2 ] (3.1.5.15)

The stationary point corresponds to

W x =2 i=1 n m i ( x a i ) =2( x i=1 n m i i=1 n m i a i )=0 W y =2 i=1 n m i ( y b i ) =2( y i=1 n m i i=1 n m i b i )=0 yieldingx= i=1 n ( m i a i ) i=1 n ( m i ) andy= i=1 n ( m i b i ) i=1 n ( m i ) } (3.1.5.16)

One has to test if this result corresponds to a minimum.

2 W x 2 =2 i=1 n m i = 2 W y 2 >0, 2 W xy =0 D= 2 W x 2 2 W y 2 2 W xy =4 ( i=1 n m i ) 2 >0 } (3.1.5.17)

Indeed, since the mass is by definition positive, the point corresponds to the minimal W. This point (3.1.5.16) is called the centre of mass (or centre of gravity).

More classes

We know so far about three classes of stationary points. Are there any more? The answer is yes, and we are going to see a couple of examples.

In the following example, there is a stationary point at the origin, which is an inflection along the x and a minimum along the y axes, without being classified so far.

z= x 3 + y 2 (3.1.5.18)

yielding

{ z x =3 x 2 z y =2y } { 2 z x 2 =6x 2 z y 2 =2 2 z xy =0 } }{ stationarypoint:x=y=0 D= 2 z x 2 2 z y 2 ( 2 z xy ) 2 =0 } (3.1.5.19)

In the case of a function with one variable, a stationary point was really a point, except for the trivial case of   f( x )=constant  . In the case of two (or more) variables, a stationary value, could become a path or a region. The following example will clarify this statement. The level lines of the function

z= ( x 2 + y 2 2 ) 2 (3.1.5.20)

are shown in Fig. Level lines of a valley. The function is stationary along the circular path

x 2 + y 2 =2 (3.1.5.21)

of constant  z = 0 , limited by rising slopes reminiscent of a valley. This is not a local minimum, since along the path the value of the function remains constant. On the other hand it is an absolute minimum. The starionary values of this function (3.1.5.20) are summarized at (3.1.5.22).

{ z x =4x( x 2 + y 2 2 ) z y =4y( x 2 + y 2 2 ) } { 2 z x 2 =4( 3 x 2 + y 2 2 ) 2 z y 2 =4( x 2 +3 y 2 2 ) 2 z xy =8xy } }{ { stationary:x=y=0 D=(8)(8)0>0 2 z x 2 =8<0 pointofmaximum } { stationary: x 2 + y 2 2=0 D=8 x 2 8 y 2 ( 8xy ) 2 =0 2 z x 2 =8 x 2 0 2 z y 2 0 bottomofvalley } } (3.1.5.22)

Since the function (3.1.5.20) can be represented also as a function of one variable r, namely

r 2 = x 2 + y 2 (3.1.5.23)

the analysis shows that at  r² = 2  there is a minimum.

Any additional stationary class in the case of two variables obeys

D= 2 z x 2 2 z y 2 ( 2 z xy ) 2 =0 (3.1.5.24)

Exercises

Exercise 1. Prove that (3.1.5.10) is a sufficient condition for a saddle point in the following cases:

  1.  
    2 f y 2 =0and 2 f x 2 0
  2.  
    2 f y 2 =0and 2 f x 2 =0

Exercise 2.

  1. Find and classify the stationary points of the function

    f( x,y )= x 3 y 3 2xy+2

  2. What are the values of the function for these points?

Exercise 3. Find and classify the stationary points of the function

f( x,y )=( a x 2 +b y 2 )exp( x 2 y 2 ) where the constants hold0<a<b }

Exercise 4. Use the results of exercise 3 in order to answer what will be the classification in the following cases:

  1.  
    0<b<a
  2.  
    0<a=b

Previous topic: page 4 Change of Variables

Next topic: page 6 Constraints

Home | Table of Contents | A-Z Index | Help