The Central Idea

A network consists of connected locations, often called nodes, joined by routes or links.

A variable may represent the amount of flow along each route.

At an ordinary intermediate node, conservation gives

\[ \boxed{ \text{total inflow} = \text{total outflow} }. \]

Additional inequalities may restrict each flow:

\[ \boxed{ 0\le x\le \text{capacity} }. \]

Nodes and Links

A node is a location where flow may enter, leave, split, or combine.

A link connects two nodes and carries some flow.

In algebraic models, each link can be assigned a variable such as

\[ x_1,\quad x_2,\quad x_3. \]

The diagram becomes a system of equations once the node balances are written.

Flow Direction

A link should be given a stated direction before its variable is used.

For example,

\[ x_{AB} \]

may represent flow from node \(A\) to node \(B\).

Clear direction prevents sign and bookkeeping errors.

Conservation at an Intermediate Node

Suppose \(x_1\) and \(x_2\) enter a node, while \(x_3\) and \(x_4\) leave.

Conservation gives

\[ \boxed{ x_1+x_2=x_3+x_4 }. \]

Example: One Unknown Outflow

A junction receives flows of \(40\) and \(25\) units per minute. One outgoing route carries \(30\) units per minute. Find the other outgoing flow \(x\).

\[ 40+25=30+x. \] \[ 65=30+x. \] \[ x=35. \]

Therefore,

\[ \boxed{35\text{ units per minute}}. \]

Sources

A source introduces flow into the modeled network.

If a source supplies \(S\) units and sends them along routes \(x_1\) and \(x_2\), then

\[ \boxed{ x_1+x_2=S }. \]

Sinks

A sink receives or removes flow from the network.

If routes \(x_1\) and \(x_2\) feed a sink that receives total amount \(D\), then

\[ \boxed{ x_1+x_2=D }. \]

Example: Source Split

A source provides \(100\) units per hour.

One route carries \(x\) units and another carries \(y\).

Then

\[ \boxed{x+y=100}. \]

If

\[ x=65, \]

then

\[ y=35. \]

Flow Can Split

If flow \(x\) enters a node and leaves along routes \(y\) and \(z\), then

\[ \boxed{x=y+z}. \]

A split does not create or destroy flow.

Flow Can Merge

If routes \(x\) and \(y\) merge into one outgoing route \(z\), then

\[ \boxed{x+y=z}. \]

A Small Network System

Suppose source flow \(120\) splits into \(x\) and \(y\):

\[ x+y=120. \]

Later, route \(x\) contributes \(20\) units to another branch and sends the remainder \(z\) forward:

\[ x=20+z. \]

If \(y\) and \(z\) merge at the sink,

\[ y+z=100. \]

The network is described by a system of linear equations.

Redundant Balance Equations

In a fully connected conservation system, not every node equation is always algebraically independent.

One balance may follow from the others together with total source and sink information.

A redundant equation is not wrong; it simply does not add new information.

Underdetermined Networks

A network may have more unknown flows than independent equations.

Then there may be infinitely many feasible flow assignments.

One or more variables can be treated as parameters.

Example: A Parameterized Flow Family

Suppose

\[ x+y=100. \]

Let

\[ x=t. \]

Then

\[ y=100-t. \]

Therefore, the solution family is

\[ \boxed{ (x,y)=(t,100-t) }. \]

Nonnegative Flow

If \(x\) and \(y\) represent ordinary directed flows, they are usually required to satisfy

\[ x\ge0, \qquad y\ge0. \]

For

\[ (x,y)=(t,100-t), \]

nonnegativity implies

\[ \boxed{0\le t\le100}. \]

Capacity Constraints

A route may have a maximum capacity \(C\).

If route flow is \(x\), then

\[ \boxed{0\le x\le C}. \]

Capacity turns a conservation problem into a system containing both equations and inequalities.

Example: Apply a Capacity

Suppose

\[ x+y=100 \]

and route \(x\) can carry at most \(60\) units.

Then

\[ x\le60. \]

Since

\[ y=100-x, \]

at least

\[ 40 \]

units must travel through route \(y\).

Lower-Bound Constraints

A route may also require a minimum flow.

If at least \(L\) units must travel through route \(x\), then

\[ \boxed{x\ge L}. \]

Combined Bounds

A route with minimum \(20\) and capacity \(75\) satisfies

