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.

(3) If xi is unrestricted in any way, then we can variables yi and zi so that xi = yi − zi<br />

where yi, zi ≥ 0.<br />

(4) Any equality constraints Hx = r can be transformed into inequality constraints.<br />

Thus, Expression 3.15 can be transformed to standard form. [Hint: No hint, the hint is in<br />

the problem.]<br />

4. Gauss-Jordan Elimination and Solution to <strong>Linear</strong> Equations<br />

In this sub-section, we’ll review Gauss-Jordan Elimination as a solution method for linear<br />

equations. We’ll use Gauss-Jordan Elimination extensively in the coming chapters.<br />

Definition 3.18 (Elementary Row Operation). Let A ∈ R m×n be a matrix. Recall Ai·<br />

is the i th row of A. There are three elementary row operations:<br />

(1) (Scalar Multiplication of a Row) Row Ai· is replaced by αAi·, where α ∈ R and<br />

α = 0.<br />

(2) (Row Swap) Row Ai· is swapped with Row Aj· for i = j.<br />

(3) (Scalar Multiplication and Addition) Row Aj· is replaced by αAi· + Aj· for α ∈ R<br />

and i = j.<br />

Example 3.19. Consider the matrix:<br />

<br />

1 2<br />

A =<br />

3 4<br />

In an example of scalar multiplication of a row by a constant, we can multiply the second<br />

row by 1/3 to obtain:<br />

<br />

1 2<br />

B =<br />

1 4<br />

<br />

3<br />

As an example of scalar multiplication and addition, we can multiply the second row by<br />

(−1) and add the result to the first row to obtain:<br />

<br />

4<br />

2<br />

0 2 − 0<br />

C =<br />

3<br />

4 = 3<br />

1<br />

1 3<br />

4<br />

<br />

3<br />

We can then use scalar multiplication and multiply the first row by (3/2) to obtain:<br />

<br />

0 1<br />

D =<br />

1 4<br />

<br />

3<br />

We can then use scalar multiplication and addition to multiply the first row by (−4/3)<br />

add it to the second row to obtain:<br />

<br />

0 1<br />

E =<br />

1 0<br />

Finally, we can swap row 2 and row 1 to obtain:<br />

<br />

1 0<br />

I2 =<br />

0 1<br />

Thus using elementary row operations, we have transformed the matrix A into the matrix<br />

I2.<br />

33

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

Saved successfully!

Ooh no, something went wrong!