24.03.2013 Views

Linear Programming Lecture Notes - Penn State Personal Web Server

Linear Programming Lecture Notes - Penn State Personal Web Server

Linear Programming Lecture Notes - Penn State Personal Web Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Definition 3.6 (Matrix Transpose). If A ∈ R m×n is a m × n matrix, then the transpose<br />

of A dented A T is an m × n matrix defined as:<br />

(3.5) A T ij = Aji<br />

Example 3.7.<br />

T 1 2<br />

(3.6)<br />

=<br />

3 4<br />

1 3<br />

2 4<br />

<br />

The matrix transpose is a particularly useful operation and makes it easy to transform<br />

column vectors into row vectors, which enables multiplication. For example, suppose x is<br />

an n × 1 column vector (i.e., x is a vector in R n ) and suppose y is an n × 1 column vector.<br />

Then:<br />

(3.7) x · y = x T y<br />

Exercise 18. Let A, B ∈ R m×n . Use the definitions of matrix addition and transpose<br />

to prove that:<br />

(3.8) (A + B) T = A T + B T<br />

[Hint: If C = A + B, then Cij = Aij + Bij, the element in the (i, j) position of matrix C.<br />

This element moves to the (j, i) position in the transpose. The (j, i) position of A T + B T is<br />

A T ji + B T ji, but A T ji = Aij. Reason from this point.]<br />

Exercise 19. Let A, B ∈ R m×n . Prove by example that AB = BA; that is, matrix<br />

multiplication is not commutative. [Hint: Almost any pair of matrices you pick (that can be<br />

multiplied) will not commute.]<br />

Exercise 20. Let A ∈ R m×n and let, B ∈ R n×p . Use the definitions of matrix multiplication<br />

and transpose to prove that:<br />

(3.9) (AB) T = B T A T<br />

[Hint: Use similar reasoning to the hint in Exercise 18. But this time, note that Cij = Ai··B·j,<br />

which moves to the (j, i) position. Now figure out what is in the (j, i) position of B T A T .]<br />

Let A and B be two matrices with the same number of rows (so A ∈ Rm×n and B ∈<br />

Rm×p ). Then the augmented matrix [A|B] is:<br />

⎡<br />

⎤<br />

a11 a12 . . . a1n b11 b12 . . . b1p<br />

⎢ a21 a22 . . . a2n b21 b22 . . . b2p ⎥<br />

(3.10) ⎢<br />

⎣<br />

.<br />

. ..<br />

.<br />

⎥<br />

. . .. .<br />

⎦<br />

am1 am2 . . . amn bm1 bm2 . . . bmp<br />

Thus, [A|B] is a matrix in R m×(n+p) .<br />

Example 3.8. Consider the following matrices:<br />

<br />

1 2<br />

7<br />

A = , b =<br />

3 4<br />

8<br />

Then [A|B] is:<br />

[A|B] =<br />

1 2 7<br />

3 4 8<br />

<br />

28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!