Discord

INAIO Guide Stage 1 2Algebra and Equations

2.6 Constraints and feasibility

Check equations and real-world restrictions together to decide whether a candidate answer is feasible.

Solving an equation is not always the end of a problem. A length must be positive, a count must be a whole number, and a denominator cannot be zero. An answer is feasible only if it satisfies every condition in the question. This habit matters again in geometry, probability, optimization, and algorithms.

This is intermediate algebra built on equations, inequalities, and word problems in Modules 2.2, 2.4, and 2.5. OpenStax's linear-programming section shows a geometric version with several constraints.

A basic idea: every condition must hold

Suppose xx and yy are amounts of two materials. The rules x≥0x\ge0, y≥0y\ge0, x≤4x\le4, and x+y≤6x+y\le6 define which pairs are allowed. The pair (3,2)(3,2) is feasible: it satisfies all four. The pair (5,0)(5,0) fails x≤4x\le4, even though it satisfies the other three. The pair (3,4)(3,4) fails x+y≤6x+y\le6.

Each inequality shades one side of a boundary line. Their common overlap is the feasible region. A boundary is included when its sign is ≤\le or ≥\ge, and excluded when it is << or >>.

Coordinate plane with the feasible polygon bounded by x equals 0, y equals 0, x equals 4, and x plus y equals 6 shaded blue. Point (3,2) lies inside; points (5,0) and (3,4) lie outside.Coordinate plane with the feasible polygon bounded by x equals 0, y equals 0, x equals 4, and x plus y equals 6 shaded blue. Point (3,2) lies inside; points (5,0) and (3,4) lie outside.
A candidate pair is feasible only where all four conditions overlap.

A quick tour of common constraints

Condition Algebraic form What it removes
Nonnegative quantity x≥0x\ge0 Negative answers
Whole-number count x∈{0,1,2,…}x\in\{0,1,2,\ldots\} Fractional counts
Capacity 2x+3y≤122x+3y\le12 Combinations using too much
Exact total x+y=10x+y=10 Pairs with the wrong sum
Nonzero denominator x−3≠0x-3\ne0 The undefined input x=3x=3
Nonnegative square-root input x+2≥0x+2\ge0 in x+2\sqrt{x+2} Inputs where the real square root is undefined

A useful routine is write restrictions first, solve second, check last. When constraints give several inequalities, test each candidate against every original condition. A point can lie on one correct side of a graph and still fail another condition.

An algebraic rewrite can also hide a restriction. For x≠3x\ne3,

x2−9x−3=(x−3)(x+3)x−3=x+3.\frac{x^2-9}{x-3} =\frac{(x-3)(x+3)}{x-3} =x+3.

Cancelling the common factor does not make the original expression defined at x=3x=3. Similarly, multiplying both sides of an equation by an expression that can be zero can create an apparent solution; check any result in the original equation.

If no candidate meets all conditions, the problem has no feasible solution. This can be a genuine conclusion, not a failed calculation. A later optimization problem asks which feasible choice gives the best value; Module 5.4 builds on this distinction.

Application 1: two kinds of kits

A workshop can spend at most 1212 material units. A small kit uses 22 units, and a large kit uses 33. It must make at least one small kit and at least two large kits. Can it make (x,y)=(3,2)(x,y)=(3,2) kits? What small-kit counts work if it makes exactly two large kits?

  1. Write every condition. x,yx,y are whole numbers, x≥1x\ge1, y≥2y\ge2, and 2x+3y≤122x+3y\le12.
  2. Check the proposed pair. At (3,2)(3,2), material use is 2(3)+3(2)=122(3)+3(2)=12, so it is feasible. At (4,2)(4,2) the use would be 1414, so that pair is not.
  3. Fix y=2y=2 and solve. 2x+6≤122x+6\le12 gives x≤3x\le3. With x≥1x\ge1 and a whole-number count, the possibilities are x=1,2,3x=1,2,3.

The inequality alone would admit many real values. The count and minimum rules narrow them to three choices.

Application 2: a cancelled denominator

Solve x2−9x−3=6\dfrac{x^2-9}{x-3}=6 over the real numbers.

  1. Record the domain. The denominator is zero at x=3x=3, so x≠3x\ne3.
  2. Simplify on that domain. Since x2−9=(x−3)(x+3)x^2-9=(x-3)(x+3), the equation becomes x+3=6x+3=6, which suggests x=3x=3.
  3. Check the original equation. At x=3x=3, the original fraction is 0/00/0, which is undefined. No allowed value remains.

The simplified equation has a solution, but the original problem has no solution. Keeping the restriction is part of solving, not an extra step after it.

Resources

SourceTitleWhy read it
OpenStaxLinear programmingSee how several constraints bound a feasible region.
OpenStaxModels and applicationsPractise applying a solution to the original situation.

Finished this module? Mark it done.

Comments

Stuck on something, spotted a mistake, or found a resource that helped you? Tell us below.

Loading comments