ATLAS Ouvrir dans l'atlas →

ExerciceMaths Sup – MPSI, chapitre 2 — Applications et relations binaires · Injections, surjections, bijections

Exercice 19

Démonstration

Soit XX et YY deux ensembles non vides et f:X→Yf : X \to Y.

1. Montrer que ff est injective si et seulement s'il existe g:Y→Xg : Y \to X telle que g∘f=idXg \circ f = \mathrm{id}_{X}. Une telle application gg est-elle unique ?

2. Montrer que ff est surjective si et seulement s'il existe h:Y→Xh : Y \to X telle que f∘h=idYf \circ h = \mathrm{id}_{Y}. On admettra que l'on peut choisir simultanément un antécédent pour chaque élément de YY.

3. On considère f:ℕ→ℕf : \mathbb{N} \to \mathbb{N}, n↦n2n \mapsto n^{2}. Existe-t-il g:ℕ→ℕg : \mathbb{N} \to \mathbb{N} telle que g∘f=idℕg \circ f = \mathrm{id}_{\mathbb{N}} ? telle que f∘g=idℕf \circ g = \mathrm{id}_{\mathbb{N}} ?

Corrigé

1. Supposons ff injective, et fixons a∈Xa \in X. Tout élément yy de f(X)f(X) a un unique antécédent ; on le note g(y)g(y), et l'on pose g(y)=ag(y) = a si y∉f(X)y \notin f(X). Pour x∈Xx \in X, l'élément g(f(x))g(f(x)) est l'unique antécédent de f(x)f(x), c'est-à-dire xx. Réciproquement, si g∘f=idXg \circ f = \mathrm{id}_{X}, qui est injective, alors ff est injective d'après la proposition 6 du cours. f injective  ⟺  ∃g:Y→X, g∘f=idX\boxed{f \text{ injective} \iff \exists g : Y \to X,\ g \circ f = \mathrm{id}_{X}} L'application gg n'est pas unique en général : sa valeur hors de f(X)f(X) est arbitraire. Elle est unique lorsque ff est surjective, ou lorsque XX n'a qu'un élément.

2. Supposons ff surjective. Pour chaque y∈Yy \in Y, la partie f−1({y})f^{-1}(\{y\}) est non vide ; on y choisit un élément h(y)h(y), ce qui est licite d'après l'énoncé. Alors f(h(y))=yf(h(y)) = y. Réciproquement, si f∘h=idYf \circ h = \mathrm{id}_{Y}, qui est surjective, alors ff est surjective. f surjective  ⟺  ∃h:Y→X, f∘h=idY\boxed{f \text{ surjective} \iff \exists h : Y \to X,\ f \circ h = \mathrm{id}_{Y}} Le choix simultané d'un antécédent pour chaque yy est l'axiome du choix. Il n'est pas nécessaire lorsque X=ℕX = \mathbb{N}, car on peut prendre le plus petit antécédent.

3. L'application ff est injective sur ℕ\mathbb{N} et non surjective, car 22 n'est pas un carré. D'après les questions 1 et 2 : g(m)={msi m est un carreˊ0sinon veˊrifie g∘f=idℕ; aucune g ne veˊrifie f∘g=idℕ.\boxed{g(m) = \begin{cases} \sqrt{m} & \text{si } m \text{ est un carré} \\ 0 & \text{sinon} \end{cases} \text{ vérifie } g \circ f = \mathrm{id}_{\mathbb{N}} ; \text{ aucune } g \text{ ne vérifie } f \circ g = \mathrm{id}_{\mathbb{N}}.}

Dans l'édifice

Thèmes

injections, surjections, bijections, composition, injectivité, surjectivité

Notions

injection, surjection, bijection

Ouvrir dans l'atlas interactif →