1. Home
  2. Explore
  3. Mathematics
  4. Differentiability in Real Analysis

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Differentiability in Real Analysis

Differentiability in Rn\mathbb{R}^nRn and Rm\mathbb{R}^mRm

Differentiability is the mathematical idea that a function can be closely approximated near a point by a linear transformation. In single-variable calculus, this idea appears as the tangent-line approximation. In higher-dimensional analysis, the tangent line becomes a linear map between vector spaces, and the derivative becomes a matrix.

The central question is:

Near a point ppp, can the function fff be modeled by a first-order approximation whose error becomes negligible compared with the distance from xxx to ppp?

This lesson develops that question carefully, connects it to the familiar derivative from calculus, and works through a function from R2\mathbb{R}^2R2 to R3\mathbb{R}^3R3.

The general setting

Consider a function

f:A⊆Rn⟶Rm,f:A\subseteq \mathbb{R}^n\longrightarrow \mathbb{R}^m,f:A⊆Rn⟶Rm,

where AAA is the domain of the function. The domain is usually assumed to be open. This assumption is convenient because every point p∈Ap\in Ap∈A is then an interior point.

Being an interior point means that there is a small ball centered at ppp that lies entirely inside AAA. Therefore, points xxx can approach ppp from every direction while remaining in the domain. In R2\mathbb{R}^2R2, for example, xxx could approach ppp along a straight line, a curve, or a spiraling path.

The open-set assumption is not always strictly necessary, but it ensures that the multidimensional limit behaves naturally and that there are no restrictions caused by a boundary.

The definition of differentiability

A function f:A⊆Rn→Rmf:A\subseteq\mathbb{R}^n\to\mathbb{R}^mf:A⊆Rn→Rm is differentiable at p∈Ap\in Ap∈A if there exists a linear transformation

Df(p):Rn→RmDf(p):\mathbb{R}^n\to\mathbb{R}^mDf(p):Rn→Rm

such that

lim⁡x→p∥f(x)−f(p)−Df(p)(x−p)∥∥x−p∥=0.\lim_{x\to p} \frac{ \left\|f(x)-f(p)-Df(p)(x-p)\right\| }{ \left\|x-p\right\| } =0.x→plim​∥x−p∥∥f(x)−f(p)−Df(p)(x−p)∥​=0.

This is the fundamental definition.

The notation Df(p)Df(p)Df(p) represents the derivative of fff at ppp. Some texts use Jf(p)J_f(p)Jf​(p) instead, especially when emphasizing the Jacobian matrix. These notations refer to the same associated linear transformation when used in this context.

Because Df(p)Df(p)Df(p) is a linear transformation from Rn\mathbb{R}^nRn to Rm\mathbb{R}^mRm, it can be represented by an m×nm\times nm×n matrix.

Understanding every part of the formula

The input xxx and the point ppp are vectors in Rn\mathbb{R}^nRn:

x,p∈Rn.x,p\in\mathbb{R}^n.x,p∈Rn.

Therefore,

x−p∈Rn.x-p\in\mathbb{R}^n.x−p∈Rn.

The values f(x)f(x)f(x) and f(p)f(p)f(p) are outputs of the function, so they lie in Rm\mathbb{R}^mRm:

f(x),f(p)∈Rm.f(x),f(p)\in\mathbb{R}^m.f(x),f(p)∈Rm.

The derivative Df(p)Df(p)Df(p) is a linear map from Rn\mathbb{R}^nRn to Rm\mathbb{R}^mRm. Its matrix has dimensions m×nm\times nm×n. Multiplying this matrix by the n×1n\times 1n×1 vector x−px-px−p gives an m×1m\times 1m×1 vector:

Df(p)(x−p)∈Rm.Df(p)(x-p)\in\mathbb{R}^m.Df(p)(x−p)∈Rm.

Thus, the expression

f(x)−f(p)−Df(p)(x−p)f(x)-f(p)-Df(p)(x-p)f(x)−f(p)−Df(p)(x−p)

is a vector in Rm\mathbb{R}^mRm. The norm in the numerator is therefore a norm on Rm\mathbb{R}^mRm.

The denominator contains

∥x−p∥,\|x-p\|,∥x−p∥,

