You are on page 1of 39

CÁLCULO DIFERENCIAL EN FUNCIONES DE

VARIAS VARIABLES

• Introducción
• Límites y Continuidad
• Diferenciabilidad
• Derivadas parciales
• Diferencial de una función
• Diferencial de la función compuesta
• Derivadas direccionales y gradiente
• Aplicaciones de la derivación
• Función implícita e inversa
• Extremos de funciones
Derivación: Variación de la función cuando varía la variable
Ecuación punto pendiente de una recta.
En : y  y0  m( x  x0 )
f ( x0  x)  f ( x0 )
f ´( x0 )  lim Pendiente:
x 0 x
y  y0 f ( x)  f ( x0 )
m  
y x  x0 x  x0
f ( x0  x)  f ( x0 )
(𝑥0 +x , 
f(𝑥0 +x)) x  xo x x

f(𝑥0 +x)-f(𝑥0 )
(𝑥0 , f(𝑥0 ))
f ( x0  x)  f ( x0 )
x lim  f '( x0 )
x 0 x
x
La derivada es una pendiente
p
¿Y qué hacemos en ?
¿En qué dirección medimos la pendiente?
Diferenciabilidad: Derivadas según un vector
Sea f : C  p  con C abierto
y a  C punto de acumulación.
Sea u vector de p .
Se define la derivada de f en a
según u como:

f (a )
Du f (a )  
u f (a  hu)
f (a  hu )  f (a )
f u (a )  lim
h 0 h f (a )

Si  Du f (a ) y es finito se dice h u
a
que f es derivable según u en a.
Si u es unitario se habla de
derivada direccional.
En : Derivada direccional. Vector unitario: u  (cos  ,sen )
2

f f ( x0  h cos  , y0  hsen )  f ( x0 , y0 )
( x0 , y0 )  D f ( x0 , y0 )  lim
u h 0 h
f (a )
es la pendiente de
u
la tangente a la curva
que se obtiene de la
intersección de z  f ( x, y )
con el plano que pasa por a ,
f (a )
es perpendicular al plano xy
y contiene a u.
u a
¿Qué pasa si u está dirigido según los ejes de coordenadas?

Si a  ( x1 , x2 ,...., x p ) se define la derivada parcial


i-esima de f en a: Dxi f ( a )  f xi ( a ) 

f (a ) f ( x1 ,...., xi  h,...., x p )  f ( x1 ,..., xi ,..., x p )


 lim
xi h 0 h

(Derivadas direccionales según los vectores ei de la


p
base canónica de )
2
En :
f f ( x0  x, y0 )  f ( x0 , y0 )
( x0 , y0 )  lim
x x  0 x
f f ( x0 , y0  y )  f ( x0 , y0 )
( x0 , y0 )  lim
y y  0 y

f f ( x0  h, y0 )  f ( x0 , y0 ) f ( x, y0 )  f ( x0 , y0 )
( x0 , y0 )  f x ( x0 , y0 )  lim  lim
x h  0 h x  x0 x  x0
f f ( x0 , y0  h)  f ( x0 , y0 ) f ( x0 , y )  f ( x0 , y0 )
( x0 , y0 )  f y ( x0 , y0 )  lim  lim
y h  0 h y  y0 y  y0

n
En :
f f ( x1 , x2 ,..., xi  h,..., xn )  f ( x1 , x2 ,..., xi ,..., xn )
( x1 , x2 ,..., xn )  lim
xi h 0 h
Variación de la función al variar x Fijamos el valor de y
f f ( x0  x, y0 )  f ( x0 , y0 ) y observamos el cambio
( x0 , y0 )  lim de la función al
x x 0 x
variar 𝑥.

f ( x, y )  1  x 2  y 2

f ( x0  x, y0 )
f ( x0 , y0 )
f
=Variación de la función
y
al variar y (x permanece fija)

Fijo el valor de x  x0 z0  f ( x0 , y0 ) z  f ( x0 , y0  h)
y observo el cambio
de la función de una
variable f ( x0 , y ) al variar y

