Docsity

Differentiability and the Connection between Derivatives and Linear Approximations - Prof., Apuntes de Economía

Vista previa parcial del texto

¡Descarga Differentiability and the Connection between Derivatives and Linear Approximations - Prof. y más Apuntes en PDF de Economía solo en Docsity!

Differentiability

Miguel A. Ballester

Universitat Aut`onoma de Barcelona

October 6-8, 2009

Introduction

The derivative of a function f : R → R at a point x ∈ R is usually defined as a real number that describes the instantaneous change of the value of f as x changes.

However, describing the derivative as a number hides another usual reflection, the connection between the derivative of f at x and the line that best approximates f near x.

Introduction

Remark Let O be an open set of R, x ∈ O and f : O → R. The function f is differentiable at x, if and only if there exists a linear map L on a neighborhood of x that approximates f near x.

If f is differentiable at x, then f ′(x) = lim h→ 0

f (x + h) − f (x) h which is equivalent to:

lim h→ 0

f (x + h) − f (x) − f ′(x)h h

This is equivalent to:

tlim→x

f (t) − f (x) − f ′(x)(t − x) |t − x|

We only need to consider the linear map t → f (x) + f ′(x)(t − x). Frechet Derivative

Differentiability and Continuity

Proposition Let f : O → R, with O ⊆ R open. If f is differentiable at x ∈ O then f is continuous at x. Proof: Consider x and x + h in O. Then we can write:

f (x + h) − f (x) = f (x + h) − f (x) h

h.

Consider the limit when h → 0. Then

lim h→ 0 f (x + h) − f (x) = ( lim h→ 0

f (x + h) − f (x) h

)0 = f ′(x)0 = 0,

and therefore,

lim h→ 0 f (x + h) = f (x).

This proves that f is continuous at x, thanks to the sequential characterization of continuity.

Necessary conditions for interior maximum

Proposition Let O and open subset of R, f : O → R a differentiable function and x^0 a local maximum (minimum). Then, f ′(x) = 0. Proof: If x^0 is a local maximum, then f (x^0 + h) − f (x^0 ) ≤ 0 for all h such that |h| < δ. Therefore

f (x^0 + h) − f (x^0 ) h ≤ 0 for all h ∈ (0, δ).

Taking limits as h approaches to 0 (with positive values), we have

lim h→ 0 +

f (x^0 + h) − f (x^0 ) h

Necessary conditions for interior maximum

We also have

f (x^0 + h) − f (x^0 ) h ≥ 0 for all h ∈ (−δ, 0).

Taking limits as h approaches to 0 (with negative values), we have

lim h→ 0 −

f (x^0 + h) − f (x^0 ) h

But since the function is differentiable,

lim h→ 0 +

f (x^0 + h) − f (x^0 ) h

= f ′(x) = lim h→ 0 −

f (x^0 + h) − f (x^0 ) h

and then f ′(x) = 0.

Mean-Value Theorem

Proposition Let f : R → R be a differentiable function. If a < b, then there exists x ∈ (a, b) such that f ′(x) = f^ (b b)−−fa^ ( a). Proof: Define the function g : [a, b] → R by

g (x) = f (x) − f (a) − f (b) − f (a) b − a

(x − a).

Clearly, I (^) g (a) = g (b) = 0. I (^) g is continuous (why?) I (^) g is differentiable on (a, b) (why?) Then, there exists x ∈ (a, b) such that g ′(x) = 0. That is, g ′(x) = f ′(x) − f^ (b b)−−fa^ ( a)= 0 and thus, f ′(x) = f^ (b b)−−fa^ ( a).

Directional Derivative

The directional derivative of f : Rn^ → R in the direction of u at point x is defined by:

Df (x, u) = lim α→ 0

f (x + αu) − f (x) α where α ∈ R and ||u|| = 1 and whenever this limit exists. The partial derivative of f with respect to the i-th argument, xi is defined by fi (x) = Dxi f (x) = Df (x, ei ) with ei = (0,... , 0 , 1 , 0 ,... , 0). If all the partial derivatives of f exist and are continuous in some neighborhood of x then all the directional derivatives exist and can be written as a linear combination of the partial derivatives.

Df (x^0 , u) =

∑^ n

i=

fi (x^0 )ui.

Higher order partials

Now write g (y ) = fx (x^0 + λ 1 h, y ) with derivative g ′(y ) = fxy (x^0 + λ 1 h, y ). Thus,

A = h[g (y 0 + h) − g (y 0 )]. By the mean-value theorem, there exists λ 2 ∈ (0, 1) such that

A = h^2 g ′(y 0 + λ 2 h) = h^2 fxy (x^0 + λ 1 h, y 0 + λ 2 h). In a similar manner, defining ψ(y ) = f (x^0 + h, y ) − f (x^0 , y ), we can find λ 3 , λ 4 such that

A = h^2 fyx (x^0 + λ 3 h, y 0 + λ 4 h).

Higher order partials

Hence,

h^2 fxy (x^0 + λ 1 h, y 0 + λ 2 h) = h^2 fyx (x^0 + λ 3 h, y 0 + λ 4 h). Finally, taking limits with h → 0, given the continuity of the derivatives, we have

fxy (x^0 , y 0 ) = fyx (x^0 , y 0 ).

Differentiability

A function f : Rn^ ⊇ O → Rm^ is differentiable at x ∈ O if there exists a matrix Ax such that

lim ||h||→ 0

||f (x + h) − f (x) − Ax h|| ||h||

I (^) Derivative Df : O → Rm×n^ assigns a matrix Ax to each x. I (^) Differential dfx : Rn^ → Rm^ is a mapping that assigns to each x the linear operator dfx (h) = Ax h!

Differentiability and continuity

Proposition If f : Rn^ ⊇ O → Rm^ is differentiable at x ∈ O, then f is continuous at x. Proof: Simply consider f (x + h) = f (x) + dfx (h) + [f (x + h) − f (x) − dfx (h)]. Taking the limit when h → 0 , the last two terms go to zero. dfx (h) by the continuity of the linear operator, and the fact that dfx (0) = 0. The second because of differentiability. Hence,

lim h→ 0 f (x + h) = f (x)

and f is continuous at x.

Differentiability and continuity

Proof: Suppose that f is differentiable at x. Then, there exists Df (x) such that

lim ||h||→ 0

||f (x + h) − f (x) − Df (x)h|| ||h||

Denote the entries of Df (x) by aik and h = (h 1 ,... , hk ). Then we have

Df (x)h = (

∑^ n

k=

a 1 k hk ,... ,

∑^ n

k=

amk hk )T^.

Consider the i-th component of f and observe that

Differentiability and continuity

lim ||h||→ 0

|f i^ (x + h) − f i^ (x) −

∑^ n

k=

aik hk |

||h||

lim ||h||→ 0

||f (x + h) − f (x) − Df (x)h|| ||h||

Then, the components are differentiable. The other part of the proof comes from the fact that the Euclidean norm of a vector cannot be larger than the sum of the absolute values of its components.