MATHEMATICS I (MATEMATİK I) - (İNGİLİZCE) - Chapter 8: Multivariable Functions Özeti :

PAYLAŞ:

Chapter 8: Multivariable Functions

Chapter 8: Multivariable Functions

What is a multivariable function?

When a quantity depends on more than one variable, we refer to it as a function of several variables or a multivariable function.

For example, in case of two variables a function of two variables img32 is defined, if for each ordered pair img32 belonging to a set img32, there is a uniquely defined real number img32. Then A is called the domain of the function img32. Elementary examples of multivariable functions may be given as img32, img32, or img32, img32. Although the domain is not specified but given as a set img32, it is clear from the definition of both functions that they are defined over all img32 and img32, respectively.

The graph of function defined on a set img32 may be represented in 3 dimensions. Such an example is, say, img32, which corresponds to the upper sphere with centre the origin and radius img32. However, when the function is defined on a set img32, where img32, then we cannot represent the graph since the graph of such functions will be on the 4-dimensional space.

A 2D representation of the 3D graph may be shown through contour lines which are plotted in img32 coordinate frame and are given by img32const. By choosing different values of the constant on the right-hand side of this equation, we obtain different cross sections of the surface on different horizontal planes. One such example is the cross sections of the sphere with centre origin given below:

img32

Limits and Continuity

The idea of limit of a function of one variable may easily be extended to functions of several variables. However, in the case of even two variables the direction of approach to a point for which the limit is being sought for is inredibly varied. In the single variable case we approach a point either from left or from right, whereas in higher dimensions this aprroach is arbitrarily many. Although the definition of limit stays the same due to the variedness of the aprroach actaul calculations are much harder. Now, let us define the limit:

For a function of two variables img32 we define a real number A as a limit at the pointimg32 if for any positive value img32, it is always possible to find such value img32 such that for all img32satisfying img32 , the values of the function satisfy the condition img32Then we write img32

Continuity of a multivariable function is defined similarly to that of a function of one variable. For example, in case of two variables we shall define the function img32 to be continuous at the point (a, b) if,

i) the function z=f (x, y) is defined at (a, b)

ii) the limit of the function z=f (x, y) at (a, b) exists

iii) and this limit coincides with the value of the function, i.e. img32

In many cases readers get confused about the continuity of the functions like img32 when img32, i.e. when the denominator is zero. But, according to (i) above, the function must be defined at a point in order to talk about its continuity. Since, here, the function is not defined on the unit circle, we do not consider its continuity at these points. For the remaining of the points where the function is defined, i.e. inside the unit disk, the function is obviously continuous since its limit value and the function value at every point inside the disk is the same.

Partial Derivatives

As we have already mentioned the approach to a given point in n-dimensional space is unlimited which makes the limit much harder than its one-dimensional counterpart. Since, the derivative is not defined through limits, the concept of derivative is quite demanding in higher dimensions. However, there are certain types of differentiation in higher dimensions one of which is partial derivatives. This concept takes advantage of the derivative of a function of single variable. Let us define it for functions of two variables, i.e. img32. For a function z=f (x, y) of two variables we have two first order partial derivatives

img32

and

img32

Note that differentiation along, say, variable img32 means that the other variable 𝑦 is “frozen”, i.e. treated as a constant. This makes differentiation quite straightforward just as the differentiation in the one variable case. As an example, let us calculate the partial derivatives of img32

img32 and img32. In the first one we calculated the derivative of the square root function taking img32 as a constant, and in the second one we differentiated img32 and considered img32 as a constant.

The usual rules for single variable differentiation also applies for the multivariable functions (see Chapter 6). It must be kept in mind, however, that the partial derivatives do not correspond to the derivative of a multivariable function but only to derivative along the coordinate axes.

Tangent plane and normal line to a surface

Let us remember that the equation of a tangent line to the graph of a function y=f(x) at a point x=a is usually written as

img32

In the case of a function of two variables, say for notational convenience, img32, the equation of the tangent plane around the point img32 to the graph of img32 is given by

img32

As follows from the last equation, the vector with coordinates img32will be perpendicular or normal to this tangent plane. Then the equation of a normal line, passing through the point (a, b, f (a, b)) perpendicular to the tangent plane, is

img32

We may calculate the tangent plane to the graph of img32 at the point img32. To this end we calculate the partial derivative which are

img32 and img32. The values of partial derivatives at img32 are, respectively, img32 and img32. The tangent plane, then, is

img32 img32 img32

The gradient

The gradient of the function is introduced as a vector, the components of which are the associated partial derivatives, i.e. for a function of two variables img32 the gradient is

img32

Clearly, in case of a function of three variables img32 the gradient is

img32

One of the most important properties of the gradient is it is perpendicular to the contour lines of the function, which also implies that the gradient vector is normal to the tangent plane of the surface at the point in question.

Change of variable. Chain rule

Chain rule, like its counterpart in one variable, is a rule for calculating the partial derivatives of composite functions, i.e. functions of functions. Assume that

img32

So, img32 is a function of img32 and img32 and img32 are functions of img32. So, the chain rule is stated in the following way:

img32

and, similarly,

img32

In this context, changing variables means that writing the variables as functions of new variables. Consider the following example:

Write the differential equation img32 in the new variablesimg32and img32. If we calculate img32 we find

img32

and

img32

So, inserting back into the original equation we find img32

Note that with the change of variable we now have a much simpler equation (differential) which may be solved easily (for this we have to wait until the second book).

Local extrema of multivariable functions

In functions of one variable we encountered local extrema of functions being local minimum or local maximum points and/or values. In case of multivariable functions, the situation is slightly more complicated with the introduction of one more type of point, namely the saddle point. The function’s behaviour around such points is, in a sense, indeterminate. Departing from this point and moving in an arbitrary direction the function may either decrease or increase and therefore it neither defines a minimum or a maximum. We give now a test for determining the extremum points of a function.

First, we need to find stationary points by solving simultaneous equations img32

Then, for a given stationary point P, one needs to evaluate img32 .

Then, if D > and ![img](assets/MAT19U_u8_15.png)32, P is a point of a local minimum.

If D < and ![img](assets/MAT19U_u*8_152.png)32, then P is a point of a local maximum.

If D < , then P* is a saddle point.

Restricted local extrema of multivariable functions

Local extrema of functions are used to solve optimization problems such as increasing the profit of a company, reducing the costs depending on the raw materials, etc. In some cases, we have to impose constraints on the optimization problems we consider. Below we consider in detail the case of a function of two variables. Then, there is usually just one restriction, so the formulation of the problem looks as follows

img32

Here img32 is often referred as the objective function, and img32 is a constraint. The simplest approach to the problem is possible when one of the variables may be expressed in terms of the other from the constraint, then the problem reduces to standard extrema problem for a function of one variable. Let us reproduce here the example from our book to analyse the approach in detail.

A rectangular camping area of area img32 m2 needs to be designed. The area is bounded from one side by the forest and requires fencing from the other three parts (one length and two widths). Find the optimal length and width in order to have minimal length of the fencing required.

Solution:

Let img32 and img32 be length and width of the designed camping area, respectively. Then the objective function, the fencing length is img32. The constraint of the area being img32 m2 is written as img32 or img32. Hence, the Lagrangian formulation is given by

img32

Let us find the stationary points of this function. Then,

img32

which gives

img32

Eliminating img32 from the first two equations, we have (clearly both img32 and img32 are not zero in view of the constraint)

img32

hence img32, so from the constraint img32, therefore img32, img32, and the sought for length of the fence is img32 m.