y0 y0  h
Ej Hallar el valor de f x (1,1) si f ( x, y )  x 2  y

f f (1  x,1)  f (1,1) ((1  x) 2  1)  (12  1)


(1,1)  lim  lim 
x x  0 x x  0 x
x 2  2x  2  2
 lim  lim x  2  2
x  0 x x  0

Utilizar la definición para calcular derivadas parciales en cada punto


no es práctico.

Regla: Se consideran las demás variables independientes como constantes


y se deriva la función respecto a la variable de la que queremos
encontrar su derivada parcial.
Ej Hallar el valor de f y (1,1) si f ( x, y )  x 2  y

f y ( x, y )  1  f x (1,1)  1

 x y
Ej Hallar f x ( x, y ) y f y ( x, y ) para f ( x, y )  ln  
 x  y 
Recordemos la derivada logarítmica:
f '( x)
(log f ( x)) ' 
f ( x)

1 1( x  y )  1( x  y ) 2 y
f x ( x, y )   
x y ( x  y)2 ( x  y )( x  y )
x y
1 1( x  y )  (1)( x  y ) 2x
f y ( x, y )   
x y ( x  y) 2
( x  y )( x  y )
x y
Calcular las derivadas parciales de la función:
3 2 𝑥𝑦𝑧 3
𝑓 𝑥, 𝑦, 𝑧 = 𝑥 𝑦 + 5𝑦 sin 𝑥𝑧 − 𝑒

𝜕𝑓 2 2 3 𝑥𝑦𝑧 3
= 3𝑥 𝑦 + 5𝑦 𝑧 cos 𝑥𝑧 − 𝑦𝑧 𝑒
𝜕𝑥

𝜕𝑓 3 3 𝑥𝑦𝑧 3
= 𝑥 + 10𝑦sin 𝑥𝑧 − 𝑥𝑧 𝑒
𝜕𝑦

𝜕𝑓 2 2 𝑥𝑦𝑧 3
= 5𝑦 𝑧cos 𝑥𝑧 − 3𝑥𝑦𝑧 𝑒
𝜕𝑧
 x( x 2  y 2 )
 2 ; ( x, y )  (0, 0)
Ej Hallar f y ( x, y ) para f ( x, y )   x  y 2

 0; ( x, y )  (0, 0)

2 yx( x 2  y 2 )  2 yx( x 2  y 2 ) 2 yx[( x 2  y 2 )  ( x 2  y 2 )]


f y ( x, y )   
(x  y )
2 2 2
(x  y )
2 2 2

2 yx 2 x 2 4 yx 3
 2  2 ¿ Y en (0, 0) ?
(x  y )
2 2
( x  y 2 )2
0
0
f (0, 0  h)  f (0, 0) 2 0
f y (0, 0)  lim  lim h  lim 3  0
h 0 h h 0 h h 0 h

 4 yx3
 2 ; ( x, y )  (0, 0)
Por tanto: f y ( x, y )   ( x  y )
2 2

 0; ( x, y )  (0, 0)

Análogamente:
 x4  4 y 2 x2  y 4
 ; ( x, y )  (0, 0)
f x( x, y )   ( x  y )
2 2 2

 1; ( x, y )  (0, 0)

Diferenciabilidad: Interpretación de las derivadas parciales

Ejemplo: Determinar si f ( x, y )  y 2  x 2 crece o decrece en (1/2,1/2).

(a) Si x varía manteniendo y  1/ 2 fijo.

(b) Si y varía manteniendo x  1/ 2 fijo.

(a) f x ( x, y )  2 x  f x (1/ 2,1/ 2)  1  f decrece al aumentar x con y  1/ 2

(b) f y ( x, y )  2 y  f y (1/ 2,1/ 2)  1  f crece al aumentar y con x  1/ 2


Relación continuidad-derivadas parciales

En : No necesariamente es derivable

Si una función es continua  es derivable


Si una función es derivable  es continua
 1
Si una función no es continua  no es derivable f ( x)  x 3