which is the distance between xxx and ppp in Rn\mathbb{R}^nRn.

The dimensions are therefore consistent:

  • f(x)f(x)f(x) and f(p)f(p)f(p) are in Rm\mathbb{R}^mRm.
  • Df(p)(x−p)Df(p)(x-p)Df(p)(x−p) is in Rm\mathbb{R}^mRm.
  • The numerator measures an error in Rm\mathbb{R}^mRm.
  • The denominator measures a distance in Rn\mathbb{R}^nRn.

What the limit means

As xxx approaches ppp, the denominator satisfies

∥x−p∥→0.\|x-p\|\to 0.∥x−p∥→0.

This happens for every function because it depends only on xxx approaching ppp.

At the same time, differentiability requires

∥f(x)−f(p)−Df(p)(x−p)∥∥x−p∥→0.\frac{ \|f(x)-f(p)-Df(p)(x-p)\| }{ \|x-p\| } \to 0.∥x−p∥∥f(x)−f(p)−Df(p)(x−p)∥​→0.

The numerator must therefore approach zero as well. However, merely having the numerator approach zero is not enough. Both numerator and denominator approach zero, so the expression initially has the indeterminate form

00.\frac{0}{0}.00​.

The numerator must approach zero rapidly enough that the ratio itself approaches zero.

In informal language, the error must go to zero faster than the distance ∥x−p∥\|x-p\|∥x−p∥. More precisely, the ratio between the error and the distance must vanish.

This is the key distinction between differentiability and simple continuity. Continuity requires that

f(x)−f(p)→0,f(x)-f(p)\to 0,f(x)−f(p)→0,

but differentiability requires a much more precise form of approximation: the difference between f(x)f(x)f(x) and its linear model must be negligible relative to ∥x−p∥\|x-p\|∥x−p∥.

Differentiability means that the function’s error after subtracting its best linear approximation is small compared with the distance from the base point.

Think About It

A numerator and denominator both approaching zero does not automatically make a quotient approach zero. What extra requirement does differentiability impose on the numerator?

The first-order approximation

The expression

Lp(x)=f(p)+Df(p)(x−p)L_p(x)=f(p)+Df(p)(x-p)Lp​(x)=f(p)+Df(p)(x−p)

is called the first-order approximation of fff centered at ppp.

It is also often called the linear approximation, although technically it is an affine function of xxx, not a linear function of xxx. The reason is that it contains the constant term f(p)f(p)f(p).

The map Df(p)Df(p)Df(p) itself is linear, but the entire expression Lp(x)L_p(x)Lp​(x) generally is not linear in xxx because of the added vector f(p)f(p)f(p).

Why this approximation passes through f(p)f(p)f(p)

If x=px=px=p, then

x−p=0.x-p=0.x−p=0.

Since every linear transformation sends the zero vector to the zero vector,

Df(p)(p−p)=Df(p)(0)=0.Df(p)(p-p)=Df(p)(0)=0.Df(p)(p−p)=Df(p)(0)=0.

Therefore,

Lp(p)=f(p)+0=f(p).L_p(p)=f(p)+0=f(p).Lp​(p)=f(p)+0=f(p).

Thus, the first-order approximation agrees exactly with the function at the point ppp.

When xxx is close to ppp, the vector x−px-px−p is close to the zero vector. Linear transformations are continuous, so Df(p)(x−p)Df(p)(x-p)Df(p)(x−p) is close to zero. Consequently, Lp(x)L_p(x)Lp​(x) is close to f(p)f(p)f(p).

The important question is whether this linear adjustment models the actual behavior of f(x)f(x)f(x) near ppp closely enough that the remaining error becomes negligible compared with ∥x−p∥\|x-p\|∥x−p∥.

The remainder or error term

Define the remainder by

Rp(x)=f(x)−Lp(x).R_p(x)=f(x)-L_p(x).Rp​(x)=f(x)−Lp​(x).

Using the definition of Lp(x)L_p(x)Lp​(x),

Rp(x)=f(x)−f(p)−Df(p)(x−p).R_p(x) = f(x)-f(p)-Df(p)(x-p).Rp​(x)=f(x)−f(p)−Df(p)(x−p).

This is exactly the expression inside the norm in the numerator of the differentiability definition.

The differentiability condition can therefore be written as

