Lin Alg - Matrix multiplication (Proof by contrapositive)

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 6K views
mattmns
Messages
1,129
Reaction score
5
Hello, here is the question my book is asking:

Let A, B be two m x n matricies. Assume that AX = BX for all n-tuples X. Show that A = B.
-------

So I decided to try and prove the contrapositive, which is (unless I am mistaken): If [itex]A \neq B[/itex], then there is some X such that [itex]AX \neq BX[/itex]

Proof:

Assume [itex]A \neq B[/itex]
Then [itex]A^j \neq B^j[/itex] for some j, where [itex]A^j, B^j[/itex] are the j-th columns of A and B.
Then, let [itex]X = E^j[/itex] be the unit vector with 1 in the j-th spot, the same j where [itex]A^j \neq B^j[/itex]
So [itex]AX = AE^j = A^j[/itex] and
[itex]BX = BE^j = B^j[/itex]
and so [itex]AX \neq BX[/itex] for [itex]X = E^j[/itex] as [itex]A^j \neq B^j[/itex]

Thus if [itex]A \neq B[/itex] there is some X such that [itex]AX \neq BX[/itex]
So, as the contrapositive is logically equivalent, we have just showed that if AX = BX for all X, then A = B. Where A, B are two m x n matricies, and X is an n-tuple.
------

First, is the contrapositive correct, and if so then is the proof correct. The whole thing looks perfectly sufficient to me. Thanks!

Also, I just realized that it is very easy to just prove it directly, but I am still curious to see if this is a sufficient proof. Thanks!
 
Physics news on Phys.org
The proof is good. Proving directly might be more transparant though. You already noted the crucial [itex]AE^j=A^j[/itex], so if [itex]AX=BX[/itex] for all X, then [itex]A^j=AE^j=BE^j=B^j[/itex] for j=1,2,...,n. So A=B.
 
Yep, I saw that just as I was posting my proof. Thanks.