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 32 is defined, if for each ordered pair 32 belonging to a set 32, there is a uniquely defined real number 32. Then A is called the domain of the function 32. Elementary examples of multivariable functions may be given as 32, 32, or 32, 32. Although the domain is not specified but given as a set 32, it is clear from the definition of both functions that they are defined over all 32 and 32, respectively.
The graph of function defined on a set 32 may be represented in 3 dimensions. Such an example is, say, 32, which corresponds to the upper sphere with centre the origin and radius 32. However, when the function is defined on a set 32, where 32, 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 32 coordinate frame and are given by 32const. 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:
32
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 32 we define a real number A as a limit at the point32 if for any positive value 32, it is always possible to find such value 32 such that for all 32satisfying 32 , the values of the function satisfy the condition 32Then we write 32
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 32 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. 32
In many cases readers get confused about the continuity of the functions like 32 when 32, 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. 32. For a function z=f (x, y) of two variables we have two first order partial derivatives
32
and
32
Note that differentiation along, say, variable 32 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 32
32 and 32. In the first one we calculated the derivative of the square root function taking 32 as a constant, and in the second one we differentiated 32 and considered 32 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
32
In the case of a function of two variables, say for notational convenience, 32, the equation of the tangent plane around the point 32 to the graph of 32 is given by
32
As follows from the last equation, the vector with coordinates 32will 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
32
We may calculate the tangent plane to the graph of 32 at the point 32. To this end we calculate the partial derivative which are
32 and 32. The values of partial derivatives at 32 are, respectively, 32 and 32. The tangent plane, then, is
32 32 32
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 32 the gradient is
32
Clearly, in case of a function of three variables 32 the gradient is
32
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
32
So, 32 is a function of 32 and 32 and 32 are functions of 32. So, the chain rule is stated in the following way:
32
and, similarly,
32
In this context, changing variables means that writing the variables as functions of new variables. Consider the following example:
Write the differential equation 32 in the new variables32and 32. If we calculate 32 we find
32
and
32
So, inserting back into the original equation we find 32
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 32
Then, for a given stationary point P, one needs to evaluate 32 .
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
32
Here 32 is often referred as the objective function, and 32 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 32 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 32 and 32 be length and width of the designed camping area, respectively. Then the objective function, the fencing length is 32. The constraint of the area being 32 m2 is written as 32 or 32. Hence, the Lagrangian formulation is given by
32
Let us find the stationary points of this function. Then,
32
which gives
32
Eliminating 32 from the first two equations, we have (clearly both 32 and 32 are not zero in view of the constraint)
32
hence 32, so from the constraint 32, therefore 32, 32, and the sought for length of the fence is 32 m.