Next Article in Journal
A Topological Machine Learning Pipeline for Classification
Previous Article in Journal
Characterizations of Continuous Fractional Bessel Wavelet Transforms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Generalized Approach to Differentiability

by
Nikola Koceić-Bilan
* and
Snježana Braić
Faculty of Science, University of Split, 21000 Split, Croatia
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(17), 3085; https://doi.org/10.3390/math10173085
Submission received: 21 July 2022 / Revised: 17 August 2022 / Accepted: 22 August 2022 / Published: 27 August 2022

Abstract

:
In the traditional approach to differentiability, found in almost all university textbooks, this notion is considered only for interior points of the domain of function or for functions with an open domain. This approach leads to the fact that differentiability has usually been considered only for functions with an open domain in R n , which severely limits the possibility of applying the potential techniques and tools of differential calculus to a broader class of functions. Although there is a great need for generalization of the notion of differentiability of a function in various problems of mathematical analysis and other mathematical branches, the notion of differentiability of a function at the non-interior points of its domain has almost not been considered or successfully defined. In this paper, we have generalized the differentiability of scalar and vector functions of several variables by defining it at non-interior points of the domain of the function, which include not only boundary points but also all points at which the notion of linearization is meaningful (points admitting nbd rays). This generalization allows applications in all areas where standard differentiability can be applied. With this generalized approach to differentiability, some unexpected phenomena may occur, such as a function discontinuity at a point where a function is differentiable, the non-uniqueness of differentials… However, if one reduces this theory only to points with some special properties (points admitting a linearization space with dimension equal to the dimension of the ambient Euclidean space of the domain and admitting a raylike neighborhood, which includes the interior points of a domain), then all properties and theorems belonging to the known theory of differentiability remain valid in this extended theory. For generalized differentiability, the corresponding calculus (differentiation techniques) is also provided by matrices—representatives of differentials at points. In this calculus the role of partial derivatives (which in general cannot exist for differentiable functions at some points) is taken by directional derivatives.

1. Introduction and Motivation

One of the basic ideas of differential calculus is to better approximate a given function f : X R m , X R n , locally by an affine function, i.e., to linearize it at a point P 0 X . For this to be possible, the function must be differentiable at this point which means that there exists a linear operator A : R n R m such that the limit
lim H 0 f P 0 + H f P 0 A H H
exists and is equal to 0 R m . For practical reasons, differentiability in mathematical analysis has been defined and considered almost only for functions f : Ω R m with an open domain Ω R n [1,2,3,4]. Since every point of an open set Ω R n is an accumulation point of Ω [1] then for every point P 0 Ω it holds that 0 R n is the accumulation point of the domain D of the function
H f P 0 + H f P 0 A H H
for a linear operator A : R n R m . Indeed, there exists r > 0 such that the open ball B ( P 0 , r ) is contained in Ω and consequently B ( 0 , r ) D and the limit from the definition of differentiability (1) is reasonable to consider. (Recall that the limit of the function can be considered only at an accumulation point of the domain.)
However, reducing differentiability only to an open domain, i.e., to the interior points of a domain, has, in addition to many successful applications and advantages, some obvious deficiencies. For example, for the function f : 0 , R f x = x 3 it holds
lim h 0 + 0 + h 3 0 3 0 h h = 0 ,
so this function can be well approximated by the zero operator, i.e., it could be linearized at the point 0 R inside the natural domain of f, but due to the conditions from the definition of differentiability (that a point must belong to the interior of the domain [2]), the differentiability of the function at this point is usually not considered at all. Even though this issue can be overcome by extending the definition of differentiability (derivability) of a real function of a real variable to the endpoints of the given domain using one side limits [5], for a function of several variables the problem of differentiability at non-interior points of the domain remains current. For example, the differentiability of the function
f : D R f x , y = y x 3 , D = x , y R 2 y x 3
cannot be considered in all boundary points ( x , x 3 ) , x R , although it can be well linearized locally by the zero operator in those points. Similarly, because of the reduction to open sets, the question of the existence of tangents [6] and tangent planes [4] of a function f : Cl Ω R , Ω R or R 2 , at points x , f x , x Fr Ω , remains open. For example, due to this reduction we cannot obtain the tangent of the function x x 3 at the point O = ( 0 , 0 ) although it is obvious that for points T x = ( x , f ( x ) ) , x 0 , , the secants O T x tend to the line y = 0 as x tends to 0, and the line y = 0 should be the tangent of this function at the point O. Moreover, the study of the local conditional extreme of a scalar function is reduced to the study of a function whose domain is not necessarily an open set, so that the problem of finding a conditional extreme cannot be clarified or fully studied if differentiability is studied only on open sets. Furthermore, a differentiable function would lose the property of differentiability at many points if differentiability at boundary points is not considered when switching from one Cartesian coordinate system to other non-affine coordinate systems (or vice versa).
These are some of the reasons that indicate that the notion of differentiability should be generalized by observing differentiability not only at interior points of sets, but much more broadly, at points of any domain X R n of a function f : X R m in which the notion of differentiability and linearization is meaningful. John W. Milnor mentioned this problem in his famous series of lectures on differential topology which dates back to 1965 [7]. We will show that this extension is meaningful for all points P 0 X for which there is at least one point Q X \ P 0 such that the line segment P 0 Q ¯ is contained in X. Indeed, this is the most general case in which a linear operator can linearize a function at a point (at least on a line segment to which this point belongs). The linearization space is then a one-dimensional vector subspace of R n which is also the smallest vector subspace on which it is interesting to consider and specify a linear operator.
In the history of modern mathematics one can find some other issues or (overlooked) problems of mathematical analysis like this one [8], where we take for granted some traditional approaches, common requirements and (sometimes wrong) conclusions. Concerning differentiability, one can find in the literature some generalizations of differentiability (derivability) such as the fractional derivative [9] or the derivative at the endpoints of a segment [5]. In this paper, we provide a natural generalization of differentiability of a function by defining it at some non-interior points of the domain of function. These points include not only the boundary points of the domain, but also all points in which the notion of differentiability and linearization is meaningful. For this generalized case, a corresponding calculus (techniques of differentiation) is also provided.

2. Preliminaries

In this paper we use the notation for the Euclidean scalar product on R n , the notation   for the Euclidean norm and the notation d for the Euclidean metric. We use the notation O for the point ( 0 , , 0 ) R n or we simply write 0 R n .
Let Ω R n be an open set, f : Ω R m a function, and P 0 = x 1 0 , , x n 0 an arbitrary point in Ω . To approximate the function f on the open ball B P 0 , r Ω , r > 0 , at the point P 0 with the special affine function α : R n R m α H = f P 0 + A H means to find a linear operator A : R n R m [10] such that f P 0 + H α H for any H B O , r R n . Geometrically interpreted, in the case of m = 1 this means that we want to replace the part of the graph of the function f at the point P 0 , f P 0 by the part of the graph of the affine function
α x 1 , , x n = f P 0 + a 1 x 1 + + a n x n , a i R , i = 1 , n ,
i.e., the part of the hyperplane in R n + 1 . The desirable property of such an approximation is that it is as accurate as possible at points closer to the point P 0 , i.e., that the error
r H : = f P 0 + H α H = f P 0 + H f P 0 A H
tends to zero as H tends to zero. However, if f is a continuous function, then the error r H always tends to zero as H tends to zero (because every linear operator acting between finite-dimensional vector spaces is continuous). This would mean that there is an adequate local replacement by the affine function of any continuous mapping, which is not the case. For example, if we consider the function f : R 2 R f x , y = x 2 + y 2 , it is easy to see that on the open ball B 0 , 0 , ε we cannot approximate this function by an affine function, i.e., we cannot replace its graph well enough by a part of the plane passing through the origin O R 3 , although this is perfectly possible on all rays starting in O. Thus, it is not only necessary that the error r H can be made arbitrarily small (because every continuous function has this property), but even more so that the relative error r H H can be made arbitrarily small, which leads us to the definition of differentiability of the function f at the point P 0 , which is as follows [3]:
Let Ω R n be an open set. A function f : Ω R m is differentiable at a point P 0 Ω if there exists a linear operator A : R n R m such that the limit
lim H 0 f P 0 + H f P 0 A H H
exists and is equal to 0 R m . We then call the linear operator A the differential of the function f at the point P 0 , it is unique and we denote it by d f ( P 0 ) .
A linear operator A is the differential of the function f at the point P 0 if and only if
f P 0 + H f P 0 = A H + r H
where r : B 0 , ε R m is the error function with the property
lim H 0 r H H = 0 and B ( P 0 , ε ) Ω .

3. Linearization of Function

