Constraint definition
A constraint is a condition that limits which values are allowed in a mathematical model.
Constraint in a picture
How it works
Write a constraint as an equation, inequality, or another requirement on the variables. A limit of at most 12 items becomes x + y ≤ 12 for counts x and y. A proposed solution is feasible only if it satisfies every constraint.
Worked examples
Write a constraint for spending at most $30 on x items costing $5 each.
5x ≤ 30.
Write a requirement that x and y add to exactly 10.
x + y = 10.
Does x = 4 satisfy x < 4?
No. The strict inequality excludes equality.
Common mistake
Translate “at most” as ≤ and “at least” as ≥. Check whether the boundary value is allowed.
Quick check
Can a constraint be an equality?
Show answer
Yes.
Must a feasible solution satisfy every constraint?
Show answer
Yes.
Sources
Flashcard
Constraint
Reveal the definition
A constraint is a condition that limits which values are allowed in a mathematical model.
Effortless Math. “Constraint.” Math Dictionary.
