Applications of Linear System
Applications of Linear System
NETWORK ANALYSIS
Network Concepts and Flow Analysis
Network:
A network is a set of branches through which
something flows, such as electricity, water, oil,
traffic, or money.
Nodes/Junctions:
Points where branches meet and flow divides.
Examples: Electrical wires join at nodes, streets
intersect in traffic networks, and banks act as
junctions in financial networks.
Flow Rate Measurement
Flow Conservation:
Flow into each node equals flow out, preventing
build-up and ensuring free movement through the
network.
Network Analysis:
Key goal: Use known flow rates in certain branches
to determine unknown flow rates in other branches.
ALOGARITHM TO SOLVE PROBLEM
Step 1:
Assigned arbitrary directions to the figure unknown
flow rates like x1, x2, and x3.
We need not be concerned if some of the directions
are incorrect, since an incorrect direction will be
signaled by a negative value for the flow rate when
we solve for the unknowns.
ALOGARITHM TO SOLVE PROBLEM
Step 2:
Following the conservation of flow at each node, we will
write linear equations for each node.
If there is 4 nodes then there will be a system of 4
equations.
Step 3:
Solve the system of linear equations for the unknown flow
rates.
Step 4:
The negative value tells us that the direction assigned to
that flow is incorrect; that is, the flow in that branch is in
opposite direction.
Exercise
Figure.2
Solution
𝑥1 + 𝑥2 =50 (1)
𝑥2 + 𝑥3 =30 (2)
𝑥3 =-10 (3)
𝑥1 =10 (4)
(a)
Step 1:
Solution
Step 2:
The flow in must equal the flow out at each. For this to
happen, the following conditions must be satisfied:
0 0 1 1 500
[A|b] 1 0 0 1 100
1 1 0 0 300
0 1 1 0 100
1 1 0 0 300
1 0 0 1 100
byR13
0 0 1 1 500
0 1 1 0 100
1 1 0 0 300
0 1 0 1 400
byR2 R1
0 0 1 1 500
0 1 1 0 100
Solution
1 1 0 0 300 1 1 0 0 3 0 0
0 1 0 1 400
by R2 0 1 0 1 4 0 0 b y R
0 0 1 1 500 R
0 0 1 1 5 0 0 4 3
0 1 1 0 100 0 0 0 0 0
[rank(A)=3, rank(A|b)=3,
1 1 0 0 300
0 1 0 1 400 As rank(A)=rank(A|b),
byR4 R2 (consistent)
0 0 1 1 500
No. of unknowns =n= 4
0 0 1 1 500
rank(A|b) <n(infinite solution)]
Solution
x3 x4 500 x2 t 400
x3 t 500
x4 t
Solution
The network in Figure shows a proposed plan for the traffic flow
around a new park that will house the Liberty Bell in Philadelphia,
Pennsylvania. The plan calls for a computerized traffic light at the
north exit on Fifth Street, and the diagram indicates the average
number of vehicles per hour that are expected to flow in and out of the
streets that border the complex. All streets are one-way.
(a) How many vehicles per hour should the traffic light let through to
ensure that the average number of vehicles per hour flowing into the
complex is the same as the average number of vehicles flowing out?
(b) Assuming that the traffic light has been set to balance the total
flow in and out of the complex, what can you say about the average
number of vehicles per hour that will flow along the streets that border
the complex?.
Exercise
Solution
(a)
we let x denote the number of vehicles per hour that
the traffic light must let through, then the total
number of vehicles per hour that flow in and out of the
complex will be
Flowing in: 500 + 400 + 600 + 200 = 1700
Flowing out: x + 700 + 400
Equating the flows in and out shows that the traffic
light should let x = 600 vehicles per
hour pass through.
Balancing Chemical
Equations
3 x1 x3 0
8 x1 2 x4 0
2 x2 2 x3 x4 0
Solution
4 0 0 1 0 1 0 1 1 0
3 0 0 byR12 0
0 1
2 2 1 0 byR23
0 2 2 1 0 0 0 4 3 0
Solution
4 0 0 1 0 1 0 1 1 0
3 0 0 byR12 0
0 1
2 2 1 0 byR23
0 2 2 1 0 0 0 4 3 0
Solution
4 0 0 1 0 1 0 1 1 0
3 0 0 byR12 0
0 1
2 2 1 0 byR23
0 2 2 1 0 0 0 4 3 0
Solution
Backward Substitution, 1
x1 t
Put x3 value in x1 and 4
x2,we obtain 5
x2 t
4
1
x1 x4 3
4 x3 t
5 4
x2 x4 To obtain the smallest
4
x3
3
x4
positive integers that
Assign arbitrary
4 values to balance the equation,
the free variables( 𝑥4 = 𝑡).
The general solution of a
system parametrically, is
Solution