Notion 8 sur 10· Lois de composition interne

La distributivité

Objectif : Reconnaître une loi distributive par rapport à une autre, et le montrer.

Loi distributive

Définition

EE a deux lois ∗* et ⊤\mathbin{\top}. La loi ⊤\mathbin{\top} est distributive par rapport à ∗* si, pour tous xx, yy et zz de EE :

x⊤(y∗z)=(x⊤y)∗(x⊤z)x \mathbin{\top} (y * z) = (x \mathbin{\top} y) * (x \mathbin{\top} z)
(y∗z)⊤x=(y⊤x)∗(z⊤x)(y * z) \mathbin{\top} x = (y \mathbin{\top} x) * (z \mathbin{\top} x)

Si ⊤\mathbin{\top} est commutative, la première égalité suffit.

Exemple

Dans R\mathbb{R}, ×\times est distributive par rapport à ++ : x(y+z)=xy+xzx(y + z) = xy + xz.

Mais ++ n'est pas distributive par rapport à ×\times : 1+(2×3)=71 + (2 \times 3) = 7 et (1+2)×(1+3)=12(1 + 2) \times (1 + 3) = 12.

L'ordre des deux lois compte.

À toi

  1. Dans M2(R)\mathcal{M}_2(\mathbb{R}), le produit est distributif par rapport à l'addition. Que vaut (B+C)A(B + C)A ?

    Aide et correction

    Indice

    Utilise la deuxième égalité avec ⊤=×\mathbin{\top} = \times et ∗=+* = +.

    Réponse

    (B+C)A=BA+CA(B + C)A = BA + CA

    Correction détaillée

    (y∗z)⊤x=(y⊤x)∗(z⊤x)(y * z) \mathbin{\top} x = (y \mathbin{\top} x) * (z \mathbin{\top} x) devient (B+C)A=BA+CA(B + C)A = BA + CA. Comme AB≠BAAB \neq BA en général, on ne peut pas écrire AB+ACAB + AC.

    (B+C)A=BA+CA(B + C)A = BA + CA.

Montrer qu'une loi est distributive

Méthode

  • 1. Calcule x⊤(y∗z)x \mathbin{\top} (y * z) avec les formules.
  • 2. Calcule (x⊤y)∗(x⊤z)(x \mathbin{\top} y) * (x \mathbin{\top} z).
  • 3. Compare. Si ⊤\mathbin{\top} n'est pas commutative, fais aussi l'autre côté.

Pour montrer que ce n'est pas distributif, un exemple avec des nombres suffit.

Exemple

Sur R\mathbb{R} : x∗y=x+y−1x * y = x + y - 1 et x⊤y=x+y−xyx \mathbin{\top} y = x + y - xy, qui est commutative.

x⊤(y∗z)=x+(y+z−1)−x(y+z−1)=2x+y+z−xy−xz−1x \mathbin{\top} (y * z) = x + (y + z - 1) - x(y + z - 1) = 2x + y + z - xy - xz - 1.

(x⊤y)∗(x⊤z)=(x+y−xy)+(x+z−xz)−1=2x+y+z−xy−xz−1(x \mathbin{\top} y) * (x \mathbin{\top} z) = (x + y - xy) + (x + z - xz) - 1 = 2x + y + z - xy - xz - 1.

Les deux côtés sont égaux : ⊤\mathbin{\top} est distributive par rapport à ∗*.

À toi

  1. Avec les mêmes lois, vérifie l'égalité pour x=3x = 3, y=1y = 1 et z=4z = 4 : calcule (3⊤1)∗(3⊤4)(3 \mathbin{\top} 1) * (3 \mathbin{\top} 4).

    Aide et correction

    Indice

    3⊤1=3+1−3=13 \mathbin{\top} 1 = 3 + 1 - 3 = 1. Calcule 3⊤43 \mathbin{\top} 4, puis applique la loi ∗*.

    Réponse

    (3⊤1)∗(3⊤4)=−5(3 \mathbin{\top} 1) * (3 \mathbin{\top} 4) = -5

    Correction détaillée

    3⊤1=13 \mathbin{\top} 1 = 1 et 3⊤4=7−12=−53 \mathbin{\top} 4 = 7 - 12 = -5, donc 1∗(−5)=1−5−1=−51 * (-5) = 1 - 5 - 1 = -5.

    De l'autre côté : 1∗4=41 * 4 = 4, puis 3⊤4=−53 \mathbin{\top} 4 = -5.

    Les deux côtés valent −5-5.