\[ \boxed{20\le x\le75}. \]

Feasible Solutions

A feasible solution satisfies every equation and every inequality in the model.

Solving one equation correctly is not enough if the result violates a capacity, nonnegativity condition, or another required constraint.

Example: Test Feasibility

Suppose

\[ x+y=80, \] \[ 0\le x\le50, \]

and

\[ 0\le y\le40. \]

Test

\[ (x,y)=(45,35). \]

The total is

\[ 45+35=80, \]

and both capacity constraints are satisfied.

Therefore,

\[ \boxed{(45,35)\text{ is feasible}}. \]

Example: An Infeasible Assignment

Using the same system, test

\[ (x,y)=(55,25). \]

Although

\[ 55+25=80, \]

the capacity

\[ x\le50 \]

is violated.

Therefore,

\[ \boxed{(55,25)\text{ is not feasible}}. \]

Resource Constraints

Not every constraint system describes literal movement through pipes or roads.

Production problems often use the same mathematics.

If product A uses \(a_1\) units of a resource and product B uses \(a_2\) units, while at most \(R\) units are available, then

\[ \boxed{ a_1x+a_2y\le R }. \]

Example: Material Constraint

Product A uses \(3\) kg of material and product B uses \(5\) kg. At most \(120\) kg are available.

If \(x\) and \(y\) are production quantities, then

\[ \boxed{ 3x+5y\le120 }. \]

Labor Constraint

Suppose product A requires \(2\) labor hours and product B requires \(4\) hours, with at most \(80\) labor hours available.

Then

\[ \boxed{ 2x+4y\le80 }. \]

Nonnegativity in Production Models

Production quantities usually satisfy

\[ \boxed{x\ge0,\qquad y\ge0}. \]

If only whole products can be made, integer restrictions may also apply.

A Basic Constraint System

Combining the material and labor examples gives

\[ \boxed{ \begin{aligned} 3x+5y&\le120,\\ 2x+4y&\le80,\\ x&\ge0,\\ y&\ge0. \end{aligned} } \]

Every feasible production plan must satisfy all four conditions.

Boundary Lines

To understand an inequality such as

\[ 3x+5y\le120, \]

first study the boundary equation

\[ \boxed{3x+5y=120}. \]

The inequality selects one side of that line.

Intercepts of a Constraint Boundary

For

\[ 3x+5y=120, \]

set \(y=0\):

\[ 3x=120. \] \[ x=40. \]

Set \(x=0\):

\[ 5y=120. \] \[ y=24. \]

Thus the boundary passes through

\[ \boxed{(40,0)\text{ and }(0,24)}. \]

Feasible Region

The feasible region is the set of all points satisfying every constraint simultaneously.

For two variables, it can be visualized as the overlap of several half-planes.

Algebraically, it is the common solution set of the inequality system.

Test a Production Plan

Using

\[ 3x+5y\le120 \]

and

\[ 2x+4y\le80, \]

test

\[ (x,y)=(20,5). \]

Material:

\[ 3(20)+5(5)=60+25=85\le120. \]

Labor:

\[ 2(20)+4(5)=40+20=60\le80. \]

Therefore,

\[ \boxed{(20,5)\text{ is feasible}}. \]

Another Production Plan

Test

\[ (x,y)=(30,10). \]

Material:

\[ 3(30)+5(10)=90+50=140. \]

Since

\[ 140>120, \]

the material constraint is violated.

Therefore,

\[ \boxed{(30,10)\text{ is infeasible}}. \]

Equality versus Inequality Constraints

An equality such as

\[ x+y=100 \]

requires an exact balance.

An inequality such as

\[ x+y\le100 \]

imposes a maximum.

An inequality such as

\[ x+y\ge100 \]

imposes a minimum.

Capacity at a Node

A node itself may have a processing limit.

If total flow through a node cannot exceed \(C\), then

\[ \boxed{ x_1+x_2+\cdots+x_n\le C }. \]

Example: Processing Capacity

A station receives flows \(x\) and \(y\), but can process at most \(150\) units per hour.

Then

\[ \boxed{x+y\le150}. \]

Demand Constraints

A destination may require at least a specified amount.

If routes \(x\) and \(y\) deliver to a destination requiring at least \(90\) units, then

\[ \boxed{x+y\ge90}. \]

