A–Z Prof Othmane — 1re BAC SM / BIOF • LOGIQUE
A–Z MATH • Collection corrigés
Logique et raisonnements Corrigé détaillé de la série des 36 exercices
1re Bac Sciences Mathématiques (BIOF) • Année scolaire 2026–2027
Objectif : apprendre à justifier chaque affirmation et à distinguer les méthodes de preuve.
Les solutions reprennent exactement l’ordre des 36 exercices de la série précédente.
Notations : N = { 0 , 1 , 2 , … } \mathbb N=\{0,1,2,\ldots\} N = { 0 , 1 , 2 , … } ; Z , Q , R \mathbb Z,\mathbb Q,\mathbb R Z , Q , R sont les entiers, rationnels et réels ; ∃ ! \exists! ∃ ! signifie « il existe un unique ».
01 — Propositions, quantificateurs et négations Exercices 1 à 6 • Comprendre les assertions et leurs négations
Exercice 1 • Valeur de vérité et négation On utilise ¬ ( ∀ x , P ( x ) ) ⇔ ∃ x , ¬ P ( x ) \neg(\forall x,P(x))\Leftrightarrow\exists x,\neg P(x) ¬ ( ∀ x , P ( x )) ⇔ ∃ x , ¬ P ( x ) et ¬ ( ∃ x , P ( x ) ) ⇔ ∀ x , ¬ P ( x ) \neg(\exists x,P(x))\Leftrightarrow\forall x,\neg P(x) ¬ ( ∃ x , P ( x )) ⇔ ∀ x , ¬ P ( x ) .
∀ x ∈ R , x 2 + 2 > 0 \forall x\in\mathbb R,\ x^2+2>0 ∀ x ∈ R , x 2 + 2 > 0 est vraie car x 2 ≥ 0 x^2\ge0 x 2 ≥ 0 . Négation : ∃ x ∈ R , x 2 + 2 ≤ 0 \exists x\in\mathbb R,\ x^2+2\le0 ∃ x ∈ R , x 2 + 2 ≤ 0 .∃ x ∈ R , x 2 + 2 x + 3 = 0 \exists x\in\mathbb R,\ x^2+2x+3=0 ∃ x ∈ R , x 2 + 2 x + 3 = 0 est fausse : ( x + 1 ) 2 + 2 > 0 (x+1)^2+2>0 ( x + 1 ) 2 + 2 > 0 . Négation : ∀ x ∈ R , x 2 + 2 x + 3 ≠ 0 \forall x\in\mathbb R,\ x^2+2x+3\ne0 ∀ x ∈ R , x 2 + 2 x + 3 = 0 .∀ n ∈ N , n ( n + 1 ) \forall n\in\mathbb N,\ n(n+1) ∀ n ∈ N , n ( n + 1 ) est pair : vraie (deux consécutifs, l’un est pair). Négation : ∃ n ∈ N \exists n\in\mathbb N ∃ n ∈ N tel que n ( n + 1 ) n(n+1) n ( n + 1 ) soit impair.∃ ! x ∈ R , 3 x − 7 = 0 \exists!x\in\mathbb R,\ 3x-7=0 ∃ ! x ∈ R , 3 x − 7 = 0 est vraie car x = 7 3 x=\frac73 x = 3 7 est la seule solution. Négation : « l’équation 3 x − 7 = 0 3x-7=0 3 x − 7 = 0 n’a pas exactement une solution réelle ».∃ ! x ∈ R , x 2 = 9 \exists!x\in\mathbb R,\ x^2=9 ∃ ! x ∈ R , x 2 = 9 est fausse : x = − 3 x=-3 x = − 3 ou x = 3 x=3 x = 3 . Négation : « l’équation x 2 = 9 x^2=9 x 2 = 9 n’a pas exactement une solution réelle » (vraie).Précision : la négation de « il existe un unique » est « aucune solution ou au moins deux solutions distinctes ».
Exercice 2 • Traduire en langage symbolique ∀ x ∈ R , x 2 ≥ 0 \boxed{\forall x\in\mathbb R,\ x^2\ge0} ∀ x ∈ R , x 2 ≥ 0 .∃ x ∈ R , 0 < x < x 2 \boxed{\exists x\in\mathbb R,\ 0<x<x^2} ∃ x ∈ R , 0 < x < x 2 . Par exemple x = 2 x=2 x = 2 .∀ n ∈ N , n ≥ 0 \boxed{\forall n\in\mathbb N,\ n\ge0} ∀ n ∈ N , n ≥ 0 . Ou encore : ¬ ( ∃ n ∈ N , n < 0 ) \neg(\exists n\in\mathbb N,\ n<0) ¬ ( ∃ n ∈ N , n < 0 ) .∃ ! x ∈ R , 5 x + 2 = 0 \boxed{\exists!x\in\mathbb R,\ 5x+2=0} ∃ ! x ∈ R , 5 x + 2 = 0 . Ici x = − 2 5 x=-\frac25 x = − 5 2 .∀ n ∈ N , ∃ m ∈ N , m > n \boxed{\forall n\in\mathbb N,\ \exists m\in\mathbb N,\ m>n} ∀ n ∈ N , ∃ m ∈ N , m > n . Par exemple m = n + 1 m=n+1 m = n + 1 .
Exercice 3 • Ordre des quantificateurs « Tout réel possède un réel plus grand. » Vrai : y = x + 1 y=x+1 y = x + 1 convient. « Il existe un réel plus grand que tous les réels. » Faux : pour chaque y y y , le nombre y + 1 y+1 y + 1 est plus grand. « À tout naturel n n n correspond un naturel m = n + 2 m=n+2 m = n + 2 . » Vrai. « Il existe un naturel supérieur ou égal à tous les naturels. » Faux : m = n + 1 m=n+1 m = n + 1 contredit l’affirmation.
À retenir : dans ∀ x ∃ y \forall x\exists y ∀ x ∃ y , y y y peut dépendre de x x x . Dans ∃ y ∀ x \exists y\forall x ∃ y ∀ x , un même y y y doit convenir à tous les x x x .
Exercice 4 • Négation d’une implication On utilise ¬ ( A ⇒ B ) ⇔ A ∧ ¬ B \neg(A\Rightarrow B)\Leftrightarrow A\land\neg B ¬ ( A ⇒ B ) ⇔ A ∧ ¬ B .
∃ x ∈ R : x > 2 et x 2 ≤ 4 \exists x\in\mathbb R:\ x>2\text{ et }x^2\le4 ∃ x ∈ R : x > 2 et x 2 ≤ 4 .∃ n ∈ N : n \exists n\in\mathbb N:\ n ∃ n ∈ N : n pair et n 2 n^2 n 2 impair.∀ x ∈ R : x 2 ≥ 1 ou x ≤ 2 \forall x\in\mathbb R:\ x^2\ge1\text{ ou }x\le2 ∀ x ∈ R : x 2 ≥ 1 ou x ≤ 2 .∃ x ∈ [ − 1 , 1 ] : x 3 < − 1 ou x 3 > 1 \exists x\in[-1,1]:\ x^3<-1\text{ ou }x^3>1 ∃ x ∈ [ − 1 , 1 ] : x 3 < − 1 ou x 3 > 1 .
Exercice 5 • Unicité d’une solution ∣ 2 x − 5 ∣ = 0 ⇔ 2 x − 5 = 0 ⇔ x = 5 2 |2x-5|=0\Leftrightarrow2x-5=0\Leftrightarrow x=\frac52 ∣2 x − 5∣ = 0 ⇔ 2 x − 5 = 0 ⇔ x = 2 5 . Une unique solution : vrai. x 2 − 5 x + 6 = ( x − 2 ) ( x − 3 ) = 0 x^2-5x+6=(x-2)(x-3)=0 x 2 − 5 x + 6 = ( x − 2 ) ( x − 3 ) = 0 . Il y a deux solutions 2 et 3. Faux. x 3 + 1 = 0 ⇔ x 3 = − 1 ⇔ x = − 1 x^3+1=0\Leftrightarrow x^3=-1\Leftrightarrow x=-1 x 3 + 1 = 0 ⇔ x 3 = − 1 ⇔ x = − 1 , unique car la fonction cube est strictement croissante sur R \mathbb R R . Vrai.
Exercice 6 • Construire un contre-exemple Il suffit d’un seul cas contredisant la conclusion :
x = 1 2 : x 2 = 1 4 < 1 2 = x x=\frac12:\ x^2=\frac14<\frac12=x x = 2 1 : x 2 = 4 1 < 2 1 = x .a = 2 , b = − 2 : a 2 = b 2 = 4 a=2,b=-2:\ a^2=b^2=4 a = 2 , b = − 2 : a 2 = b 2 = 4 mais a ≠ b a\ne b a = b .n = 0 : n 2 + n + 1 = 1 n=0:\ n^2+n+1=1 n = 0 : n 2 + n + 1 = 1 est impair.x = − 5 : − 5 < 4 x=-5:\ -5<4 x = − 5 : − 5 < 4 mais ( − 5 ) 2 = 25 ≮ 16 (-5)^2=25\not<16 ( − 5 ) 2 = 25 < 16 .
02 — Connecteurs logiques et ensembles Exercices 7 à 12 • Implication, équivalence et lois de De Morgan
Exercice 7 • Table de vérité Le tableau fournit les valeurs de ¬ P \neg P ¬ P , P ∧ Q P\land Q P ∧ Q , P ∨ Q P\lor Q P ∨ Q et P ⇒ Q P\Rightarrow Q P ⇒ Q . P ⇔ Q P\Leftrightarrow Q P ⇔ Q est vraie lorsque P P P et Q Q Q ont la même valeur de vérité .P ⇒ Q P\Rightarrow Q P ⇒ Q est fausse seulement si P P P est vraie et Q Q Q fausse, exactement comme ¬ P ∨ Q \neg P\lor Q ¬ P ∨ Q . Donc ( P ⇒ Q ) ⇔ ( ¬ P ∨ Q ) \boxed{(P\Rightarrow Q)\Leftrightarrow(\neg P\lor Q)} ( P ⇒ Q ) ⇔ ( ¬ P ∨ Q ) est une tautologie .
Exercice 8 • Lois de De Morgan Les colonnes correspondantes sont identiques, donc les deux équivalences sont vraies. Applications :
¬ ( x > 0 et x < 5 ) \neg(x>0\text{ et }x<5) ¬ ( x > 0 et x < 5 ) : x ≤ 0 ou x ≥ 5 \boxed{x\le0\text{ ou }x\ge5} x ≤ 0 ou x ≥ 5 .¬ ( x ≤ − 2 ou x ≥ 3 ) \neg(x\le-2\text{ ou }x\ge3) ¬ ( x ≤ − 2 ou x ≥ 3 ) : x > − 2 et x < 3 \boxed{x>-2\text{ et }x<3} x > − 2 et x < 3 .
Exercice 9 • Implication, réciproque, contraposée Si x > 3 x>3 x > 3 , alors x 2 > 9 x^2>9 x 2 > 9 car x x x et 3 sont positifs. P ⇒ Q P\Rightarrow Q P ⇒ Q est vraie . La réciproque est x 2 > 9 ⇒ x > 3 x^2>9\Rightarrow x>3 x 2 > 9 ⇒ x > 3 : fausse , avec x = − 4 x=-4 x = − 4 (16 > 9 16>9 16 > 9 et − 4 ≯ 3 -4\not>3 − 4 > 3 ). Contraposée : x 2 ≤ 9 ⇒ x ≤ 3 \boxed{x^2\le9\Rightarrow x\le3} x 2 ≤ 9 ⇒ x ≤ 3 . En effet, x 2 ≤ 9 x^2\le9 x 2 ≤ 9 signifie − 3 ≤ x ≤ 3 -3\le x\le3 − 3 ≤ x ≤ 3 .
Exercice 10 • Ensembles et conditions Avec U = { 1 , 2 , … , 9 } U=\{1,2,\ldots,9\} U = { 1 , 2 , … , 9 } , A = { 2 , 4 , 6 , 8 } A=\{2,4,6,8\} A = { 2 , 4 , 6 , 8 } , B = { 3 , 6 , 9 } B=\{3,6,9\} B = { 3 , 6 , 9 } :
A ∩ B = { 6 } \boxed{A\cap B=\{6\}} A ∩ B = { 6 } , A ∪ B = { 2 , 3 , 4 , 6 , 8 , 9 } \boxed{A\cup B=\{2,3,4,6,8,9\}} A ∪ B = { 2 , 3 , 4 , 6 , 8 , 9 } ,A ∖ B = { 2 , 4 , 8 } \boxed{A\setminus B=\{2,4,8\}} A ∖ B = { 2 , 4 , 8 } , U ∖ A = { 1 , 3 , 5 , 7 , 9 } \boxed{U\setminus A=\{1,3,5,7,9\}} U ∖ A = { 1 , 3 , 5 , 7 , 9 } .
x ∈ A ∩ B ⇔ ( x ∈ A et x ∈ B ) x\in A\cap B\Leftrightarrow(x\in A\text{ et }x\in B) x ∈ A ∩ B ⇔ ( x ∈ A et x ∈ B ) .Négation de x ∈ A x\in A x ∈ A ou x ∈ B x\in B x ∈ B : x ∉ A et x ∉ B \boxed{x\notin A\text{ et }x\notin B} x ∈ / A et x ∈ / B , c’est-à-dire x ∉ A ∪ B x\notin A\cup B x ∈ / A ∪ B .
Exercice 11 • Tautologies ( P ∧ Q ) ⇒ P (P\land Q)\Rightarrow P ( P ∧ Q ) ⇒ P est toujours vraie : si P ∧ Q P\land Q P ∧ Q est vraie, P P P est vraie.P ⇒ ( P ∨ Q ) P\Rightarrow(P\lor Q) P ⇒ ( P ∨ Q ) est toujours vraie : si P P P est vraie, P ∨ Q P\lor Q P ∨ Q est vraie.( P ⇒ Q ) ⇒ ( Q ⇒ P ) (P\Rightarrow Q)\Rightarrow(Q\Rightarrow P) ( P ⇒ Q ) ⇒ ( Q ⇒ P ) n’est pas une tautologie : si P = F P=\mathrm F P = F et Q = V Q=\mathrm V Q = V , alors P ⇒ Q = V P\Rightarrow Q=\mathrm V P ⇒ Q = V , mais Q ⇒ P = F Q\Rightarrow P=\mathrm F Q ⇒ P = F .
Exercice 12 • Condition nécessaire et suffisante Si a = b a=b a = b , alors en élevant au carré on a a 2 = b 2 a^2=b^2 a 2 = b 2 : P ⇒ Q P\Rightarrow Q P ⇒ Q est vraie. Q ⇒ P Q\Rightarrow P Q ⇒ P est fausse : a = 2 a=2 a = 2 et b = − 2 b=-2 b = − 2 sont un contre-exemple.Si a ≥ 0 a\ge0 a ≥ 0 et b ≥ 0 b\ge0 b ≥ 0 , alors a 2 = b 2 ⇒ a = b a^2=b^2\Rightarrow a=b a 2 = b 2 ⇒ a = b (unicité de la racine carrée positive). Ainsi, sous cette condition, a = b ⇔ a 2 = b 2 \boxed{a=b\Leftrightarrow a^2=b^2} a = b ⇔ a 2 = b 2 .
03 — Méthodes de démonstration Exercices 13 à 18 • Direct, contraposée, absurde et cas
Exercice 13 • Raisonnement direct Comme ( a − b ) 2 ≥ 0 (a-b)^2\ge0 ( a − b ) 2 ≥ 0 , on obtient a 2 − 2 a b + b 2 ≥ 0 a^2-2ab+b^2\ge0 a 2 − 2 ab + b 2 ≥ 0 , donc a 2 + b 2 ≥ 2 a b \boxed{a^2+b^2\ge2ab} a 2 + b 2 ≥ 2 ab . a 2 + b 2 = 0 a^2+b^2=0 a 2 + b 2 = 0 avec a 2 ≥ 0 a^2\ge0 a 2 ≥ 0 et b 2 ≥ 0 b^2\ge0 b 2 ≥ 0 oblige a 2 = b 2 = 0 a^2=b^2=0 a 2 = b 2 = 0 , soit a = b = 0 \boxed{a=b=0} a = b = 0 .De 0 ≤ a ≤ b 0\le a\le b 0 ≤ a ≤ b , on tire b 2 − a 2 = ( b − a ) ( b + a ) ≥ 0 b^2-a^2=(b-a)(b+a)\ge0 b 2 − a 2 = ( b − a ) ( b + a ) ≥ 0 , donc a 2 ≤ b 2 \boxed{a^2\le b^2} a 2 ≤ b 2 .
Exercice 14 • La contraposée Contraposée : « si n n n est impair, n 2 n^2 n 2 est impair ». Si n = 2 k + 1 n=2k+1 n = 2 k + 1 , alors n 2 = 2 ( 2 k 2 + 2 k ) + 1 n^2=2(2k^2+2k)+1 n 2 = 2 ( 2 k 2 + 2 k ) + 1 est impair. D’où n 2 pair ⇒ n pair n^2\text{ pair}\Rightarrow n\text{ pair} n 2 pair ⇒ n pair . Si 3 ∤ n 3\nmid n 3 ∤ n , alors n = 3 k + 1 n=3k+1 n = 3 k + 1 ou n = 3 k + 2 n=3k+2 n = 3 k + 2 . Dans les deux cas n 2 ≡ 1 ( m o d 3 ) n^2\equiv1\pmod3 n 2 ≡ 1 ( mod 3 ) . Donc 3 ∣ n 2 ⇒ 3 ∣ n 3\mid n^2\Rightarrow3\mid n 3 ∣ n 2 ⇒ 3 ∣ n . La contraposée de x y = 0 ⇒ ( x = 0 ou y = 0 ) xy=0\Rightarrow(x=0\text{ ou }y=0) x y = 0 ⇒ ( x = 0 ou y = 0 ) est :( x ≠ 0 et y ≠ 0 ) ⇒ x y ≠ 0 \boxed{(x\ne0\text{ et }y\ne0)\Rightarrow xy\ne0} ( x = 0 et y = 0 ) ⇒ x y = 0 .
Exercice 15 • Raisonnement par l’absurde Supposons 3 = p q \sqrt3=\frac pq 3 = q p avec p , q ∈ Z p,q\in\mathbb Z p , q ∈ Z , q ≠ 0 q\ne0 q = 0 et gcd ( ∣ p ∣ , ∣ q ∣ ) = 1 \gcd(|p|,|q|)=1 g cd( ∣ p ∣ , ∣ q ∣ ) = 1 . Alors p 2 = 3 q 2 p^2=3q^2 p 2 = 3 q 2 , donc 3 ∣ p 3\mid p 3 ∣ p et p = 3 k p=3k p = 3 k .Ainsi q 2 = 3 k 2 q^2=3k^2 q 2 = 3 k 2 , donc 3 ∣ q 3\mid q 3 ∣ q , contradiction avec l’irréductibilité. Par conséquent 3 ∉ Q \boxed{\sqrt3\notin\mathbb Q} 3 ∈ / Q .
Supposons n ∈ Z n\in\mathbb Z n ∈ Z et n 2 = 2 n^2=2 n 2 = 2 . On a alors 1 < n 2 < 4 1<n^2<4 1 < n 2 < 4 , d’où 1 < ∣ n ∣ < 2 1<|n|<2 1 < ∣ n ∣ < 2 . Or ∣ n ∣ |n| ∣ n ∣ est un entier naturel, ce qui est impossible. Il n’existe donc pas de tel n n n . Supposons qu’il existe un plus grand naturel N N N . Mais N + 1 ∈ N N+1\in\mathbb N N + 1 ∈ N et N + 1 > N N+1>N N + 1 > N : contradiction.
Exercice 16 • Disjonction de cas Si n = 2 k n=2k n = 2 k , alors n ( n + 1 ) = 2 k ( 2 k + 1 ) n(n+1)=2k(2k+1) n ( n + 1 ) = 2 k ( 2 k + 1 ) ; si n = 2 k + 1 n=2k+1 n = 2 k + 1 , alors n ( n + 1 ) = 2 ( k + 1 ) ( 2 k + 1 ) n(n+1)=2(k+1)(2k+1) n ( n + 1 ) = 2 ( k + 1 ) ( 2 k + 1 ) . Dans les deux cas le produit est pair. Pour n ∈ Z n\in\mathbb Z n ∈ Z , on distingue n ≡ 0 , 1 , 2 ( m o d 3 ) n\equiv0,1,2\pmod3 n ≡ 0 , 1 , 2 ( mod 3 ) . L’un des nombres n , n + 1 , n + 2 n,n+1,n+2 n , n + 1 , n + 2 est alors multiple de 3, donc 3 ∣ n ( n + 1 ) ( n + 2 ) \boxed{3\mid n(n+1)(n+2)} 3 ∣ n ( n + 1 ) ( n + 2 ) . Si x ≥ 0 x\ge0 x ≥ 0 , ∣ x ∣ = x |x|=x ∣ x ∣ = x . Si x < 0 x<0 x < 0 , ∣ x ∣ = − x > x |x|=-x>x ∣ x ∣ = − x > x . Donc ∀ x ∈ R , ∣ x ∣ ≥ x \boxed{\forall x\in\mathbb R,\ |x|\ge x} ∀ x ∈ R , ∣ x ∣ ≥ x .
Exercice 17 • Choisir une méthode Cas de parité : n ( n + 1 ) n(n+1) n ( n + 1 ) est pair parce que deux entiers consécutifs ne sont pas tous deux impairs. Donc n 2 + n n^2+n n 2 + n est pair.Direct : ( x − y ) 2 = 0 (x-y)^2=0 ( x − y ) 2 = 0 implique x − y = 0 x-y=0 x − y = 0 , donc x = y x=y x = y .Contraposée : si n n n est pair, n = 2 k n=2k n = 2 k ; alors n 2 = 4 k 2 n^2=4k^2 n 2 = 4 k 2 est pair. Donc si n 2 n^2 n 2 est impair, n n n est impair.
Exercice 18 • Parité et divisibilité Si n n n est impair, il s’écrit n = 2 k + 1 \boxed{n=2k+1} n = 2 k + 1 pour un certain k ∈ Z k\in\mathbb Z k ∈ Z . n 2 − 1 = ( 2 k + 1 ) 2 − 1 = 4 k ( k + 1 ) n^2-1=(2k+1)^2-1=4k(k+1) n 2 − 1 = ( 2 k + 1 ) 2 − 1 = 4 k ( k + 1 ) . Or k ( k + 1 ) k(k+1) k ( k + 1 ) est pair, donc 8 ∣ ( n 2 − 1 ) \boxed{8\mid(n^2-1)} 8 ∣ ( n 2 − 1 ) .
Par définition de la congruence, n 2 − 1 ≡ 0 ( m o d 8 ) n^2-1\equiv0\pmod8 n 2 − 1 ≡ 0 ( mod 8 ) , soit n 2 ≡ 1 ( m o d 8 ) \boxed{n^2\equiv1\pmod8} n 2 ≡ 1 ( mod 8 ) .
04 — Inégalités, valeurs absolues et équations Exercices 19 à 24 • Techniques de calcul et rédaction
Exercice 19 • Inégalités fondamentales ( ∣ x ∣ − ∣ y ∣ ) 2 ≥ 0 (|x|-|y|)^2\ge0 ( ∣ x ∣ − ∣ y ∣ ) 2 ≥ 0 donne x 2 + y 2 − 2 ∣ x y ∣ ≥ 0 x^2+y^2-2|xy|\ge0 x 2 + y 2 − 2∣ x y ∣ ≥ 0 , donc 2 ∣ x y ∣ ≤ x 2 + y 2 \boxed{2|xy|\le x^2+y^2} 2∣ x y ∣ ≤ x 2 + y 2 . Il y a égalité si et seulement si ∣ x ∣ = ∣ y ∣ |x|=|y| ∣ x ∣ = ∣ y ∣ .Puisque x 2 + 4 > x 2 ≥ 0 x^2+4>x^2\ge0 x 2 + 4 > x 2 ≥ 0 , et comme t ↦ t t\mapsto\sqrt t t ↦ t est strictement croissante sur [ 0 , + ∞ [ [0,+\infty[ [ 0 , + ∞ [ , on a x 2 + 4 > ∣ x ∣ \boxed{\sqrt{x^2+4}>|x|} x 2 + 4 > ∣ x ∣ pour tout x x x . Il n’y a jamais égalité .
Exercice 20 • Somme de carrés Les carrés sont positifs, donc S ( x , y ) = ( x − 2 ) 2 + ( y + 1 ) 2 ≥ 0 S(x,y)=(x-2)^2+(y+1)^2\ge0 S ( x , y ) = ( x − 2 ) 2 + ( y + 1 ) 2 ≥ 0 . S = 0 S=0 S = 0 si et seulement si x − 2 = 0 x-2=0 x − 2 = 0 et y + 1 = 0 y+1=0 y + 1 = 0 , donc ( x , y ) = ( 2 , − 1 ) \boxed{(x,y)=(2,-1)} ( x , y ) = ( 2 , − 1 ) , unique couple.En développant : ( x − 2 ) 2 + ( y + 1 ) 2 = x 2 + y 2 − 4 x + 2 y + 5 (x-2)^2+(y+1)^2=x^2+y^2-4x+2y+5 ( x − 2 ) 2 + ( y + 1 ) 2 = x 2 + y 2 − 4 x + 2 y + 5 . Ainsix 2 + y 2 − 4 x + 2 y + 5 ≥ 0 ( ∀ x , y ∈ R ) . \boxed{x^2+y^2-4x+2y+5\ge0\quad(\forall x,y\in\mathbb R)}. x 2 + y 2 − 4 x + 2 y + 5 ≥ 0 ( ∀ x , y ∈ R ) .
Exercice 21 • Valeurs absolues : ensembles solutions ∣ 2 x − 1 ∣ < 3 ⇔ − 3 < 2 x − 1 < 3 ⇔ − 1 < x < 2 |2x-1|<3\Leftrightarrow-3<2x-1<3\Leftrightarrow-1<x<2 ∣2 x − 1∣ < 3 ⇔ − 3 < 2 x − 1 < 3 ⇔ − 1 < x < 2 .S a = ] − 1 , 2 [ \boxed{S_a=]-1,2[} S a = ] − 1 , 2 [ .
∣ x + 2 ∣ ≥ 4 ⇔ x + 2 ≤ − 4 ou x + 2 ≥ 4 |x+2|\ge4\Leftrightarrow x+2\le-4\text{ ou }x+2\ge4 ∣ x + 2∣ ≥ 4 ⇔ x + 2 ≤ − 4 ou x + 2 ≥ 4 .S b = ] − ∞ , − 6 ] ∪ [ 2 , + ∞ [ \boxed{S_b=]-\infty,-6]\cup[2,+\infty[} S b = ] − ∞ , − 6 ] ∪ [ 2 , + ∞ [ .
∣ x − 1 ∣ = 2 x + 1 |x-1|=2x+1 ∣ x − 1∣ = 2 x + 1 exige x ≥ − 1 2 x\ge-\frac12 x ≥ − 2 1 . Si x < 1 x<1 x < 1 , 1 − x = 2 x + 1 ⇒ x = 0 1-x=2x+1\Rightarrow x=0 1 − x = 2 x + 1 ⇒ x = 0 , admissible. Si x ≥ 1 x\ge1 x ≥ 1 , x − 1 = 2 x + 1 ⇒ x = − 2 x-1=2x+1\Rightarrow x=-2 x − 1 = 2 x + 1 ⇒ x = − 2 , non admissible. Donc S c = { 0 } \boxed{S_c=\{0\}} S c = { 0 } .
Ensembles solutions (a), (b) et (c) sur des axes gradués.
Exercice 22 • Équation avec radical x + 3 = x − 1 \sqrt{x+3}=x-1 x + 3 = x − 1 impose x + 3 ≥ 0 x+3\ge0 x + 3 ≥ 0 et x − 1 ≥ 0 x-1\ge0 x − 1 ≥ 0 , soit x ≥ 1 \boxed{x\ge1} x ≥ 1 .En élevant au carré, x + 3 = ( x − 1 ) 2 x+3=(x-1)^2 x + 3 = ( x − 1 ) 2 , puis x 2 − 3 x − 2 = 0 x^2-3x-2=0 x 2 − 3 x − 2 = 0 . Avec Δ = 9 + 8 = 17 \Delta=9+8=17 Δ = 9 + 8 = 17 : x = 3 ± 17 2 x=\frac{3\pm\sqrt{17}}2 x = 2 3 ± 17 . 3 − 17 2 < 1 \frac{3-\sqrt{17}}2<1 2 3 − 17 < 1 est à rejeter. L’autre racine 3 + 17 2 ≥ 1 \frac{3+\sqrt{17}}2\ge1 2 3 + 17 ≥ 1 vérifie l’équation initiale car les deux
membres sont positifs et leurs carrés égaux.S = { 3 + 17 2 } . \boxed{S=\left\{\frac{3+\sqrt{17}}2\right\}}. S = { 2 3 + 17 } .
Exercice 23 • Proposition universelle avec paramètre x 2 − 2 m x + 4 = ( x − m ) 2 + 4 − m 2 . x^2-2mx+4=(x-m)^2+4-m^2. x 2 − 2 m x + 4 = ( x − m ) 2 + 4 − m 2 . Le minimum sur R \mathbb R R est 4 − m 2 4-m^2 4 − m 2 , atteint en x = m x=m x = m . L’expression est positive ou nulle pour tout réel x x x si et seulement si 4 − m 2 ≥ 0 4-m^2\ge0 4 − m 2 ≥ 0 . Ainsi
m ∈ [ − 2 , 2 ] . \boxed{m\in[-2,2]}. m ∈ [ − 2 , 2 ] .
Exercice 24 • Encadrement d’une fraction Pour n ∈ N n\in\mathbb N n ∈ N , on a n + 1 > 0 n+1>0 n + 1 > 0 et n + 1 < n + 3 n+1<n+3 n + 1 < n + 3 .
0 < n + 1 n + 3 < 1 \boxed{0<\frac{n+1}{n+3}<1} 0 < n + 3 n + 1 < 1 .Si n + 1 n + 3 = 1 \frac{n+1}{n+3}=1 n + 3 n + 1 = 1 , on aurait n + 1 = n + 3 n+1=n+3 n + 1 = n + 3 , soit 1 = 3 1=3 1 = 3 , impossible. La fraction est rationnelle (quotient d’entiers), et strictement comprise entre 0 et 1, donc non entière. La proposition ∀ n ∈ N , n + 1 n + 3 ∈ Q ∖ Z \boxed{\forall n\in\mathbb N,\ \frac{n+1}{n+3}\in\mathbb Q\setminus\mathbb Z} ∀ n ∈ N , n + 3 n + 1 ∈ Q ∖ Z est vraie .
05 — Raisonnement par récurrence Exercices 25 à 30 • Initialisation, hérédité, conclusion
Schéma de récurrence : P ( n 0 ) + P ( n ) ⇒ P ( n + 1 ) ⟹ ∀ n ≥ n 0 , P ( n ) \boxed{P(n_0)}+\boxed{P(n)\Rightarrow P(n+1)}\Longrightarrow\boxed{\forall n\ge n_0,\ P(n)} P ( n 0 ) + P ( n ) ⇒ P ( n + 1 ) ⟹ ∀ n ≥ n 0 , P ( n ) .
Une hérédité même correcte ne suffit jamais si l’initialisation manque.
Exercice 25 • Somme des entiers Posons P ( n ) : 1 + 2 + ⋯ + n = n ( n + 1 ) 2 P(n):1+2+\cdots+n=\frac{n(n+1)}2 P ( n ) : 1 + 2 + ⋯ + n = 2 n ( n + 1 ) .
Vérifications : n = 1 : 1 = 1 n=1:1=1 n = 1 : 1 = 1 ; n = 2 : 1 + 2 = 3 n=2:1+2=3 n = 2 : 1 + 2 = 3 ; n = 3 : 1 + 2 + 3 = 6 n=3:1+2+3=6 n = 3 : 1 + 2 + 3 = 6 .Initialisation : P ( 1 ) P(1) P ( 1 ) est vraie.Hérédité : si P ( n ) P(n) P ( n ) est vraie, alors1 + ⋯ + n + ( n + 1 ) = n ( n + 1 ) 2 + ( n + 1 ) = ( n + 1 ) ( n + 2 ) 2 . 1+\cdots+n+(n+1)=\frac{n(n+1)}2+(n+1)=\frac{(n+1)(n+2)}2. 1 + ⋯ + n + ( n + 1 ) = 2 n ( n + 1 ) + ( n + 1 ) = 2 ( n + 1 ) ( n + 2 ) . Conclusion : ∀ n ≥ 1 , ∑ k = 1 n k = n ( n + 1 ) 2 \displaystyle\boxed{\forall n\ge1,\ \sum_{k=1}^n k=\frac{n(n+1)}2} ∀ n ≥ 1 , k = 1 ∑ n k = 2 n ( n + 1 ) .
Exercice 26 • Somme des nombres impairs Posons P ( n ) : 1 + 3 + ⋯ + ( 2 n − 1 ) = n 2 P(n):1+3+\cdots+(2n-1)=n^2 P ( n ) : 1 + 3 + ⋯ + ( 2 n − 1 ) = n 2 .
Initialisation : pour n = 1 n=1 n = 1 , la somme vaut 1 = 1 2 1=1^2 1 = 1 2 .Hérédité : supposons la somme égale à n 2 n^2 n 2 . Le terme suivant est 2 ( n + 1 ) − 1 = 2 n + 1 2(n+1)-1=2n+1 2 ( n + 1 ) − 1 = 2 n + 1 , doncn 2 + ( 2 n + 1 ) = ( n + 1 ) 2 . n^2+(2n+1)=(n+1)^2. n 2 + ( 2 n + 1 ) = ( n + 1 ) 2 . Conclusion : ∀ n ≥ 1 , ∑ k = 1 n ( 2 k − 1 ) = n 2 \displaystyle\boxed{\forall n\ge1,\ \sum_{k=1}^n(2k-1)=n^2} ∀ n ≥ 1 , k = 1 ∑ n ( 2 k − 1 ) = n 2 .
Exercice 27 • Somme des carrés Posons P ( n ) : ∑ k = 1 n k 2 = n ( n + 1 ) ( 2 n + 1 ) 6 P(n):\sum_{k=1}^n k^2=\frac{n(n+1)(2n+1)}6 P ( n ) : ∑ k = 1 n k 2 = 6 n ( n + 1 ) ( 2 n + 1 ) .
Initialisation : pour n = 1 n=1 n = 1 , 1 2 = 1 ⋅ 2 ⋅ 3 6 = 1 1^2=\frac{1\cdot2\cdot3}6=1 1 2 = 6 1 ⋅ 2 ⋅ 3 = 1 .Hérédité : si la formule est vraie au rang n n n , alors∑ k = 1 n + 1 k 2 = n ( n + 1 ) ( 2 n + 1 ) 6 + ( n + 1 ) 2 = ( n + 1 ) [ n ( 2 n + 1 ) + 6 ( n + 1 ) ] 6 = ( n + 1 ) ( n + 2 ) ( 2 n + 3 ) 6 . \begin{aligned}\sum_{k=1}^{n+1}k^2&=\frac{n(n+1)(2n+1)}6+(n+1)^2\\&=\frac{(n+1)[n(2n+1)+6(n+1)]}6\\&=\frac{(n+1)(n+2)(2n+3)}6.\end{aligned} k = 1 ∑ n + 1 k 2 = 6 n ( n + 1 ) ( 2 n + 1 ) + ( n + 1 ) 2 = 6 ( n + 1 ) [ n ( 2 n + 1 ) + 6 ( n + 1 )] = 6 ( n + 1 ) ( n + 2 ) ( 2 n + 3 ) . Conclusion : P ( n ) P(n) P ( n ) est vraie pour tout n ≥ 1 n\ge1 n ≥ 1 .
Exercice 28 • Divisibilité par récurrence Les trois affirmations sont des cas de a − 1 ∣ a n − 1 a-1\mid a^n-1 a − 1 ∣ a n − 1 pour a ∈ { 3 , 5 , 8 } a\in\{3,5,8\} a ∈ { 3 , 5 , 8 } et n ∈ N n\in\mathbb N n ∈ N .
Initialisation : a 0 − 1 = 0 a^0-1=0 a 0 − 1 = 0 , donc divisible par a − 1 a-1 a − 1 .Hérédité : si a n − 1 = ( a − 1 ) k a^n-1=(a-1)k a n − 1 = ( a − 1 ) k pour un entier k k k , alorsa n + 1 − 1 = a ( a n − 1 ) + ( a − 1 ) = ( a − 1 ) ( a k + 1 ) . a^{n+1}-1=a(a^n-1)+(a-1)=(a-1)(ak+1). a n + 1 − 1 = a ( a n − 1 ) + ( a − 1 ) = ( a − 1 ) ( ak + 1 ) . Conclusion : 2 ∣ 3 n − 1 , 4 ∣ 5 n − 1 , 7 ∣ 8 n − 1 \boxed{2\mid3^n-1,\quad4\mid5^n-1,\quad7\mid8^n-1} 2 ∣ 3 n − 1 , 4 ∣ 5 n − 1 , 7 ∣ 8 n − 1 pour tout n ∈ N n\in\mathbb N n ∈ N .
Exercice 29 • Inégalité exponentielle On veut établir 2 n ≥ n 2 2^n\ge n^2 2 n ≥ n 2 pour n ≥ 4 n\ge4 n ≥ 4 .
Initialisation : n = 4 n=4 n = 4 , 2 4 = 16 = 4 2 2^4=16=4^2 2 4 = 16 = 4 2 .Hérédité : si 2 n ≥ n 2 2^n\ge n^2 2 n ≥ n 2 , alors 2 n + 1 ≥ 2 n 2 2^{n+1}\ge2n^2 2 n + 1 ≥ 2 n 2 . Or2 n 2 − ( n + 1 ) 2 = n 2 − 2 n − 1 = ( n − 1 ) 2 − 2 ≥ 7 > 0 ( n ≥ 4 ) . 2n^2-(n+1)^2=n^2-2n-1=(n-1)^2-2\ge7>0\quad(n\ge4). 2 n 2 − ( n + 1 ) 2 = n 2 − 2 n − 1 = ( n − 1 ) 2 − 2 ≥ 7 > 0 ( n ≥ 4 ) . Ainsi 2 n + 1 ≥ ( n + 1 ) 2 2^{n+1}\ge(n+1)^2 2 n + 1 ≥ ( n + 1 ) 2 .
Conclusion : ∀ n ≥ 4 , 2 n ≥ n 2 \boxed{\forall n\ge4,\ 2^n\ge n^2} ∀ n ≥ 4 , 2 n ≥ n 2 .L’initialisation en n = 3 n=3 n = 3 échoue car 8 < 9 8<9 8 < 9 . Le rang 4 est le premier rang à partir duquel l’énoncé reste vrai pour tous les entiers suivants.
Exercice 30 • Inégalité de Bernoulli Pour a ≥ 0 a\ge0 a ≥ 0 , posons P ( n ) : ( 1 + a ) n ≥ 1 + n a P(n):(1+a)^n\ge1+na P ( n ) : ( 1 + a ) n ≥ 1 + na .
Initialisation : n = 0 n=0 n = 0 , 1 ≥ 1 1\ge1 1 ≥ 1 (égalité).Hérédité : si ( 1 + a ) n ≥ 1 + n a (1+a)^n\ge1+na ( 1 + a ) n ≥ 1 + na , alors, puisque 1 + a > 0 1+a>0 1 + a > 0 ,( 1 + a ) n + 1 ≥ ( 1 + n a ) ( 1 + a ) = 1 + ( n + 1 ) a + n a 2 ≥ 1 + ( n + 1 ) a . (1+a)^{n+1}\ge(1+na)(1+a)=1+(n+1)a+na^2\ge1+(n+1)a. ( 1 + a ) n + 1 ≥ ( 1 + na ) ( 1 + a ) = 1 + ( n + 1 ) a + n a 2 ≥ 1 + ( n + 1 ) a . Conclusion : ∀ n ∈ N , ( 1 + a ) n ≥ 1 + n a \boxed{\forall n\in\mathbb N,\ (1+a)^n\ge1+na} ∀ n ∈ N , ( 1 + a ) n ≥ 1 + na .Pour a > 0 a>0 a > 0 , l’égalité a lieu uniquement pour n = 0 ou n = 1 \boxed{n=0\text{ ou }n=1} n = 0 ou n = 1 ; dès n ≥ 2 n\ge2 n ≥ 2 , l’inégalité est stricte.
06 — Défis de synthèse Exercices 31 à 36 • Relier les outils de logique
Exercice 31 • Minoration d’une fonction On écrit f ( x ) = x 2 − 4 x + 7 = ( x − 2 ) 2 + 3 f(x)=x^2-4x+7=(x-2)^2+3 f ( x ) = x 2 − 4 x + 7 = ( x − 2 ) 2 + 3 .
( x − 2 ) 2 ≥ 0 ⇒ f ( x ) ≥ 3 (x-2)^2\ge0\Rightarrow\boxed{f(x)\ge3} ( x − 2 ) 2 ≥ 0 ⇒ f ( x ) ≥ 3 pour tout x ∈ R x\in\mathbb R x ∈ R .f ( x ) = 3 ⇔ ( x − 2 ) 2 = 0 ⇔ x = 2 f(x)=3\Leftrightarrow(x-2)^2=0\Leftrightarrow\boxed{x=2} f ( x ) = 3 ⇔ ( x − 2 ) 2 = 0 ⇔ x = 2 , unique.Avec quantificateurs :( ∀ x ∈ R ) , f ( x ) ≥ 3 , ( ∃ ! x ∈ R ) , f ( x ) = 3 . \boxed{(\forall x\in\mathbb R),\ f(x)\ge3},\qquad\boxed{(\exists!x\in\mathbb R),\ f(x)=3}. ( ∀ x ∈ R ) , f ( x ) ≥ 3 , ( ∃ ! x ∈ R ) , f ( x ) = 3 .
Exercice 32 • Vrai pour tous ? P P P est fausse : pour x = − 1 x=-1 x = − 1 , aucun réel y y y ne satisfait y 2 = − 1 y^2=-1 y 2 = − 1 . Q Q Q est vraie : pour tout x ≥ 0 x\ge0 x ≥ 0 , y = x ∈ R y=\sqrt x\in\mathbb R y = x ∈ R convient.Négation de P P P : ( ∃ x ∈ R ) ( ∀ y ∈ R ) , y 2 ≠ x \boxed{(\exists x\in\mathbb R)(\forall y\in\mathbb R),\ y^2\ne x} ( ∃ x ∈ R ) ( ∀ y ∈ R ) , y 2 = x . En imposant y ∈ [ 0 , + ∞ [ y\in[0,+\infty[ y ∈ [ 0 , + ∞ [ , la solution y = x y=\sqrt x y = x est unique. Ainsi( ∀ x ≥ 0 ) ( ∃ ! y ≥ 0 ) , y 2 = x . \boxed{(\forall x\ge0)(\exists!y\ge0),\ y^2=x}. ( ∀ x ≥ 0 ) ( ∃ ! y ≥ 0 ) , y 2 = x .
Exercice 33 • L’erreur dans une récurrence P ( n ) : 7 ∣ ( 8 n − 1 ) P(n):7\mid(8^n-1) P ( n ) : 7 ∣ ( 8 n − 1 ) et Q ( n ) : 7 ∣ ( 8 n + 1 ) Q(n):7\mid(8^n+1) Q ( n ) : 7 ∣ ( 8 n + 1 ) .
Si 7 ∣ ( 8 n − 1 ) 7\mid(8^n-1) 7 ∣ ( 8 n − 1 ) , alors8 n + 1 − 1 = 8 ( 8 n − 1 ) + 7 8^{n+1}-1=8(8^n-1)+7 8 n + 1 − 1 = 8 ( 8 n − 1 ) + 7 est aussi divisible par 7. Donc P ( n ) ⇒ P ( n + 1 ) P(n)\Rightarrow P(n+1) P ( n ) ⇒ P ( n + 1 ) .
Si 7 ∣ ( 8 n + 1 ) 7\mid(8^n+1) 7 ∣ ( 8 n + 1 ) , alors8 n + 1 + 1 = 8 ( 8 n + 1 ) − 7 8^{n+1}+1=8(8^n+1)-7 8 n + 1 + 1 = 8 ( 8 n + 1 ) − 7 est divisible par 7. Donc Q ( n ) ⇒ Q ( n + 1 ) Q(n)\Rightarrow Q(n+1) Q ( n ) ⇒ Q ( n + 1 ) (implication vraie).
Non : il faut vérifier une initialisation ! On a P ( 0 ) P(0) P ( 0 ) vraie (8 0 − 1 = 0 8^0-1=0 8 0 − 1 = 0 ), tandis que Q ( 0 ) Q(0) Q ( 0 ) est fausse (8 0 + 1 = 2 8^0+1=2 8 0 + 1 = 2 ). De plus 8 ≡ 1 ( m o d 7 ) 8\equiv1\pmod7 8 ≡ 1 ( mod 7 ) entraîne 8 n + 1 ≡ 2 ( m o d 7 ) 8^n+1\equiv2\pmod7 8 n + 1 ≡ 2 ( mod 7 ) : Q ( n ) Q(n) Q ( n ) est fausse pour tout n ∈ N n\in\mathbb N n ∈ N .
Exercice 34 • Preuve et contre-exemple ( x + y ) 2 = x 2 + y 2 ⇔ x 2 + 2 x y + y 2 = x 2 + y 2 ⇔ x y = 0. (x+y)^2=x^2+y^2\Leftrightarrow x^2+2xy+y^2=x^2+y^2\Leftrightarrow xy=0. ( x + y ) 2 = x 2 + y 2 ⇔ x 2 + 2 x y + y 2 = x 2 + y 2 ⇔ x y = 0. Dans R \mathbb R R , un produit est nul si et seulement si au moins un des facteurs est nul. Ainsi l’implication est vraie et la réciproque aussi :
( x + y ) 2 = x 2 + y 2 ⟺ x = 0 ou y = 0 . \boxed{(x+y)^2=x^2+y^2\Longleftrightarrow x=0\text{ ou }y=0}. ( x + y ) 2 = x 2 + y 2 ⟺ x = 0 ou y = 0 .
Exercice 35 • Parité, implication, réciproque Contraposée : si n n n est impair, n = 2 k + 1 n=2k+1 n = 2 k + 1 donc n 2 = 4 k ( k + 1 ) + 1 n^2=4k(k+1)+1 n 2 = 4 k ( k + 1 ) + 1 , impair. Ainsi 4 ∤ n 2 4\nmid n^2 4 ∤ n 2 . Par contraposée, 4 ∣ n 2 ⇒ 2 ∣ n \boxed{4\mid n^2\Rightarrow2\mid n} 4 ∣ n 2 ⇒ 2 ∣ n . Si 2 ∣ n 2\mid n 2 ∣ n , alors n = 2 k n=2k n = 2 k , d’où n 2 = 4 k 2 n^2=4k^2 n 2 = 4 k 2 et 4 ∣ n 2 4\mid n^2 4 ∣ n 2 . La réciproque est vraie . Si 8 ∣ n 2 8\mid n^2 8 ∣ n 2 , alors 4 ∣ n 2 4\mid n^2 4 ∣ n 2 ; la première question donne 2 ∣ n 2\mid n 2 ∣ n . L’implication reste vraie .
Exercice 36 • Grand exercice bilan L’équation est E a : x 2 − 2 a x + a 2 − 4 = 0 E_a:x^2-2ax+a^2-4=0 E a : x 2 − 2 a x + a 2 − 4 = 0 .
( x − a ) 2 − 4 = 0 ⇔ ( x − a ) 2 = 4 (x-a)^2-4=0\Leftrightarrow(x-a)^2=4 ( x − a ) 2 − 4 = 0 ⇔ ( x − a ) 2 = 4 , donc S a = { a − 2 , a + 2 } \boxed{S_a=\{a-2,a+2\}} S a = { a − 2 , a + 2 } .Les deux racines diffèrent toujours de 4 : il y a toujours deux solutions distinctes . R ( a ) R(a) R ( a ) est fausse pour tout a ∈ R a\in\mathbb R a ∈ R . ( ∀ a ∈ R ) , R ( a ) (\forall a\in\mathbb R),\ R(a) ( ∀ a ∈ R ) , R ( a ) est fausse . Sa négation est ( ∃ a ∈ R ) , ¬ R ( a ) \boxed{(\exists a\in\mathbb R),\ \neg R(a)} ( ∃ a ∈ R ) , ¬ R ( a ) , à savoir : il existe un réel a a a pour lequel E a E_a E a n’a pas exactement une solution réelle. Ici cela vaut même pour tout a a a .Toutes les solutions sont strictement positives si et seulement si a − 2 > 0 a-2>0 a − 2 > 0 et a + 2 > 0 a+2>0 a + 2 > 0 , soit a > 2 \boxed{a>2} a > 2 .
Comprendre • Raisonner • Démontrer • Réussir
Corrigé des 36 exercices de la série originale • A–Z Prof OTHMANE • www.azmaths.com