lim⁡x→p∥Rp(x)∥∥x−p∥=0.\lim_{x\to p} \frac{\|R_p(x)\|}{\|x-p\|} =0.x→plim​∥x−p∥∥Rp​(x)∥​=0.

The remainder measures the gap between the actual function and its first-order approximation. Differentiability says that this gap is of smaller order than the distance from xxx to ppp.

In this sense, differentiability is not merely the existence of some matrix. It is the existence of a linear transformation that captures the function’s local behavior with exceptional accuracy.

Connection with the derivative from single-variable calculus

Consider the special case

f:R→R.f:\mathbb{R}\to\mathbb{R}.f:R→R.

Now both the input and output spaces are one-dimensional. The vectors are real numbers, and the norm on R\mathbb{R}R is absolute value. The differentiability definition becomes

lim⁡x→p∣f(x)−f(p)−Df(p)(x−p)∣∣x−p∣=0.\lim_{x\to p} \frac{ \left|f(x)-f(p)-Df(p)(x-p)\right| }{ |x-p| } =0.x→plim​∣x−p∣∣f(x)−f(p)−Df(p)(x−p)∣​=0.

Every linear transformation from R\mathbb{R}R to R\mathbb{R}R has the form

t↦mtt\mapsto mtt↦mt

for some real number mmm. Therefore,

Df(p)(x−p)=m(x−p).Df(p)(x-p)=m(x-p).Df(p)(x−p)=m(x−p).

The definition becomes

lim⁡x→p∣f(x)−f(p)−m(x−p)∣∣x−p∣=0.\lim_{x\to p} \frac{ |f(x)-f(p)-m(x-p)| }{ |x-p| } =0.x→plim​∣x−p∣∣f(x)−f(p)−m(x−p)∣​=0.

Because the numerator and denominator are absolute values of real numbers, this can be rewritten as

lim⁡x→p∣f(x)−f(p)x−p−m∣=0.\lim_{x\to p} \left| \frac{f(x)-f(p)}{x-p}-m \right| =0.x→plim​​x−pf(x)−f(p)​−m​=0.

This says that

f(x)−f(p)x−p→mas x→p.\frac{f(x)-f(p)}{x-p}\to m \qquad\text{as }x\to p.x−pf(x)−f(p)​→mas x→p.

The expression on the left is the familiar difference quotient. Therefore,

m=lim⁡x→pf(x)−f(p)x−p=f′(p).m=\lim_{x\to p}\frac{f(x)-f(p)}{x-p}=f'(p).m=x→plim​x−pf(x)−f(p)​=f′(p).

So, in one-variable calculus,

Df(p)=f′(p).Df(p)=f'(p).Df(p)=f′(p).

The derivative as a linear transformation is simply multiplication by the usual derivative number.

The tangent-line formula

Substituting f′(p)f'(p)f′(p) for mmm in the first-order approximation gives

Lp(x)=f(p)+f′(p)(x−p).L_p(x)=f(p)+f'(p)(x-p).Lp​(x)=f(p)+f′(p)(x−p).

This is the equation of the tangent line to the graph of fff at the point

(p,f(p)).(p,f(p)).(p,f(p)).

The term f′(p)f'(p)f′(p) is the slope of that tangent line. Thus, the familiar tangent-line approximation is exactly the one-dimensional version of the general differentiability definition.

For a differentiable function, the tangent line and the graph agree at ppp, and the tangent line remains an increasingly accurate approximation as xxx moves close to ppp.

By contrast, if a graph has a sharp corner at ppp, a single tangent line cannot model the function well on both sides. The failure to obtain an appropriate first-order approximation reflects the failure of differentiability.

Think About It

In one dimension, the derivative is a number because every linear map R→R\mathbb{R}\to\mathbb{R}R→R is multiplication by a scalar. What replaces that number for a map from Rn\mathbb{R}^nRn to Rm\mathbb{R}^mRm?

A worked example from R2\mathbb{R}^2R2 to R3\mathbb{R}^3R3

Consider

f:R2→R3f:\mathbb{R}^2\to\mathbb{R}^3f:R2→R3

defined by

f(x,y)=(x,y2,xy).f(x,y)=(x,y^2,xy).f(x,y)=(x,y2,xy).