Exact Demand

If the destination must receive exactly \(90\) units, then the constraint becomes

\[ \boxed{x+y=90}. \]

Balance with Storage

Conservation can be extended when some flow is stored.

A useful balance form is

\[ \boxed{ \text{inflow} - \text{outflow} = \text{change in storage} }. \]

Ordinary flow conservation is the special case where storage does not change.

Example: Inventory Accumulation

A warehouse receives \(120\) units per day and ships \(95\) units per day.

Net inventory change is

\[ 120-95=25. \]

Therefore, inventory increases by

\[ \boxed{25\text{ units per day}}. \]

Balance with Loss

If some material is lost during a process, conservation must account for the loss explicitly.

For example,

\[ \boxed{ \text{inflow} = \text{useful outflow} + \text{loss} }. \]

Example: Process Loss

A process receives \(200\) kg of material. If \(8\%\) is lost, useful output is

\[ 200(0.92)=184. \]

Therefore,

\[ \boxed{184\text{ kg useful output}}. \]

Network Flow with a Loss Factor

If route input is \(x\) and only fraction \(e\) reaches the next node, then delivered flow is

\[ \boxed{ex}. \]

A downstream node balance must use the delivered amount, not the original upstream amount.

Example: Transmission Efficiency

A route carries \(100\) units with efficiency

\[ e=0.95. \]

Delivered amount is

\[ 0.95(100)=95. \]

Therefore,

\[ \boxed{95\text{ units}}. \]

Multiple Resource Constraints

A production plan may be limited by material, labor, machine time, budget, storage, or demand simultaneously.

Each restriction becomes another equation or inequality.

Feasibility means satisfying all of them at once.

Example: Three Constraints

Suppose products \(x\) and \(y\) must satisfy

\[ 2x+y\le60, \] \[ x+3y\le75, \]

and

\[ x+y\le35. \]

Together with

\[ x\ge0,\qquad y\ge0, \]

these inequalities define the feasible production plans.

Constraint Intersections

Boundary lines can intersect.

Their intersection points often matter because several constraints are active there at once.

Algebraically, find such points by solving the corresponding boundary equations as a system.

Example: Intersection of Two Boundaries

Solve

\[ 2x+y=60 \]

and

\[ x+3y=75. \]

From the first equation,

\[ y=60-2x. \]

Substitute:

\[ x+3(60-2x)=75. \] \[ x+180-6x=75. \] \[ -5x=-105. \] \[ x=21. \]

Then

\[ y=60-42=18. \]

Therefore,

\[ \boxed{(21,18)}. \]

Active Constraints

A constraint is active at a point if it holds with equality.

For example, at a point satisfying

\[ 2x+y=60, \]

the resource represented by

\[ 2x+y\le60 \]

is fully used.

Slack

For a maximum constraint

\[ ax+by\le R, \]

the unused amount is

\[ \boxed{ R-(ax+by) }. \]

This unused amount is often called slack.

Example: Compute Slack

Suppose

\[ 3x+5y\le120 \]

and the plan is

\[ (x,y)=(20,8). \]

Resource use is

\[ 3(20)+5(8)=60+40=100. \]

Slack is

\[ 120-100=20. \]

Therefore,

\[ \boxed{20\text{ units of resource remain unused}}. \]

Bottlenecks

A bottleneck is a capacity that restricts overall flow or production.

In a simple chain of routes, the smallest route capacity can limit the maximum possible through-flow.

Example: Simple Chain Bottleneck

A path contains consecutive links with capacities

\[ 80,\quad50,\quad70. \]

Every unit must traverse all three links.

Therefore, the path cannot carry more than

\[ \boxed{50\text{ units}} \]

at one time under this simplified model.

Parallel Routes

If two independent parallel routes connect the same source and destination, their capacities can combine.

If the capacities are

\[ C_1 \]

and

\[ C_2, \]

then total possible flow across those two routes cannot exceed

\[ \boxed{C_1+C_2}. \]

Example: Parallel Capacity

Two parallel routes have capacities \(40\) and \(65\).

Their combined capacity is

\[ 40+65=105. \]

Therefore,

\[ \boxed{105\text{ units}}. \]

Path Variables

Instead of assigning variables to individual links, some models assign variables to entire routes.

