In
calculus
Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations.
Originally called infinitesimal calculus or "the ...
, the notions of one-sided differentiability and semi-differentiability of a
real-valued
function ''f'' of a real variable are weaker than
differentiability. Specifically, the function ''f'' is said to be right differentiable at a point ''a'' if, roughly speaking, a
derivative
In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
can be defined as the function's argument ''x'' moves to ''a'' from the right, and left differentiable at ''a'' if the derivative can be defined as ''x'' moves to ''a'' from the left.
One-dimensional case

In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a left derivative and a right derivative are
derivative
In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
s (rates of change of a function) defined for movement in one direction only (left or right; that is, to lower or higher values) by the argument of a function.
Definitions
Let ''f'' denote a real-valued function defined on a subset ''I'' of the real numbers.
If is a
limit point
In mathematics, a limit point, accumulation point, or cluster point of a set S in a topological space X is a point x that can be "approximated" by points of S in the sense that every neighbourhood of x contains a point of S other than x itself. A ...
of and the
one-sided limit
In calculus, a one-sided limit refers to either one of the two Limit of a function, limits of a Function (mathematics), function f(x) of a Real number, real variable x as x approaches a specified point either from the left or from the right.
The ...
:
exists as a real number, then ''f'' is called right differentiable at ''a'' and the limit ''∂''
+''f''(''a'') is called the right derivative of ''f'' at ''a''.
If is a limit point of and the one-sided limit
:
exists as a real number, then ''f'' is called left differentiable at ''a'' and the limit ''∂''
–''f''(''a'') is called the left derivative of ''f'' at ''a''.
If is a limit point of and and if ''f'' is left and right differentiable at ''a'', then ''f'' is called semi-differentiable at ''a''.
If the left and right derivatives are equal, then they have the same value as the usual ("bidirectional") derivative. One can also define a
symmetric derivative In mathematics, the symmetric derivative is an Operator (mathematics), operation generalizing the ordinary derivative.
It is defined as:
\lim_ \frac.
The expression under the limit is sometimes called the symmetric difference quotient. A function ...
, which equals the
arithmetic mean
In mathematics and statistics, the arithmetic mean ( ), arithmetic average, or just the ''mean'' or ''average'' is the sum of a collection of numbers divided by the count of numbers in the collection. The collection is often a set of results fr ...
of the left and right derivatives (when they both exist), so the symmetric derivative may exist when the usual derivative does not.
Remarks and examples
* A function is
differentiable
In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non- vertical tangent line at each interior point in ...
at an
interior point
In mathematics, specifically in topology,
the interior of a subset of a topological space is the union of all subsets of that are open in .
A point that is in the interior of is an interior point of .
The interior of is the complement of t ...
''a'' of its
domain if and only if it is semi-differentiable at ''a'' and the left derivative is equal to the right derivative.
* An example of a semi-differentiable function, which is not differentiable, is the
absolute value
In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if x is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), ...
function
, at ''a'' = 0. We find easily
* If a function is semi-differentiable at a point ''a'', it implies that it is continuous at ''a''.
* The
indicator function
In mathematics, an indicator function or a characteristic function of a subset of a set is a function that maps elements of the subset to one, and all other elements to zero. That is, if is a subset of some set , then the indicator functio ...
1
[0,∞) is right differentiable at every real ''a'', but discontinuous at zero (note that this indicator function is not left differentiable at zero).
Application
If a real-valued, differentiable function ''f'', defined on an interval ''I'' of the real line, has zero derivative everywhere, then it is constant, as an application of the mean value theorem shows. The assumption of differentiability can be weakened to continuity and one-sided differentiability of ''f''. The version for right differentiable functions is given below, the version for left differentiable functions is analogous.
Differential operators acting to the left or the right
Another common use is to describe derivatives treated as
binary operator
In mathematics, a binary operation or dyadic operation is a rule for combining two elements (called operands) to produce another element. More formally, a binary operation is an operation of arity two.
More specifically, a binary operation o ...
s in
infix notation
Infix notation is the notation commonly used in arithmetical and logical formulae and statements. It is characterized by the placement of operators between operands—"infixed operators"—such as the plus sign in .
Usage
Binary relations are ...
, in which the derivatives is to be applied either to the left or right
operand
In mathematics, an operand is the object of a mathematical operation, i.e., it is the object or quantity that is operated on.
Unknown operands in equalities of expressions can be found by equation solving.
Example
The following arithmetic expres ...
s. This is useful, for example, when defining generalizations of the
Poisson bracket
In mathematics and classical mechanics, the Poisson bracket is an important binary operation in Hamiltonian mechanics, playing a central role in Hamilton's equations of motion, which govern the time evolution of a Hamiltonian dynamical system. Th ...
. For a pair of functions f and g, the left and right derivatives are respectively defined as
:
:
In
bra–ket notation
Bra–ket notation, also called Dirac notation, is a notation for linear algebra and linear operators on complex vector spaces together with their dual space both in the finite-dimensional and infinite-dimensional case. It is specifically de ...
, the derivative operator can act on the right operand as the regular derivative or on the left as the negative derivative.
Higher-dimensional case
This above definition can be generalized to real-valued functions ''f'' defined on subsets of R
''n'' using a weaker version of the
directional derivative
In multivariable calculus, the directional derivative measures the rate at which a function changes in a particular direction at a given point.
The directional derivative of a multivariable differentiable (scalar) function along a given vect ...
. Let ''a'' be an interior point of the domain of ''f''. Then ''f'' is called ''semi-differentiable'' at the point ''a'' if for every direction ''u'' ∈ R
''n'' the limit
:
with
R exists as a real number.
Semi-differentiability is thus weaker than
Gateaux differentiability, for which one takes in the limit above ''h'' → 0 without restricting ''h'' to only positive values.
For example, the function
is semi-differentiable at
, but not Gateaux differentiable there. Indeed,
with
(Note that this generalization is not equivalent to the original definition for ''n = 1'' since the concept of one-sided limit points is replaced with the stronger concept of interior points.)
Properties
* Any
convex function
In mathematics, a real-valued function is called convex if the line segment between any two distinct points on the graph of a function, graph of the function lies above or on the graph between the two points. Equivalently, a function is conve ...
on a convex
open subset
In mathematics, an open set is a generalization of an open interval in the real line.
In a metric space (a set with a distance defined between every two points), an open set is a set that, with every point in it, contains all points of the met ...
of R
''n'' is semi-differentiable.
* While every semi-differentiable function of one variable is continuous; this is no longer true for several variables.
Generalization
Instead of real-valued functions, one can consider functions taking values in R
''n'' or in a
Banach space
In mathematics, more specifically in functional analysis, a Banach space (, ) is a complete normed vector space. Thus, a Banach space is a vector space with a metric that allows the computation of vector length and distance between vectors and ...
.
See also
*
Directional derivative
In multivariable calculus, the directional derivative measures the rate at which a function changes in a particular direction at a given point.
The directional derivative of a multivariable differentiable (scalar) function along a given vect ...
*
Partial derivative
In mathematics, a partial derivative of a function of several variables is its derivative with respect to one of those variables, with the others held constant (as opposed to the total derivative, in which all variables are allowed to vary). P ...
*
Gradient
In vector calculus, the gradient of a scalar-valued differentiable function f of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p gives the direction and the rate of fastest increase. The g ...
*
Gateaux derivative
In mathematics, the Gateaux differential or Gateaux derivative is a generalization of the concept of directional derivative in differential calculus. Named after René Gateaux, it is defined for functions between locally convex topological vect ...
*
Fréchet derivative
*
Derivative (generalizations)
*
*
Dini derivatives
References
* {{cite journal , last1=Preda , first1=V. , last2=Chiţescu , first2=I. , title=On Constraint Qualification in Multiobjective Optimization Problems: Semidifferentiable Case , journal=J. Optim. Theory Appl. , volume=100 , year=1999 , issue=2 , pages=417–433 , doi=10.1023/A:1021794505701 , s2cid=119868047
Real analysis
Differential calculus
Articles containing proofs
Functions and mappings