Professional Documents
Culture Documents
Mini Projects
Mini Projects
In the downtown section of a certain city, two sets of one-way streets intersect
as shown below. The average hourly volume of traffic entering and leaving
this section during rush hour is given in diagram. Determine the amount of
traffic between each of the four intersections.
450 310
310
610 x1
640
640
x2 x4
520 x3 600
600
480
390
390
Solution:
1 −1 0 0 160
[ 0 1 −1 0 −40
0 0 1 −1 210
1 0 0 −1 330
|]
rearrange the row
1 0 0 −1 330
[ 1
0
0
|]
−1 0 0 160
0 1 −1 210
1−1 0 −40
R 2−R 1
1 0 0 −1 330
[ 0
0
0
−1 0 1 −170
0 1 −1 210
1−1 0 −40
| ]
1 0 0 −1 330
[ 0
0
0
| ]
−1 0 1 −170
0 1 −1 210
0−1 1 −210
1 0 0 −1 330
[ 0 −1 0 1 −170
0 0 1 −1 210
0 00 0 0
| ]
R 2×−1
1 0 0 −1 330
[ |]
0
0
0
1 0 −1 170
0 1 −1 210
00 0 0
There is a free variable, x 4 so that there are infinitely many solutions.
Let x 4 =t ,
then:
x 1 - x 4 = 330
x 1=330−x 4 x 1=330+t
x 2 - x 4 = 170
x 2=170+ x 4 x 2=170+t
x 3 - x 4 = 210
x 3=210+ x 4 x 3=210+t
x 4 =t
These equations describe all possible flows and allow us to analyze the
volume of traffic. We can find the maximum and minimum possible flows on
each branch. All flows must be nonnegative.