If \(x\) units use path 1 and \(y\) units use path 2, then a shared link may carry

\[ x+y. \]

Its capacity constraint becomes

\[ \boxed{x+y\le C}. \]

Example: Shared-Link Capacity

Two routes share a bridge that can carry at most \(90\) vehicles per time interval.

If route flows are \(x\) and \(y\), then

\[ \boxed{x+y\le90}. \]

Transportation Allocation

Suppose two warehouses send goods to two destinations.

Variables can represent each shipment:

\[ x_{11},\quad x_{12},\quad x_{21},\quad x_{22}. \]

Supply constraints describe what leaves each warehouse, while demand constraints describe what reaches each destination.

Example: Warehouse Supply Equations

Warehouse 1 has \(70\) units available:

\[ \boxed{x_{11}+x_{12}=70}. \]

Warehouse 2 has \(50\) units:

\[ \boxed{x_{21}+x_{22}=50}. \]

Example: Destination Demand Equations

Destination 1 requires \(60\) units:

\[ \boxed{x_{11}+x_{21}=60}. \]

Destination 2 requires \(60\) units:

\[ \boxed{x_{12}+x_{22}=60}. \]

Total supply and total demand both equal \(120\), so an exactly balanced shipment system is possible in principle.

Parameterized Transportation Solution

From

\[ x_{11}+x_{12}=70 \]

and

\[ x_{11}+x_{21}=60, \]

let

\[ x_{11}=t. \]

Then

\[ x_{12}=70-t, \] \[ x_{21}=60-t, \]

and the remaining equation gives

\[ x_{22}=t-10. \]

Thus,

\[ \boxed{ (x_{11},x_{12},x_{21},x_{22}) = (t,70-t,60-t,t-10) }. \]

Feasible Parameter Range

Shipment quantities must be nonnegative.

Therefore,

\[ t\ge0, \] \[ 70-t\ge0, \] \[ 60-t\ge0, \]

and

\[ t-10\ge0. \]

Combining these gives

\[ \boxed{10\le t\le60}. \]

Cost Can Be Added to a Flow Model

If shipping one unit along route \(i\) costs \(c_i\), total cost may be

\[ \boxed{ C=c_1x_1+c_2x_2+\cdots+c_nx_n }. \]

This creates an objective that can later be compared across feasible solutions.

Full optimization methods are developed more deeply elsewhere.

Example: Evaluate a Feasible Shipping Cost

Suppose a plan ships \(30\) units on route A at \(\$4\) per unit and \(50\) units on route B at \(\$6\) per unit.

\[ C=4(30)+6(50). \] \[ C=120+300. \] \[ C=420. \]

Therefore,

\[ \boxed{\$420}. \]

Objective versus Constraint

A constraint states what solutions are allowed.

An objective measures how desirable a feasible solution is.

For example,

\[ 3x+5y\le120 \]

may be a material constraint, while

\[ P=8x+10y \]

may measure profit.

This lesson emphasizes building the feasible system; optimization is a later step.

Integer Constraints

Some variables represent indivisible objects.

Then a model may require

\[ \boxed{x,y\in\mathbb{Z}_{\ge0}}. \]

A fractional point can satisfy the linear inequalities but still be infeasible when whole units are required.

Example: Fractional but Infeasible

Suppose a production model allows

\[ x=4.5 \]

algebraically, but \(x\) counts complete machines.

Then the value violates the integer requirement.

Context matters in addition to the inequalities.

Checking a Node Balance

Add every incoming flow and every outgoing flow separately.

At a conservative intermediate node, verify

\[ \boxed{ \sum \text{inflow} = \sum \text{outflow} }. \]

Checking Network Totals

In a lossless network with no accumulation, total source flow should equal total sink flow.

This global check can reveal an omitted route or incorrect sign even when individual equations appear plausible.

Checking Capacities

After solving for flows, compare each one with its permitted range.

A solution that violates even one capacity is infeasible.

Checking Units

All terms in one balance equation must use compatible flow units.

Do not add

\[ 30\text{ L/min} \]

directly to

\[ 2\text{ L/s} \]

without conversion.

Common Error: Reversing Inflow and Outflow

Choose a consistent node equation.

Either write

\[ \text{inflow}=\text{outflow} \]

or write

\[ \text{inflow}-\text{outflow}=0. \]