The goal is to prove that fff is differentiable at every point (a,b)∈R2(a,b)\in\mathbb{R}^2(a,b)∈R2.

The proposed derivative matrix is

Df(a,b)=(1002bba).Df(a,b) = \begin{pmatrix} 1&0\\ 0&2b\\ b&a \end{pmatrix}.Df(a,b)=​10b​02ba​​.

This matrix has three rows and two columns, as required for a linear map from R2\mathbb{R}^2R2 to R3\mathbb{R}^3R3.

The error term is

R(a,b)(x,y)=f(x,y)−f(a,b)−Df(a,b)(x−ay−b).R_{(a,b)}(x,y) = f(x,y)-f(a,b)-Df(a,b) \begin{pmatrix} x-a\\ y-b \end{pmatrix}.R(a,b)​(x,y)=f(x,y)−f(a,b)−Df(a,b)(x−ay−b​).

Compute each part

First,

f(x,y)=(x,y2,xy)f(x,y)=(x,y^2,xy)f(x,y)=(x,y2,xy)

and

f(a,b)=(a,b2,ab).f(a,b)=(a,b^2,ab).f(a,b)=(a,b2,ab).

The matrix-vector product is

(1002bba)(x−ay−b)=(x−a2b(y−b)b(x−a)+a(y−b)).\begin{pmatrix} 1&0\\ 0&2b\\ b&a \end{pmatrix} \begin{pmatrix} x-a\\ y-b \end{pmatrix} = \begin{pmatrix} x-a\\ 2b(y-b)\\ b(x-a)+a(y-b) \end{pmatrix}.​10b​02ba​​(x−ay−b​)=​x−a2b(y−b)b(x−a)+a(y−b)​​.

Therefore,

R(a,b)(x,y)=(xy2xy)−(ab2ab)−(x−a2b(y−b)b(x−a)+a(y−b)).R_{(a,b)}(x,y) = \begin{pmatrix} x\\ y^2\\ xy \end{pmatrix} - \begin{pmatrix} a\\ b^2\\ ab \end{pmatrix} - \begin{pmatrix} x-a\\ 2b(y-b)\\ b(x-a)+a(y-b) \end{pmatrix}.R(a,b)​(x,y)=​xy2xy​​−​ab2ab​​−​x−a2b(y−b)b(x−a)+a(y−b)​​.

Compute the coordinates separately.

The first coordinate is

x−a−(x−a)=0.x-a-(x-a)=0.x−a−(x−a)=0.

The second coordinate is

y2−b2−2b(y−b).y^2-b^2-2b(y-b).y2−b2−2b(y−b).

Factoring the difference of squares gives

y2−b2=(y−b)(y+b),y^2-b^2=(y-b)(y+b),y2−b2=(y−b)(y+b),

so

y2−b2−2b(y−b)=(y−b)(y+b−2b)=(y−b)2.y^2-b^2-2b(y-b) = (y-b)(y+b-2b) = (y-b)^2.y2−b2−2b(y−b)=(y−b)(y+b−2b)=(y−b)2.

The third coordinate is

xy−ab−b(x−a)−a(y−b).xy-ab-b(x-a)-a(y-b).xy−ab−b(x−a)−a(y−b).

Expanding the terms being subtracted,

b(x−a)+a(y−b)=bx−ab+ay−ab.b(x-a)+a(y-b) = bx-ab+ay-ab.b(x−a)+a(y−b)=bx−ab+ay−ab.

Thus,

xy−ab−(bx−ab+ay−ab)=xy−bx−ay+ab.xy-ab-\bigl(bx-ab+ay-ab\bigr) = xy-bx-ay+ab.xy−ab−(bx−ab+ay−ab)=xy−bx−ay+ab.

Factoring this expression,

xy−bx−ay+ab=(x−a)(y−b).xy-bx-ay+ab=(x-a)(y-b).xy−bx−ay+ab=(x−a)(y−b).

Consequently, the remainder is

R(a,b)(x,y)=(0(y−b)2(x−a)(y−b)).R_{(a,b)}(x,y) = \begin{pmatrix} 0\\ (y-b)^2\\ (x-a)(y-b) \end{pmatrix}.R(a,b)​(x,y)=​0(y−b)2(x−a)(y−b)​​.

