# Differentiable function

In calculus (a branch of mathematics), a **differentiable function** of one real variable is a function whose derivative exists at each point in its domain. As a result, the graph of a differentiable function must have a (non-vertical) tangent line at each point in its domain, be relatively smooth, and cannot contain any breaks, bends, or cusps.

More generally, if *x*_{0} is a point in the domain of a function *f*, then *f* is said to be *differentiable at *x* _{0}* if the derivative

*f*′(

*x*

_{0}) exists. This means that the graph of

*f*has a non-vertical tangent line at the point (

*x*

_{0},

*f*(

*x*

_{0})). The function

*f*may also be called

*locally linear*at

*x*

_{0}, as it can be well approximated by a linear function near this point.

## Contents

## Differentiability of real functions of one variable[edit]

A function , defined on an open set , is said to differentiable at if any of the following equivalent conditions is satisfied:

- The derivative exists.
- There exits a real number such that . The number , when it exists, is equal to .
- There exists a function such that and .

## Differentiability and continuity[edit]

If *f* is differentiable at a point *x*_{0}, then *f* must also be continuous at *x*_{0}. In particular, any differentiable function must be continuous at every point in its domain. *The converse does not hold*: a continuous function need not be differentiable. For example, a function with a bend, cusp, or vertical tangent may be continuous, but fails to be differentiable at the location of the anomaly.

Most functions that occur in practice have derivatives at all points or at almost every point. However, a result of Stefan Banach states that the set of functions that have a derivative at some point is a meager set in the space of all continuous functions.^{[1]} Informally, this means that differentiable functions are very atypical among continuous functions. The first known example of a function that is continuous everywhere but differentiable nowhere is the Weierstrass function.

## Differentiability classes[edit]

A function *f* is said to be *continuously differentiable* if the derivative *f′*(*x*) exists and is itself a continuous function. Although the derivative of a differentiable function never has a jump discontinuity, it is possible for the derivative to have an essential discontinuity. For example, the function

is differentiable at 0, since

exists. However, for *x* ≠ 0, differentiation rules imply

which has no limit as *x* → 0. Nevertheless, Darboux's theorem implies that the derivative of any function satisfies the conclusion of the intermediate value theorem.

Continuously differentiable functions are sometimes said to be of *class* C^{1}. A function is of *class* C^{2} if the first and second derivative of the function both exist and are continuous. More generally, a function is said to be of *class* C^{k} if the first *k* derivatives *f′*(*x*), *f′′*(*x*), ..., *f*^{ (k)}(*x*) all exist and are continuous. If derivatives *f*^{ (n)} exist for all positive integers *n*, the function is smooth or equivalently, of *class* C^{∞}.

## Differentiability in higher dimensions[edit]

A function of several real variables **f**: **R**^{m} → **R**^{n} is said to be differentiable at a point **x _{0}** if there exists a linear map

**J**:

**R**

^{m}→

**R**

^{n}such that

If a function is differentiable at **x _{0}**, then all of the partial derivatives exist at

**x**, and the linear map

_{0}**J**is given by the Jacobian matrix. A similar formulation of the higher-dimensional derivative is provided by the fundamental increment lemma found in single-variable calculus.

If all the partial derivatives of a function exist in a neighborhood of a point **x _{0}** and are continuous at the point

**x**, then the function is differentiable at that point

_{0}**x**.

_{0}However, the existence of the partial derivatives (or even of all the directional derivatives) does not in general guarantee that a function is differentiable at a point. For example, the function *f*: **R**^{2} → **R** defined by

is not differentiable at (0, 0), but all of the partial derivatives and directional derivatives exist at this point. For a continuous example, the function

is not differentiable at (0, 0), but again all of the partial derivatives and directional derivatives exist.

## Differentiability in complex analysis[edit]

In complex analysis, complex-differentiability is defined using the same definition as single-variable real functions. This is allowed by the possibility of dividing complex numbers. So, a function is said to be differentiable at when

Although this definition looks similar to the differentiability of single-variable real functions, it is however a more restrictive condition. A function , that is complex-differentiable at a point is automatically differentiable at that point, when viewed as a function . This is because the complex-differentiability implies that

However, a function can be differentiable as a multi-variable function, while not being complex-differentiable. For example, is differentiable at every point, viewed as the 2-variable real function , but it is not complex-differentiable at any point.

Any function that is complex-differentiable in a neighborhood of a point is called holomorphic at that point. Such a function is necessarily infinitely differentiable, and in fact analytic.

## Differentiable functions on manifolds[edit]

If *M* is a differentiable manifold, a real or complex-valued function *f* on *M* is said to be differentiable at a point *p* if it is differentiable with respect to some (or any) coordinate chart defined around *p*. More generally, if *M* and *N* are differentiable manifolds, a function *f*: *M* → *N* is said to be differentiable at a point *p* if it is differentiable with respect to some (or any) coordinate charts defined around *p* and *f*(*p*).

## See also[edit]

## References[edit]

**^**Banach, S. (1931). "Über die Baire'sche Kategorie gewisser Funktionenmengen".*Studia. Math.***3**(1): 174–179.. Cited by Hewitt, E; Stromberg, K (1963).*Real and abstract analysis*. Springer-Verlag. Theorem 17.8.