\( \usepackage{hyperref} \newcommand{\R}{\mathbb{R}} \newcommand{\Q}{\mathbb{Q}} \newcommand{\Rp}{\mathbb{R_+}} \newcommand{\cC}{\mathcal{C}} \newcommand{\Z}{\mathbb{Z}} \newcommand{\Rn}{\mathbb{R}^n} \newcommand{\N}{\mathbb{N}} \renewcommand{\to}{\rightarrow} \newcommand{\from}{\colon} \renewcommand{\Vec}{\mathsf{vec}} \newcommand{\Ker}{\mathrm{Ker}} \renewcommand{\Im}{\mathrm{Im}} \newcommand{\rang}{\mathrm{rang}} \newcommand{\dpartial}[2]{{\partial #1 \over \partial #2}} \usepackage{amsthm} \newtheorem{theorem}{Théorème}[section] \newtheorem{definition}[theorem]{Définition} \newtheorem{lemma}[theorem]{Lemme} \newtheorem{exercice}{Exercice}[section] \newtheorem{correction}{Correction} \newtheorem{example}{Exemple}[section] \newtheorem{observation}{Observation}[section] \AtBeginDocument{\renewcommand\proofname{Démonstration}} \)

TD 6 : Fonctions différentiables

MIA

Calculez les gradients des fonctions suivantes en fonction de \(x_1,x_2,x_3\) :

  1. \((x_1,x_2) \mapsto {1 \over {x_1+x_2}}\)
  2. \((x_1,x_2,x_3) \mapsto (x_1x_2)^2+(x_2x_3)^2 - x_1x_2x_3\)
  3. \((x_1,x_2,x_3) \mapsto \log(2x_1+x_2-x_3)\)
  4. \((x_1,x_2) \mapsto \begin{cases} e^{x_1 + x_2} \text{ si } x_1+x_2 > 0 \\ 1 \text{ sinon.} \end{cases}\)

Pour les fonctions précédentes, précisez si le gradient que vous avez calculé est la différentielle de la fonction.

Calculez les Jacobiens des fonctions suivantes en fonction de \(x_1,x_2\) :

  1. \((x_1,x_2) \mapsto (2x_1-x_2, 3x_2+x_1+1)\)
  2. \((x_1,x_2) \mapsto (x_1^2 + x_2^2, x_1^2 - x_2^2)\)
  3. \((x_1,x_2) \mapsto ({1 \over x_1}, {1 \over x_2})\)

Pour les fonctions précédentes, précisez si le gradient que vous avez calculé est la différentielle de la fonction.

Soit \(W\) une matrice \(m \times n\).

  1. Montrez que si \(h(X) = WX\), on a \(\nabla h = W\).
  2. Soit \(f\) une fonction de \(\mathbb{R}^m\) dans \(\mathbb{R}^k\). On définit \(g(X) = f(WX)\). Montrez que On a \(\nabla g(X) = W \times \nabla f(WX)\).