This can also be factored as

R(a,b)(x,y)=(y−b)(0y−bx−a).R_{(a,b)}(x,y) = (y-b) \begin{pmatrix} 0\\ y-b\\ x-a \end{pmatrix}.R(a,b)​(x,y)=(y−b)​0y−bx−a​​.

This factorization reveals why the differentiability limit will work: the remainder contains an extra factor of y−by-by−b, which approaches zero.

Evaluate the differentiability quotient

The numerator is

∥R(a,b)(x,y)∥=∥(y−b)(0y−bx−a)∥.\left\|R_{(a,b)}(x,y)\right\| = \left\| (y-b) \begin{pmatrix} 0\\ y-b\\ x-a \end{pmatrix} \right\|.​R(a,b)​(x,y)​=​(y−b)​0y−bx−a​​​.

A scalar can be pulled outside a norm using its absolute value:

∥R(a,b)(x,y)∥=∣y−b∣02+(y−b)2+(x−a)2.\left\|R_{(a,b)}(x,y)\right\| = |y-b| \sqrt{0^2+(y-b)^2+(x-a)^2}.​R(a,b)​(x,y)​=∣y−b∣02+(y−b)2+(x−a)2​.

The denominator is the distance from (x,y)(x,y)(x,y) to (a,b)(a,b)(a,b):

∥(x−ay−b)∥=(x−a)2+(y−b)2.\left\| \begin{pmatrix} x-a\\ y-b \end{pmatrix} \right\| = \sqrt{(x-a)^2+(y-b)^2}.​(x−ay−b​)​=(x−a)2+(y−b)2​.

Hence, the differentiability quotient is

∥R(a,b)(x,y)∥∥(x−a,y−b)∥=∣y−b∣(y−b)2+(x−a)2(x−a)2+(y−b)2.\frac{ \left\|R_{(a,b)}(x,y)\right\| }{ \left\|(x-a,y-b)\right\| } = \frac{ |y-b| \sqrt{(y-b)^2+(x-a)^2} }{ \sqrt{(x-a)^2+(y-b)^2} }.∥(x−a,y−b)∥​R(a,b)​(x,y)​​=(x−a)2+(y−b)2​∣y−b∣(y−b)2+(x−a)2​​.

Away from (a,b)(a,b)(a,b), the identical square-root factors cancel:

∥R(a,b)(x,y)∥∥(x−a,y−b)∥=∣y−b∣.\frac{ \left\|R_{(a,b)}(x,y)\right\| }{ \left\|(x-a,y-b)\right\| } = |y-b|.∥(x−a,y−b)∥​R(a,b)​(x,y)​​=∣y−b∣.

As (x,y)→(a,b)(x,y)\to(a,b)(x,y)→(a,b), one has y→by\to by→b, so

∣y−b∣→0.|y-b|\to 0.∣y−b∣→0.

Therefore,

lim⁡(x,y)→(a,b)∥R(a,b)(x,y)∥∥(x−a,y−b)∥=0.\lim_{(x,y)\to(a,b)} \frac{ \left\|R_{(a,b)}(x,y)\right\| }{ \left\|(x-a,y-b)\right\| } =0.(x,y)→(a,b)lim​∥(x−a,y−b)∥​R(a,b)​(x,y)​​=0.

This proves that fff is differentiable at (a,b)(a,b)(a,b). Since (a,b)(a,b)(a,b) was arbitrary, fff is differentiable at every point in R2\mathbb{R}^2R2.

The calculation also confirms that the proposed matrix is the correct derivative matrix.

What the example demonstrates

The example illustrates several important patterns:

  1. The numerator is a vector in R3\mathbb{R}^3R3.
  2. The denominator is the distance between two points in R2\mathbb{R}^2R2.
  3. Both numerator and denominator approach zero.
  4. The numerator has an additional factor that forces the quotient to zero.
  5. The remainder is smaller than the distance to the base point.

If the extra factor had not been present, the quotient might have approached a nonzero value such as 111, which would not satisfy the differentiability definition.

Think About It

Why is factoring expressions into terms such as x−ax-ax−a and y−by-by−b useful when studying behavior near (a,b)(a,b)(a,b)?

The epsilon-delta formulation