Continua en x=0
A  B
1
NO B  NO A x 3
0 1
lim  lim 2  
x0 x x0
x 3
La recta tangente en x=0 es
vertical. Por tanto, f no es
derivable en x=0
Ejemplo de una función continua en (0,0)
que no es derivable en (0,0).
  1 
 x  sin  2 
; si ( x, y )  (0, 0)
f ( x, y )   x y 
2

 0; si ( x, y )  (0, 0)

Es continua. Veamos sus


derivadas parciales:

f (0  h, 0)  f (0, 0)
f x (0, 0)  lim
h 0 h
f (h, 0)  f (0, 0)
 lim 
h 0 h
 1 
h  sin  2 
 lim h  
h 0 h
 1 
lim sin  2  No existe
h 0
h 
 xy Continua  Existen derivadas parciales
 2 ; ( x, y )  (0, 0)
f ( x, y )   x  y 2
Existen derivadas parciales  Continua
 0; ( x, y )  (0, 0)

xy
¿ Es continua: lim  f (0, 0) ?
( x , y ) (0,0) x 2  y 2

 x2 1
C1  x  y lim 2 
x 0 2 x 2
Trayectorias  
 C2  x  0 0
lim 2  0
 y 0 y

0
0
f (h, 0)  f (0, 0) 2
f x (0, 0)  lim  lim h 0 Así que la función
h 0 h h  0 h
En cambio no es continua en (0,0)
0
0 y las derivadas parciales
f (0, h)  f (0, 0) h 2
f y (0, 0)  lim  lim 0 existen.
h 0 h h  0 h
CÁLCULO DIFERENCIAL EN FUNCIONES DE
VARIAS VARIABLES

• Introducción
• Límites y Continuidad
• Diferenciabilidad
• Derivadas parciales
• Diferencial de una función
• Diferencial de la función compuesta
• Derivadas direccionales y gradiente
• Aplicaciones de la derivación
• Función implícita e inversa
• Extremos de funciones
Diferenciabilidad

Definición:
Se dice que f : C  p
 es diferenciable en x0  C si existe v  p
tal que
f ( x )  f ( x0 )  v  ( x  x0 )
lim 0
x  x0 x  x0

En caso particular p = 1, es decir: C  :


f ( x)  f ( x0 )  f '( x0 )  x  x0  f ( x)  f ( x0 )
lim  0  lim  f '( x0 )  0
x  x0 x  x0 x  x0 x  x0
f ( x)  f ( x0 )
f '( x0 )  lim
x  x0 x  x0

En la recta real:
diferenciable ≡ derivable
f ( x )  f ( x0 )  v  ( x  x0 )
lim 0
x  x0 x  x0

2
En el caso de : df  diferencial de f

f ( x, y )  f ( x0 , y0 )   f x ( x0 , y0 ), f y ( x0 , y0 )  ( x  x0 , y  y0 )
lim 0
( x , y ) ( x0 , y0 )
 x  x0    y  y0 
2 2

f  Incremento en función

f ( x0 , x )  df ( x0 , x )
p
: lim  0 con
x  0 || x  x0 ||
x0  ( x01 , x02 ,..., x0 p ), x0  ( x1 , x2 ,..., x p )
f ( x0 , x )  f ( x )  f ( x0 )
df ( x0 ; x )  c1 ( x1  x01 )  c2 ( x2  x02 )  ...  c p ( x p  x0 p )
Diferenciabilidad: Significado geométrico
Para que una función sea diferenciable en un punto estamos pidiendo que:
f ( x0 , x )  df ( x0 , x )
lim  0 es decir que f ( x0 , x )  df ( x0 , x )  o(|| x  x0 ||)
x  x0 || x  x0 ||
f ( x0 , x )  f ( x )  f ( x0 )  df ( x0 , x )  o(|| x  x0 ||)
f ( x )  f ( x0 )  df ( x0 , x )  o(|| x  x0 ||)

En 2
, sea z  ( x, y ), z0  ( x0 , y0 ) y z  z  z0 :
f ( z0 ; z )  df ( z0 ; z ) 
 f ( x, y )  f ( x0 , y0 )   f x ( x0 , y0 ), f y ( x0 , y0 )  ( x  x0 , y  y0 )  o( z )

