Solving a matrix of ones and zeros

  • Thread starter Thread starter JesseJC
  • Start date Start date
  • Tags Tags
    Matrix
Click For Summary

Homework Help Overview

The discussion revolves around a network flow problem represented by a matrix of coefficients with six equations and seven unknowns. Participants are attempting to find solutions for specific variables within the context of linear algebra and optimization.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants express frustration over the difficulty of reaching reduced row echelon form and finding specific variables. There are discussions about the implications of having more unknowns than equations and the nature of solutions in such cases.

Discussion Status

Some participants have provided insights into the nature of the problem, suggesting that there may be infinitely many solutions due to the structure of the equations. There is an exploration of basic solutions and the potential to set variables to zero to simplify the problem.

Contextual Notes

Participants note the challenge of dealing with a system that has six equations and seven unknowns, which typically leads to multiple solutions. There is also mention of the relevance of linear independence in selecting columns for a solvable system.

JesseJC
Messages
49
Reaction score
0

Homework Statement


_ _
|1 0 0 0 -1 0 0 | 700 |
|0 1 0 0 -1 0 0 | 500 |
|0 0 1 0 0 0 0 0 | 150 |
|0 0 0 1 0 1 0 | 1200 |
|0 0 0 0 1 0 0 | -650 |
|0 0 0 0 0 0 1 | -600 |

Homework Equations

The Attempt at a Solution


This is driving me up the wall, am I missing something obvious here? It's a network flow problem and I've been working at it for a while now, I've tried my best to get it into reduced row echelon form and it's so close, but I can't seem to figure out how to find x4 and x6. if anyone could smack some sense into me here that'd be good
 
Physics news on Phys.org
JesseJC said:

Homework Statement


_ _
|1 0 0 0 -1 0 0 | 700 |
|0 1 0 0 -1 0 0 | 500 |
|0 0 1 0 0 0 0 0 | 150 |
|0 0 0 1 0 1 0 | 1200 |
|0 0 0 0 1 0 0 | -650 |
|0 0 0 0 0 0 1 | -600 |

Homework Equations

The Attempt at a Solution


This is driving me up the wall, am I missing something obvious here? It's a network flow problem and I've been working at it for a while now, I've tried my best to get it into reduced row echelon form and it's so close, but I can't seem to figure out how to find x4 and x6. if anyone could smack some sense into me here that'd be good
Your matrix of coefficients contains 6 rows x 7 columns. If you are looking for a unique solution, one may not be available.

If you want to show something like a matrix,without using Latex, you can cheat and use [*code*] tags instead:

Code:
|1 0 0 0 -1 0 0 |  700 |
|0 1 0 0 -1 0 0 |  500 |
|0 0 1 0  0 0 0 |  150 |
|0 0 0 1  0 1 0 | 1200 |
|0 0 0 0  1 0 0 | -650 |
|0 0 0 0  0 0 1 | -600 |
 
JesseJC said:

Homework Statement


_ _
|1 0 0 0 -1 0 0 | 700 |
|0 1 0 0 -1 0 0 | 500 |
|0 0 1 0 0 0 0 0 | 150 |
|0 0 0 1 0 1 0 | 1200 |
|0 0 0 0 1 0 0 | -650 |
|0 0 0 0 0 0 1 | -600 |

Homework Equations

The Attempt at a Solution


This is driving me up the wall, am I missing something obvious here? It's a network flow problem and I've been working at it for a while now, I've tried my best to get it into reduced row echelon form and it's so close, but I can't seem to figure out how to find x4 and x6. if anyone could smack some sense into me here that'd be good

You have 6 equations in 7 unknowns, so generally (and truly, in this case) there will be infinitely many solutions. In the context of something like linear network optimization, we would look for basic solutions, obtained by setting one of the variables to 0 and then solving for the other 6 from the 6 equations. Of course, we must choose 6 linearly-independent columns on the left; that is, we must choose a solvable 6 × 6 system.

Never mind echelon forms---they do not really help you here, and they just get in the way and obscure what is going on. Basically, you have some equations, and they are not difficult to deal with in this case. Equation 6 says ##x_7 = -600##, equation 5 says ##x_5 = -650## and equation 3 says ##x_3 = 150##. Besides those, we have:
[tex] \begin{array}{rl} \text{eq.}\:1: &x_1 - x_5 = 700 \\<br /> \text{eq.} \; 2: &x_2 - x_5 = 500\\<br /> \text{eq.} \: 4: & x_4 + x_6 = 1200<br /> \end{array}[/tex]
Since we already know ##x_5## we can get ##x_2## from eq. 2 and ##x_1## from eq. 1. We are left with the single equation in two unknowns:
[tex]x_4 + x_6 = 1200[/tex]
The two basic solutions of the system would be obtained by setting ##x_4 = 0## and solving for ##x_6##, or by setting ##x_6 = 0## and solving for ##x_4##.

For more on basic solutions, see, eg.,
http://math.stackexchange.com/questions/209655/what-does-basic-solution-mean
or http://crow.academy.ru/algebra/lectures_/lect_11_/lect_11eng.pdf .
See, also, almost any textbook on operations research, which would typically discuss all this in the chapters on linear programming.
 
Thanks, I would've been staring at that problem for hours
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
15
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
15K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
2K