No history yet

Linear Modeling Systems

Modeling Limits and Choices

Linear equations are more than just textbook problems; they are a powerful way to describe real-world limits. Businesses, for instance, constantly juggle constraints like budgets, time, and raw materials. We can model these limitations using linear inequalities.

Imagine a small coffee shop that sells two items: espressos and cappuccinos. Each espresso requires 20 grams of coffee beans, while each cappuccino requires 25 grams. The shop has a total of 5,000 grams of coffee beans available for the day. How can we represent this constraint mathematically?

Let ee be the number of espressos and cc be the number of cappuccinos. The total amount of coffee used is 20e+25c20e + 25c. Since the shop only has 5,000 grams of beans, the total used must be less than or equal to this amount.

20e+25c500020e + 25c \leq 5000

This single inequality defines all possible combinations of espressos and cappuccinos the shop can make without running out of coffee beans. Any pair of values for ee and cc that satisfies this condition is a valid production plan. This is the first step in moving from solving for a single variable to understanding a range of possible outcomes.

Where Supply Meets Demand

We can also use systems of linear equations to model interactions between different groups, like buyers and sellers in a market. The relationship between the price of a product and the quantity people are willing to buy is called the demand curve. The relationship between price and the quantity suppliers are willing to sell is the supply curve. Where they intersect, the market is in equilibrium.

Let's consider the market for a simple product, like avocados. Suppose market research shows that the quantity demanded (QdQ_d) can be modeled by the equation Qd=10010PQ_d = 100 - 10P, where PP is the price in dollars. This means that for every $1 increase in price, consumers demand 10 fewer avocados. At the same time, farmers' willingness to supply avocados (QsQ_s) is modeled by Qs=20+30PQ_s = 20 + 30P. Higher prices incentivize them to supply more.

To find the price where the market clears—meaning the quantity supplied equals the quantity demanded—we set the two equations equal to each other.

Equilibrium occurs when Qd=QsQ_d = Q_s.

10010P=20+30P100 - 10P = 20 + 30P

Solving for PP gives us:

80=40P80 = 40P P=2P = 2

The equilibrium price for an avocado is $2. To find the equilibrium quantity, we can plug this price back into either the supply or demand equation:

Q=10010(2)=80Q = 100 - 10(2) = 80

At a price of $2, consumers will demand 80 avocados, and suppliers will provide exactly 80 avocados. This single point represents the balance of forces in the market.

Finding the Feasible Region

Most real-world problems involve more than one constraint. A business has limits on budget, materials, and labor. A diet has constraints on calories, protein, and fat. When we model multiple constraints at once, we create a system of linear inequalities. The solution is not a single line or point, but an entire area called the feasible region.

Let's return to our coffee shop. In addition to the coffee bean constraint (20e+25c500020e + 25c \leq 5000), let's add a labor constraint. Suppose it takes 1 minute to make an espresso and 3 minutes to make a cappuccino. In a given hour, there are 60 minutes of labor available. This gives us a second inequality:

1e+3c601e + 3c \leq 60

We also have implicit constraints: we can't make a negative number of drinks, so e0e \geq 0 and c0c \geq 0. Together, these four inequalities define all possible production plans for that hour.

Any point inside the shaded area or on its boundaries is a possible production plan. For example, making 30 espressos and 5 cappuccinos is possible. However, making 50 espressos and 10 cappuccinos is not, as it would violate the labor constraint. The feasible region represents the universe of all valid choices.

What If Things Change?

The real world is dynamic. Prices change, new technology is introduced, and resource availability shifts. Sensitivity analysis is the study of how changes in a model's inputs affect the outcome. In linear modeling, this often means seeing how a change to one of our equations shifts a line on the graph.

Let's go back to our supply and demand model for avocados, where the equilibrium was 80 avocados at $2 each. What happens if a new farming technique makes it cheaper to grow avocados? Suppliers are now willing to provide more at every price point. Their new supply equation might be Qs=40+30PQ_s = 40 + 30P. The supply curve shifts to the right.

By solving the system with the new supply equation (10010P=40+30P100 - 10P = 40 + 30P), we find the new equilibrium price is P=1.50P = 1.50. The new quantity is 85 avocados. The improved technology lowered the price and increased the quantity sold.

This kind of analysis is crucial for decision-making. It allows us to anticipate the impact of changes, from a shift in consumer tastes to a new tax, by understanding how they alter the underlying linear relationships.

Linear programming models represent decision problems where the goal is to maximize or minimize a linear objective function, subject to a set of linear equality or inequality constraints.

These tools—inequalities for constraints, systems for equilibrium, and sensitivity analysis for change—form the foundation of optimization. The next step is to ask, within our feasible region, which point is the best one? Which combination of espressos and cappuccinos will generate the most revenue? That is where we move from simply modeling the world to actively finding the best path forward within its limits.

Quiz Questions 1/5

A small coffee shop sells espressos (ee) and cappuccinos (cc). It takes 1 minute of labor to make an espresso and 3 minutes for a cappuccino. In a given hour, there are 60 minutes of labor available. Which inequality correctly models this labor constraint?

Quiz Questions 2/5

In a market for apples, the demand is modeled by Qd=20020PQ_d = 200 - 20P and the supply is modeled by Qs=50+10PQ_s = 50 + 10P. What is the equilibrium price (PP) where supply equals demand?