f ( x, y )  f ( x0 , y0 )  f x ( x0 , y0 )( x  x0 )  f y ( x0 , y0 )( y  y0 )  o( z )
f ( x, y )  f ( x0 , y0 )  f x ( x0 , y0 )( x  x0 )  f y ( x0 , y0 )( y  y0 )
Plano tangente

y0 𝑥0

f ( x, y )  f ( x0 , y0 )  f x ( x0 , y0 ) ( x  x0 )
z0  f ( x0 , y0 ) f ( x, y )  f ( x0 , y0 )  f y ( x0 , y0 ) ( y  y0 )
z  f ( x0  h, y0 )

z0  f ( x0 , y0 )
z  f ( x0 , y0  h)

y0 y0  h
f ( x, y)  f ( x0 , y0 )  f x ( x0 , y0 ) ( x  x0 )
f ( x, y )  f ( x0 , y0 )  f y ( x0 , y0 ) ( y  y0 )

a( x  x0 )  b( y  y0 )  c( z  z0 )  0
A( x  x0 )  B( y  y0 )  f ( x, y )  f ( x0 , y0 )
La intersección del plano
A( x  x0 )  B( y  y0 )  f ( x, y )  f ( x0 , y0 )
con el plano y  y0 es la recta
f ( x, y )  f ( x0 , y0 )  f x ( x0 , y0 ) ( x  x0 )
 A  f x ( x0 , y0 )
La intersección del plano
A( x  x0 )  B( y  y0 )  f ( x, y )  f ( x0 , y0 )
con el plano x  x0 es la recta
f ( x, y )  f ( x0 , y0 )  f y ( x0 , y0 ) ( y  y0 )
 B  f y ( x0 , y0 )

f ( x, y)  f ( x0 , y0 )  f x ( x0 , y0 ) ( x  x0 )

Plano tangente a f ( x, y) en ( x0 , y0 )
f ( x, y)  f ( x0 , y0 )  f x ( x0 , y0 )( x  x0 )  f y ( x0 , y0 )( y  y0 )
En 2
con z0  ( x0 , y0 ), z  ( x, y )
f ( z0 ; z )  df ( z0 ; z ) 
 f ( x, y )  f ( x0 , y0 )   f x ( x0 , y0 ), f y ( x0 , y0 )  ( x  x0 , y  y0 )  o( z )

f ( x, y )  f ( x0 , y0 )  f x ( x0 , y0 )( x  x0 )  f y ( x0 , y0 )( y  y0 )  0

f ( x, y )  f ( x0 , y0 )  f x ( x0 , y0 )( x  x0 )  f y ( x0 , y0 )( y  y0 )

Si una función es diferenciable en un punto, se puede aproximar


localmente por su plano tangente.
Encontremos el plano tangente a la función implícita 3 xy  z 2  4
en (1,1,1).
 4  3 xy
f ( x, y )  z   ¿Cual escojo ?
 4  3 xy
f ( x, y )  z  4  3xy es la que cumple f (1,1)  1
3 y 3 
f x ( x, y )   f x (1,1) 
2 4  3 xy 2 

3 x 3 
f y ( x, y )   f y (1,1) 
2 4  3 xy 2 
Plano  z  z0  f x ( x0 , y0 )( x  x0 )  f y ( x0 , y0 )( y  y0 )

3 3
z  1  f x (1,1)( x  1)  f y (1,1)( y  1)  ( x  1)  ( y  1)
2 2
x2 y 2
Encontrar el plano tangente a la función f ( x, y )  3   en (4,3)
16 9

Plano  z  z0  f x( x0 , y0 )( x  x0 )  f y( x0 , y0 )( y  y0 )


x 1
f x( x, y )   f x(4,3)   
8 2
f (4,3)  5 
2y 2
f y( x, y )   f y(4,3) 
9 3 

1 2
z  5   ( x  4)  ( y  3)
2 3

