Ma · Mathematics

How to Prove x(y − z) = xy − xz in a Ring

Published By the 9to5Science editorial team

At a glance

  1. 1. Rewrite subtraction

    By definition, y minus z is y plus the additive inverse of z.

  2. 2. Apply distributivity

    Distribute x across the sum y plus negative z.

  3. 3. Use the inverse law

    Multiplying negative z by x on the left gives the additive inverse of xz.

  4. 4. Recognize subtraction

    The resulting sum is xy minus xz.

To prove x(y−z)=xy−xzx(y-z)=xy-xz in a ring, use the ring’s distributive law and the definition of subtraction. The key detail is that multiplying an additive inverse by xx gives the additive inverse of the product.

The proof works whether or not the ring is commutative and whether or not it has a multiplicative identity.

The ring properties you need

The elements of a ring form an abelian group under addition. In particular, each element aa has an additive inverse −a-a, and a+(−a)=0a+(-a)=0. A ring also satisfies the distributive law. The left distributive law says

x(a+b)=xa+xb.x(a+b)=xa+xb.

Subtraction is defined using the additive inverse: y−zy-z means y+(−z)y+(-z). These properties are enough to establish the identity.

Proof

First, show that x(−z)=−(xz)x(-z)=-(xz). Distribute xx over the sum z+(−z)z+(-z):

xz+x(−z)=x(z+(−z))=x0=0.\begin{aligned} xz+x(-z) &= x\bigl(z+(-z)\bigr) \\ &= x0 \\ &= 0. \end{aligned}

Here x0=0x0=0: by distributivity, x0=x(0+0)=x0+x0x0=x(0+0)=x0+x0, and cancellation in the additive group gives x0=0x0=0. Thus x(−z)x(-z) is an additive inverse of xzxz, so x(−z)=−(xz)x(-z)=-(xz).

Now apply distributivity and substitute that fact:

x(y−z)=x(y+(−z))=xy+x(−z)=xy+(−(xz))=xy−xz.\begin{aligned} x(y-z) &= x\bigl(y+(-z)\bigr) \\ &= xy+x(-z) \\ &= xy+(-(xz)) \\ &= xy-xz. \end{aligned}

That proves the identity.

Worked example with matrices

The identity also holds in noncommutative rings, such as square matrices under ordinary addition and multiplication. Take

A=(1201),B=(2130),C=(1211).A=\begin{pmatrix}1&2\\0&1\end{pmatrix},\quad B=\begin{pmatrix}2&1\\3&0\end{pmatrix},\quad C=\begin{pmatrix}1&2\\1&1\end{pmatrix}.

First subtract the matrices:

B−C=(1−12−1).B-C=\begin{pmatrix}1&-1\\2&-1\end{pmatrix}.

Then multiply on the left by AA:

A(B−C)=(5−32−1).A(B-C)=\begin{pmatrix}5&-3\\2&-1\end{pmatrix}.

Multiplying separately gives

AB=(8130),AC=(3411),AB=\begin{pmatrix}8&1\\3&0\end{pmatrix},\qquad AC=\begin{pmatrix}3&4\\1&1\end{pmatrix},

so

AB−AC=(5−32−1)=A(B−C).AB-AC=\begin{pmatrix}5&-3\\2&-1\end{pmatrix}=A(B-C).

This is a concrete instance of the same ring law. The matrices need not commute; the proof only multiplies the sum on the left by AA.

Common mistakes

  • Assuming subtraction distributes by definition. The identity follows from distributivity over addition plus the additive-inverse rule; it is useful to show that rule when writing a proof.
  • Changing the order of factors. In a noncommutative ring, xyxy need not equal yxyx. The proof gives x(y−z)=xy−xzx(y-z)=xy-xz, not (y−z)x=yx−zx(y-z)x=yx-zx by rearranging factors. The latter identity follows from right distributivity, with the order preserved.
  • Assuming the ring has a unit. No multiplicative identity is used. The proof relies on addition, additive inverses, and distributivity.
  • Confusing this with a product of differences. The rule concerns multiplication by one fixed element xx. It does not say that (x−y)(u−v)(x-y)(u-v) equals a single difference; expanding such a product creates four terms.

The general rule to remember is that multiplication distributes over subtraction on either side, provided you preserve the order of the factors and use the corresponding distributive law.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.