TODO:
-
Stetigkeit! wenn partial derivatives, die limit formulierung, etc…
-
Def. 10.4: Differential (totale Ableitung), mit Übung 10.5 (Eindeutigkeit) und
-
10.11: existiert genau dann, wenn alle in differenzierbar sind
2.1 Partielle Ableitung
Wir schneiden die Domain mit einer Ebene (ergibt eine normale Kurve), in welcher wir die “normale” Ableitung auswerten.
Differentiation
Es sei offen mit Standardbasis , und eine Funktion.
Die Größenennen wir die -te partielle Ableitung von an der Stelle .
Was fehlt?
- Wir können nur in die Basis-Kardinalrichtungen schauen, nicht in jede beliebige Richtung
- Ableitung gibt uns lineare Approximation ( in 1D)
→ in suchen wir eine Ebene, nicht eine Tangente.
Wir erweitern den Differentiationsbegriff also zur Richtungsableitung.
(Warum offen? Wir wollen keine komischen Rand-Effekte, dafür muss immer ein Ball Platz haben.)
Directional Derivative
Let be open, , and . The directional derivative of at in direction is
provided the limit exists.
Note: Die Richtungsableitung ist die gewöhnliche 1D-Ableitung der Einschränkung auf die Gerade durch in Richtung .
Note: Es gilt die Linearität → wir können jeden Vektor in Einheitsvektoren zerlegen und dann die normalen partiellen nutzen
- Partial derivatives are the special case
2.1.1 Jacobian und Gradienten
Der Tangentenbegriff wird erweitert zu:
Total (all directions) Differentiable
Let be open and . is differentiable at if there exists a linear map such that
Note: ist hier ein Vektor im .
Note: im 1D ist ja einfach nur da .
Wir können also umschreiben → für x dass sich nähert verhält sich wie eine lineare Funktion.
- der Fehler muss in sein.
Fehlerterm konvergenz
Es muss gelten, dass
i.e. that damit differenzierbar ist.
Lokal Linear
Wenn für ein ein solches existiert, ist differenzierbar.
Wir können also Schlussfolgern, dass für differenzierbare gilt, dass sie sich lokal linear verhalten!
Der Gradientenvektor / die Jacobimatrix ist also lokal eine gute Approximation.
Wenn differenzierbar, existiert jede Richtungsableitung.