y cerca de (4,3),
1 2
f ( x, y )  5  ( x  4)  ( y  3)  o( z )
2 3
Diferenciabilidad: Condiciones necesarias y suficientes

Previamente vimos que:

necesitamos que la función sea continua......


  1 
 x  sin  2 
; ( x, y )  (0, 0)
....pero no solo f ( x, y )   x y 
2

 0; ( x, y )  (0, 0)

necesitamos que existan las derivadas parciales......


 xy
 2 ( x, y )  (0, 0)
....pero no solo f ( x, y )   x  y 2

 0 ( x, y )  (0, 0)

¿Bastará con que la función sea continua y existan las derivadas parciales?
 x2  y 2  Continua en (0,0).Existen las derivadas parciales
 x  2 2 ; ( x, y )  (0,0)
f ( x, y )   x  y en (0,0) pero...
 0; ( x, y )  (0,0)

f (h, 0)  f (0, 0) h0


f x (0, 0)  lim  lim 1
h 0 h h 0 h
f (0, h)  f (0, 0) 00
f y (0, 0)  lim  lim 0
h 0 h h  0 h

x2  y 2
x 2  (1, 0)( x, y )
f ( x, y )  f (0, 0)   f x (0, 0), f y (0, 0)  ( x, y ) x  y2
lim  lim 
( x , y ) (0,0)
x y
2 2 ( x , y ) (0,0)
x y
2 2

x2  y 2 2 xy 2 NO ES DIFERENCIABLE
x 2 x
x y 2
x2  y 2 2 xy 2 C1 : x  0  0
 lim  lim  lim 
 x2  y 2  C2 : x  y  1
3/2
( x , y ) (0,0)
x y
2 2 ( x , y ) (0,0)
x y
2 2 ( x , y ) (0,0)
 x2  y 2
 x  2 2 ( x, y)  (0,0)
f ( x, y)   x  y
 0 ( x, y)  (0,0)

Aun así usando la fórmula para calcular el plano


tangente en (0,0) sale:
f ( x, y )  f (0, 0)  f x (0, 0)( x - 0)  f y (0, 0)( y - 0)
z - 0  1( x - 0)  0( y - 0)
zx

Ese plano no es tangente a la función en el punto.

NO SE PUEDE HABLAR DE PLANO TANGENTE


SI LA FUNCIÓN NO ES DIFERENCIABLE
Diferenciabilidad:
Condiciones necesarias y suficientes

CONDICION SUFICIENTE CONDICION NECESARIA

f x ( x, y ) y f y ( x, y )  es
f ( x, y )  f ( x, y ) es continua en ( x0 , y0 )
 
son continuas   diferenciable  
  f ( x , y ) y f ( x , y )
en ( x0 , y0 )  en ( x0 , y0 )  x 0 0 y 0 0

f x ( x, y ) o f y ( x, y )  f ( x, y ) noes  f ( x, y ) no es continua en ( x0 , y0 )

no es continua   diferenciable   o
  f ( x , y ) o  f ( x , y )
en ( x0 , y0 )  en ( x0 , y0 )  x 0 0 y 0 0
Ejercicio : Probar que f ( x, y )  xe xy es diferenciable en (1,0) y
escribir la ecuación del plano tangente en ese punto.

f x ( x, y )  e xy  yxe xy  f x (1,0)  1


  Existen f x y f y y son continuas en (1,0)
f y ( x, y )  x e  f y (1,0)  1
2 xy

 f ( x, y )  xe xy es diferenciable en (1,0)

La ecuación del plano tangente en ese punto:


f ( x, y )  f (1,0)  z  1  f x (1,0)( x  1)  f y (1,0)( y  0)
z  1  ( x  1)  y
Ejercicio : Estudiar la diferenciabilidad de
 xy
 si ( x, y )  (0, 0)
f ( x, y )   x 2  y 2
 si ( x, y )  (0, 0)
 0

Para ( x, y )  (0, 0) es continua y sus


0.5
1
z
0

derivadas parciales tambien -0.5


0.5

 diferenciable (hacedlo vosotros). -1 0


y
-0.5

Para ( x, y )  (0, 0) : 0 -0.5

 ¿ Continua ? Sí
0.5

-1
1

 ¿ Existen derivadas parciales ? Sí


0
-0
f (h, 0) - f (0, 0) 0
f x (0, 0)  lim  lim h  lim  0
h 0 h h 0 h h 0 h

0
-0
f (0, h) - f (0, 0) h 0
f y (0, 0)  lim  lim  lim  0
h 0 h h  0 h h 0 h
 Aplicamos la definición.
f ( x, y )  f (0, 0)   f x (0, 0), f y (0, 0)  ( x  0, y  0)
lim 0
( x , y ) (0,0)
( x  0)  ( y  0)
2 2

x y
 0   0, 0  ( x, y )
x y
2 2
x y
lim  lim 
( x , y ) (0,0)
x2  y 2 ( x , y ) (0,0) x y
2 2

 x y
 x  0  (0, ylim) (0,0) x 2  y 2
0

Por trayectorias 
 x  y  lim x y 1


 ( x , x ) (0,0) x 2  y 2 2
El límite no existe  La función NO es DIFERENCIABLE
f x (0, 0)  1 f y (0, 0)  2
Diferenciabilidad: comprobemos si existe el límite:
f ( x, y )  f (0, 0)  ( f x (0, 0) x  f y (0, 0) y )
lim 0
( x , y )  (0,0)
x y
2 2

x  2y
 x  2y
1 x  y  x 2  yx  2 y 2
 lim  lim
( x , y )  (0,0) ( x , y )  (0,0)
x y2 2
(1  x  y ) x 2  y 2
 x 2  yx  2 y 2
 lim 0
( x , y )  (0,0)
x y
2 2

[para resolver el límite podemos mayorar el numerador:


 x 2  yx  2 y 2  x 2  yx  2 y 2  4( x 2  y 2 ) ]
f (h, 0)  f (0, 0) h3 / h 2
Se calculan primero las derivadas parciales f x (0, 0)  lim  lim  1,
h 0 h h  0 h
f (0, h)  f (0, 0) 3h5 / h 4
f y (0, 0)  lim  lim  3.
h 0 h h 0 h
? f ( x, y )  f (0, 0)  ( f x (0, 0) x  f y (0, 0) y )
Diferenciabilidad: 0  lim 
( x , y )  (0,0)
x y
2 2

x3  3 y 5
 x  3y
x y
2 4
3 yx 2  xy 4
lim  lim
( x , y )  (0,0) ( x , y )  (0,0)
x y
2 2
( x2  y 4 ) x2  y 2
 x  0  lim  0
( ) 
 x  y  lim  3 / 2
 f NO es diferenciable
 x3 y
 6 ( x, y )  (0, 0)
No necesariamente. Por ejemplo f ( x, y )   x  y 2
.
 0 ( x, y )  (0, 0)

 f x' (0, 0)  0 f y' (0, 0)  0

En (0, 0)  f u' (0, 0)  0  u
 f no es diferenciable (no es continua)

4 x3  y 3
1º ) Continuidad: Calculemos lim . En polares:
( x , y )  (0,0) 2 x 2  y 2  xy

 4 cos3   sen 3  
f (  cos  ,  sen )    .
 2 cos   sen   cos  sen 
2 2

Como el denominador no se anula nunca, la función


entre corchetes está acotada, luego existe límite y es cero  f es continua.
2º) Derivadas parciales:
f (h, 0)  f (0, 0) 4h 3 / 2h 2
f x (0, 0)  lim  lim  2,
h 0 h h  0 h
f (0, h)  f (0, 0) h3 / h 2
f y (0, 0)  lim  1
h 0 h h
? f ( x, y )  f (0, 0)  2 x  y xy 2
Diferenciabilidad: 0  lim  lim
( x , y )  (0,0) ( x , y )  (0,0)
x y
2 2
(2 x 2  y 2  xy ) x 2  y 2
 x  0  lim  0
( lim)   f NO es diferenciable
 x  y  lim  1/ 2 2

You might also like