Mixing sign conventions mid-problem creates errors.

Common Error: Ignoring a Branch

If flow splits along three outgoing routes, all three must appear in the node balance.

Omitting one route makes the network appear to create or destroy flow.

Common Error: Solving Equations but Ignoring Inequalities

Conservation equations describe balance.

Capacity inequalities determine whether the balanced assignment is feasible.

Both parts of the model must be checked.

Common Error: Accepting Negative Flow Automatically

A negative result may indicate that the assumed direction was opposite the actual direction, or it may indicate an infeasible model.

If variables are explicitly defined as nonnegative directed flows, negative values are not allowed.

Common Error: Confusing Capacity with Actual Flow

A route capacity of \(80\) does not mean the route must carry \(80\).

It means

\[ \boxed{x\le80}. \]

Common Error: Treating a Maximum as an Equality

If at most \(100\) units of a resource are available, use

\[ \boxed{\text{use}\le100}, \]

not automatically

\[ \text{use}=100. \]

Common Error: Forgetting Nonnegativity

A system of resource inequalities may include algebraic points with negative coordinates.

Production and flow quantities generally also require

\[ \boxed{x\ge0,\qquad y\ge0}. \]

Common Error: Counting Shared Capacity Twice

If two route variables share the same physical link, that link's capacity applies to their combined flow.

Use

\[ \boxed{x+y\le C}, \]

not separate constraints that each allow the full capacity simultaneously.

Common Error: Ignoring Storage or Loss

Inflow need not equal outflow if material accumulates or is lost.

Modify the balance equation to include the missing term explicitly.

A Reliable Procedure for Flow Networks

  1. Label every node and directed link.
  2. Assign a variable to each unknown flow.
  3. Write one conservation equation for each relevant node.
  4. Add source, sink, storage, or loss terms where needed.
  5. Write nonnegativity conditions.
  6. Write route and node capacities.
  7. Solve the resulting system or parameterize the solution family.
  8. Check every balance and every constraint.

A Reliable Procedure for Resource Constraints

  1. Define the decision variables.
  2. List each limited resource.
  3. Determine how much of each resource each variable uses.
  4. Write one inequality per resource.
  5. Add nonnegativity and whole-number restrictions if required.
  6. Test or graph the common solution set.
  7. Separate feasibility from any later objective such as profit or cost.

A Reliable Procedure for Feasibility Checks

  1. Substitute the proposed values into every equality.
  2. Substitute them into every inequality.
  3. Check nonnegativity.
  4. Check units.
  5. Check integer restrictions if applicable.
  6. Declare the point feasible only if every condition is satisfied.

Practice 1: Node Balance

A node receives \(45\) and \(30\) units per minute and sends \(50\) units along one route. Find the other outgoing flow.

Practice 2: Source Split

A source sends \(140\) units through routes \(x\) and \(y\). If \(x=85\), find \(y\).

Practice 3: Parameterized Split

Solve

\[ x+y=90 \]

by setting \(x=t\). State the nonnegative range of \(t\).

Practice 4: Capacity Constraint

A route can carry at most \(65\) units per hour. Write the capacity constraint for flow \(x\).

Practice 5: Feasibility

Determine whether

\[ (x,y)=(30,20) \]

is feasible for

\[ x+y=50,\qquad x\le35,\qquad y\le25,\qquad x,y\ge0. \]

Practice 6: Infeasibility

Determine whether

\[ (x,y)=(38,12) \]

is feasible for the same system.

Practice 7: Resource Constraint

Product A uses \(4\) kg of material and product B uses \(3\) kg. At most \(120\) kg are available. Write the constraint.

Practice 8: Test a Production Plan

Determine whether

\[ (x,y)=(18,12) \]

satisfies

\[ 4x+3y\le120. \]

Practice 9: Slack

For the plan in Practice 8, how much material remains unused?

Practice 10: Boundary Intersection

Solve

\[ x+y=40 \]

and

\[ 2x+y=55. \]

Practice 11: Chain Bottleneck

A path has consecutive capacities \(90\), \(70\), and \(85\). What is the largest possible through-flow along that single path?

Practice 12: Parallel Capacity

Two independent parallel routes have capacities \(55\) and \(45\). What is their combined capacity?

Practice 13: Inventory Balance

A warehouse receives \(160\) units per day and ships \(135\). Find the daily change in inventory.