Definition 1.
Let X R n be a set and P 0 X . We say that the point P 0  admits a neighborhood ray (or simply admits a nbd ray) in X if there exists H R n \ 0 such that the line segment P 0 P 0 + H ¯ is contained in X.
This notion is of particular importance to us because we will consider the linearization of a function exactly at points in a domain that admit at least one nbd ray in the domain (and not, as before, only at points from its interior).
Example 1.
(a
No point of a sphere admits a nbd ray in it.
(b
Every point of a non-trivial convex set admits a nbd ray in that set.
Since every line segment is a convex set and every nontrivial convex set contains the line segment between any two of its points, a point P 0 X R n admits a nbd ray in X if and only if there exists a nontrivial convex set K R n such that P 0 K X .
Definition 2.
Let X R n and P 0 X be a point admitting nbd ray in X. The set
Δ X , P 0 : = H R n \ 0 P 0 P 0 + H ¯ X
is called the set of linear contributions at   P 0  in  X, and its linear hull [10]
Σ X , P 0 : = Δ X , P 0
 is said to be the linearization space at  P 0  with respect to  X.
For a function f : X R m and a point P 0 X we say that Σ X , P 0 is the linearization space of the function  f at the point   P 0 .
Example 2.
(a
Let the points P , Q , R R n be in general position, i.e., let them be the three non-collinear points. Then it holds
Δ P Q ¯ , P = t Q P t 0 , 1 and Σ P Q ¯ , P = t Q P t R ,
Δ P Q ¯ P R ¯ , P = O Q P ¯ O R P ¯ \ O and Σ P Q ¯ P R ¯ , P = α Q P + β R P α , β R .
(b
Let D = P R n P P 0 r and Q D . Then it holds
Δ D , Q = P Q P D \ Q a n d
Σ D , Q = R n .
Let us now generalize the notion of differentiability of a function to points admitting nbd ray in the domain. This will allow us to consider differentiability at points where this was not possible so far.
Definition 3.
Let X R n and P 0 X be a point admitting nbd ray in X. We say that a function f : X R m is differentiable at   P 0 if there exists a linear operator A : R n R m such that the limit
lim H 0 H Δ X , P 0 f P 0 + H f P 0 A H H
exists and is equal to 0 R m . If such a linear operator exists, we call it the differential of the function  f at the point P 0 .
The function f is differentiable on  X if f is differentiable at every point of X.
Notice that if a point P 0 X admits nbd ray in X , then P 0 is an accumulation point of the set X and then 0 R n is an accumulation point of the set Δ X , P 0 . Indeed, if P 0 P 0 + H ¯ X then every nbd of P 0 contains some points of the line segment P 0 P 0 + H ¯ X and consequently every nbd of 0 intersects Δ X , P 0 . Therefore, the limit from the previous definition makes sense to consider. Furthermore, the natural domain D R n of the function
H f P 0 + H f P 0 A H H
could be in general a superset of Δ X , P 0 , so it is necessary to emphasize that the limit (2) is considered only on the set Δ X , P 0 (this is the limit of the restriction of the function (3) to the set Δ X , P 0 at 0). Otherwise, the values of the above function at points that do not belong to Δ X , P 0 but are in D and near 0 may affect the existence of the limit of the function (3) at 0, which we do not want to allow. But, if P 0 Int X then it holds
lim H 0 H Δ X , P 0 f P 0 + H f P 0 A H H = lim H 0 f P 0 + H f P 0 A H H ,
which is a consequence of the following theorem:
Theorem 1.
Let f : X R m , X R n , Y X and P 0 be an accumulation point of the set Y . Let U be an open neighborhood of the point P 0 in R n such that U \ P 0 X Y . If the restriction f | Y : Y R m has the limit at the point P 0 , then f has the limit at P 0 and they are equal, i.e., lim P 0 ( f | Y ) = lim P 0 f .
Proof. 
Let Q 0 : = lim P 0 ( f | Y ) and let B Q 0 , ε be an open ball in R m . Then there exists an open neighborhood V of P 0 in R n such that V U and f | Y V Y \ P 0 B Q 0 , ε . Hence,
f V X \ P 0   = f V Y \ P 0   = f | Y V Y \ P 0 B Q 0 , ε
which implies that lim P 0 f = Q 0 .  □
Therefore, in the above definition of differentiability of a function at a point, we can omit the notation of the restriction in the limit if this point belongs to the interior of the domain. In this case, the above definition coincides with the previously known definition of this notion. Thus, the Definition 3 is a natural generalization of the notion of differentiability and this generalization brings many advantages and solves many contentious issues and problems (e.g., at the boundary points of a domain…), which we will explain hereinafter with several various examples.
From the definition of differentiability, it follows that the linear operator A : R n R m is the differential of a function f : X R m at a point P 0 X R n if and only if
f P 0 + H f P 0 = A H + r H ,
where r : Δ X , P 0 R m is the error function with the property lim H 0 r H H = 0 . Notice that the above equation makes sense only on Δ X , P 0 , i.e., only for a sufficiently small neighborhood U of the point 0 R n [2] we can write
f P 0 + H f P 0 A H
for H U Δ X , P 0 . Likewise, the linear operator A, although defined on R n , has its true meaning from the point of view of approximating the function f only on the linearization space Σ X , P 0 R n .
It is important to notice that the differential of a function at a point need not be unique (which could not be the case so far). Indeed, if the linearization space Σ X , P 0 is a proper subset of R n and if there exists a differential A : R n R m of the function f at P 0 , then every linear operator B : R n R m that coincides with A on the subspace Σ X , P 0 (and there are infinitely many of them) is the differential of the function f at P 0 because it satisfies the conditions of the definition of differentiability. Let us formalize this consideration by the following statement:
Proposition 1.
Let f : X R m , X R n and P 0 X be a point admitting a nbd ray in X. If the function f is differentiable at  P 0 and A : R n R m is the differential of the function f at the point P 0 then every linear operator B : R n R m which agrees with A on the vector space Σ X , P 0 is also the differential of the function f at the point P 0 .
Proof. 
Using equality
A | Σ X , P 0 = B | Σ X , P 0
it is easy to check that
lim H 0 H Δ X , P 0 f P 0 + H f P 0 A H H = 0 = lim H 0 H Δ X , P 0 f P 0 + H f P 0 B H H
holds. □
Now, we will show that all differentials of f at P 0 are equal on the linearization space Σ X , P 0 .
Theorem 2.
Let f : X R m , X R n and P 0 X be a point admitting a nbd ray in X. If the differential of the function f exists at the point P 0  then it is unique on the vector space Σ X , P 0 .
Proof. 
Suppose that A , B : R n R m are two linear operators for which
lim H 0 H Δ X , P 0 f P 0 + H f P 0 A H H = 0 = lim H 0 H Δ X , P 0 f P 0 + H f P 0 B H H .
Then it holds
lim H 0 H Δ X , P 0 B H A H H = 0 .
Every vector H Σ X , P 0 can be written as a linear combination of vectors from Δ X , P 0 . Therefore, A | Σ X , P 0 = B | Σ X , P 0 if and only if A H = B H for every H Δ X , P 0 . If H Δ X , P 0 then t H Δ X , P 0 for every t 0 , 1 and
lim t 0 + B t H A t H t H = 0 ,
so it follows
0 = lim t 0 + B A t H t H = lim t 0 + t B A H t H = B A H H .
Therefore, A H = B H for every H Δ X , P 0 and it holds
A | Σ X , P 0 = B | Σ X , P 0 .
Remark 1.
One might think that the cases where the linearization space Σ X , P 0 is a proper subset of R n and the differential of the function f exists at the point P 0 cause certain difficulties because the differential is not unique, but it is unique where it should be, i.e., on the linearization space Σ X , P 0 . According to the previous theorem, all differentials of the function f at the point P 0 coincide in the space Σ X , P 0 and this is the only thing that is important for us because only in this space we can use the differential to approximate the function f at the point P 0 .
Corollary 1.
Let f : X R m , X R n , P 0 X be a point admitting nbd ray in X and Σ X , P 0 = R n . If the differential of the function f exists at the point P 0 , then it is unique.
Proof. 
This follows from Theorem 2 and Proposition 1. □
If the differential of a function f : X R m , X R n , exists at a point P 0 X and is unique, we denote it by d f P 0 .
If f : R n R m is a linear operator then f is differentiable on R n and d f ( P ) = f at any point P R n . In particular, the projection map p i : R n R , i = 1 , , n , is a linear operator and d p i P = p i for every P R n . Usually d p i P is denoted by d x i .
An affine mapping f : R n R m f P = P 0 + A P , where P 0 R m and A : R n R m is a linear operator, is differentiable on R n and d f ( P ) = A for every point P R n .
Example 3.
Let H = 1 , 0 R 2 and f : O H ¯ R f x , y = 3 x . Since f is the restriction of the linear operator A : R 2 R   A x , y = 3 x on the convex set O H ¯ , f is differentiable at any point of the domain and the differential at any point is equal to A. The linearization space of the function f at any point of the domain is Σ = R × 0 and since it is a 1-dimensional subspace of R 2 , the differential of f is not unique. Moreover, all linear operators R 2 R , represented by a matrix 3 p , p R , are all its different differentials. However, according to the previous theorem, the restriction of all these differentials on Σ is the same.
Notice that according to the traditional definition of differentiability, this function would not be differentiable at any point in its domain. On the other hand, the function f is perfectly linearized since its graph is O T ¯ R 3 , T = 1 , 0 , 3 , and it would be incorrect to say that it cannot be linearized (since its graph is perfectly linearized by the part of the line O T ). However, since for functions whose domain is a subset of R 2 the graph is linearized by part of the plane, we can do that in infinitely many ways, since the entire pencil of planes passes through the line O T , so its linearization is not unique. However, if we take the set O H ¯ O H 1 ¯ , H 1 = 0 , 1 R 2 for the domain of the function f, then Σ O H ¯ O H 1 ¯ , O = R 2 , and by the previous theorem the differential of the function f at O R 2 is unique, i.e., its linearization is the part of the unique plane passing through the line O T and O T 1 , T 1 = 0 , 1 , 0 , O R 3 (the graph of the function f is the set O T ¯ O T 1 ¯ , which is a part of this plane).
Corollary 2.
Let f : X R m , X R and x 0 X be a point admitting nbd ray in X. If a differential of the function f exists at the point x 0 , then it is unique.
Proof. 
Since Σ X , x 0 = R , the statement follows from the previous corollary. □
Example 4.
Let us consider the function f : D R f x = y x 3 , D = x , y R 2 y x 3 from the introduction. Since for 0 , 0 R 2 it holds
Δ D , 0 , 0 = x , y R 2 x 0 , y 0 x , y R 2 y x 3 , x > 0 \ 0 , 0
and
lim h 1 , h 2 0 , 0 h 1 , h 2 Δ D , 0 , 0 h 2 h 1 3 0 O h 1 , h 2 h 1 , h 2 = 0 ,
where O : R 2 R denotes the zero operator, f is differentiable at the point 0 . Moreover, it follows from Σ D , 0 = R 2 that the zero operator is the unique differential of f at the point 0 , 0 , i.e., d f 0 , 0 = 0 .
Definition 4.
Let  P 0 X R n  and  V R n \ 0 . We say that a point  P 0  admits a neighborhood ray in X in the direction of V if there exists λ 0 R + such that P 0 P 0 + λ 0 V ¯ X .
Proposition 2.
Let Ω R n be an open set. Every point P 0 Ω admits a nbd ray in Ω in the direction of all vectors H R n \ 0 and Σ Ω , P 0 = R n .
Proof. 
Let P 0 Ω and let H R n \ 0 be arbitrary. Since Ω is open, there exists a ball B P 0 , r Ω , and since a ball is a convex set, P 0 P 0 + r 2 H H ¯ B P 0 , r holds. Therefore, P 0 admits nbd ray in B P 0 , r in the direction of H and then admits it in Ω . Furthermore, from Δ B P 0 , r , P 0 Δ Ω , P 0 it follows that
Σ B P 0 , r , P 0 Σ Ω , P 0
and r 2 H H Δ B P 0 , r , P 0 implies H Σ B P 0 , r , P 0 for every H R n \ 0 . So,
Σ B P 0 , r , P 0 = R n
and then Σ Ω , P 0 = R n .  □
Corollary 3.
If Ω R n is an open set and f : Ω R m is differentiable at a point P 0 Ω , then the differential of the function f at the point P is unique.
Proof. 
This follows from the previous proposition and corollary 1. □
Remark 2.
We have already mentioned that the new definition of differentiability (Definition 3) coincides with the well-known definition of this notion when the domain of a function is an open set. It follows that in this particular case all previously known properties of differentials hold, including the property of uniqueness. However, the new theory induced by the extended definition of differentiability provides the proof of the uniqueness of the differential of an open domain function without relying on prior general knowledge of it.
Proposition 3.
Let f : X R m , X R n , Y X and P 0 Y be a point admitting nbd ray in Y. If f is differentiable at P 0 then f | Y is differentiable at P 0 and the differentials of the functions f and f | Y at P 0 coincide on Σ Y , P 0 .
Proof. 
Since the function f is differentiable at P 0 , there exists a linear operator A : R n R m such that lim H 0 H Δ X , P 0 f P 0 + H f P 0 A H H = 0 . Now, Δ Y , P 0 Δ X , P 0 implies
0 = lim H 0 H Δ Y , P 0 f P 0 + H f P 0 A H H = lim H 0 H Δ Y , P 0 f | Y P 0 + H     f | Y P 0 A H H
from which it follows that the function f | Y is differentiable at P 0 and that the linear operator A is its differential at P 0 . Now, by the Theorem 2, we conclude that every other differential at P 0 coincides with A on Σ Y , P 0 . □
The converse does not hold, i.e., if the restriction of a function f : X R m , X R n , to a subset Y X is differentiable at a point P 0 Y , then in general the function f need not be differentiable at that point. This will be shown by the following counterexample. But we will prove that if Y is open in X , then differentiability on Y implies differentiability on X.
Example 5.
Let f : R 2 R   f x , y = x 2 + y 2 . Let us consider the restrictions of the function f to sets
X 1 = 0 , y y 0 , and X 2 = 0 , y y , 0 .
For functions
f 1 : = f | X 1 f 1 0 , y = y and f 2 : = f | X 2 f 2 0 , y = y ,
the linearization space at each point in their domains is Σ = 0 , y y R . The function f 1 is the restriction of the linear operator p 2 to the convex set X 1 , so p 2 is the differential of the function f 1 at any point in X 1 (not unique because the dimension of Σ is less than 2 , but they all coincide on Σ). Similarly, the differential of the function f 2 at every point in X 2 is p 2 . If the function f were differentiable at the point 0 R 2 , then, by Proposition 3 and Theorem 2, the differentials of the functions f 1 and f 2 at the point 0 would coincide on Σ which is obviously not the case.
Theorem 3.
Let f : X R m , X R n , P 0 X and U be a neighborhood of the point P 0 in R n . If P 0 admits a nbd ray in U X and if f | U X is differentiable at P 0 then f is also differentiable at P 0 .
Proof. 
Since U is a neighborhood of the point P 0 in R n , there exists r R + such that B P 0 , r U and then B P 0 , r X U X . Therefore, B 0 , r Δ X , P 0 Δ U X , P 0 . Due to differentiability of the function f | U X , there exists a linear operator A : R n R m such that
0 = lim H 0 H Δ U X , P 0 f | U X P 0 + H     f | U X P 0 A H H = lim H 0 H Δ U X , P 0 f P 0 + H f P 0 A H H .
Since Δ U X , P 0 Δ X , P 0 and B 0 , r Δ X , P 0 Δ X , P 0 , by Theorem 1, it follows
lim H 0 H Δ X , P 0 f P 0 + H f P 0 A H H = 0 ,
which implies that f is differentiable at P 0 .  □
The following statement follows from the previous theorem.
Corollary 4.
Let f : X R m , X R n , Ω X be an open set in R n and P 0 Ω . If f | Ω is differentiable at P 0 then f is also differentiable at P 0 and d f P 0   = d f | Ω P 0 .
We will show now that differentiability does not imply continuity in general (which cannot be the case for a function with an open domain).
Example 6.
Let P n = 0 , 1 n ,   Q n = 1 , 1 n R 2 , n N , and
X = n N P n Q n ¯ 0 , 0 1 , 0 ¯ R 2 .
Let us consider the function f : X R
f P = n , P P n Q n ¯ 0 , P 0 , 0 1 , 0 ¯ .
For the point O = ( 0 , 0 ) X it holds
Δ X , O = 0 , 1 × 0 and Σ X , O = R × 0 .
The function f is differentiable at the point O (it is differentiable at every point of its domain and the zero operator is one of its differentials), but f is discontinuous at all points of the line segment 0 , 0 1 , 0 ¯ , so it is discontinuous at O.
In this example, the dimension of the linearization space Σ X , O is less than the dimension of the whole space R 2 . However, even if the dimension of a linearization space is equal to the dimension of the whole space R n , a function need not be continuous. This is shown by the following counterexample.
Example 7.
Let S 1 R 2 be the 1-sphere and P 0 , Q , R S 1 three distinct points on it. Consider the union of two circular arcs and their corresponding chords X = P 0 Q ^ P 0 R ^ P 0 Q ¯ P 0 R ¯ . The function f : X R
f x , y = 0 , x , y P 0 Q ¯ P 0 R ¯ 1 , x , y P 0 Q ^ P 0 R ^ \ Q , R , P 0
is differentiable at P 0 . Namely, Δ X , P 0 = O Q P 0 ¯ O R P 0 ¯ \ O and
lim H 0 H Δ X , P 0 f P 0 + H f P 0 H = 0 .
Since  Σ X , P 0 = R 2 , the differential is unique and d f P 0 is the zero operator. But the function f is discontinuous at P 0 because lim P P 0 P P 0 Q ¯ P 0 R ¯ f P = 0 and lim P P 0 P P 0 Q ^ P 0 R ^ f P = 1 hold.
To ensure that differentiability of a function at a point implies continuity at that point, we need an additional condition, which is introduced in the following definition.
Definition 5.
Let X R n and P 0 X be a point admitting nbd ray in X. A neighborhood U of the point P 0 in X is said to be raylike neighborhood of the point   P 0  in  X provided P 0 P ¯ U holds for every P U . If there exists at least one raylike nbd in X of the point P 0 , we say that the point P 0  admits raylike nbd in  X.
It is easy to see that every point of a non-trivial convex set admits raylike nbd in that set, and then every point of the open set Ω R n admits raylike nbd in Ω .
Theorem 4.
Let a point P 0 X R n admits raylike nbd in X. If f : X R m is differentiable at P 0 then it is also continuous at P 0 .
Proof. 
Let U be a raylike nbd of the point P 0 in X. Then U P 0 = P P 0 : P U is a neighborhood of the point O R n in Δ X , P 0 O . To prove that f is continuous at P 0 it suffices to prove that f | U is continuous at P 0 , i.e., that lim H 0 H U P 0 f P 0 + H = f P 0 . By the assumed differentiability, there exists a linear operator A : R n R m such that
f P 0 + H f P 0 = A H + r H
where r : Δ X , P 0 R m is an error function with the property lim H 0 r H H = 0 . Then lim H 0 r H = 0 . Since U P 0 Δ X , P 0 0 ,
lim H 0 H U P 0 r H = lim H 0 r H = 0 .
Every linear operator operating between finite dimensional vectorial spaces is continuous, therefore
0 = A 0 = lim H 0 A H = lim H 0 H U P 0 A H .
Hence, by (4), it follows
lim H 0 H U P 0 f P 0 + H = f P 0 .
Obviously, if Ω R n is an open set, f : Ω R m , P 0 Ω and f is differentiable at P 0 , then f is also continuous at P 0 . Thus, if the domain of a function is an open set, differentiability implies continuity. The same is true for any convex domain.

4. Partial and Directional Derivatives

Definition 6.
Let X R n , n 2 , V R n \ 0 and P 0 X be a point admitting nbd ray in X in the direction of the vector V. The set
Δ V X , P 0 : = t V t R Δ X , P 0
is called the set of linear contributions at P 0  in the direction of  V into  X.
Let us denote
h 1 : = inf t R t V Δ X , P 0 , h 2 : = sup t R t V Δ X , P 0 ,
where h 1 = ( h 2 = ) , provided the set t R t V Δ X , P 0 is not bounded from below (above). Let X V , P 0 denotes the largest convex subset of the set X P 0 P 0 + V containing the point P 0 ( P 0 P 0 + V denotes the line passing through the points P 0 and P 0 + V ). If h 1 , h 2 R then X V , P 0 = X P 0 + h 1 V P 0 + h 2 V ¯ (it is the line segment with or without boundary points), otherwise X V , P 0 is the half-line or the line P 0 P 0 + V .
Definition 7.
Let a point P 0 X R n admit nbd ray in X in the direction of V R n \ 0 . We say that a function f : X R has the derivative at P 0  in the direction of  V if there exists
lim h 0 h V Δ V X , P 0 f P 0 + h V f P 0 h .
This limit, if it exists, is denoted by V f ( P 0 ) and is called the derivative of  f at P 0  in the direction of  V .
The derivative at P 0 in the direction of e i ( e i is the i-th basis vector of the standard ordered basis for R n ) is called i-th partial derivative of  f at P 0  and is denoted by i f ( P 0 ) .
Notice that, for P 0 = x 1 0 , , x n 0 ,
i f ( P 0 ) = lim h 0 h h 1 , h 2 \ 0 f x 1 0 , , x i 1 0 , x i 0 + h , x i + 1 0 , , x n 0 f x 1 0 , , x i 0 , , x n 0 h
holds. If h 1 < 0 , by Theorem 1, it follows
i f ( P 0 ) = lim h 0 f x 1 0 , , x i 1 0 , x i 0 + h , x i + 1 0 , , x n 0 f x 1 0 , , x i 0 , , x n 0 h .
Theorem 5.
Let f : X R , X R n , V R n \ 0 and P 0 X be a point admitting nbd ray in X in the direction of V. The function f has the derivative at P 0 in the direction of V if and only if its restriction f | X V , P 0 is differentiable at P 0 . The value of each differential of the function f | X V , P 0 at P 0 , at V is V f ( P 0 ) .
Proof. 
Suppose f has the derivative at P 0 in the direction of V . If V , v 1 , , v n 1 is some basis for R n , then any linear operator A : R n R , given by
A V = V f ( P 0 ) , A v i = a i
for some real numbers a i , i = 1 , , n 1 , is a differential of the function f | X V , P 0 . Namely,
lim h 0 + h h 1 , h 2 \ 0 f | X V , P 0 P 0 + h V     f | X V , P 0 P 0 h V f ( P 0 ) h
= lim h 0 + h h 1 , h 2 \ 0 f P 0 + h V f P 0 V f ( P 0 ) h h =
lim h 0 + h h 1 , h 2 \ 0 f P 0 + h V f P 0 h V f ( P 0 ) =
lim h 0 h h 1 , h 2 \ 0 f P 0 + h V f P 0 h V f ( P 0 ) = 0 .
Similarly,
lim h 0 h h 1 , h 2 \ 0 f | X V , P 0 P 0 + h V     f | X V , P 0 P 0 h V f ( P 0 ) h = 0
which implies
lim h 0 h h 1 , h 2 \ 0 f | X V , P 0 P 0 + h V     f | X V , P 0 P 0 h V f ( P 0 ) h = 0 .
Therefore,
lim H 0 H Δ V X , P 0 f | X V , P 0 P 0 + H     f | X V , P 0 P 0 A H H =
= lim h 0 h h 1 , h 2 \ 0 f | X V , P 0 P 0 + h V     f | X V , P 0 P 0 A ( h V ) h V =
1 V lim h 0 h h 1 , h 2 \ 0 f | X V , P 0 P 0 + h V     f | X V , P 0 P 0 h V f ( P 0 ) h = 0 .
Hence, f | X V , P 0 is differentiable at the point P 0 .
Now assume that f | X V , P 0 is differentiable at the point P 0 , i.e., that there exists a linear operator A : R n R such that
lim H 0 H Δ V X , P 0 f | X V , P 0 P 0 + H     f | X V , P 0 P 0 A H H = 0 .
Then
0 = lim h 0 h h 1 , h 2 \ 0 f | X V , P 0 P 0 + h V     f | X V , P 0 P 0 h A ( V ) h V
from which follows
A V = lim h 0 h h 1 , h 2 \ 0 f | X V , P 0 P 0 + h V     f | X V , P 0 P 0 h = lim h 0 h h 1 , h 2 \ 0 f P 0 + h V f P 0 h = V f P 0 .
Thus, f has the derivative at P 0 in the direction of V and it is equal to A V . □
Corollary 5.
Let f : X R , X R n , V R n \ 0 and P 0 X be a point admitting nbd ray in X in the direction of V and let f be differentiable at P 0 . Then f has the derivative at P 0 in the direction of V and the value of each differential of the function f at P 0 , at V is equal to V f ( P 0 ) . If Σ X , P 0 = R n then V f ( P 0 ) = d f P 0 V .
Proof. 
The statement follows from the previous theorem and Proposition 3. □
The converse of this corollary does not hold, i.e., a function f at a point P 0 can have directional derivatives and need not be differentiable at P 0 , as shown in the following example.
Example 8.
The function
f : R 2 R f ( x , y ) = x y x 2 + y 2 , x , y 0 , 0 0 , x , y = 0 , 0
has both partial derivatives at the point 0 , 0 but f is not continuous at this point, so by Theorem 4 f is not differentiable at 0 , 0 . It is interesting to note that this function has the derivative at the point 0 , 0 in the direction of any V = v 1 , v 2 R 2 \ 0 , and
V f ( 0 , 0 ) = lim h 0 h v 1 h v 2 h 2 v 1 2 + h 2 v 2 2 = v 1 v 2 v 1 2 + v 2 2 .

5. Differentiable Functions

5.1. Properties of Differentials

We will now prove the following important results which hold for differentiable functions.
Proposition 4.
Let X R n , P 0 X be a point admitting nbd ray in X, f , g : X R m be differentiable functions at P 0 , and A , B : R n R m be differentials of the functions f and g at P 0 , respectively. Then the function λ f + μ g : X R m is differentiable at P 0 for any λ , μ R and λ A + μ B is its differential at P 0 .
Proof. 
By the differentiability of the functions f and g at P 0 it holds
f P 0 + H f P 0 = A H + r 1 H
and
g P 0 + H g P 0 = B H + r 2 H ,
for every H Δ X , P 0 R n , where r 1 , r 2 : Δ X , P 0 R m are the functions with the property
lim H 0 r 1 H H = 0 = lim H 0 r 2 H H .
Now, it follows
λ f + μ g P 0 + H λ f + μ g P 0 = λ f P 0 + H f P 0 + μ g P 0 + H g P 0
= λ A H + r 1 H + μ B H + r 2 H =
= λ A H + μ B H + λ r 1 H + μ r 2 H =
= λ A + μ B H + λ r 1 H + μ r 2 H ,
for every H Δ X , P 0 . Since for the function r H = λ r 1 H + μ r 2 H it holds lim H 0 r H H = 0 , the function λ f + μ g is differentiable at P 0 and the linear operator λ A + μ B is its differential at this point. □
Proposition 5.
Let X R n , P 0 X be a point admitting nbd ray in X, α : X R and f : X R m be differentiable functions at P 0 , and A : R n R and B : R n R m be differentials of the functions α and f at P 0 , respectively. Then the function α · f : X R m α · f P = α P f P is differentiable at P 0 and α P 0 B + f P 0 A : R n R m α P 0 B + f P 0 A H = α P 0 B H + A H f P 0 is its differential at P 0 .
Proof. 
By the differentiability of the functions α and f at P 0 , it holds
α P 0 + H α P 0 = A H + r 1 H
and
f P 0 + H f P 0 = B H + r 2 H ,
for every H Δ X , P 0 R n , where r 1 : Δ X , P 0 R and r 2 : Δ X , P 0 R m are the functions with the properties
lim H 0 r 1 H H = 0 and lim H 0 r 2 H H = 0 .
Hence lim H 0 r 1 H = 0 and lim H 0 r 2 H = 0 . Now we infer that
α · f P 0 + H α · f P 0 = α P 0 B H + f P 0 A H   +
α P 0 r 2 H + r 1 H f P 0 + A H + r 1 H B H + r 2 H ,
holds, for every H Δ X , P 0 . Therefore, it is sufficient to prove that lim H 0 r H H = 0 for the function r : Δ X , P 0 R m
r H = α P 0 r 2 H + r 1 H f P 0 + A H + r 1 H B H + r 2 H .
From the properties of the functions r 1 and r 2 it follows that
lim H 0 α P 0 r 2 H H = 0 = lim H 0 r 1 H f P 0 H .
Furthermore, by the boundedness of a linear operator, there exists λ > 0 such that A H λ H , for every H R n [11,12]. Therefore, since the linear operator is continuos and its value at zero is equal to zero, by the properties of the errors functions r 1 and r 2 , it follows
0 lim H 0 A H + r 1 H B H + r 2 H H = lim H 0 A H H + r 1 H H B H + r 2 H lim H 0 λ + r 1 H H B H + r 2 H = 0 .
This implies
lim H 0 A H + r 1 H B H + r 2 H H = 0 .
Therefore, the function α f is differentiable at P 0 and the linear operator α P 0 B + f P 0 A is its differential at this point. □
Proposition 6.
Let X R n , P 0 X be a point admitting nbd ray in X, f : X R be a differentiable function at P 0 , and A : R n R be the differential of the function f. If f is continuous at P 0 and f ( P 0 ) 0 , then the function 1 f is differentiable at P 0 and 1 f P 0 2 A : R n R is its differential at P 0 .
Proof. 
By the continuity of the function f at P 0 , there exists an open neighborhood O of the point P 0 in X such that f P 0 for every P O . Since O = U X for some neighborhood U of P 0 in R n , it suffices to prove that the restriction function 1 f | O is differentiable at P 0 (Theorem 3). By the assumption,
f P 0 + H f P 0 = A H + r H
holds for every H Δ O , P 0 R n , where r : Δ O , P 0 R is the function with the property
lim H 0 r H H = 0 .
It follows
1 f P 0 + H 1 f P 0 = f P 0 + H f P 0 f P 0 f P 0 + H = A H + r H f P 0 f P 0 + H =
= A H f P 0 2 + A H f P 0 + H f P 0 f P 0 r H f P 0 2 f P 0 + H ,
for every H Δ O , P 0 . Thus, it is sufficient to prove the equality lim H 0 r 1 H H = 0 for the function r 1 : Δ O , P 0 R
r 1 H = A H f P 0 + H f P 0 f P 0 r H f P 0 2 f P 0 + H .
Notice that
lim H 0 r H H f P 0 f P 0 2 f P 0 + H = 0
holds. By the boundedness of a linear operator, there exists λ > 0 such that A H λ H , for every H R n [11,12]. It implies
0 A H f P 0 + H f P 0 H f P 0 2 f P 0 + H λ f P 0 + H f P 0 f P 0 2 f P 0 + H .
Since f is continuous at P 0 it holds
lim H 0 f P 0 + H f P 0 f P 0 2 f P 0 + H = 0 .
Now, we infer
lim H 0 A H f P 0 + H f P 0 H f P 0 2 f P 0 + H = 0
and finally
lim H 0 A H f P 0 + H f P 0 H f P 0 2 f P 0 + H = 0 .
This proves that the function A f P 0 2 is the differential of the function 1 f at the point P 0 . □
Corollary 6.
Let X R n , P 0 X be a point admitting nbd ray in X, α : X R and f : X R m be differentiable functions at P 0 , and A : R n R and B : R n R m be differentials of the functions α and f at P 0 , respectively. If α is continuous at P 0 and α ( P 0 ) 0 , then the function 1 α f is differentiable at P 0 and
α P 0 B f P 0 A α P 0 2 : R n R m
Proof. 
This follows from the two previous propositions. □
Let us now prove that the composition of differentiable functions is differentiable.
Theorem 6.
Let X R n , Y R m , f : X R m , f ( X ) Y , and g : Y R p . Let P 0 X be a point admitting raylike nbd in X, and let Q 0 = f P 0 be the point admitting raylike nbd in Y. If f is differentiable at P 0 and g is differentiable at Q 0 , then the composition g f : X R p is differentiable at P 0 and B A is its differential at the point P 0 , where A : R n R m and B : R m R p are differentials at the points P 0 and Q 0 of the functions f and g, respectively.
Proof. 
Since f is differentiable at the point P 0 , there exists a linear operator A : R n R m such that
f P f P 0 = A P P 0 + r 1 P P 0
for each P X such that P P 0 Δ X , P 0 , and for each r 1 : Δ X , P 0 R m such that
lim H 0 r 1 H H = lim P P 0 r 1 P P 0 P P 0 = 0 .
Similarly, there exists a linear operator B : R m R p such that
g Q g Q 0 = B Q Q 0 + r 2 Q Q 0
for each Q Y such that Q Q 0 Δ Y , Q 0 , and for each r 2 : Δ Y , Q 0 R p such that
lim H 0 r 2 H H = lim Q Q 0 r 2 Q Q 0 Q Q 0 = 0 .
By the assumption there exists a raylike nbd O of P 0 in X. Since O = U X for some neighborhood U of the point P 0 in R n , by Theorem 3, it suffices to prove that g f | O is differentiable at P 0 . Now,
g f P g f P 0 = B f P f P 0 + r 2 f P f P 0 = B A P P 0 + r 1 P P 0 + r 2 f P f P 0 = B A P P 0 + B r 1 P P 0 + r 2 f P f P 0
for every P O . Therefore, we have to prove that
lim H 0 r H H = lim P P 0 r P P 0 P P 0 = 0
for the function r : O P 0 \ 0 R p defined by
r H = B r 1 H + r 2 f P 0 + H f P 0 .
By the continuity of a linear operator, it follows that
lim P P 0 B r 1 P P 0 P P 0 = lim P P 0 B r 1 P P 0 P P 0 = B lim P P 0 r 1 P P 0 P P 0 = B 0 = 0 .
It remains to prove
lim P P 0 r 2 f P f P 0 P P 0 = 0 .
Since a linear operator is linearly bounded [11,12], there exists λ > 0 such that
A P P 0 λ P P 0
for every P R n . Let ε > 0 . By the equality (7) we infer that there exists δ > 0 such that B Q 0 , δ Y is a raylike nbd of Q 0 in Y and
r 2 Q Q 0 ε 2 λ Q Q 0
holds for every Q B Q 0 , δ Y . Furthermore, by the condition (6) and the continuity of the function f at the point P 0 , there exists δ > 0 such that B P 0 , δ X O , f B P 0 , δ X B Q 0 , δ Y and
r 1 P P 0 P P 0 < λ
for every P B P 0 , δ \ P 0 X . Hence,
d r 2 f P f P 0 P P 0 , 0 = r 2 f P f P 0 P P 0
ε 2 λ f P f P 0 P P 0 ε 2 λ A P P 0 + r 1 P P 0 P P 0 ε 2 λ λ + λ = ε
for every P B P 0 , δ \ P 0 X . Thus we have proved (8). □
Corollary 7.
Let Ω 1 R n and Ω 2 R m be open sets, and f : Ω 1 R m and g : Ω 2 R p such that f ( Ω 1 ) Ω 2 . If f is differentiable at P 0 Ω 1 and g is differentiable at f ( P 0 ) Ω 2 , then the composition g f : Ω 1 R p is differentiable at P 0 and d ( g f ) ( P 0 ) = d g ( f ( P 0 ) ) d f ( P 0 ) .
Proof. 
Since every point of an open set admits raylike nbd in that set, the statement follows from the previous theorem, the Proposition 2 and the Corollary 1. □
Proposition 7.
Let X R n , Y R m and f : X Y be a bijection. Let the points P 0 X and Q 0 = f P 0 Y admit a raylike nbd in X and Y, respectively, and let Σ X , P 0 = R n and Σ Y , Q 0 = R m . If the function f is differentiable at P 0 and if its inverse f 1 : Y X is differentiable at Q 0 Y , then m = n , the differential d f ( P 0 ) : R n R n is a regular operator and d f 1 ( Q 0 ) = ( d f ( P 0 ) ) 1 .
Proof. 
Since f 1 f = 1 X and f f 1 = 1 Y , by the previous theorem, it follows that
d f 1 Q 0 d f P 0 = d 1 X P 0 and d f P 0 d f 1 Q 0 = d 1 Y Q 0 .
Furthermore, an identity is a linear operator, so that the differentials of all restrictions of the identity are equal to that identity. Now from
d f 1 Q 0 d f P 0 = 1 R n and d f P 0 d f 1 Q 0 = 1 R m
it follows that the linear operators d f P 0 : R n R m and d f 1 ( Q 0 ) : R m R n are bijections, i.e., isomorphisms, so that n = m [10]. Then d f 1 ( Q 0 ) = ( d f ( P 0 ) ) 1 . □

5.2. Differentiability of Real Functions of One Variable

Let f : X R , X R , and x 0 X be a point admitting nbd ray in X. Then Σ X , x 0 = R , and if f is differentiable at x 0 , then the differential of f at x 0 is unique and
lim h 0 h Δ X , x 0 f x 0 + h f x 0 d f x 0 h h = 0 .
Moreover, since d f x 0 is a linear operator, there exists a unique a R such that
lim h 0 h Δ X , x 0 f x 0 + h f x 0 a h h = 0 .
Therefore, it follows that
a = lim h 0 h Δ X , x 0 f x 0 + h f x 0 h .
This limit is denoted by f x 0 and is called the derivative of the function f at the point x 0 .
In general, if f x 0 exists for a function f : X R , X R , at a point x 0 X , then the function f is said to be derivable at x 0 . If the function f is derivable at every point of X, then we say that f is derivable. If X is an open set then
f x 0 = lim h 0 f x 0 + h f x 0 h .
Notice that differentiability of the function f at x 0 implies derivability and
d f x 0 h = f x 0 h .
Also, derivability of the function f at x 0 (existence of the number f x 0 ) implies differentiability at x 0 , i.e., it holds following theorem:
Theorem 7.
Let f : X R and x 0 X R be a point admitting nbd ray in X . The function f is differentiable at x 0 if and only if it is derivable at x 0 .
Generalizing the notion of derivability (differentiability) of a real function of a real variable to points admitting an nbd ray in the domain of this function and not belonging to the interior of this domain allows the phenomenon of derivable (differentiable) but discontinuous functions at a given point, as shown in the following example.
Example 9.
Let X = n N 1 2 n , 1 2 n + 1 0 , 1 and f : X R be the function defined by
f x = n , x 1 2 n , 1 2 n + 1 0 , x 0 , 1 .
The function f is derivable (differentiable) at every point of its domain X, and f x = 0 for every x X , but f is discontinuous at 0.
However, if a point x 0 X R of a function f : X R admits raylike nbd in X and if f is derivable at x 0 , then f is continuous at x 0 , which follows from Theorem 4 and the previous theorem.
Let us now consider the question of the tangent to the graph of a function f : X R , X R . Since the number f x 0 + h f x 0 h is the slope of the secant passing through the points x 0 , f x 0 and x 0 + h , f x 0 + h , the number lim h 0 f x 0 + h f x 0 h = f x 0 , if it exists, is the slope of the tangent line (the limiting position of secant) to the graph of the function f at the point x 0 , f x 0 . Hence, we distinguish two cases:
(a
If f is derivable at the point x 0 , then f x 0 exists and we define the tangent to the graph of the function f at the point x 0 , f x 0 as the line passing through the point x 0 , f x 0 whose the slope is f x 0 , so that its equation is
y f x 0 = f x 0 x x 0 .
(b
If the function f at x 0 is not derivable, but is continuous and
lim h 0 f x 0 + h f x 0 h = or lim h 0 f x 0 + h f x 0 h = ,
then the line x = x 0 is the limiting position of the secant and we call it tangent at the point x 0 , f x 0 to the graph of the function f. For example, since lim h 0 h 3 0 h = , the line x = 0 is tangent to the graph of the function x x 3 at the point 0 , 0 .
Likewise, the line x = x 0 is called the tangent to the graph of the function f at x 0 , f x 0 provided that
lim h 0 + f x 0 + h f x 0 h = ( ) and lim h 0 f x 0 + h f x 0 h = ( ) .
Thus, for the function x x 2 3 , since lim h 0 + h 2 3 0 h = and lim h 0 h 2 3 0 h = , it follows that the line x = 0 is the tangent to the graph of this function at the point 0 , 0 .

5.3. Differentiability of Functions of Several Real Variables

Let X R n , f : X R be differentiable at a point P 0 X that admits nbd ray in X in the direction of k linearly independent vectors V 1 , , V k , k n , and let these vectors form the basis of the space Σ X , P 0 . The differential A : R n R of the function f at P 0 is uniquely determined on Σ X , P 0 (Theorem 2) by values V i f ( P 0 ) = A V i , i = 1 , , k (Corollary 5), so that, for every H Σ X , P 0 , there exist numbers h i , i = 1 , , k , such that H = h 1 V 1 + + h k V k and A H = i = 1 k V i f ( P 0 ) h i .
If k = n , then the vectors V 1 , , V n form the basis of the space Σ X , P 0 = R n , therefore, the linear operator d f P 0 is unique (Corollary 1) and is uniquely determined by the values V i f ( P 0 ) = d f P 0 V i , i = 1 , , n . For each H R n there exist numbers h i , i = 1 , , n , such that H = h 1 V 1 + + h n V n and d f P 0 H = i = 1 n V i f ( P 0 ) h i . This proves the following theorem.
Theorem 8.
Let X R n and P 0 X be a point admitting nbd ray in X in the direction of n linearly independent vectors V 1 , , V n . If f : X R is differentiable at P 0 , then f has the derivatives at P 0 in the direction of V i , , V n , and for any choice of vector H = h 1 V 1 + + h n V n R n holds
d f P 0 H = i = 1 n V i f ( P 0 ) h i .
If Ω R n is an open set and a function f : Ω R is differentiable at P 0 Ω then all of its partial derivatives at P 0 exist and
d f P 0 H = i = 1 n i f ( P 0 ) h i = grad f P 0 | H
for every H = h 1 , , h n R n .
Notice that the existence of the differential of a function f : X R , X R n , at P 0 X now no longer depends on the existence of the partial derivatives at this point (which was the case so far). If the function f is differentiable at P 0 and if the point P 0 does not admit nbd ray in the direction of e i for some i 1 , , n , but admits nbd rays in X in the direction of n linearly independent vectors V 1 , , V n , then the role of the partial derivatives of f at P 0 is taken over in the differential d f P 0 by derivatives in the direction of V 1 , , V n and d f P 0 is represented by the matrix
V 1 f ( P 0 ) V n f ( P 0 )
in the pair of ordered bases V 1 , , V n and e 1 , e 1 = 1 . The converse of the previous theorem is not true. Namely, at some point derivatives of f in the direction of all vectors in R n \ 0 can exist and the function f need not be differentiable at that point, as we have shown in the Example 8.

5.4. Differentiability of Vector Functions

The question of differentiability of a vector function f = f 1 , , f m : X R m is equivalent to the question of differentiability of its coordinate functions f i = p i f , i = 1 , , m .
Theorem 9.
Let X R n , f = f 1 , , f m : X R m , and P 0 X be a point admitting nbd ray in X . The function f is differentiable at P 0 if and only if f i is differentiable at P 0 for every i = 1 , , m . A linear operator A : R n R m is the differential of the function f at P 0 if and only if p i A : R n R is the differential of the function f i at P 0 , for i = 1 , , m .
Proof. 
The differential of the function f at P 0 is a linear operator A : R n R m with the property
f P 0 + H f P 0 = A H + r H
for every H Δ X , P 0 , where r = r 1 , , r m : Δ X , P 0 R m is the function such that lim H 0 r H H = 0 . It follows that
f i P 0 + H f i P 0 = A i H + r i H ,
for every H Δ X , P 0 , and lim H 0 r i H H = 0 , for every i { 1 , , m } , where A i denotes the i-th coordinate function p i A : R n R , which is also a linear operator as A is. Thus, the function f i : X R is differentiable at P 0 for every i = 1 , , m , i.e., the i-th coordinate function of the differential of the function f at P 0 is the differential of the i-th coordinate function f i of f.
In the same way it can be shown that the converse statement is also valid, i.e., that the differentiability of the coordinate functions f i at P 0 implies the differentiability of the function f = f 1 , , f m .  □
Corollary 8.
Let X R n and P 0 X be a point that admits nbd rays in X in the direction of n linearly independent vectors V 1 , , V n . If f = f 1 , , f m : X R m is differentiable at P 0 then there exists V i f ( P 0 ) : = ( V i f 1 ( P 0 ) , , V i f m ( P 0 ) ) R m for i = 1 , , n and
d f P 0 H = i = 1 n V i f ( P 0 ) h i , H = h 1 V 1 + + h n V n R n .
Proof. 
The statement follows from the previous theorem, Corollary 1 and Theorem 8. □
In particular, if a function f = f 1 , , f m : X R m , X R n , is differentiable at a point P 0 X and if the point P 0 admits nbd ray in X in the direction of e 1 , , e n , then the numbers j f i ( P 0 ) , i = 1 , , m , j = 1 , , n , uniquely determine the differential d f P 0 : R n R m of f at P 0 . This linear operator in the pair of standard bases is represented by the well-known Jacobi matrix. But if the point P 0 does not admit nbd ray in X in the direction of e i for some i 1 , , n , but admits nbd ray in X in the direction of n linearly independent vectors V 1 , , V n , then the role of partial derivatives of the functions f i , i = 1 , , m , at P 0 is taken over in the differential d f P 0 by derivatives in the direction of V 1 , , V n and d f P 0 is represented by the matrix
V 1 f 1 ( P 0 ) V n f 1 ( P 0 ) V 1 f m ( P 0 ) V n f m ( P 0 )
in the pair of ordered bases V 1 , , V n and e 1 , , e m . Let us show an application of this generalized calculus by the following simple example.
Example 10.
Let V 1 , V 2 R 2 \ 0 be two linear independent vectors and let P 0 X R 2 be a point admitting raylike nbd in X and admitting nbd ray in X in the direction of V 1 and V 2 . Let f x , y = u , v , w : X R 3 and g u , v , w : R 3 R be differentiable functions at P 0 = x 0 , y 0 and Q 0 = f P 0 = u 0 , v 0 , w 0 , respectively. By Theorem 6 the function g f is differentiable at P 0 and by Corollary 5 there exist directional derivatives V 1 g f P 0 , V 2 g f P 0 , V 1 f P 0 = V 1 u P 0 , V 1 v P 0 , V 1 w P 0 and V 2 f P 0 = V 2 u P 0 , V 2 v P 0 , V 2 w P 0 . The differential d f P 0 is represented by the matrix
V 1 u P 0 V 2 u P 0 V 1 v P 0 V 2 v P 0 V 1 w P 0 V 2 w P 0
in the pair of ordered bases V 1 , V 2 and e 1 , e 2 , e 3 . The differential d g f P 0 is represented by the matrix
V 1 g f P 0 V 2 g f P 0
in the pair of ordered basis V 1 , V 2 and e 1 , e 1 = 1 . Now, the equality
d g f P 0 = d g Q 0 d f P 0
induces the matrix equation
V 1 g f P 0 V 2 g f P 0 =
= 1 g Q 0 2 g Q 0 3 g Q 0 V 1 u P 0 V 2 u P 0 V 1 v P 0 V 2 v P 0 V 1 w P 0 V 2 w P 0
which implies the following formulas:
V i g f P 0 = V i u P 0 · 1 g Q 0 + V i v P 0 · 2 g Q 0 + V i w P 0 · 3 g Q 0 ,
i = 1 , 2 .

5.5. Differentiability of Vector Functions of One Variable

Let f = f 1 , , f m : X R m ,   X R , be a vector function of one variable. If f is differentiable at a point x 0 X then the differential is unique (Corollary 2). Moreover, by Theorem 9, functions f i are differentiable at x 0 for i = 1 , , n , and
d f x 0 h = f 1 x 0 h , , f m x 0 h .
The vector f 1 x 0 , , f m x 0 is called the derivative of the vector function f at the point x 0 and is denoted by f x 0 . Obviously, d f x 0 h = h f x 0 . From Theorems 7 and 9 it follows that the differentiability of f at x 0 is equivalent to the derivability of its coordinate functions f 1 , , f m at x 0 , consequently instead of differentiability of f we often use the term derivability of f.
Definition 8.
Let x 0 X R admit raylike nbd in X. We say that f = f 1 , , f m : X R m is regular at   x 0 if f is derivable at x 0 and f x 0 0 .
Definition 9.
Let f = f 1 , , f m : X R m be a regular at x 0 X R and let any x f 1 ( f x 0 ) admits raylike nbd in X. We say that f is geometrically smooth at  x 0 provided f is derivable on f 1 ( f x 0 ) and the vectors f x 0 and f x are collinear for every x f 1 ( f x 0 ) . If f is geometrically smooth at all points in its domain, then we say that f is geometrically smooth.
Let m > 1 and f = f 1 , , f m : X R m be a geometrically smooth at a point x 0 X . The vector f x 0 + h f x 0 h is the direction vector of the secant passing through the points f x 0 and f x 0 + h , and when h 0 we obtain the vector f x 0 which is the direction vector of the tangent to the image f X R m of the function f at the point f x 0 , i.e., the tangent to the image of the function f at the point  f x 0 is the line passing through the point f x 0 and its direction vector is f x 0 . Therefore its equation is
y 1 f 1 x 0 f 1 x 0 = = y m f m x 0 f m x 0 .
Notice that at the point f x 0 = x 0 , g x 0 the terms tangent to the image of the function f = 1 X , g : X R 2 , X R and the tangent to the graph of or a function g : X R coincide.
The tangent to the image of a vector function f of one variable makes sense only at points where the function f is geometrically smooth. This means, first of all, that we consider only points at which the function f is derivable. In addition to derivability, the regularity of f is also required, since the direction vector of each line is different from the zero vector. Furthermore, the tangent to the image of the function f at the point f x 0 only makes sense if there exist derivatives of f at all points x f 1 f x 0 and these derivatives are collinear vectors. Otherwise, we would get different tangents at f x 0 depending on which point x f 1 f x 0 we choose. Therefore, this condition is also included in the definition of geometrically smooth function f at a point x 0 , since only at these points the tangent is uniquely determined. For example the function
f : R R 2 f t = cos t , sin t
is a geometrically smooth function, since it is derivable and regular at every point in the domain. The image of f is the circle S 1 and for an arbitrary point  f t 0 the derivatives of f at all points in the set f 1 f t 0 = t 0 + 2 k π , k Z are equal. On the other hand, the function
g : 0 , π 3 R 2 g t = sin 3 t cos t , sin 3 t sin t
is not geometrically smooth at the points 0 and π 3 . Namely, g 0 = 0 , 0 = g π 3 , the function g is derivable and
g t = 3 cos 3 t cos t sin 3 t sin t , 3 cos 3 t sin t + sin 3 t cos t ,
but vectors
g 0 = 3 , 0 and g π 3 = 3 2 , 3 3 2
are not collinear. Therefore, the tangent to the image of the function g at the point 0 , 0 is not defined.
Notation 1.
Although the notion of a geometrically smooth function allows the correct definition of a tangent to the image of the function at a point (a tangent cannot be a line without direction and must be unique at the point in the image of the function), the problem of the dependence of the tangent on the observed function remains, i.e., a tangent to the image of a function depends directly on the observed function and not only on its image. Indeed, two functions f and g may have the same image Γ and for a point P Γ the function f need not be geometrically smooth at x and g geometrically smooth at y for every x f 1 P and every y g 1 P , nor need the vectors f x and g y , if they exist, be collinear. For example, the image of the functions
f , g : 1 , 1 R 2 f t = t , t , g t = t 3 , t 3
is the line segment 1 , 1 1 , 1 ¯ . The function f is geometrically smooth at the point 0, f 0 = 1 , 1 and the tangent to the image of f at ( 0 , 0 ) is the line y = x . On the other hand, the function g is not regular at the point 0, so the tangent to its image (the same line segment) is not defined. If we want to define a tangent to a set which is the image of a function of one variable, but does not depend on the function itself, we should consider curves, i.e., smooth 1-parameterizable sets, which is beyond the scope of this paper.

6. Tangent Plane

Let X R n , n 2 , and f : X R . Let
S = { ( x 1 , , x n ) X f ( x 1 , , x n ) = 0 }
be a nonempty set, and P 0 = x 1 0 , , x n 0 S be a point admitting nbd ray in X in the direction of e 1 , , e n and admitting raylike nbd in X. Let f be differentiable at P 0 and f ( P 0 ) 0 . For a continuous function r = r 1 , , r n : a , b S , a , b R , which is differentiable and geometrically smooth at a point t 0 a , b and for which r ( t 0 ) = P 0 , the direction vector of the tangent to the image r a , b of r at the point P 0 is r t 0 . Since f r = 0 then d ( f r ) ( t 0 ) = 0 and, by Theorem 6,
0 = d ( f r ) ( t 0 ) = d f P 0 d r t 0 ,
i.e.,
0 = 1 f P 0 n f P 0 r 1 t 0 r n t 0 = f ( P 0 ) | r t 0
therefore the vectors f ( P 0 ) and r ( t 0 ) are orthogonal. Thus, the direction vector of the tangent to the image of any function r : a , b S with the above properties at the point P 0 is orthogonal to f ( P 0 ) which implies that all these tangents lie in the same plane; we call this hyperplane the tangent plane to the set S at the point P 0 . Since f ( P 0 ) is its normal vector, its equation is
1 f ( P 0 ) ( x 1 x 1 0 ) + + n f ( P 0 ) ( x n x n 0 ) = 0 .
Let F be defined by F x 1 , , x n + 1 = x n + 1 f ( x 1 , , x n ) for x 1 , , x n X . The tangent plane to the set
Γ = { ( x 1 , , x n + 1 ) R n + 1 F x 1 , , x n + 1 = 0 , x 1 , , x n X } = x 1 , , x n , f x 1 , , x n R n + 1 x 1 , , x n X
at the point P 0 , f P 0 is called tangent plane to the graph of the function f at the point  P 0 , f P 0 . The vector 1 f P 0 , , n f P 0 , 1 is a normal vector of this plane, so its equation is
x n + 1 f P 0 = i = 1 n i f P 0 x i x i 0 = d f P 0 x 1 x 1 0 , , x n x n 0 .
Let us now define the tangent plane to the graph of a scalar function in an even more general case, i.e., at points which do not admit nbd ray in X in the direction of some of the vectors e 1 , , e n but in the direction of some n linearly independent vectors.
Definition 10.
Let f : X R , X R n , be differentiable at a point P 0 = x 1 0 , , x n 0 X that admits raylike nbd in X , and let Σ X , P 0 = R n . The hyperplane
x n + 1 f P 0 = d f P 0 x 1 x 1 0 , , x n x n 0
is called the tangent plane to the graph of the function  f at the point   P 0 , f P 0 .
Remark 3.
Since the coordinates of the vector P P 0 are given in the standard basis of R n , it is assumed that the operator d f P 0 is defined in the pair of ordered basis e 1 , , e n and e 1 = 1 . The numbers d f P 0 e i , i = 1 , , n , are partial derivatives of the function f only if P 0 admits nbd ray in the direction of e i , for i = 1 , , n .
Let us show the justification of the previously defined notion. Let f : X R fulfill conditions of the previous definition and let P 0 admits nbd ray in the direction of a vector V = v 1 , , v n R n \ 0 in X such that P 0 P 0 + V ¯ X . Let us consider the parametrization of the line segment P 0 P 0 + V ¯ , i.e., the function r = r 1 , , r n : 0 , 1 R n r t = P 0 + t V . Due to the assumed differentiability of the function f at P 0 , there exists the derivative V f P 0 in the direction of V (Corollary 5) and then the function f r is derivable at 0 because
f r 0 = lim h 0 h 0 , 1 f P 0 + h V f P 0 h = lim h 0 h V Δ V X , P 0 f P 0 + h V f P 0 h = V f P 0 .
The image of the function r 1 , , r n , f r : 0 , 1 R n + 1 belongs to the graph of f, passes through the point P 0 , f P 0 and the direction vector of the tangent to the image of the function r 1 , , r n , f r at the point P 0 , f P 0 is v 1 , , v n , V f P 0 . We will now show that this tangent lies in the tangent plane to the graph of the function f at P 0 , f P 0 , i.e., that the point
x 1 0 + v 1 , , x n 0 + v n , f P 0 + f V P 0
belongs to this plane. According to Corollary 5, d f P 0 V = V f P 0 holds. This implies
f P 0 + V f P 0 f P 0 = d f P 0 x 1 0 + v 1 x 1 0 , , x n 0 + v n x n 0
which proves that all points of the tangent belong to the tangent plane. This means that all previously described tangents lie in the same hyperplane and the normal vector of this hyperplane is orthogonal to the vector v 1 , , v n , V f P 0 where which justifies the previous definition.
Remark 4.
For a scalar function f : D R of two variables which fulfils conditions of the previous definition at a point P 0 = x 0 , y 0 D admitting nbd rays in the direction of two non-collinear vectors V = v 1 , v 2 and V = v 1 , v 2 in D, the vector of the direction of the normal line of the tangent plane to the graph of the function f at x 0 , y 0 , f P 0 is v 1 , v 2 , V f P 0 × v 1 , v 2 , V f P 0 . This vector is orthogonal to the vector v 1 ¯ , v 2 ¯ , v 1 ¯ , v 2 ¯ f P 0 where v 1 ¯ , v 2 ¯ is an arbitrary vector such that the point P 0 admits nbd ray in D in the direction of v 1 ¯ , v 2 ¯ . In particular, at a point P = x , y Int D , i.e., at a point that admits nbd rays in D in the direction of vectors e 1 and e 2 , the normal vector of the tangent plane in x , y , f P can be calculated as 1 , 0 , x f P × 0 , 1 , y f P = x f P , y f P , 1 .

7. Differentiability in Different Coordinate Systems

7.1. Affine Coordinate Systems

Let O , e be an affine coordinate system [10] where O R n is its origin and e = e 1 , , e n is an ordered basis for the vector space R n . For any P R n the numbers x 1 , , x n R for which P O = x 1 e 1 + + x n e n are the coordinates of the point P in that affine system and we write P = x 1 , , x n . Obviously, O = ( 0 , , 0 ) . If e = e 1 , , e n is the standard ordered basis and O R n , O , e is said to be the standard affine coordinate system.
Let P R n has notation x 1 , , x n in the standard affine coordinate system O , e and let x 1 , , x n be its notation in the affine coordinate system O , e . Then the linear operator A e e : R n R n   A e i = e i , i = 1 , , n , is an isomorphism and its corresponding affine isomorphism σ : R n R n give us an analytical relation between the coordinates in the both coordinate systems according to the rule
x 1 , , x n = σ x 1 , , x n : = x 1 0 , , x n 0 + A e e x 1 , , x n ,
where x 1 0 , , x n 0 is the notation of the point O in the standard affine coordinate system O , e . The affine isomorphism σ is called the function of the transition from the standard affine coordinate system to the affine coordinate system O , e . As an affine isomorphism, the function σ is differentiable, as well as its inverse σ 1 .
Definition 11.
Let X R n , f : X R m , σ : R n R n be the transition function (10) and X : = σ 1 X . The function f σ : = f σ : X R m is called the representation of the function  f in the affine coordinate system   O , e .
We will now prove the following important statements which hold for affine coordinate systems:
Theorem 10.
Let X R n , σ : R n R n be the function of the transition from the standard affine coordinate system to an affine coordinate system O , e and let P 0 X be a point admitting nbd ray in X . Let f : X R m be a function, X : = σ 1 X and f σ : X R m be its representation in the affine coordinate system O , e . Then it holds:
(i
The point P 0 = σ 1 P 0 admits nbd ray in X and Δ X , P 0 = A e e 1 Δ X , P 0 .
(ii
If f is differentiable at P 0 , then the function f σ is differentiable at σ 1 P 0 .
(iii
If Σ X , P 0 = R n and f is differentiable at P 0 , then the function f σ is also differentiable at P 0 = σ 1 P 0 and d f σ P 0 = d f P 0 A e e .
Proof. 
(i
Since an affine function maps a line segment to the line segment whose endpoints are the image of the endpoints of the original line segment, the transition function σ 1 maps the line segment P 0 P 0 + H ¯ to the line segment P 0 P 0 + A e , e 1 H ¯ , from which follows the statement.
(ii
Let Δ X , P 0 = A 1 Δ X , P 0 . By assumption, there exists a linear operator B : R n R m such that
lim H 0 H Δ X , P 0 f P 0 + H f P 0 B H H = 0 .
Let us show that the linear operator B A : R n R m is the differential of the function f σ at the point P 0 = σ 1 P 0 . It holds
lim H 0 H Δ X , P 0 f σ P 0 + H f σ P 0 B A H H =
lim H 0 H Δ X , P 0 f O + A P 0 + A H f P 0 B A H H =
= lim H 0 H Δ X , P 0 f P 0 + A ( H ) f P 0 B A H A 1 A ( H ) =
lim H 0 H Δ X , P 0 f P 0 + H f P 0 B H A 1 ( H ) =
= lim H 0 H Δ X , P 0 f P 0 + H f P 0 B H H ) · A 1 ( H ) H )
By the Lemma 1, there exists m R + such that
0 f P 0 + H f P 0 B H H · A 1 ( H ) H ) f P 0 + H f P 0 B H H · m ,
for every H Δ X , P 0 , thus from the provious identities it follows
lim H 0 H Δ X , P 0 f σ P 0 + H f σ P 0 B A H H = 0 .
(iii
It follows from the previous two statements.
 □
Lemma 1.
Let A : R n R m be an isomorphism. Then there exists m R + such that
A H H m , for every H R n .
Proof. 
Assume the contrary that there exists a sequence H k in R n and a real sequence m k converging to 0 such that
A H k H k < m k , for every k N .
Consider a sequence of points P k , P k = H k H k , k N , in R n . Since the sphere S n 1 is a compact set, the sequence P k , contained in it, has a certain convergent subsequence P k l whose limit P 0 belongs to the sphere [3]. Therefore, P 0 = 1 . From P k l P 0 follows A P k l A ( P 0 ) . By the property of a norm and a linear operator, it holds
A P k l = A H k H k = A H k H k < m k , for every k N .
This implies lim A P k l = 0 , from which it follows A ( P 0 ) = 0 and consequently A P 0 = 0 . But since A is an isomorphism, this implies P 0 = 0 which contradicts the equality P 0 = 1 . □
This theorem shows us that the notion of differentiability of a function does not depend on the chosen affine coordinate system. We will now show that it is not true for some other coordinate systems.

7.2. Polar, Elliptical, Cylindrical and Spherical Coordinate Systems

For each point T = x , y R 2 in the standard affine coordinate system we define the coordinates r , ϕ in the standard polar coordinate system (so-called polar coordinates) by the following formulas
r = x 2 + y 2 ,
ϕ : = arg T = arctan y x , x > 0 , y 0 arctan y x + π , x < 0 , y 0 or x < 0 , y 0 arctan y x + 2 π , x > 0 , y 0 π 2 , x = 0 , y > 0 3 π 2 , x = 0 , y < 0 0 , x = 0 , y = 0 .
This defines bijection
ρ : Θ 0 R 2 , Θ 0 : = 0 , × 0 , 2 π 0 , 0
x , y = ρ r , ϕ = r cos ϕ , r sin ϕ .
which we call the transition function from the standard affine coordinate system to the standard polar coordinate system. The polar coordinate grid consists of “lines” ϕ = ϕ 0 and “lines” r = r 0 for r 0 , ϕ 0 Θ 0 . This polar coordinate grid is mapped to a “spider web” in an affine coordinate system consisting of all concentric circles with center 0 and all half lines with 0 as endpoint.
Notice that the function ρ is not a homeomorphism [2] since its inverse has discontinuity at all points x , 0 , x 0 , . For this reason, in applications and transitions from the polar to the affine coordinate system, the restriction of the transition function is used
ρ | 0 , × 0 , 2 π : 0 , × 0 , 2 π R 2 \ p 0 , p 0 : = x , 0 x 0 ,
which is a homeomorphism. With the transition function ρ , the rectangle
r , ϕ r 1 r r 2 , ϕ 1 ϕ ϕ 2 , 0 < r 1 < r 2 , 0 ϕ 1 < ϕ 2 < 2 π ,
is mapped to an area bounded by corresponding circles and half-lines, therefore the polar coordinate system is more suitable to consider such sections than any other system in the plane. Every point of the set Θ 0 admits nbd ray in it and the function ρ is differentiable at every point r , ϕ Θ 0 , and the differential is represented by a matrix
cos ϕ r sin ϕ sin ϕ r cos ϕ .
Let X R 2 , f : X R m be a function and X = ρ 1 X Θ 0 . Then, for the function f ρ : = f ρ : X R m , we say that the representation of the function f is in the polar coordinate system or in polar coordinates.
Example 11.
The representation of a function f : R 2 R   f x , y = x 2 + y 2 in the polar coordinate system is f ρ : Θ 0 R f ρ r , ϕ = r . Notice that the function f is not differentiable at the point O (Example 5) but the function f ρ is differentiable at the point 0 , 0 = ρ 1 O and it holds d f ρ 0 , 0 = p 1 .
Therefore, we conclude that the notion of differentiability of a function depends on the chosen coordinate system (affine or polar) in which it is represented. Such a phenomenon is not possible in the transition from one affine coordinate system to another (Theorem 10). Thus, in the transition from polar coordinates to affine coordinates (or vice versa), the differentiability of the function need not be preserved, nor does the notion of admissibility of nbd rays. To avoid such undesirable phenomena, we will consider only functions f (in affine coordinates) whose domains are open sets in R 2 \ p 0 , and functions f ρ (in polar coordinates) whose domains are open sets in 0 , × 0 , 2 π . Since ρ | 0 , × 0 , 2 π is a diffeomorphism (differentiable bijection which inverse is also differentiable), the following holds according to the Theorem 6.
Corollary 9.
Let Ω R 2 \ p 0 be an open set, f : Ω R m a function and f ρ : Ω R m representation of the function f in polar coordinates, where Ω = ρ 1 Ω . If f is differentiable at a point x , y Ω then the function f ρ : Ω R m , is differentiable at r , ϕ = ρ 1 x , y and it holds d f ρ r , ϕ = d f x , y d ρ r , ϕ .
Notation 2.
Differentiability of a function represented in polar coordinates should be considered only on a formal level. Indeed, the idea of linearization of a function, i.e., its local approximation by an affine function, makes sense only in affine coordinates. For example, for the scalar function z = f ρ r , ϕ in polar coordinates, the differential at the point r 0 , ϕ 0 0 , 0 is the linear operator A, A r , ϕ = r f ρ r 0 , ϕ 0 r + ϕ f ρ r 0 , ϕ 0 ϕ , which is no longer a linear operator in affine coordinates. Differentiability of a function represented in polar coordinates in the context of an affine coordinate system not be understood as a possibility of local approximation by an affine function, but by a linear combination of the functions z = x 2 + y 2 and z = arg x , y since these can be considered special in polar coordinates. For functions with a conic graph (like those in the previous example), such an approximation is more appropriate than linearization, and differentiation of functions in polar coordinates has exactly this meaning. Thus, the function from the previous example becomes a linear operator in polar coordinates and its differential is equal to itself at every point and in this context it is a perfect approximation.

8. Conclusions

In this work we have presented some results obtained in the research conducted during COVID epidemic. It was motivated by some issues and shortcomings which occur in some applications of the traditional approach to differentiability. These problems were noticed by the first author, who has many years of experience in giving classes of various courses in mathematical analysis to students from University of Split, Croatia. In the traditional approach to differentiability, which is featured in almost all university textbooks, this notion is considered only for interior points of domain of function or for functions with an open domain. We have generalized differentiability of scalar and vector functions of several variables by defining it at non-interior points of the domain of function, which include not only boundary points but also all points where a notion of linearization is meaningful (points admitting nbd rays). This generalization allows applications in many fields of mathematics and engineering or, in short, in all areas where standard differentiability can be applied. With this generalized approach to differentiability, some unexpected phenomena may occur, such as the non-uniqueness of the differential in some special cases, a function discontinuity at a point where a function is differentiable, which is possible only for points that do not admit raylike nbd in a domain of function. But if one reduces this theory only to points with some special properties (points admitting a linearization space with dimension equal to the dimension of the ambient Euclidean space of the domain and admitting a raylike neighborhood, which includes the interior points of a domain), then all properties and theorems belonging to the known theory of differentiability remain valid in this extended theory. For generalized differentiability, the corresponding calculus (differentiation techniques) is also provided by matrices—representatives of differentials at points. In this calculus, the role of partial derivatives (which generally may not exist for differentiable functions at some points) is taken by directional derivatives. The results presented open the possibility for further research and examination of known theorems on standard differentiability in a new context.

Author Contributions

Conceptualization, N.K.-B.; investigation, N.K.-B.; writing—original draft preparation, N.K.-B. and S.B.; writing—review and editing, N.K.-B. and S.B.; supervision, N.K.-B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Aksoy, A.; Khamsi, M. A Problem Book in Real Analysis; Springer: New York, NY, USA, 2010; pp. 197–198. [Google Scholar]
  2. Dugundji, J. Topology, 12th ed.; Allyn and Bacon, Inc.: Boston, MA, USA, 1978; pp. 62–97. [Google Scholar]
  3. Rudin, W. Principles of Mathematical Analysis, 3rd ed.; McGraw-Hill, Inc.: New York, NY, USA, 1976; pp. 51–52, 212–213. [Google Scholar]
  4. Zorich, V. Mathematical Analysis I, 4th ed.; Springer: Berlin, Germany, 2004; Chapters 5 and 8. [Google Scholar]
  5. Wade, W. An Introduction to Analysis, 4th ed.; Pearson Education, Inc.: Hoboken, NJ, USA, 2010; Chapters 3 and 4. [Google Scholar]
  6. Wrede, R.; Spiegel, M. Theory and Problems of Advanced Calculus, 2nd ed.; McGraw-Hill, Inc.: New York, NY, USA, 1976; pp. 65–89. [Google Scholar]
  7. Differencial Topology with Prof. John W. Milnor. Available online: https://www.youtube.com/watch?v=u5C0GKmMHQ4&list=PLS8dWbmb9L0fPQclKNhgYddkNr8QWMGzX (accessed on 20 June 2022).
  8. Koceić Bilan, N.; Jelić, I. On intersetions of exponential and logarithmic curves. Ann. Math. Inform. 2014, 43, 159–170. [Google Scholar]
  9. Kukushkin, M. Abstract Fractional Calculus for m-Accretive Operators. Int. J. Appl. Math. 2021, 34, 1–41. [Google Scholar] [CrossRef]
  10. Hogben, L. Handbook of Linear Algebra, 2nd ed.; Chapman and Hall/CRC: Boca Raton, FL, USA, 2017. [Google Scholar]
  11. Bühler, T.; Salamon, D. Functional Analysis; American Mathematical Society: Providence, RI, USA, 2018; pp. 22–26. [Google Scholar]
  12. Appendix Functional Analysis and Operators. Available online: https://link.springer.com/content/pdf/bbm%3A978-3-030-34949-3%2F1 (accessed on 20 July 2022).
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Koceić-Bilan, N.; Braić, S. Generalized Approach to Differentiability. Mathematics 2022, 10, 3085. https://doi.org/10.3390/math10173085

AMA Style

Koceić-Bilan N, Braić S. Generalized Approach to Differentiability. Mathematics. 2022; 10(17):3085. https://doi.org/10.3390/math10173085

Chicago/Turabian Style

Koceić-Bilan, Nikola, and Snježana Braić. 2022. "Generalized Approach to Differentiability" Mathematics 10, no. 17: 3085. https://doi.org/10.3390/math10173085

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop