ATLAS Ouvrir dans l'atlas →

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

Exercice 12

Calcul

Les applications suivantes sont-elles injectives ? surjectives ? bijectives ?

f1:ℕ⟶ℕn⟼n+1f2:ℤ⟶ℤn⟼n+1f3:ℤ⟶ℤn⟼n+(−1)nf4:ℝ2⟶ℝ2(x,y)⟼(x+y, x−y)f5:ℝℝ⟶ℝf⟼f(0)f6:𝒫(ℝ)⟶𝒫(ℝ+)X⟼X∩ℝ+f7:ℕ⟶ℕn⟼⌊n/2⌋f8:ℕ⟶ℕn⟼2n\begin{array}{ll} \begin{array}{r|ccl} f_{1} : & \mathbb{N} & \longrightarrow & \mathbb{N} \\ & n & \longmapsto & n + 1 \end{array} & \begin{array}{r|ccl} f_{2} : & \mathbb{Z} & \longrightarrow & \mathbb{Z} \\ & n & \longmapsto & n + 1 \end{array} \\[5mm] \begin{array}{r|ccl} f_{3} : & \mathbb{Z} & \longrightarrow & \mathbb{Z} \\ & n & \longmapsto & n + (-1)^{n} \end{array} & \begin{array}{r|ccl} f_{4} : & \mathbb{R}^{2} & \longrightarrow & \mathbb{R}^{2} \\ & (x,y) & \longmapsto & (x + y,\ x - y) \end{array} \\[5mm] \begin{array}{r|ccl} f_{5} : & \mathbb{R}^{\mathbb{R}} & \longrightarrow & \mathbb{R} \\ & f & \longmapsto & f(0) \end{array} & \begin{array}{r|ccl} f_{6} : & \mathcal{P}(\mathbb{R}) & \longrightarrow & \mathcal{P}(\mathbb{R}_{+}) \\ & X & \longmapsto & X \cap \mathbb{R}_{+} \end{array} \\[5mm] \begin{array}{r|ccl} f_{7} : & \mathbb{N} & \longrightarrow & \mathbb{N} \\ & n & \longmapsto & \lfloor n/2 \rfloor \end{array} & \begin{array}{r|ccl} f_{8} : & \mathbb{N} & \longrightarrow & \mathbb{N} \\ & n & \longmapsto & 2n \end{array} \end{array} Calculer de plus f7∘f8f_{7} \circ f_{8} et f8∘f7f_{8} \circ f_{7}.

Corrigé

On traite les huit applications l'une après l'autre.

• (a) Si n+1=m+1n + 1 = m + 1, alors n=mn = m : l'application est injective. L'entier 00 n'a pas d'antécédent dans ℕ\mathbb{N}. (a) est injective, non surjective.\boxed{\text{(a) est injective, non surjective.}}

• (b) Tout entier mm possède l'unique antécédent m−1m - 1 dans ℤ\mathbb{Z}. (b) est bijective, de reˊciproque m↦m−1.\boxed{\text{(b) est bijective, de réciproque } m \mapsto m - 1.}

• (c) L'application, notée cc, envoie un entier pair nn sur l'entier impair n+1n + 1, et un entier impair nn sur l'entier pair n−1n - 1. On a donc c(c(n))=nc\big(c(n)\big) = n pour tout nn : c∘c=idℤc \circ c = \mathrm{id}_{\mathbb{Z}}. (c) est bijective, et eˊgale aˋ sa reˊciproque.\boxed{\text{(c) est bijective, et égale à sa réciproque.}}

• (d) Pour (u,v)∈ℝ2(u,v) \in \mathbb{R}^{2}, on résout le système x+y=ux + y = u, x−y=vx - y = v, qui a l'unique solution x=u+v2x = \frac{u+v}{2}, y=u−v2y = \frac{u-v}{2}. (d) est bijective, de reˊciproque (u,v)↦(u+v2,u−v2).\boxed{\text{(d) est bijective, de réciproque } (u,v) \mapsto \Big(\frac{u+v}{2}, \frac{u-v}{2}\Big).}

• (e) Tout réel cc est l'image de la fonction constante égale à cc. Les fonctions x↦0x \mapsto 0 et x↦xx \mapsto x ont la même image 00. (e) est surjective, non injective.\boxed{\text{(e) est surjective, non injective.}}

• (f) Toute partie YY de ℝ+\mathbb{R}_{+} vérifie Y∩ℝ+=YY \cap \mathbb{R}_{+} = Y : c'est sa propre antécédente. Les parties ∅\varnothing et {−1}\{-1\} ont la même image ∅\varnothing. (f) est surjective, non injective.\boxed{\text{(f) est surjective, non injective.}}

• (g) Tout entier mm est l'image de 2m2m, et l'on a g(0)=g(1)=0g(0) = g(1) = 0. (g) est surjective, non injective.\boxed{\text{(g) est surjective, non injective.}}

• (h) Si 2n=2m2n = 2m, alors n=mn = m, et l'entier 11 n'a pas d'antécédent. (h) est injective, non surjective.\boxed{\text{(h) est injective, non surjective.}}

Pour les composées, (g∘h)(n)=⌊2n/2⌋=n(g \circ h)(n) = \lfloor 2n/2 \rfloor = n, tandis que (h∘g)(n)=2⌊n/2⌋(h \circ g)(n) = 2\lfloor n/2 \rfloor vaut nn si nn est pair et n−1n - 1 s'il est impair. g∘h=idℕ(h∘g)(n)={nsi n est pairn−1si n est impair\boxed{g \circ h = \mathrm{id}_{\mathbb{N}} \qquad (h \circ g)(n) = \begin{cases} n & \text{si } n \text{ est pair} \\ n - 1 & \text{si } n \text{ est impair} \end{cases}} Piège : l'égalité g∘h=idℕg \circ h = \mathrm{id}_{\mathbb{N}} ne fait pas de gg et hh deux bijections réciproques. Il faut aussi h∘g=idℕh \circ g = \mathrm{id}_{\mathbb{N}}, ce qui est faux ici. L'exercice 19 montrera que cette situation caractérise exactement les injections (hh) et les surjections (gg).

Dans l'édifice

Thèmes

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

Notions

injection, surjection, bijection

Ouvrir dans l'atlas interactif →