The limit definition can be translated directly into an epsilon-delta statement.

Starting with

lim⁡x→p∥f(x)−f(p)−Df(p)(x−p)∥∥x−p∥=0,\lim_{x\to p} \frac{ \|f(x)-f(p)-Df(p)(x-p)\| }{ \|x-p\| } =0,x→plim​∥x−p∥∥f(x)−f(p)−Df(p)(x−p)∥​=0,

the definition of a limit says that for every ε>0\varepsilon>0ε>0, there exists δ>0\delta>0δ>0 such that whenever

0<∥x−p∥<δ,0<\|x-p\|<\delta,0<∥x−p∥<δ,

one has

∣∥f(x)−f(p)−Df(p)(x−p)∥∥x−p∥−0∣<ε.\left| \frac{ \|f(x)-f(p)-Df(p)(x-p)\| }{ \|x-p\| } -0 \right| <\varepsilon.​∥x−p∥∥f(x)−f(p)−Df(p)(x−p)∥​−0​<ε.

The quotient is nonnegative, so the absolute value can be removed:

∥f(x)−f(p)−Df(p)(x−p)∥∥x−p∥<ε.\frac{ \|f(x)-f(p)-Df(p)(x-p)\| }{ \|x-p\| } <\varepsilon.∥x−p∥∥f(x)−f(p)−Df(p)(x−p)∥​<ε.

Multiplying by ∥x−p∥\|x-p\|∥x−p∥ gives

∥f(x)−f(p)−Df(p)(x−p)∥<ε∥x−p∥.\|f(x)-f(p)-Df(p)(x-p)\| < \varepsilon\|x-p\|.∥f(x)−f(p)−Df(p)(x−p)∥<ε∥x−p∥.

Thus, an equivalent formulation is:

For every ε>0\varepsilon>0ε>0, there exists δ>0\delta>0δ>0 such that if 0<∥x−p∥<δ0<\|x-p\|<\delta0<∥x−p∥<δ, then

∥f(x)−f(p)−Df(p)(x−p)∥<ε∥x−p∥.\|f(x)-f(p)-Df(p)(x-p)\| < \varepsilon\|x-p\|.∥f(x)−f(p)−Df(p)(x−p)∥<ε∥x−p∥.

This version says that the error is bounded by an arbitrarily small multiple of the distance to ppp.

The right-hand side is not normally replaced by εδ\varepsilon\deltaεδ. The quantity ε∥x−p∥\varepsilon\|x-p\|ε∥x−p∥ is more informative because it shows exactly how the error compares with the actual distance from xxx to ppp.

The remainder formulation

Another equivalent way to express differentiability is to define a remainder function RRR and write

f(x)=f(p)+Df(p)(x−p)+R(x).f(x)=f(p)+Df(p)(x-p)+R(x).f(x)=f(p)+Df(p)(x−p)+R(x).

The function is differentiable at ppp precisely when

lim⁡x→p∥R(x)∥∥x−p∥=0.\lim_{x\to p} \frac{\|R(x)\|}{\|x-p\|} =0.x→plim​∥x−p∥∥R(x)∥​=0.

This form separates the function into two parts:

  1. The first-order approximation:

    f(p)+Df(p)(x−p).f(p)+Df(p)(x-p).f(p)+Df(p)(x−p).
  2. The error or remainder:

    R(x).R(x).R(x).

The remainder satisfies

R(x)=f(x)−f(p)−Df(p)(x−p).R(x)=f(x)-f(p)-Df(p)(x-p).R(x)=f(x)−f(p)−Df(p)(x−p).

Therefore, the two formulations are exactly equivalent. One emphasizes the limit of the quotient, while the other emphasizes the decomposition of fff into an approximation plus a negligible error.

In informal terms, near ppp the function behaves like

f(x)≈f(p)+Df(p)(x−p),f(x)\approx f(p)+Df(p)(x-p),f(x)≈f(p)+Df(p)(x−p),

and the approximation becomes increasingly accurate in the precise sense that

R(x)=o(∥x−p∥).R(x)=o(\|x-p\|).R(x)=o(∥x−p∥).

The notation o(∥x−p∥)o(\|x-p\|)o(∥x−p∥) expresses that the remainder is small compared with ∥x−p∥\|x-p\|∥x−p∥ as x→px\to px→p.