Das ist eine lineare Abbildung, i.e. eine Matrix!
→ Matrix = lineare “Plane”
Differentiable
is differentiable in if it is differentiable at every point of .
Note: wir haben dann map von jedem Punkt zur Jacobi-Matrix.
Für jede Richtung (der Basis), repräsentiert die -te Spalte der Matrix die Tangente in die Richtung . Damit kann man dann alle anderen Richtungen “interpolieren”, i.e. exakt linear kombinieren.
Differential
is called the differential, (total) derivative or tangent map of at , written
Da eine linear map ist, existiert eine Matrix welche diese eindeutig repräsentiert! Wir können also wie folgt als Matrix schreiben.
Jacobian Matrix
The linear map is represented by the Jacobian matrix
In particular, is unique.
Note: Columns = directions, Rows = components (i.e. welcher Input).
Uniqueness of the differential follows from this representation
Für eine Funktion welche nur eine Zeile hätte, fassen wir dies als den Gradientenvektor zusammen.
Gradient
For the partial derivatives are collected in the gradient
Note: Column vector; only for scalar-valued
Note: the vector points in the direction of the steepest ascent. It’s also exactly orthogonal to the Nivealinien.
Why is that?
- when we “zoom in” far enough, (for differentiable) starts to resemble a plane
- i.e. it becomes linear
- Then, we take the partial derivatives (i.e. change in or however many inputs takes)
- Since is linear at this scale and 1-d derivatives already point to steepest direction
- when it’s ascending → positive, when descending negative
- the combination of coordinates = steepest direction, since is linear.
- we can’t “miss a direction” since it’s linear
Once we have the gradient vector, we can oeasily calculate directional derivatives, using linear combination!
Directional Derivative using or
For , s.t. (make sure it’s a unit vector, otherwise we don’t get the right scaling) and differentiable , we have
This makes it very easy to calculate directional derivatives, and it works since very zoomed in, the function behaves like a linear one.
2.1.2 Bedingungen für Ableitbarkeit
Differentierbarkeit ist für mehrdimensionale Funktionen eine deutlich striktere Bedingung als für 1 Variable.
- partielle Differenzierbarkeit ⇒ Stetigkeit ist nicht allgemein wahr
Example: Für mit existieren beide partiellen Ableitungen, jedoch “matchen” sie nicht. ist also in nicht ableitbar.
→ Das liegt daran, dass die partiellen nur auf eine Achse anschauen was passiert, nicht auf den Diagonalen z.B.
Partial Derivatives Differentiable
As shown in the example above, the existence alone of all partial derivatives does not guarantee that is differentiable.
Note: intuitively, we only check the “cardinal” directions. We’d have to check all (infinitely many of them) to be sure that all match.
What however does work is if we look at the output (codomain) and check if it’s component-wise differentiable there:
(Serra 9.6)
Let be open and let be a function. is the j-th component of .
Then is differentiable at if and only iff, for all , is differentiable at . In that case we have for all
Proof: Condition for differentiability is . Since all norms are equivalent, take infinity-norm and transform it into component-wise statement.
The next statement is about the partials, i.e. the inputs of the function. They need to be for differentiability to hold.
Continuously Differentiable
Let be open and . If all partial derivatives , , exist and are continuous on , then is called continuously differentiable and we write .
Note: By the previous theorem: differentiable on .
If all partials are continuously differentiable → is continuous
- technically you only need them to be bounded.
Note: We have the implication chain
2.2 Höhere partielle Ableitungen
Die Menge der Ableitungen, welche wir nehmen müssen, steigt exponentiell (in der Dimensionalität der Funktion). Für jede Ableitungsrichtung, müssen wir erneut in alle Richtungen ableiten.
Second-Order Partial Derivatives
The partial derivatives , are again functions of and and can be differentiated again. The four second-order partial derivatives are
Note: Order convention: in the rightmost variable is differentiated first; in subscript notation the leftmost subscript comes first, so .
, ,
Let be open, and . If all partial derivatives , , exist and lie in , then is -times continuously differentiable, written .
- denotes the class of all continuous functions
- denotes the class of all smooth functions, i.e. for all
Note: this is a recursive definition: is defined via
2.2.1 Kommutativität der partiellen Ableitung
Es ist egal, ob wir zuerst in dann in oder dann ableiten (für Elemente gilt das nur für -mal stetig differenzierbare Funktionen).
Schwarz
Let be open and . Then
Note: as stated before, this requires .
Schwarz for
Let be open and . Then for all and every permutation
Note this needs -times continuously differentiable. Then the order of differentiation is irrelevant up to order .
Using this rule, we can make our life easier. If in it’s a very complicated expression and with we get , then doing then also yields . No need to differentiate the complicated expression.
2.3 Continuously Differentiable Functions
Es gelten folgende Regeln.
Regularity of Sums, Products and Compositions
Let be open, , with open and . Then
- and belong to
- belongs to
Für die Ableitung von composed functions gilt die Kettenregel, welche wir convenient mit Matrix-Multiplikation der Jacobians finden können.
Chain Rule
Let , open and open. If is differentiable at and is differentiable at , then is differentiable at with
or component-wise
This tells us “best linear approximation of the composition” is the composition of “the best linear approximation”.
Note: this only needs differentiability at and
→ Composition of differentials = product of Jacobian matrices
Example: Let be given by and evaluate at , so .
The two Jacobians are
Note that is evaluated at , not at . The product, with the computation of entry highlighted:
If we look at the raw definition, without matrix-mult, we get the following, which still matches:
Chain Rule for Functions
Let , open and open. If , and , then
This also tells us that is also in → only sum, product.
2.3 Mittelwertsatz
HIgher-Dimensional MVT (Serra 10.28)
Let be open, and , . Let and s.t. for all .
Then, there exists s.t. for , the following holds:
What this means is that for such a function , we can draw a vertical plane through the graph, cutting it in two points and . On this plane, the 1-d MVT holds.

2.4 Taylor
Multi-Index
is called a multi-index of length , where
We write if for all , and define the factorial
For and we set
This is just syntax sugar to make it easier to write.
Taylor
Let be open, , , and such that for all . Then
where the remainder is given by
Note: is well-defined for because of Schwarz (order doesn’t matter)
→ In the sum we basically have all possible partial derivatives up to that degree.
The big sum is basically Taylor grouped all together. We could also write it separated by , to get something looking more like traditional Taylor.
Example: For , we have that could be
2.5 Extremwerte
Critical Point
For , is called a critical point of if the gradient of vanishes at (equivalently is the zero map).
Note: this holds only for → otherwise gradient 0 stops meaning flat.
Example: Such a critical point is reached at a plateau for example

Local Extrema
Let and .
- s.t. for all we have we call a local maximum
- s.t. for all we have we call a local minimum
- is called a lokale Extremstelle and a lokaler Extremwert.
11.3 Interior Local Extrema are critical points
Let be a point where assumes a local extremum. Then for all . In other words, and is a critical point of .
NEXT
Vorzeichen der Hessematrix von Taylor → gibt Hinweis ob lokales Max/Min geben kann.