Lawfare Academy · Complete Business Mathematics edition 3
Simultaneous equations, resource constraints and feasible choices
This original on-site unit develops systems of equations, matrices and constrained business decisions. Fictional capacities and contributions are supplied assumptions. All required teaching and complete optional models are here; no external visit or learner submission is required.
One decision must satisfy every restriction
Let x and y be quantities of two job types in a common planning period. If each x job requires two labor-hours and one vehicle-hour, while each y job requires one labor-hour and two vehicle-hours, labor use is 2x+y and vehicle use is x+2y. With 20 hours of each available, feasibility requires 2x+y≤20, x+2y≤20 and x,y≥0. If jobs cannot be divided, require integers as well. An answer satisfying only the labor restriction is not a feasible schedule.
An equation describes an exact balance; an inequality describes an allowed range. Setting both resource inequalities equal to their limits identifies where both resources would be fully used. It does not mean every feasible or optimal schedule must exhaust both. Unused capacity can be rational when demand, another bottleneck, a fixed setup or a loss-making product changes the decision. Name the objective separately from the constraints.
Solve two equations by substitution and elimination
For 2x+y=20, solve y=20−2x and substitute into x+2y=20. This gives x+40−4x=20, so x=20/3 and y=20/3. Substitution back into both original equations verifies simultaneous resource balance. A graph represents each equality as a line; their intersection is the shared solution. Reading a graph can illustrate the relationship, but approximate pixels are not an exact solution method.
Elimination performs row operations to remove a variable. Multiplying the first equation by two gives 4x+2y=40. Subtracting the second yields 3x=20. Multiplying an equation by a nonzero constant and adding a multiple of another equation preserve its solution set when used as valid row operations. Arbitrarily multiplying two entire equations together or dividing by a variable without checking zero does not have the same guarantee.
Two distinct nonparallel lines have one shared solution. Coincident equations have infinitely many solutions along the same line; parallel distinct equations have none. The system x+y=10 and 2x+2y=20 is dependent, not enough information to identify x and y uniquely. Replacing the second right-hand side with 21 makes it inconsistent. The number of written equations alone does not establish the amount of independent information.
Extend elimination to three unknowns
A three-variable system can represent three products or three accounting components. Consider x+y+z=12, 2x+y+z=16 and x+2y+z=17. Subtract the first equation from the second to get x=4, and from the third to get y=5. The first equation then gives z=3. Check all three original totals. The algebra identifies a unique real solution here, but a business interpretation still requires appropriate units and admissible signs.
Gaussian elimination organizes this procedure. Write an augmented array of coefficients and right-hand sides. Use row swaps, nonzero scaling and row additions to create leading entries, then eliminate entries below them. Back-substitution recovers the unknowns. Eliminating above pivots as well gives reduced row-echelon form. A row [0,0,0|5] signals inconsistency. A zero row can indicate redundancy; free variables remain when not every unknown has a pivot. Software returning one arbitrary choice for a free variable has not established a unique operational solution.
Matrices preserve the relationship between dimensions
A matrix is a rectangular array. Addition requires matching dimensions and combines corresponding entries. Matrix multiplication composes compatible relationships: an m×n matrix times an n×k matrix produces an m×k matrix. Each result entry is a row-by-column sum of products. In general AB≠BA, and one of these products may not even be defined. Keep the row and column labels; a numerical array without its product/resource identities can conceal a transposition error.
For the two-resource example, A=[[2,1],[1,2]], q=[x,y] as a column vector and b=[20,20] give Aq=b for fully used resources. Replacing equality with componentwise ≤ represents the capacity limits. If an input requirement matrix is multiplied by a product-quantity vector, its output is a resource-use vector. Multiplying by a vector of prices instead answers a different question and may violate the intended units even when dimensions permit it.
The identity matrix I leaves a vector unchanged. A square matrix A has an inverse A⁻¹ only if it is nonsingular; then A⁻¹A=AA⁻¹=I and Aq=b implies q=A⁻¹b. For [[a,b],[c,d]], determinant Δ=ad−bc and inverse (1/Δ)[[d,−b],[−c,a]] exist when Δ≠0. Our resource matrix has determinant 3 and inverse (1/3)[[2,−1],[−1,2]], reproducing x=y=20/3. A zero determinant means the inverse method is unavailable; the system may have no solution or infinitely many, depending on the right-hand side.
Cramer's rule gives x=(ed−bf)/Δ and y=(af−ec)/Δ for ax+by=e and cx+dy=f when Δ≠0. It is an alternative algebraic method, not a new feasibility or optimization criterion. For larger numerical systems, elimination and appropriate numerical diagnostics are usually more practical than computing many determinants. A near-singular coefficient matrix can make the solution sensitive to small data changes. Check sensitivity and residuals rather than equating many displayed digits with reliable inputs.
Nonlinear systems and their real intersections
Systems need not be linear. Substituting one equation into another can produce a polynomial. The line y=x and circle x²+y²=50 produce 2x²=50, so x=±5 with y matching x. A nonnegative-quantity domain retains only (5,5). Nonlinear systems can have several intersections or none. A numerical solver's one returned root is not proof that it found every admissible solution.
For inequalities, identify the boundary and test which side is permitted. The region x²+y²≤25 lies on or inside the radius-five circle. A strict inequality excludes the boundary. A feasible nonlinear region is the intersection of all such restrictions, and may be curved or disconnected. The rule of testing only polygon corners belongs to a bounded linear optimization problem under its assumptions; it is not a universal method for every nonlinear objective or constraint.
Partial fractions: decompose a relationship without changing its domain
Partial fractions rewrite a rational expression as simpler terms. They can help analyze or later integrate a model, but they do not create new admissible inputs. For 1/[x(x+1)], propose A/x+B/(x+1). Multiplying by the nonzero denominator gives 1=A(x+1)+Bx. Equating constant and x coefficients gives A=1 and B=−1. Thus 1/[x(x+1)]=1/x−1/(x+1), with x≠0 and x≠−1. Substitution at x=1 gives 1/2 on both sides.
If a numerator's degree is at least the denominator's, divide polynomials first and decompose the proper remainder fraction. A repeated factor requires all powers through its multiplicity: a denominator (x+1)² may require A/(x+1)+B/(x+1)². An irreducible quadratic factor over the reals requires a linear numerator, such as (Ax+B)/(x²+1). These forms supply enough unknown coefficients for the identity; solve their simultaneous equations and check the reconstruction. Partial-fraction coefficients are algebraic components, not automatically distinct economic cash flows.
Feasible does not mean optimal
Suppose job contributions are $30 for x and $20 for y. The objective is maximize Z=30x+20y subject to the original resource restrictions. In the continuous relaxation, the feasible polygon has corners (0,0), (10,0), (20/3,20/3) and (0,10). Evaluating the objective gives 0, 300, 1000/3≈333.333 and 200 respectively. The shared-resource intersection is best here because it gives the largest contribution among the vertices of this bounded linear feasible region. The conclusion follows from the objective and constraints together, not from the intersection alone.
With whole jobs, (20/3,20/3) is unavailable. Rounding both coordinates up gives (7,7), which violates both capacities. Rounding both down gives (6,6), feasible but not best. For each integer x from 0 to 10, choose the largest feasible nonnegative integer y under both resource limits when its contribution is positive, and compare objectives. This finite enumeration gives (7,6) with contribution $330 as the best integer schedule. Checking all candidates, or a valid optimization method, supports that claim; a single rounded trial does not.
Slack, bottlenecks and the value of another hour
Slack is available capacity minus used capacity for a ≤ constraint. At integer schedule (7,6), labor use is 20 and vehicle use is 19, leaving one vehicle-hour unused. That does not establish that every extra vehicle-hour is valueless in every altered problem. Additional labor, demand or a different job mix can change which restriction matters.
For the continuous optimum with both resource equalities binding, the local value of each resource can be found from 2u+v=30 and u+2v=20, giving u=40/3 and v=10/3 dollars per hour. These values reproduce each product's contribution from its resource requirements. While the same continuous optimum structure remains valid, one extra labor-hour raises the optimal continuous contribution by $13.333… . This is not a guaranteed market value or an unrestricted willingness to pay: a larger change can switch the active constraints, and integer decisions need not change smoothly. Re-solve the actual altered problem before buying resources.
Worked investigation 1: enumerate an implementable schedule
For 2x+y≤20, x+2y≤20 and nonnegative integer jobs, the largest feasible y for each x is min(20−2x, floor((20−x)/2)). At x=6, y≤7, giving contribution 180+140=$320. At x=7, y≤6, giving $330. At x=8, y≤4, giving $320. Checking the full integer range 0–10 confirms that (7,6) is best, with labor slack zero and vehicle slack one. Both the resource definitions and the positive contributions were needed for this enumeration shortcut.
Optional practice 1: demand is a constraint too
Orders for x are limited to at most five. Keep the original capacities and contributions. Find the best integer schedule and revise the earlier recommendation.
Model reasoning
Restrict enumeration to x=0,…,5. At x=5, y≤7, giving contribution 150+140=$290. The other permitted x values produce no larger objective: their largest y values are 10,9,9,8,8, giving contributions 200,210,240,250,280. The best schedule is (5,7), not (7,6), because the old plan now exceeds demand for x. Labor use is 17 and vehicle use 19. Unused hours do not justify producing unsold jobs under this stated contribution model.
Worked investigation 2: a singular information system
A fictional report states x+y=14 and 3x+3y=42. The second line repeats the first; it contributes no independent information. Solutions have y=14−x. With nonnegative whole quantities, fifteen pairs remain, from (0,14) through (14,0). If a separately verified count establishes x=9, y=5 follows. If the second total instead reads 45, the two supplied totals conflict. Diagnose the measurement or definition problem rather than averaging incompatible exact equations and calling the result an exact reconciliation.
Optional practice 2: an estimate changes the task
The two totals are revealed to be noisy estimates rather than exact counts. Should the analyst still claim that there is mathematically no possible underlying production mix?
Model reasoning
No. The exact equations are inconsistent, but uncertain observations can be compatible with an underlying mix under a stated error model. Replace the claim of exact reconciliation with an estimation task, document measurement uncertainty and seek independent product information. Even perfectly estimating the total x+y would not by itself identify the individual mix because the two coefficient rows are dependent. A fitting procedure cannot create the missing independent product information.
Worked investigation 3: check a resource purchase
Increase labor capacity from 20 to 21 while retaining 20 vehicle-hours. The continuous intersection solves 2x+y=21 and x+2y=20, yielding x=22/3, y=19/3 and contribution 1040/3≈$346.667, $13.333 above the original continuous optimum. For integer jobs, enumeration gives (8,5) with contribution $340, an improvement of $10 over the original integer optimum. Thus the continuous local resource value and the actual integer increment differ. Neither alone includes the real purchase cost, demand certainty or implementation risk.
Optional practice 3: change the purchase price
The extra labor-hour costs $12 and the decision requires whole jobs. Under the supplied contribution and capacity assumptions, should its $13.333 continuous shadow value justify buying it?
Model reasoning
No. The attainable integer contribution rises only $10, below the $12 payment, so net contribution falls by $2 compared with retaining the original integer plan. The continuous value applies to a relaxation. If hours or jobs become divisible, or another commitment changes the feasible set, re-solve that different problem rather than carrying over the same recommendation. The calculation is conditional on the supplied demand and resource requirements.
Optional integrated constraint audit
A manager proposes (7,7) for the original capacities, says two equations always identify two unknowns, and treats 1/[x(x+1)] as 1/x+1/(x+1). Correct each claim and give an implementable recommendation for the original integer schedule. Then explain what additional evidence is needed before calling the recommendation a business optimum.
Complete model
The proposed schedule uses 21 hours of each resource, exceeding both 20-hour limits. Whole-job enumeration gives (7,6), contribution $330, rather than independently rounding the continuous coordinates. Two equations can be dependent or inconsistent; inspect their coefficients and right-hand sides before claiming uniqueness. Partial fractions require 1/x−1/(x+1), excluding x=0 and −1; the plus version reconstructs (2x+1)/[x(x+1)], a different expression. The schedule is optimal only for the supplied linear contributions, capacities, nonnegative integer jobs and unlimited modeled demand. Confirm demand, setup costs, actual processing times, staffing dates and any omitted delivery restrictions before presenting an operational recommendation.
Explicit optional rubric: 20 points
- Four points for all resource constraints, units and integer/domain restrictions.
- Four points for valid simultaneous-equation methods and a diagnosis of dependent or inconsistent information.
- Four points for an exhaustive or otherwise justified integer choice, including both resource checks.
- Four points for partial-fraction reconstruction and excluded inputs.
- Four points for distinguishing model optimality, continuous local values and a real purchase or production decision.
Optional source summary
OpenStax's two-variable systems section explains simultaneous solutions and distinguishes independent, dependent and inconsistent systems. It is optional further reading. The resource, matrix, domain, integer-choice and changed-fact reasoning required here is supplied on site.