How the three formulations are related

The same idea can be recognized in three forms.

Limit quotient form

lim⁡x→p∥f(x)−f(p)−Df(p)(x−p)∥∥x−p∥=0.\lim_{x\to p} \frac{ \|f(x)-f(p)-Df(p)(x-p)\| }{ \|x-p\| } =0.x→plim​∥x−p∥∥f(x)−f(p)−Df(p)(x−p)∥​=0.

This is often the most direct form for applying the definition.

Epsilon-delta form

For every ε>0\varepsilon>0ε>0, there exists δ>0\delta>0δ>0 such that

0<∥x−p∥<δ0<\|x-p\|<\delta0<∥x−p∥<δ

implies

∥f(x)−f(p)−Df(p)(x−p)∥<ε∥x−p∥.\|f(x)-f(p)-Df(p)(x-p)\| < \varepsilon\|x-p\|.∥f(x)−f(p)−Df(p)(x−p)∥<ε∥x−p∥.

This form is useful in formal proofs involving neighborhoods and estimates.

Approximation-plus-remainder form

f(x)=f(p)+Df(p)(x−p)+R(x),f(x)=f(p)+Df(p)(x-p)+R(x),f(x)=f(p)+Df(p)(x−p)+R(x),

where

lim⁡x→p∥R(x)∥∥x−p∥=0.\lim_{x\to p}\frac{\|R(x)\|}{\|x-p\|}=0.x→plim​∥x−p∥∥R(x)∥​=0.

This form most clearly communicates the conceptual meaning: the function is its first-order approximation plus an error that is negligible compared with the displacement from ppp.

Comprehensive review

Differentiability generalizes the familiar derivative from one-variable calculus to functions between Euclidean spaces of arbitrary dimensions.

For a function

f:A⊆Rn→Rm,f:A\subseteq\mathbb{R}^n\to\mathbb{R}^m,f:A⊆Rn→Rm,

differentiability at ppp means that there is a linear transformation

Df(p):Rn→RmDf(p):\mathbb{R}^n\to\mathbb{R}^mDf(p):Rn→Rm

such that

lim⁡x→p∥f(x)−f(p)−Df(p)(x−p)∥∥x−p∥=0.\lim_{x\to p} \frac{ \|f(x)-f(p)-Df(p)(x-p)\| }{ \|x-p\| } =0.x→plim​∥x−p∥∥f(x)−f(p)−Df(p)(x−p)∥​=0.

The expression

f(p)+Df(p)(x−p)f(p)+Df(p)(x-p)f(p)+Df(p)(x−p)

is the first-order approximation to fff at ppp. It agrees exactly with fff at ppp, and differentiability requires its error to become negligible compared with ∥x−p∥\|x-p\|∥x−p∥.

When n=m=1n=m=1n=m=1, the linear transformation Df(p)Df(p)Df(p) is multiplication by a scalar f′(p)f'(p)f′(p), and the general definition becomes the usual derivative limit

f′(p)=lim⁡x→pf(x)−f(p)x−p.f'(p)=\lim_{x\to p}\frac{f(x)-f(p)}{x-p}.f′(p)=x→plim​x−pf(x)−f(p)​.

In that setting, the first-order approximation is the tangent line

f(p)+f′(p)(x−p).f(p)+f'(p)(x-p).f(p)+f′(p)(x−p).

For higher-dimensional functions, the derivative is represented by an m×nm\times nm×n matrix. In the example

f(x,y)=(x,y2,xy),f(x,y)=(x,y^2,xy),f(x,y)=(x,y2,xy),

the derivative at (a,b)(a,b)(a,b) is represented by

(1002bba),\begin{pmatrix} 1&0\\ 0&2b\\ b&a \end{pmatrix},​10b​02ba​​,

and the remainder becomes

(y−b)(0y−bx−a).(y-b) \begin{pmatrix} 0\\ y-b\\ x-a \end{pmatrix}.(y−b)​0y−bx−a​​.

The extra factor y−by-by−b ensures that the error divided by the distance to (a,b)(a,b)(a,b) approaches zero, proving differentiability at every point. Differentiability is therefore the existence of a first-order linear model whose relative error vanishes near the point.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent