Argomento di Analisi Matematica 1 , capitolo 5, slide 11-30 di 75. Lezioni del 27/10 (slide annotate ) e del 28/10 (slide annotate ). Viene dopo Derivate .
Per l’esame
Saper enunciare : linearità, Leibniz, catena, derivata dell’inversa (con l’ipotesi f ′ ( x 0 ) ≠ 0 f'(x_0) \neq 0 f ′ ( x 0 ) = 0 ), quoziente; la tabella delle derivate elementari.
Saper fare : derivare qualunque funzione composta; scrivere f ( x ) g ( x ) f(x)^{g(x)} f ( x ) g ( x ) come e g ( x ) log f ( x ) e^{g(x)\log f(x)} e g ( x ) l o g f ( x ) ; studiare la derivabilità in un punto di raccordo col rapporto incrementale.
Dove esce : in tutti gli esercizi di studio di funzione e di retta tangente; crocette sulla derivabilità di funzioni come x ∣ x ∣ x\vert x\vert x ∣ x ∣ e x α sin 1 x x^\alpha\sin\frac1x x α sin x 1 .
1 Lezione
1.1 …ma non tutte le funzioni continue sono derivabili (slide 11-12)
(27/10, slide 11 .) Altri esempi oltre a ∣ x ∣ \vert x\vert ∣ x ∣ : cuspidi e punti a tangente verticale .
∣ x ∣ \sqrt{\vert x\vert} ∣ x ∣ in 0 0 0 : il rapporto incrementale va a − ∞ -\infty − ∞ da sinistra e a + ∞ +\infty + ∞ da destra.
x 1 / 3 x^{1/3} x 1/3 in 0 0 0 : il rapporto incrementale va a + ∞ +\infty + ∞ . Il limite c’è ma non è finito, quindi non è derivabile.
Una “perversione” matematica (slide 12 ). Esistono funzioni continue che non sono derivabili in alcun punto . Un esempio è la funzione di Weierstrass
f ( x ) = ∑ n = 0 ∞ a n cos ( b n π x ) , a ∈ ( 0 , 1 ) , b ∈ N dispari , a b > 1 + 3 2 π . f(x) = \sum_{n=0}^{\infty} a^n\cos(b^n\pi x), \qquad a \in (0, 1),\ b \in \mathbb{N} \text{ dispari},\ ab > 1 + \tfrac32\pi. f ( x ) = n = 0 ∑ ∞ a n cos ( b n π x ) , a ∈ ( 0 , 1 ) , b ∈ N dispari , ab > 1 + 2 3 π .
1.2 Derivate delle funzioni elementari (slide 14-17)
(27/10, slide 14 .) Tutte con la definizione: si scrive il rapporto incrementale e si fa il limite per h → 0 h \to 0 h → 0 .
Costanti. Le funzioni costanti hanno derivata nulla. Se f ( x ) = c f(x) = c f ( x ) = c per ogni x x x :
lim h → 0 f ( x + h ) − f ( x ) h = lim h → 0 c − c h = 0. \lim_{h \to 0}\frac{f(x + h) - f(x)}{h} = \lim_{h \to 0}\frac{c - c}{h} = 0. h → 0 lim h f ( x + h ) − f ( x ) = h → 0 lim h c − c = 0.
Il viceversa non è vero in generale: la funzione segno, definita su R ∖ { 0 } \mathbb{R} \setminus \{0\} R ∖ { 0 } come 1 1 1 per x > 0 x > 0 x > 0 e − 1 -1 − 1 per x < 0 x < 0 x < 0 , ha derivata nulla in tutto il dominio ma non è costante.
D [ x n ] = n x n − 1 D[x^n] = nx^{n-1} D [ x n ] = n x n − 1 per n ∈ N n \in \mathbb{N} n ∈ N . Il prof usa il binomio di Newton, ( x + h ) n = ∑ k = 0 n ( n k ) x n − k h k = x n + n x n − 1 h + h 2 ( … ) (x + h)^n = \sum_{k=0}^{n}\binom nk x^{n-k}h^k = x^n + nx^{n-1}h + h^2(\dots) ( x + h ) n = ∑ k = 0 n ( k n ) x n − k h k = x n + n x n − 1 h + h 2 ( … ) :
lim h → 0 ( x + h ) n − x n h = lim h → 0 x n + n x n − 1 h + h 2 ( … ) − x n h = lim h → 0 ( n x n − 1 + h ( … ) ) = n x n − 1 . \lim_{h \to 0}\frac{(x + h)^n - x^n}{h} = \lim_{h \to 0}\frac{\cancel{x^n} + nx^{n-1}h + h^2(\dots) - \cancel{x^n}}{h} = \lim_{h \to 0}\big(nx^{n-1} + h(\dots)\big) = nx^{n-1}. h → 0 lim h ( x + h ) n − x n = h → 0 lim h x n + n x n − 1 h + h 2 ( … ) − x n = h → 0 lim ( n x n − 1 + h ( … ) ) = n x n − 1 .
D [ x − 1 ] = − x − 2 D[x^{-1}] = -x^{-2} D [ x − 1 ] = − x − 2 (slide 15 ):
lim h → 0 ( x + h ) − 1 − x − 1 h = lim h → 0 1 h ( 1 x + h − 1 x ) = lim h → 0 1 h ⋅ x − x − h x ( x + h ) = lim h → 0 − 1 x ( x + h ) = − 1 x 2 . \lim_{h \to 0}\frac{(x + h)^{-1} - x^{-1}}{h} = \lim_{h \to 0}\frac1h\left(\frac{1}{x + h} - \frac1x\right) = \lim_{h \to 0}\frac1h \cdot \frac{x - x - h}{x(x + h)} = \lim_{h \to 0}\frac{-1}{x(x + h)} = -\frac{1}{x^2}. h → 0 lim h ( x + h ) − 1 − x − 1 = h → 0 lim h 1 ( x + h 1 − x 1 ) = h → 0 lim h 1 ⋅ x ( x + h ) x − x − h = h → 0 lim x ( x + h ) − 1 = − x 2 1 .
D [ e x ] = e x D[e^x] = e^x D [ e x ] = e x :
lim h → 0 e x + h − e x h = lim h → 0 e x ⋅ e h − 1 h = e x ⋅ 1 = e x . \lim_{h \to 0}\frac{e^{x + h} - e^x}{h} = \lim_{h \to 0} e^x \cdot \frac{e^h - 1}{h} = e^x \cdot 1 = e^x. h → 0 lim h e x + h − e x = h → 0 lim e x ⋅ h e h − 1 = e x ⋅ 1 = e x .
Il prof cerchia e x e^x e x : non dipende da h h h e esce dal limite. Poi il limite notevole e h − 1 h → 1 \frac{e^h - 1}{h} \to 1 h e h − 1 → 1 .
D [ log x ] = 1 x D[\log x] = \frac1x D [ log x ] = x 1 (slide 16 ). Il prof scrive x + h = x ( 1 + h x ) x + h = x\left(1 + \frac hx\right) x + h = x ( 1 + x h ) , quindi log ( x + h ) = log x + log ( 1 + h x ) \log(x + h) = \log x + \log\left(1 + \frac hx\right) log ( x + h ) = log x + log ( 1 + x h ) :
lim h → 0 log ( x + h ) − log x h = lim h → 0 log ( 1 + h x ) h = y = h / x lim y → 0 1 x ⋅ log ( 1 + y ) y = 1 x . \lim_{h \to 0}\frac{\log(x + h) - \log x}{h} = \lim_{h \to 0}\frac{\log\left(1 + \frac hx\right)}{h} \overset{y = h/x}{=} \lim_{y \to 0}\frac1x \cdot \frac{\log(1 + y)}{y} = \frac1x. h → 0 lim h log ( x + h ) − log x = h → 0 lim h log ( 1 + x h ) = y = h / x y → 0 lim x 1 ⋅ y log ( 1 + y ) = x 1 .
Il passaggio chiave: 1 h = 1 x ⋅ 1 h / x \frac1h = \frac1x \cdot \frac{1}{h/x} h 1 = x 1 ⋅ h / x 1 , così compare il limite notevole log ( 1 + y ) y → 1 \frac{\log(1 + y)}{y} \to 1 y l o g ( 1 + y ) → 1 .
D [ sin x ] = cos x D[\sin x] = \cos x D [ sin x ] = cos x (slide 17 ). Con sin ( a + b ) = sin a cos b + sin b cos a \sin(a + b) = \sin a\cos b + \sin b\cos a sin ( a + b ) = sin a cos b + sin b cos a :
lim h → 0 sin x cos h + sin h cos x − sin x h = lim h → 0 ( sin x ⋅ cos h − 1 h ⏟ → 0 + sin h h ⏟ → 1 cos x ) = cos x . \lim_{h \to 0}\frac{\sin x\cos h + \sin h\cos x - \sin x}{h} = \lim_{h \to 0}\Big(\sin x \cdot \underbrace{\frac{\cos h - 1}{h}}_{\to 0} + \underbrace{\frac{\sin h}{h}}_{\to 1}\cos x\Big) = \cos x. h → 0 lim h sin x cos h + sin h cos x − sin x = h → 0 lim ( sin x ⋅ → 0 h cos h − 1 + → 1 h sin h cos x ) = cos x .
D [ cos x ] = − sin x D[\cos x] = -\sin x D [ cos x ] = − sin x : calcolo simile a quello per la derivata di sin x \sin x sin x .
1.3 Linearità della derivata (slide 18)
(27/10, slide 18 .) Per calcolare le derivate di funzioni più complesse servono le regole di derivazione . La prima è la linearità.
Teorema (linearità della derivata)
Siano f ( x ) , g ( x ) f(x), g(x) f ( x ) , g ( x ) due funzioni derivabili in x 0 x_0 x 0 . Allora fissate due costanti a , b ∈ R a, b \in \mathbb{R} a , b ∈ R si ha che la funzione combinazione lineare a f ( x ) + b g ( x ) af(x) + bg(x) a f ( x ) + b g ( x ) è derivabile in x 0 x_0 x 0 e vale
( a f + b g ) ′ ( x 0 ) = a f ′ ( x 0 ) + b g ′ ( x 0 ) . (af + bg)'(x_0) = af'(x_0) + bg'(x_0). ( a f + b g ) ′ ( x 0 ) = a f ′ ( x 0 ) + b g ′ ( x 0 ) .
La dimostrazione è lasciata come esercizio.
Esempio del prof. D [ 3 e x − 2 cos x ] D[3e^x - 2\cos x] D [ 3 e x − 2 cos x ] , con a = 3 a = 3 a = 3 , f ( x ) = e x f(x) = e^x f ( x ) = e x , b = − 2 b = -2 b = − 2 , g ( x ) = cos x g(x) = \cos x g ( x ) = cos x :
D [ 3 e x − 2 cos x ] = 3 e x − 2 ( − sin x ) = 3 e x + 2 sin x . D[3e^x - 2\cos x] = 3e^x - 2(-\sin x) = 3e^x + 2\sin x. D [ 3 e x − 2 cos x ] = 3 e x − 2 ( − sin x ) = 3 e x + 2 sin x .
1.4 Regola di Leibniz, il prodotto (slide 19)
(27/10, slide 19 .)
Teorema (regola di Leibnitz)
Siano f ( x ) , g ( x ) f(x), g(x) f ( x ) , g ( x ) due funzioni derivabili in x 0 x_0 x 0 . Allora la funzione prodotto f ( x ) ⋅ g ( x ) f(x) \cdot g(x) f ( x ) ⋅ g ( x ) è derivabile in x 0 x_0 x 0 e vale
( f ⋅ g ) ′ ( x 0 ) = f ′ ( x 0 ) ⋅ g ( x 0 ) + f ( x 0 ) ⋅ g ′ ( x 0 ) . (f \cdot g)'(x_0) = f'(x_0) \cdot g(x_0) + f(x_0) \cdot g'(x_0). ( f ⋅ g ) ′ ( x 0 ) = f ′ ( x 0 ) ⋅ g ( x 0 ) + f ( x 0 ) ⋅ g ′ ( x 0 ) .
Esempio del prof. D [ x 2 ⋅ sin x ] D[x^2 \cdot \sin x] D [ x 2 ⋅ sin x ] , con f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 , f ′ ( x ) = 2 x f'(x) = 2x f ′ ( x ) = 2 x , g ( x ) = sin x g(x) = \sin x g ( x ) = sin x , g ′ ( x ) = cos x g'(x) = \cos x g ′ ( x ) = cos x :
D [ x 2 sin x ] = 2 x sin x + x 2 cos x . D[x^2\sin x] = 2x\sin x + x^2\cos x. D [ x 2 sin x ] = 2 x sin x + x 2 cos x .
Dimostrazione (prof, pagina 12)
Si toglie e si aggiunge f ( x 0 ) g ( x 0 + h ) f(x_0)g(x_0 + h) f ( x 0 ) g ( x 0 + h ) al numeratore:
lim h → 0 f ( x 0 + h ) g ( x 0 + h ) − f ( x 0 ) g ( x 0 ) h = lim h → 0 f ( x 0 + h ) g ( x 0 + h ) − f ( x 0 ) g ( x 0 + h ) + f ( x 0 ) g ( x 0 + h ) − f ( x 0 ) g ( x 0 ) h \lim_{h \to 0}\frac{f(x_0 + h)g(x_0 + h) - f(x_0)g(x_0)}{h} = \lim_{h \to 0}\frac{f(x_0 + h)g(x_0 + h) - f(x_0)g(x_0 + h) + f(x_0)g(x_0 + h) - f(x_0)g(x_0)}{h} h → 0 lim h f ( x 0 + h ) g ( x 0 + h ) − f ( x 0 ) g ( x 0 ) = h → 0 lim h f ( x 0 + h ) g ( x 0 + h ) − f ( x 0 ) g ( x 0 + h ) + f ( x 0 ) g ( x 0 + h ) − f ( x 0 ) g ( x 0 )
= lim h → 0 ( f ( x 0 + h ) − f ( x 0 ) h ⏟ → f ′ ( x 0 ) ⋅ g ( x 0 + h ) ⏟ → g ( x 0 ) + f ( x 0 ) ⋅ g ( x 0 + h ) − g ( x 0 ) h ⏟ → g ′ ( x 0 ) ) = f ′ ( x 0 ) g ( x 0 ) + f ( x 0 ) g ′ ( x 0 ) . = \lim_{h \to 0}\Big(\underbrace{\frac{f(x_0 + h) - f(x_0)}{h}}_{\to f'(x_0)} \cdot \underbrace{g(x_0 + h)}_{\to g(x_0)} + f(x_0) \cdot \underbrace{\frac{g(x_0 + h) - g(x_0)}{h}}_{\to g'(x_0)}\Big) = f'(x_0)g(x_0) + f(x_0)g'(x_0). = h → 0 lim ( → f ′ ( x 0 ) h f ( x 0 + h ) − f ( x 0 ) ⋅ → g ( x 0 ) g ( x 0 + h ) + f ( x 0 ) ⋅ → g ′ ( x 0 ) h g ( x 0 + h ) − g ( x 0 ) ) = f ′ ( x 0 ) g ( x 0 ) + f ( x 0 ) g ′ ( x 0 ) .
g ( x 0 + h ) → g ( x 0 ) g(x_0 + h) \to g(x_0) g ( x 0 + h ) → g ( x 0 ) “perché per ipotesi g g g è derivabile in x 0 x_0 x 0 , quindi continua”.
1.5 Regola della catena, la composizione (slide 20-22)
(27/10, slide 20 .)
Teorema (regola della catena)
Siano g ( x ) g(x) g ( x ) derivabile in x 0 x_0 x 0 e f ( y ) f(y) f ( y ) derivabile in y 0 = g ( x 0 ) y_0 = g(x_0) y 0 = g ( x 0 ) . Allora la composizione f ∘ g f \circ g f ∘ g è derivabile in x 0 x_0 x 0 e vale
( f ∘ g ) ′ ( x 0 ) = f ′ ( y 0 ) ⋅ g ′ ( x 0 ) . (f \circ g)'(x_0) = f'(y_0) \cdot g'(x_0). ( f ∘ g ) ′ ( x 0 ) = f ′ ( y 0 ) ⋅ g ′ ( x 0 ) .
Si deriva la funzione esterna calcolata nella interna (f ′ ( y 0 ) = f ′ ( g ( x 0 ) ) f'(y_0) = f'(g(x_0)) f ′ ( y 0 ) = f ′ ( g ( x 0 )) ), poi si moltiplica per la derivata dell’interna.
Esempio del prof. D [ sin ( x 2 ) ] D[\sin(x^2)] D [ sin ( x 2 )] , con g ( x ) = x 2 g(x) = x^2 g ( x ) = x 2 e f ( y ) = sin y f(y) = \sin y f ( y ) = sin y :
D [ sin ( x 2 ) ] = cos ( x 2 ) ⋅ 2 x = 2 x cos ( x 2 ) . D[\sin(x^2)] = \cos(x^2) \cdot 2x = 2x\cos(x^2). D [ sin ( x 2 )] = cos ( x 2 ) ⋅ 2 x = 2 x cos ( x 2 ) .
Idea della dimostrazione (slide 21)
Si moltiplica e divide per g ( x ) − g ( x 0 ) g(x) - g(x_0) g ( x ) − g ( x 0 ) :
lim x → x 0 f ( g ( x ) ) − f ( g ( x 0 ) ) x − x 0 = lim x → x 0 f ( g ( x ) ) − f ( g ( x 0 ) ) g ( x ) − g ( x 0 ) ⋅ g ( x ) − g ( x 0 ) x − x 0 . \lim_{x \to x_0}\frac{f(g(x)) - f(g(x_0))}{x - x_0} = \lim_{x \to x_0}\frac{f(g(x)) - f(g(x_0))}{g(x) - g(x_0)} \cdot \frac{g(x) - g(x_0)}{x - x_0}. x → x 0 lim x − x 0 f ( g ( x )) − f ( g ( x 0 )) = x → x 0 lim g ( x ) − g ( x 0 ) f ( g ( x )) − f ( g ( x 0 )) ⋅ x − x 0 g ( x ) − g ( x 0 ) .
Il secondo fattore va a g ′ ( x 0 ) g'(x_0) g ′ ( x 0 ) . Nel primo il prof pone y = g ( x ) y = g(x) y = g ( x ) : quando x → x 0 x \to x_0 x → x 0 anche y → y 0 y \to y_0 y → y 0 , “perché g g g , essendo derivabile in x 0 x_0 x 0 , è anche continua”. Quindi il primo fattore è f ( y ) − f ( y 0 ) y − y 0 → f ′ ( y 0 ) \frac{f(y) - f(y_0)}{y - y_0} \to f'(y_0) y − y 0 f ( y ) − f ( y 0 ) → f ′ ( y 0 ) .
È un’idea e non una dimostrazione completa: se g ( x ) = g ( x 0 ) g(x) = g(x_0) g ( x ) = g ( x 0 ) per qualche x x x vicino a x 0 x_0 x 0 , la divisione per g ( x ) − g ( x 0 ) g(x) - g(x_0) g ( x ) − g ( x 0 ) non si può fare.
Esempi della slide 22 (pagina 15 ), sempre “esterna in interna, per derivata dell’interna”:
funzione esterna f ( y ) f(y) f ( y ) interna g ( x ) g(x) g ( x ) derivata e 3 x e^{3x} e 3 x e y e^y e y 3 x 3x 3 x e 3 x ⋅ 3 = 3 e 3 x e^{3x} \cdot 3 = 3e^{3x} e 3 x ⋅ 3 = 3 e 3 x e − x e^{-x} e − x e y e^y e y − x -x − x e − x ⋅ ( − 1 ) = − e − x e^{-x} \cdot (-1) = -e^{-x} e − x ⋅ ( − 1 ) = − e − x sin ( 7 x 5 − 12 ) \sin(7x^5 - 12) sin ( 7 x 5 − 12 ) sin y \sin y sin y 7 x 5 − 12 7x^5 - 12 7 x 5 − 12 cos ( 7 x 5 − 12 ) ⋅ 35 x 4 \cos(7x^5 - 12) \cdot 35x^4 cos ( 7 x 5 − 12 ) ⋅ 35 x 4 log ( sin ( x 2 ) ) \log(\sin(x^2)) log ( sin ( x 2 )) log y \log y log y sin ( x 2 ) \sin(x^2) sin ( x 2 ) 1 sin ( x 2 ) ⋅ cos ( x 2 ) ⋅ 2 x = 2 x tan ( x 2 ) \frac{1}{\sin(x^2)} \cdot \cos(x^2) \cdot 2x = \frac{2x}{\tan(x^2)} s i n ( x 2 ) 1 ⋅ cos ( x 2 ) ⋅ 2 x = t a n ( x 2 ) 2 x
L’ultima è una catena doppia: sin ( x 2 ) \sin(x^2) sin ( x 2 ) si deriva a sua volta con la catena, come nell’esempio sopra.
1.6 Derivata della funzione inversa (slide 23-24)
(28/10, slide 23 .)
Teorema (derivazione della funzione inversa)
Sia f ( x ) f(x) f ( x ) invertibile su ( a , b ) (a, b) ( a , b ) e derivabile in x 0 x_0 x 0 con f ′ ( x 0 ) ≠ 0 f'(x_0) \neq 0 f ′ ( x 0 ) = 0 . Allora la funzione inversa f − 1 f^{-1} f − 1 è derivabile in y 0 = f ( x 0 ) y_0 = f(x_0) y 0 = f ( x 0 ) e vale
( f − 1 ) ′ ( y 0 ) = 1 f ′ ( x 0 ) , x 0 = f − 1 ( y 0 ) . (f^{-1})'(y_0) = \frac{1}{f'(x_0)}, \qquad x_0 = f^{-1}(y_0). ( f − 1 ) ′ ( y 0 ) = f ′ ( x 0 ) 1 , x 0 = f − 1 ( y 0 ) .
Idea della dimostrazione (prof)
Si pone x = f − 1 ( y ) x = f^{-1}(y) x = f − 1 ( y ) e x 0 = f − 1 ( y 0 ) x_0 = f^{-1}(y_0) x 0 = f − 1 ( y 0 ) , cioè y = f ( x ) y = f(x) y = f ( x ) e y 0 = f ( x 0 ) y_0 = f(x_0) y 0 = f ( x 0 ) : per ogni y y y c’è un x x x nel dominio di f f f .
lim y → y 0 f − 1 ( y ) − f − 1 ( y 0 ) y − y 0 = lim x → x 0 x − x 0 f ( x ) − f ( x 0 ) = 1 f ′ ( x 0 ) , \lim_{y \to y_0}\frac{f^{-1}(y) - f^{-1}(y_0)}{y - y_0} = \lim_{x \to x_0}\frac{x - x_0}{f(x) - f(x_0)} = \frac{1}{f'(x_0)}, y → y 0 lim y − y 0 f − 1 ( y ) − f − 1 ( y 0 ) = x → x 0 lim f ( x ) − f ( x 0 ) x − x 0 = f ′ ( x 0 ) 1 ,
e si può dividere “perché f ′ ( x 0 ) ≠ 0 f'(x_0) \neq 0 f ′ ( x 0 ) = 0 ”.
Esercizio del prof: D [ arcsin y ] = 1 1 − y 2 D[\arcsin y] = \frac{1}{\sqrt{1 - y^2}} D [ arcsin y ] = 1 − y 2 1 (slide 24 ). Pongo arcsin y = x \arcsin y = x arcsin y = x , cioè sin x = y \sin x = y sin x = y . Con f ( x ) = sin x f(x) = \sin x f ( x ) = sin x e f ′ ( x ) = cos x f'(x) = \cos x f ′ ( x ) = cos x :
D [ arcsin y ] = 1 cos x = 1 cos ( arcsin y ) = 1 1 − sin 2 ( arcsin y ) = 1 1 − y 2 . D[\arcsin y] = \frac{1}{\cos x} = \frac{1}{\cos(\arcsin y)} = \frac{1}{\sqrt{1 - \sin^2(\arcsin y)}} = \frac{1}{\sqrt{1 - y^2}}. D [ arcsin y ] = cos x 1 = cos ( arcsin y ) 1 = 1 − sin 2 ( arcsin y ) 1 = 1 − y 2 1 .
cos x = 1 − sin 2 x \cos x = \sqrt{1 - \sin^2 x} cos x = 1 − sin 2 x col segno + + + perché arcsin : [ − 1 , 1 ] → [ − π 2 , π 2 ] \arcsin : [-1, 1] \to \left[-\frac\pi2, \frac\pi2\right] arcsin : [ − 1 , 1 ] → [ − 2 π , 2 π ] , e lì il coseno è ≥ 0 \geq 0 ≥ 0 .
In y = ± 1 y = \pm1 y = ± 1 il coseno vale 0 0 0 : lì arcsin \arcsin arcsin non è derivabile.
Esempio del prof: perché serve f ′ ( x 0 ) ≠ 0 f'(x_0) \neq 0 f ′ ( x 0 ) = 0 (pagina 3 ). f ( x ) = x 3 f(x) = x^3 f ( x ) = x 3 , f ′ ( x ) = 3 x 2 f'(x) = 3x^2 f ′ ( x ) = 3 x 2 . f f f è invertibile su tutto R \mathbb{R} R , la sua inversa è f − 1 ( y ) = y 3 = y 1 / 3 f^{-1}(y) = \sqrt[3]y = y^{1/3} f − 1 ( y ) = 3 y = y 1/3 . In x 0 = 0 x_0 = 0 x 0 = 0 però f ′ ( 0 ) = 0 f'(0) = 0 f ′ ( 0 ) = 0 , quindi non posso applicare il teorema: y 3 \sqrt[3]y 3 y in 0 0 0 ha tangente verticale.
1.7 Derivata di un quoziente (slide 25)
(28/10, slide 25 .) Combinando le regole precedenti con alcune derivate elementari si ottengono altre regole utili.
Corollario (derivazione di un quoziente)
Siano f ( x ) f(x) f ( x ) e g ( x ) g(x) g ( x ) derivabili in x 0 x_0 x 0 , con g ( x 0 ) ≠ 0 g(x_0) \neq 0 g ( x 0 ) = 0 . Allora la funzione quoziente f ( x ) / g ( x ) f(x)/g(x) f ( x ) / g ( x ) è derivabile in x 0 x_0 x 0 e vale
( f / g ) ′ ( x 0 ) = f ′ ( x 0 ) g ( x 0 ) − f ( x 0 ) g ′ ( x 0 ) g ( x 0 ) 2 . (f/g)'(x_0) = \frac{f'(x_0)g(x_0) - f(x_0)g'(x_0)}{g(x_0)^2}. ( f / g ) ′ ( x 0 ) = g ( x 0 ) 2 f ′ ( x 0 ) g ( x 0 ) − f ( x 0 ) g ′ ( x 0 ) .
Dimostrazione (slide 25)
Regola della catena con esterna 1 y \frac1y y 1 (che ha derivata − 1 y 2 -\frac{1}{y^2} − y 2 1 ) e interna g g g : ( 1 g ) ′ ( x 0 ) = − g ′ ( x 0 ) g ( x 0 ) 2 \left(\frac1g\right)'(x_0) = -\frac{g'(x_0)}{g(x_0)^2} ( g 1 ) ′ ( x 0 ) = − g ( x 0 ) 2 g ′ ( x 0 ) .
Leibniz sul prodotto f ( x ) ⋅ 1 g ( x ) f(x) \cdot \frac{1}{g(x)} f ( x ) ⋅ g ( x ) 1 :
( f / g ) ′ ( x 0 ) = f ′ ( x 0 ) 1 g ( x 0 ) + f ( x 0 ) ( − g ′ ( x 0 ) g ( x 0 ) 2 ) = f ′ ( x 0 ) g ( x 0 ) − f ( x 0 ) g ′ ( x 0 ) g ( x 0 ) 2 . (f/g)'(x_0) = f'(x_0)\frac{1}{g(x_0)} + f(x_0)\left(-\frac{g'(x_0)}{g(x_0)^2}\right) = \frac{f'(x_0)g(x_0) - f(x_0)g'(x_0)}{g(x_0)^2}. ( f / g ) ′ ( x 0 ) = f ′ ( x 0 ) g ( x 0 ) 1 + f ( x 0 ) ( − g ( x 0 ) 2 g ′ ( x 0 ) ) = g ( x 0 ) 2 f ′ ( x 0 ) g ( x 0 ) − f ( x 0 ) g ′ ( x 0 ) .
1.8 Ulteriori regole (slide 26)
(28/10, slide 26 .) Il trucco è sempre lo stesso: scrivere la potenza con base e e e e usare la catena.
D [ x α ] = α x α − 1 D[x^\alpha] = \alpha x^{\alpha - 1} D [ x α ] = α x α − 1 per ogni α ∈ R \alpha \in \mathbb{R} α ∈ R . Da x α = e α log x x^\alpha = e^{\alpha\log x} x α = e α l o g x :
D [ x α ] = D [ e α log x ] = e α log x ⋅ D [ α log x ] = x α ⋅ α x = α x α − 1 . D[x^\alpha] = D[e^{\alpha\log x}] = e^{\alpha\log x} \cdot D[\alpha\log x] = x^\alpha \cdot \frac\alpha x = \alpha x^{\alpha - 1}. D [ x α ] = D [ e α l o g x ] = e α l o g x ⋅ D [ α log x ] = x α ⋅ x α = α x α − 1 .
D [ a x ] = a x log a D[a^x] = a^x\log a D [ a x ] = a x log a . Da a x = e x log a a^x = e^{x\log a} a x = e x l o g a , con esterna e y e^y e y e interna x log a x\log a x log a (prof): D [ a x ] = e x log a ⋅ log a = a x log a D[a^x] = e^{x\log a} \cdot \log a = a^x\log a D [ a x ] = e x l o g a ⋅ log a = a x log a .
D [ log a x ] = 1 x log a D[\log_a x] = \frac{1}{x\log a} D [ log a x ] = x l o g a 1 . Con la derivata dell’inversa, perché log a \log_a log a è l’inversa di a y a^y a y :
D [ log a x ] = 1 D [ a y ] ∣ y = log a x = 1 a log a x log a = 1 x log a . D[\log_a x] = \frac{1}{D[a^y]\big|_{y = \log_a x}} = \frac{1}{a^{\log_a x}\log a} = \frac{1}{x\log a}. D [ log a x ] = D [ a y ] y = l o g a x 1 = a l o g a x log a 1 = x log a 1 .
1.9 Tabella delle derivate elementari (slide 27)
(28/10, slide 27 .)
f ( x ) f(x) f ( x ) f ′ ( x ) f'(x) f ′ ( x ) f ( x ) f(x) f ( x ) f ′ ( x ) f'(x) f ′ ( x ) α \alpha α ( α ∈ R ) (\alpha \in \mathbb{R}) ( α ∈ R ) 0 0 0 x α x^\alpha x α ( α ∈ R ) (\alpha \in \mathbb{R}) ( α ∈ R ) α x α − 1 \alpha x^{\alpha - 1} α x α − 1 sin x \sin x sin x cos x \cos x cos x cos x \cos x cos x − sin x -\sin x − sin x e x e^x e x e x e^x e x log ( ∣ x ∣ ) \log(\vert x\vert) log ( ∣ x ∣ ) 1 x \frac1x x 1 a x a^x a x a x log ( a ) a^x\log(a) a x log ( a ) log a ( ∣ x ∣ ) \log_a(\vert x\vert) log a ( ∣ x ∣ ) ( a > 0 , a ≠ 1 ) (a > 0, a \neq 1) ( a > 0 , a = 1 ) 1 x log ( a ) \frac{1}{x\log(a)} x l o g ( a ) 1 tan ( x ) \tan(x) tan ( x ) 1 + tan 2 ( x ) 1 + \tan^2(x) 1 + tan 2 ( x ) arctan ( x ) \arctan(x) arctan ( x ) 1 1 + x 2 \frac{1}{1 + x^2} 1 + x 2 1 arcsin ( x ) \arcsin(x) arcsin ( x ) 1 1 − x 2 \frac{1}{\sqrt{1 - x^2}} 1 − x 2 1 arccos ( x ) \arccos(x) arccos ( x ) − 1 1 − x 2 -\frac{1}{\sqrt{1 - x^2}} − 1 − x 2 1 sinh ( x ) \sinh(x) sinh ( x ) cosh ( x ) \cosh(x) cosh ( x ) cosh ( x ) \cosh(x) cosh ( x ) sinh ( x ) \sinh(x) sinh ( x )
Nella tabella c’è log ∣ x ∣ \log\vert x\vert log ∣ x ∣ , non log x \log x log x : la derivata 1 x \frac1x x 1 vale anche per x < 0 x < 0 x < 0 .
1.10 Esercizi: calcolare le derivate (slide 28)
(28/10, slide 28 .)
1) D [ tan x ] D[\tan x] D [ tan x ] . tan x = sin x cos x \tan x = \frac{\sin x}{\cos x} tan x = c o s x s i n x , regola del quoziente con f = sin x f = \sin x f = sin x , f ′ = cos x f' = \cos x f ′ = cos x , g = cos x g = \cos x g = cos x , g ′ = − sin x g' = -\sin x g ′ = − sin x :
D [ tan x ] = cos x cos x − ( − sin x ) sin x cos 2 x = cos 2 x + sin 2 x cos 2 x = { 1 cos 2 x 1 + tan 2 x D[\tan x] = \frac{\cos x\cos x - (-\sin x)\sin x}{\cos^2 x} = \frac{\cos^2 x + \sin^2 x}{\cos^2 x} = \begin{cases} \dfrac{1}{\cos^2 x} \\[2mm] 1 + \tan^2 x \end{cases} D [ tan x ] = cos 2 x cos x cos x − ( − sin x ) sin x = cos 2 x cos 2 x + sin 2 x = ⎩ ⎨ ⎧ cos 2 x 1 1 + tan 2 x
Le due forme sono uguali: la prima usa cos 2 + sin 2 = 1 \cos^2 + \sin^2 = 1 cos 2 + sin 2 = 1 , la seconda spezza la frazione.
2) D [ x x ] D[x^x] D [ x x ] . Base e esponente dipendono da x x x : né x α x^\alpha x α né a x a^x a x . Il prof scrive x x = e log x x = e x log x x^x = e^{\log x^x} = e^{x\log x} x x = e l o g x x = e x l o g x , esterna f ( y ) = e y f(y) = e^y f ( y ) = e y , interna g ( x ) = x log x g(x) = x\log x g ( x ) = x log x (Leibniz: g ′ ( x ) = log x + x ⋅ 1 x = log x + 1 g'(x) = \log x + x \cdot \frac1x = \log x + 1 g ′ ( x ) = log x + x ⋅ x 1 = log x + 1 ):
D [ x x ] = e x log x ( 1 + log x ) = x x ( 1 + log x ) . D[x^x] = e^{x\log x}(1 + \log x) = x^x(1 + \log x). D [ x x ] = e x l o g x ( 1 + log x ) = x x ( 1 + log x ) .
3) D [ e 2 x cos x ] D[e^{2x}\cos\sqrt x] D [ e 2 x cos x ] : per casa, svolto in Regole di derivazione (esercizi) .
1.11 Esercizi: derivabilità di x ∣ x ∣ x\vert x\vert x ∣ x ∣ (slide 29)
(28/10, slide 29 .) Valutare la (continuità e la) derivabilità di f ( x ) = x ∣ x ∣ f(x) = x\vert x\vert f ( x ) = x ∣ x ∣ .
D ( f ) = R D(f) = \mathbb{R} D ( f ) = R . f f f è prodotto di funzioni continue, quindi è continua.
In x ≠ 0 x \neq 0 x = 0 sia x x x che ∣ x ∣ \vert x\vert ∣ x ∣ sono derivabili, quindi f f f è derivabile e posso usare le regole di Leibniz.
In x = 0 x = 0 x = 0 le regole non bastano (∣ x ∣ \vert x\vert ∣ x ∣ non è derivabile in 0 0 0 ): bisogna calcolare il limite del rapporto incrementale. Il prof scrive f f f a tratti:
f ( x ) = x ∣ x ∣ = { x 2 x ≥ 0 − x 2 x < 0 f(x) = x\vert x\vert = \begin{cases} x^2 & x \geq 0 \\ -x^2 & x < 0 \end{cases} f ( x ) = x ∣ x ∣ = { x 2 − x 2 x ≥ 0 x < 0
lim h → 0 + f ( h ) − f ( 0 ) h = lim h → 0 + h 2 − 0 h = 0 , lim h → 0 − f ( h ) − f ( 0 ) h = lim h → 0 − − h 2 − 0 h = 0. \lim_{h \to 0^+}\frac{f(h) - f(0)}{h} = \lim_{h \to 0^+}\frac{h^2 - 0}{h} = 0, \qquad \lim_{h \to 0^-}\frac{f(h) - f(0)}{h} = \lim_{h \to 0^-}\frac{-h^2 - 0}{h} = 0. h → 0 + lim h f ( h ) − f ( 0 ) = h → 0 + lim h h 2 − 0 = 0 , h → 0 − lim h f ( h ) − f ( 0 ) = h → 0 − lim h − h 2 − 0 = 0.
Siccome i due limiti esistono e coincidono, la funzione è derivabile in x = 0 x = 0 x = 0 e la derivata vale 0 0 0 .
Prodotto di una funzione derivabile e una non derivabile può essere derivabile: le regole dicono quando lo è di sicuro, non quando non lo è.
1.12 Esercizi: derivabilità di x α sin 1 x x^\alpha\sin\frac1x x α sin x 1 (slide 30)
(28/10, slide 30 , pagine 10-14.) Valutare la (continuità e la) derivabilità di
g ( x ) = { x α sin ( 1 / x ) se x ≠ 0 0 se x = 0 al variare di α ≥ 0. g(x) = \begin{cases} x^\alpha\sin(1/x) & \text{se } x \neq 0 \\ 0 & \text{se } x = 0 \end{cases} \qquad \text{al variare di } \alpha \geq 0. g ( x ) = { x α sin ( 1/ x ) 0 se x = 0 se x = 0 al variare di α ≥ 0.
Il prof lavora con x → 0 + x \to 0^+ x → 0 + : per α \alpha α non intero x α x^\alpha x α è definita solo per x > 0 x > 0 x > 0 .
Continuità. Per x ≠ 0 x \neq 0 x = 0 g g g è continua in quanto prodotto di (composizioni di) funzioni continue. In x = 0 x = 0 x = 0 si calcola lim x → 0 + x α sin 1 x \lim_{x \to 0^+} x^\alpha\sin\frac1x lim x → 0 + x α sin x 1 :
α = 0 \alpha = 0 α = 0 : x α = 1 x^\alpha = 1 x α = 1 e lim x → 0 + sin 1 x \lim_{x \to 0^+}\sin\frac1x lim x → 0 + sin x 1 non esiste. La funzione non è continua in x = 0 x = 0 x = 0 .
α > 0 \alpha > 0 α > 0 : per ogni x x x , − x α ≤ x α sin 1 x ≤ x α -x^\alpha \leq x^\alpha\sin\frac1x \leq x^\alpha − x α ≤ x α sin x 1 ≤ x α , e ± x α → 0 \pm x^\alpha \to 0 ± x α → 0 . Per il teorema dei carabinieri lim x → 0 + x α sin 1 x = 0 \lim_{x \to 0^+}x^\alpha\sin\frac1x = 0 lim x → 0 + x α sin x 1 = 0 , quindi la funzione è continua.
Derivabilità in x = 0 x = 0 x = 0 .
α = 0 \alpha = 0 α = 0 : la questione non ha senso, la funzione non è continua quindi non è derivabile.
α > 0 \alpha > 0 α > 0 : il rapporto incrementale è
lim h → 0 + g ( h ) − g ( 0 ) h = lim h → 0 + h α sin 1 h h = lim h → 0 + h α − 1 sin 1 h . \lim_{h \to 0^+}\frac{g(h) - g(0)}{h} = \lim_{h \to 0^+}\frac{h^\alpha\sin\frac1h}{h} = \lim_{h \to 0^+}h^{\alpha - 1}\sin\frac1h. h → 0 + lim h g ( h ) − g ( 0 ) = h → 0 + lim h h α sin h 1 = h → 0 + lim h α − 1 sin h 1 .
È lo stesso limite della continuità con α − 1 \alpha - 1 α − 1 al posto di α \alpha α : se α > 1 \alpha > 1 α > 1 il limite esiste e vale 0 0 0 ; se α ≤ 1 \alpha \leq 1 α ≤ 1 non esiste.
Quindi g g g è derivabile in x = 0 x = 0 x = 0 solo se α > 1 \alpha > 1 α > 1 .
Attenzione (prof, pagina 14). Per x ≠ 0 x \neq 0 x = 0 , con Leibniz e la catena:
g ′ ( x ) = α x α − 1 sin 1 x + x α ( − 1 x 2 ) cos 1 x = α x α − 1 sin 1 x − x α − 2 cos 1 x . g'(x) = \alpha x^{\alpha - 1}\sin\frac1x + x^\alpha\left(-\frac{1}{x^2}\right)\cos\frac1x = \alpha x^{\alpha - 1}\sin\frac1x - x^{\alpha - 2}\cos\frac1x. g ′ ( x ) = α x α − 1 sin x 1 + x α ( − x 2 1 ) cos x 1 = α x α − 1 sin x 1 − x α − 2 cos x 1 .
lim x → 0 + g ′ ( x ) \lim_{x \to 0^+}g'(x) lim x → 0 + g ′ ( x ) non esiste se α ≤ 2 \alpha \leq 2 α ≤ 2 : il pezzo x α − 2 cos 1 x x^{\alpha - 2}\cos\frac1x x α − 2 cos x 1 oscilla senza andare a 0 0 0 . Quindi per α ∈ ( 1 , 2 ] \alpha \in (1, 2] α ∈ ( 1 , 2 ] la funzione è derivabile in x = 0 x = 0 x = 0 , ma la derivata è discontinua .
2 Esercizi tipo esame
In una pagina a parte, dal più facile al livello del 30: Regole di derivazione (esercizi) .
3 Errori tipici
Nella catena, derivare l’esterna nel punto sbagliato: D [ sin ( x 2 ) ] = cos x ⋅ 2 x D[\sin(x^2)] = \cos x \cdot 2x D [ sin ( x 2 )] = cos x ⋅ 2 x è sbagliato, va cos ( x 2 ) ⋅ 2 x \cos(x^2) \cdot 2x cos ( x 2 ) ⋅ 2 x .
Dimenticare la derivata dell’interna: D [ e 3 x ] = e 3 x D[e^{3x}] = e^{3x} D [ e 3 x ] = e 3 x è sbagliato, va 3 e 3 x 3e^{3x} 3 e 3 x .
Trattare x x x^x x x come x α x^\alpha x α (x ⋅ x x − 1 x \cdot x^{x-1} x ⋅ x x − 1 ) o come a x a^x a x (x x log x x^x\log x x x log x ): si passa sempre da e x log x e^{x\log x} e x l o g x .
Invertire il numeratore del quoziente: è f ′ g − f g ′ f'g - fg' f ′ g − f g ′ , col meno davanti al termine con g ′ g' g ′ .
Concludere “non derivabile” perché un fattore non è derivabile: x ∣ x ∣ x\vert x\vert x ∣ x ∣ è derivabile in 0 0 0 .
Dedurre la derivabilità in x 0 x_0 x 0 dal fatto che lim x → x 0 g ′ ( x ) \lim_{x \to x_0} g'(x) lim x → x 0 g ′ ( x ) non esiste: x 2 sin 1 x x^2\sin\frac1x x 2 sin x 1 è derivabile in 0 0 0 anche se g ′ g' g ′ lì non ha limite. In un punto di raccordo si usa il rapporto incrementale.
4 Domande
Enuncia la regola di Leibniz. Quale ipotesi su g g g serve nella dimostrazione, e da dove viene?
Enuncia la regola della catena. In che punto si calcola la derivata della funzione esterna?
Enuncia il teorema della derivata dell’inversa. Perché serve f ′ ( x 0 ) ≠ 0 f'(x_0) \neq 0 f ′ ( x 0 ) = 0 ? Dai l’esempio del prof.
Enuncia la regola del quoziente. Da quali due regole si ricava?
Come si deriva x α x^\alpha x α con α ∈ R \alpha \in \mathbb{R} α ∈ R , a x a^x a x e x x x^x x x ? Qual è il trucco comune?
Scrivi le derivate di tan x \tan x tan x , arctan x \arctan x arctan x , arcsin x \arcsin x arcsin x , arccos x \arccos x arccos x , log a ∣ x ∣ \log_a\vert x\vert log a ∣ x ∣ .
Una funzione continua può non essere derivabile in un punto? Quali sono i tre casi visti a lezione?
Come si studia la derivabilità di x ∣ x ∣ x\vert x\vert x ∣ x ∣ in 0 0 0 ? Perché non bastano le regole?
Per quali α ≥ 0 \alpha \geq 0 α ≥ 0 la funzione x α sin 1 x x^\alpha\sin\frac1x x α sin x 1 (estesa con 0 0 0 in 0 0 0 ) è continua in 0 0 0 ? Derivabile? Con derivata continua?