Beruflich Dokumente
Kultur Dokumente
Tangent Spaces
MH2100
Chapter IV Continuity and differentiability
Mehdi Ghasemi
mghasemi@ntu.edu.sg
September, 2013
1 / 37
Tangent Spaces
O UTLINE
Tangent Spaces
2 / 37
Tangent Spaces
exists > 0 such that x M with x a < implies f (x) < . is continuous at a if a M and lim f (x) = f (a).
xa
3 / 37
Tangent Spaces
S PECIAL CASE : f : Rm R1
Theorem
Let f , g : Rm R, a Rm , lim f (x) =
xa 2. 2. 1
2.
+ .
3. If
= 0, lim g(x) =
xa
f (x)
4 / 37
Tangent Spaces
S PECIAL CASE : f : Rm R1
Proof of 1.
Since lim f (x) =
xa 1
and 1 , 2 > 0 such that x a < 1 implies |f (x) 1 | < 2 x a < 2 implies |g(x) 2 | < 2 . For min{1 , 2 }, and any x with x a < , both and |g(x) 2 | < 2 holds. Applying inequalities |f (x) 1 | < 2 triangle inequality to |f (x) + g(x) ( 1 + 2 )| we get
|f (x) + g(x) (
2 )|
Tangent Spaces
S PECIAL CASE : f : Rm R1
Proof of 2.
xa Fix > 0 and let 1 = 2 k2 and 2 = 2k1 where | 1 | < k1 and | 2 | < k2 . Since lim f (x) = 1 and lim g(x) = 2 , corresponding to 1 , 2 > 0, x a
there exist 1 , 2 > 0 such that x a < 1 x a < 2 |f (x) 1 | < 1 |g(x) 2 | < 2 .
= < = =
3 follows similarly.
6 / 37
Tangent Spaces
S PECIAL CASE : f : Rm R1
Recall that any projection p : Rm Rn (n m) dened by p(x1 , . . . , xm ) = (x1 , . . . , xn ) is continuous. In particular for 1 i m, pi (x1 , . . . , xm ) = xi is continuous. Combining this with previous theorem, we see that every polynomial function in x1 , . . . , xn is continuous. l Example: xk i xj = pi (x) pi (x) pj (x) pj (x).
k times l times
Also any rational function is continuous on its domain (a p(x1 ,...,xn ) rational function is a function of the form q(x1 ,...,xn ) where p and q are polynomial functions). All elementary functions, i.e., trigonometric, exponential, logarithmic and their composition are continuous on their domain.
7 / 37
Tangent Spaces
G ENERAL CASE
Theorem
Let a Rm and f : M Rm Rn be a map with component functions f1 (x1 , . . . , xm ), . . . , fn (x1 , . . . , xm ), i.e., f (x1 , . . . , xm ) = (f1 (x1 , . . . , xm ), . . . , fn (x1 , . . . , xm )) . Then
xa
lim f (x) = = ( 1 , . . . ,
n)
if and only if
xa
lim fi (x) = i ,
i = 1, . . . , n.
8 / 37
Tangent Spaces
G ENERAL CASE
Proof.
() Suppose that lim f (x) = = ( 1 , . . . ,
xa n ).
> 0 there exists a > 0 such that x M, x a < f (x) Note that for each j = 1, . . . , n, |fj (x) j | = (fj (x) j )2 < .
Tangent Spaces
G ENERAL CASE
() Conversely, assume that for each j = 1, . . . , n, lim fj (x) = j .
xa
Therefore, for every > 0 and each j = 1, . . . , n there exists j > 0 such that x M, x a < j |fj (x) j | < . n If we take min(1 , . . . , n ), then x a < implies |fj (x) j | < , for each j = 1, . . . , n. Hence n f (x) = < = = , which completes the proof.
10 / 37
Tangent Spaces
G ENERAL CASE
Corollary
Let f : Rm Rn be a map with component functions f1 , . . . , fn all of which are elementary functions. Then f is continuous at any point in its domain. Moreover domf = domf1 domfn .
Example
x sin x 2 Let f (x, y) = ( xsin 2 +y2 , ln y). Then dom x2 +y2 = R \ {(0, 0)} and dom ln y = {(x, y) : y > 0}. Therefore
(R R+ ) = R R+ ,
11 / 37
Tangent Spaces
G ENERAL CASE
Example
t1 ), nd lim f (t). Let f (t) = (tt , cost2
t0+
and hence
t0+
lim
and hence
t0+
lim = et0+
= e0 = 1.
12 / 37
Tangent Spaces
G ENERAL CASE
...continue
The second limit is
t0+
lim
cos t1 t2
1 = 2 .
t0+
lim
sin t 2t
Therefore
13 / 37
Tangent Spaces
14 / 37
Tangent Spaces
15 / 37
Tangent Spaces
h0
|f (a+h)f (a)(A1 ,...,Am )(h1 ,...,hm )| h |f (a1 ,...,ai +hi ,ai+1 ,...,am )f (a)(A1 ,...,Am )(0, ,hi ,0, ,0)| lim |h i | h 0
hi 0
lim
lim |
Ai |
= |fxi (a) Ai |. Thus Ai = fxi (a) and A = f (a) = (fx1 (a), . . . , fxm (a)). (1)
16 / 37
Tangent Spaces
h0
Tangent Spaces
Denition
Let f : M Rm Rn be a map and a M. We say f is differentiable at x = a, if there exists an n m matrix A such that lim f (a + h) f (a) A hT = 0. h (2)
h0
18 / 37
Tangent Spaces
. . . . xm fn (a)
xm f1 (a)
19 / 37
Tangent Spaces
J ACOBIAN MATRIX
Example
Let f (x, y) = x + y, then the Jacobian matrix of f is the 1 2 matrix: f = fx fy = 1 1 . Let g(x, y) = xy, then the Jacobian matrix of g is a 1 2 matrix: g = gx gy = y x . Let h(x) = (sin x, ex ), then the Jacobian matrix of h is a 2 1 matrix: cos x x h1 h = = . ex x h2
20 / 37
Tangent Spaces
J ACOBIAN MATRIX
Example
For f (x, y) = (x sin(xy), arctan(x + y)), then the Jacobian matrix of f is a 2 2 matrix: f =
x f1 x f2 y f1 y f2
Consider the map g(x, y) = (xy2 , sin(x2 y), ex2y ), then the Jacobian matrix is 3 2: y2 2xy x g1 y g1 g 2x cos(x2 y) cos(x2 y) . g = x 2 y g2 = ex2y 2ex2y x g3 y g3
21 / 37
Tangent Spaces
J ACOBIAN MATRIX
Theorem
If f : Rm Rn is differentiable at x = a, then f is continuous at a.
Proof
Since f is differentiable lim f (a + h) f (a) A hT = 0. h
h0
Multiplying by h = 0, we get to
h0
lim f (a + h) f (a) A hT = 0
Tangent Spaces
J ACOBIAN MATRIX
But
a11 h1 + + a1m hm . . A hT = , . an1 h1 + + anm hm 0 . T and hence lim A h = . . . 0 Therefore lim f (a + h) f (a) = 0 or lim f (a + h) = f (a) which
h0 h0 h0
23 / 37
Tangent Spaces
P ROPERTIES OF J ACOBIAN
Proposition
Let f , g : Rm Rn be two differentiable functions at x = a and , R. Then 1. Differentiation is linear, i.e., (f + g) (a) = f (a) + g (a). 2. Product rule: if n = 1, then (f g) (a) = f (a) g(a) + f (a) g (a).
Proof of 1
We need to show that
h 0
lim
Tangent Spaces
J ACOBIAN MATRIX
...continue
by triangle inequality
f (a+h)+ g(a+h)f (a) g(a)f (a)h g (a)h h (f (a+h)f (a)f (a)h)+ (g(a+h)g(a)g (a)h) h g(a+h)g(a)g (a)h f (a+h)f (a)f (a)h + | | || h h
= 0.
Proof of 2
(fg) (a) = = = = = ((fg)x1 (a), . . . , (fg)xm (a)) (fx1 (a)g(a) + f (a)gx1 (a), . . . , fxm (a)g(a) + f (a)gxm (a)) (fx1 (a)g(a), . . . , fxm (a)g(a)) + (f (a)gx1 (a), . . . , f (a)gxm (a)) (fx1 (a), . . . , fxm (a)) g(a) + f (a) (gx1 (a), . . . , gxm (a)) f (a)g(a) + f (a)g (a).
25 / 37
Tangent Spaces
T HE CASE f : R R:
The tangent space at the graph of a single variable function f (x) is a one dimensional line:
y = f(x)
Tangent line
15
10
-1
-0.5 -5
0.5
1.5
-10
Tangent Spaces
T HE CASE f : R2 R:
The tangent space at the graph of a function in two variables f (x, y) is a two dimensional plane:
It consists of all linear combinations of the vectors (1, 0, fx (a1 , a2 )) and (0, 1, fy (a1 , a2 )). If v = (v1 , v2 , v3 ) is a non-zero vector orthogonal to both of these vectors, at point (a1 , a2 , f (a1 , a2 )), then, the tangent plane is all points (x, y, z) satisfying: (x a1 , y a2 , z f (a1 , a2 )) (v1 , v2 , v3 ) = 0.
27 / 37
Tangent Spaces
T HE CASE f : R2 R:
The vector v should be orthogonal to (1, 0, fx ) and (0, 1, fy ), so v (1, 0, fx ) = 0, v (0, 1, fy ) = 0.
Without loss of generality, we assume that v3 = 1 and the above equations read as v1 + fx = 0 v2 + fy = 0, hence v = (fx , fy , 1), therefore the tangent plane is the set of all points satisfying: (x a1 , y a2 , z f (a)) (fx , fy , 1) = 0, in other words: z = f (a) + fx (a)(x a1 ) + fy (a)(y a2 ) = f (a) + f (a) (x a)
28 / 37
Tangent Spaces
T HE GENERAL CASE f : Rm Rn
Denition
Given a map f : Rm Rn differentiable at a Rm , the set of all point (x, y) satisfying y = f (a) + f (a) (x a) is called the tangent space to the graph of f at point x = a.
29 / 37
Tangent Spaces
TANGENT SPACES
Example
Let f (x, y) = x2 ln(1 + xy). Find the equation of the tangent plane to the graph of f at point (2, 0). Solution. The partial derivatives of f are fx (x, y) = 2x ln(1 + xy) + fy (x, y) =
x3 1+xy . x2 y 1+xy
The point (2, 0) is in the domain of f , fx and fy . Therefore the tangent plane to Gf exists and its equation is z = f (2, 0) + fx (2, 0)(x 2) + fy (2, 0)(y 0) = 0 + 0(x 2) + 8y = 8y.
30 / 37
Tangent Spaces
TANGENT SPACES
31 / 37
Tangent Spaces
TANGENT SPACES
Example
Let g(x, y) = (x2 + y2 ). Find the equation of the tangent plane to Gg at point (0, 0). Solution. The partial derivatives of g are gx (x, y) = 2x gy (x, y) = 2y. The equation of the tangent plane at (0, 0) is z = g(0, 0) + gx (0, 0)(x 0) + gy (0, 0)(y 0) = 0 + 0x + 0y = 0, which is the equation of the xy-plane.
32 / 37
Tangent Spaces
TANGENT SPACES
33 / 37
Tangent Spaces
TANGENT SPACES
Example
Let h(x, y) = (x2 + y2 + 1) cos(x2 + y2 ). Find the equation of the tangent plane to Gh at point (0, 0). Solution. The partial derivatives of g are hx (x, y) = 2x cos(x2 + y2 ) 2x(x2 + y2 ) sin(x2 + y2 ) hy (x, y) = 2y cos(x2 + y2 ) 2y(x2 + y2 ) sin(x2 + y2 ). The equation of the tangent plane at (0, 0) is z = h(0, 0) + hx (0, 0)(x 0) + hy (0, 0)(y 0) = 1 + 0x + 0y = 1, which is parallel to the xy-plane.
34 / 37
Tangent Spaces
TANGENT SPACES
35 / 37
Tangent Spaces
TANGENT SPACES
Example
Let f (x, y) = sin(xy) 1. Find the equation of the tangent plane to Gf at point (0, 0). Solution. The partial derivatives of g are fx (x, y) = y cos(xy) fy (x, y) = x cos(xy). The equation of the tangent plane at (0, 0) is z = f (0, 0) + fx (0, 0)(x 0) + fy (0, 0)(y 0) = 1 + 0x + 0y = 1, which is parallel to the xy-plane.
36 / 37
Tangent Spaces
TANGENT SPACES
37 / 37