Practice 14: Transportation Parameter

A warehouse sends \(80\) units to destinations A and B:

\[ x+y=80. \]

Destination A must receive at least \(30\) units, while destination B can receive at most \(60\). State the feasible range of \(x\).

Practice 15: Identify the Error

Two path flows \(x\) and \(y\) share a bridge of capacity \(100\). A student writes

\[ x\le100,\qquad y\le100 \]

and concludes that \(x=y=100\) is feasible.

Explain the error and write the correct shared-capacity constraint.

Practice Answers

Practice 1

\[ 45+30=50+x. \] \[ 75=50+x. \] \[ \boxed{x=25}. \]

Practice 2

\[ 85+y=140. \] \[ \boxed{y=55}. \]

Practice 3

Let

\[ x=t. \]

Then

\[ y=90-t. \]

Nonnegativity requires

\[ t\ge0 \]

and

\[ 90-t\ge0. \]

Therefore,

\[ \boxed{ (x,y)=(t,90-t), \qquad 0\le t\le90 }. \]

Practice 4

\[ \boxed{0\le x\le65}. \]

Practice 5

Total:

\[ 30+20=50. \]

Capacities:

\[ 30\le35, \qquad 20\le25. \]

Both values are nonnegative.

Therefore,

\[ \boxed{(30,20)\text{ is feasible}}. \]

Practice 6

The total is correct:

\[ 38+12=50. \]

But

\[ 38>35. \]

Therefore,

\[ \boxed{(38,12)\text{ is infeasible}}. \]

Practice 7

\[ \boxed{ 4x+3y\le120 }. \]

Practice 8

\[ 4(18)+3(12)=72+36=108. \]

Since

\[ 108\le120, \]

the plan satisfies the material constraint.

\[ \boxed{\text{feasible for this constraint}}. \]

Practice 9

\[ 120-108=12. \]

Therefore,

\[ \boxed{12\text{ kg remain unused}}. \]

Practice 10

Subtract the first equation from the second:

\[ (2x+y)-(x+y)=55-40. \] \[ x=15. \]

Then

\[ 15+y=40. \] \[ y=25. \]

Therefore,

\[ \boxed{(15,25)}. \]

Practice 11

Every unit must pass through all three links, so the smallest capacity is the bottleneck:

\[ \min(90,70,85)=70. \]

Therefore,

\[ \boxed{70\text{ units}}. \]

Practice 12

\[ 55+45=100. \]

Therefore,

\[ \boxed{100\text{ units}}. \]

Practice 13

\[ 160-135=25. \]

Therefore,

\[ \boxed{\text{inventory increases by }25\text{ units per day}}. \]

Practice 14

Since

\[ x+y=80, \]

we have

\[ y=80-x. \]

Destination A requires

\[ x\ge30. \]

Destination B has

\[ y\le60. \]

Therefore,

\[ 80-x\le60. \] \[ x\ge20. \]

The stronger lower bound is \(x\ge30\).

Nonnegativity of \(y\) gives

\[ x\le80. \]

Therefore,

\[ \boxed{30\le x\le80}. \]

Practice 15

The two flows share one bridge, so they cannot each use the full bridge capacity independently.

Their combined flow must satisfy

\[ \boxed{x+y\le100}. \]

The assignment

\[ x=y=100 \]

would require

\[ 200 \]

units of shared capacity and is therefore infeasible.

What to Remember

At a conservative intermediate node,

\[ \boxed{ \text{inflow}=\text{outflow} }. \]

A route capacity is modeled by

\[ \boxed{0\le x\le C}. \]

Resource constraints often have form

\[ \boxed{ a_1x_1+a_2x_2+\cdots+a_nx_n\le R }. \]

A feasible solution must satisfy every equality, every inequality, and every domain restriction simultaneously.

The most important habit is to separate three questions:

  1. Does the flow balance?
  2. Does it respect every capacity or resource limit?
  3. Does the solution make sense in the stated context?

Where We Go Next

The applied problem families in this section have used many different equations, tables, rates, percentages, systems, and constraints. Their surface details differ, but they all rely on the same underlying habit: translate a situation into variables and relationships, solve the model, and then test whether the result answers the original question.

The next lesson, The Algebraic Modeling Process, brings those habits together into one general workflow for applied algebra.